Skip to content

Commit

Permalink
feat: upgrade to bee-js 8 (#531)
Browse files Browse the repository at this point in the history
* feat: upgrade to bee-js 8

* chore: add new line
  • Loading branch information
Cafe137 authored Sep 16, 2024
1 parent 930b3a3 commit e8b1842
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"typescript": "^4.8.4"
},
"dependencies": {
"@ethersphere/bee-js": "^7.1.2",
"@ethersphere/bee-js": "^8.0.0",
"@fairdatasociety/bmt-js": "^2.1.0",
"cafe-utility": "^22.0.0",
"chalk": "^2.4.2",
Expand Down
2 changes: 1 addition & 1 deletion src/command/feed/feed-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ export class FeedCommand extends RootCommand {

try {
const writer = this.bee.makeFeedWriter('sequence', topic, wallet.getPrivateKey())
const reference = await writer.upload(stamp, chunkReference as Reference)
const { reference: manifest } = await this.bee.createFeedManifest(
stamp,
'sequence',
topic,
wallet.getAddressString(),
)
const { reference } = await writer.upload(stamp, chunkReference as Reference)

return { reference, manifest }
} finally {
Expand Down

0 comments on commit e8b1842

Please sign in to comment.