diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6c974ba3a..8739a5b71 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{"packages/block-brokers":"1.0.0", "packages/helia":"2.1.0","packages/interface":"2.1.0","packages/interop":"1.1.0"} \ No newline at end of file +{"packages/block-brokers":"0.9.0", "packages/helia":"2.1.0","packages/interface":"2.1.0","packages/interop":"1.1.0"} \ No newline at end of file diff --git a/packages/block-brokers/CHANGELOG.md b/packages/block-brokers/CHANGELOG.md index 008e4c6eb..e69de29bb 100644 --- a/packages/block-brokers/CHANGELOG.md +++ b/packages/block-brokers/CHANGELOG.md @@ -1,6 +0,0 @@ -## @helia/block-brokers-v1.0.0 (2023-12-08) - - -### Features - -* `/block brokers` moved to it's own package `@helia/block-brokers` diff --git a/packages/block-brokers/README.md b/packages/block-brokers/README.md index 8c8bc2973..f64ff74ae 100644 --- a/packages/block-brokers/README.md +++ b/packages/block-brokers/README.md @@ -19,10 +19,10 @@ $ npm i @helia/block-brokers ## License diff --git a/packages/block-brokers/package.json b/packages/block-brokers/package.json index c49d6ae73..6cab7a186 100644 --- a/packages/block-brokers/package.json +++ b/packages/block-brokers/package.json @@ -1,6 +1,6 @@ { "name": "@helia/block-brokers", - "version": "1.0.0", + "version": "0.9.0", "description": "Block brokers for Helia", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/ipfs/helia/tree/master/packages/block-brokers#readme", @@ -55,17 +55,24 @@ "dependencies": { "@helia/interface": "^2.1.0", "@libp2p/interface": "^1.0.1", + "any-signal": "^4.1.1", "interface-blockstore": "^5.2.7", + "interface-store": "^5.1.5", "ipfs-bitswap": "^20.0.0", + "it-filter": "^3.0.4", + "it-foreach": "^2.0.6", "multiformats": "^12.1.3", - "progress-events": "^1.0.0" + "progress-events": "^1.0.0", + "uint8arrays": "^5.0.0" }, "devDependencies": { "@libp2p/logger": "^4.0.1", + "@types/sinon": "^17.0.2", "aegir": "^41.1.14", "blockstore-core": "^4.3.8", "delay": "^6.0.0", "it-all": "^3.0.4", + "it-drain": "^3.0.5", "sinon": "^17.0.1", "sinon-ts": "^2.0.0" } diff --git a/packages/block-brokers/src/utils/networked-storage.ts b/packages/block-brokers/src/utils/networked-storage.ts index f8e78b4bd..9444d11cf 100644 --- a/packages/block-brokers/src/utils/networked-storage.ts +++ b/packages/block-brokers/src/utils/networked-storage.ts @@ -35,7 +35,7 @@ export interface NetworkedStorageComponents { /** * Networked storage wraps a regular blockstore - when getting blocks if the - * blocks are not present Bitswap will be used to fetch them from network peers. + * blocks are not present, blockBrokers will be used to fetch them from network peers. */ export class NetworkedStorage implements Blocks, Startable { private readonly child: Blockstore