Skip to content

Commit

Permalink
fix: package version and some copy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
meandavejustice committed Dec 8, 2023
1 parent a4df761 commit 0929517
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"packages/block-brokers":"1.0.0", "packages/helia":"2.1.0","packages/interface":"2.1.0","packages/interop":"1.1.0"}
{"packages/block-brokers":"0.9.0", "packages/helia":"2.1.0","packages/interface":"2.1.0","packages/interop":"1.1.0"}
6 changes: 0 additions & 6 deletions packages/block-brokers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
4 changes: 2 additions & 2 deletions packages/block-brokers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ $ npm i @helia/block-brokers

<!-- ### Browser `<script>` tag
Loading this module through a script tag will make it's exports available as `HeliaInterop` in the global namespace.
Loading this module through a script tag will make it's exports available as `bitswap` and `trustlessGateway` in the global namespace.
```html
<script src="https://unpkg.com/@helia/interop/dist/index.min.js"></script>
<script src="https://unpkg.com/@helia/block-brokers/dist/index.min.js"></script>
``` -->

## License
Expand Down
11 changes: 9 additions & 2 deletions packages/block-brokers/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/block-brokers/src/utils/networked-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0929517

Please sign in to comment.