wao 0.37.5 → 0.37.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/utils.js +1 -1
- package/cjs/workspace/package.json +2 -2
- package/esm/utils.js +1 -1
- package/esm/workspace/package.json +2 -2
- package/package.json +2 -2
package/cjs/utils.js
CHANGED
|
@@ -833,5 +833,5 @@ function toAddr(n) {
|
|
|
833
833
|
var seed = exports.seed = function seed(num) {
|
|
834
834
|
var array = new Array(num);
|
|
835
835
|
for (var i = 0; i < num; i++) array[i] = Math.floor(Math.random() * 256);
|
|
836
|
-
return Buffer.from(array).toString("
|
|
836
|
+
return Buffer.from(array).toString("base64url");
|
|
837
837
|
};
|
package/esm/utils.js
CHANGED
|
@@ -734,7 +734,7 @@ function toAddr(n) {
|
|
|
734
734
|
const seed = num => {
|
|
735
735
|
const array = new Array(num)
|
|
736
736
|
for (let i = 0; i < num; i++) array[i] = Math.floor(Math.random() * 256)
|
|
737
|
-
return Buffer.from(array).toString("
|
|
737
|
+
return Buffer.from(array).toString("base64url")
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wao",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.7",
|
|
4
4
|
"bin": {
|
|
5
5
|
"wao": "./cjs/cli.js",
|
|
6
6
|
"wao-esm": "./esm/cli.js"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"express": "^5.1.0",
|
|
51
51
|
"fast-sha256": "^1.3.0",
|
|
52
52
|
"graphql": "^16.10.0",
|
|
53
|
-
"hbsig": "^0.2.
|
|
53
|
+
"hbsig": "^0.2.5",
|
|
54
54
|
"http-message-signatures": "^1.0.4",
|
|
55
55
|
"lmdb": "^3.2.2",
|
|
56
56
|
"localforage": "^1.10.0",
|