Skip to content

Commit 6efaab5

Browse files
authored
deps!: update blockstore (#290)
This is a breaking change because the return type of `interface-blockstore` methods can now be promises or simple values which can upset typescript in some cases so it's safter to release it as a major. BREAKING CHANGE: please use the latest interface-blockstore versions of everything, aside from this impact should be minimal
1 parent a6b9844 commit 6efaab5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

packages/ipfs-unixfs-exporter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"@multiformats/murmur3": "^2.0.0",
141141
"err-code": "^3.0.1",
142142
"hamt-sharding": "^3.0.0",
143-
"interface-blockstore": "^4.0.1",
143+
"interface-blockstore": "^5.0.0",
144144
"ipfs-unixfs": "^11.0.0",
145145
"it-filter": "^2.0.0",
146146
"it-last": "^2.0.0",
@@ -155,7 +155,7 @@
155155
"devDependencies": {
156156
"@types/sinon": "^10.0.0",
157157
"aegir": "^38.1.2",
158-
"blockstore-core": "^3.0.0",
158+
"blockstore-core": "^4.0.1",
159159
"delay": "^5.0.0",
160160
"ipfs-unixfs-importer": "^14.0.0",
161161
"it-all": "^2.0.0",

packages/ipfs-unixfs-importer/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@
164164
"err-code": "^3.0.1",
165165
"hamt-sharding": "^3.0.0",
166166
"ipfs-unixfs": "^11.0.0",
167-
"interface-blockstore": "^4.0.1",
167+
"interface-blockstore": "^5.0.0",
168+
"interface-store": "^4.0.0",
168169
"it-all": "^2.0.0",
169170
"it-batch": "^2.0.0",
170171
"it-first": "^2.0.0",
@@ -176,7 +177,7 @@
176177
},
177178
"devDependencies": {
178179
"aegir": "^38.1.2",
179-
"blockstore-core": "^3.0.0",
180+
"blockstore-core": "^4.0.1",
180181
"it-buffer-stream": "^3.0.0",
181182
"it-drain": "^2.0.0",
182183
"it-last": "^2.0.0",

packages/ipfs-unixfs-importer/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { balanced, FileLayout } from './layout/index.js'
1111
import { defaultBufferImporter } from './dag-builder/buffer-importer.js'
1212
import first from 'it-first'
1313
import errcode from 'err-code'
14-
import type { AwaitIterable } from 'blockstore-core/base'
14+
import type { AwaitIterable } from 'interface-store'
1515

1616
export type ByteStream = AwaitIterable<Uint8Array>
1717
export type ImportContent = ByteStream | Uint8Array

0 commit comments

Comments
 (0)