Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update bee-js #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,206 changes: 1,293 additions & 1,913 deletions browser-stream/package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions browser-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"author": "",
"license": "BSD-3-Clause",
"dependencies": {
"@ethersphere/bee-js": "3.3.2",
"@ethersphere/bee-js": "4.1.1",
"buffer": "^6.0.3",
"process": "^0.11.10",
"stream-browserify": "^3.0.0"
},
"devDependencies": {
"ts-loader": "^9.2.5",
"typescript": "^4.4.2",
"webpack": "^5.51.1",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.1.0"
"ts-loader": "^9.3.0",
"typescript": "^4.6.4",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0"
}
}
3,083 changes: 1,243 additions & 1,840 deletions eth-wallet-signing/package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions eth-wallet-signing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"author": "",
"license": "BSD-3-Clause",
"dependencies": {
"@ethersphere/bee-js": "3.3.2"
"@ethersphere/bee-js": "4.1.1"
},
"devDependencies": {
"ts-loader": "^9.2.5",
"typescript": "^4.4.2",
"webpack": "^5.51.1",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.1.0"
"ts-loader": "^9.3.0",
"typescript": "^4.6.4",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0"
}
}
2 changes: 1 addition & 1 deletion eth-wallet-signing/src/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function createBatchGuide (): Promise<void> {
createBatchBtn.disabled = true
createBatchBtn.textContent = 'Creating...'

;(document.getElementById('batchId') as HTMLInputElement).value = await beeDebug.createPostageBatch(amount.toString(), parseInt(depthStr))
;(document.getElementById('batchId') as HTMLInputElement).value = await beeDebug.createPostageBatch(amount.toString(), parseInt(depthStr), {waitForUsable: true})

createBatchBtn.disabled = false
createBatchBtn.textContent = 'Create Postage Batch'
Expand Down
11 changes: 9 additions & 2 deletions update-beejs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@ fi

find . -name 'package.json' -maxdepth 2 -type f -print0 | while read -d $'\0' file
do
sed -i '' "s/\"@ethersphere\/bee-js\": \".*\",/\"@ethersphere\/bee-js\": \"${beeJsVersion}\",/g" "$file"
echo "Updating: ${file}"

# For entries that does NOT have `,` in the end of the line
sed -i '' "s/\"@ethersphere\/bee-js\": \".*\"$/\"@ethersphere\/bee-js\": \"${beeJsVersion}\"/g" "$file"

# For entries that DOES have `,` in the end of the line
sed -i '' "s/\"@ethersphere\/bee-js\": \".*\",$/\"@ethersphere\/bee-js\": \"${beeJsVersion}\",/g" "$file"

cd $(dirname $file) || exit
npm install
npm install --silent
cd ..
done
Loading