chore: update to use bee-js 5.0.0 and support bee 1.7.0 (#503)

* chore: update to use bee-js 5.0.0 and support bee 1.7.0

* fix: store reference to feed manifest correctly

* fix: set waitForUsable to false (#507)

Co-authored-by: Cafe137 <77121044+Cafe137@users.noreply.github.com>
This commit is contained in:
Vojtech Simetka
2022-08-01 16:21:52 +02:00
committed by GitHub
parent 896f6e48d9
commit 72488fd5a3
5 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ export async function updateFeed(
const wallet = await getWalletFromIdentity(identity, password)
if (!identity.feedHash) {
identity.feedHash = await beeApi.createFeedManifest(stamp, 'sequence', '00'.repeat(32), wallet.address)
identity.feedHash = (await beeApi.createFeedManifest(stamp, 'sequence', '00'.repeat(32), wallet.address)).reference
}
const writer = beeApi.makeFeedWriter('sequence', '00'.repeat(32), wallet.privateKey)