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 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("base64");
836
+ return Buffer.from(array).toString("base64url");
837
837
  };
@@ -9,7 +9,7 @@
9
9
  "deploy": "node scripts/deploy.js"
10
10
  },
11
11
  "dependencies": {
12
- "hbsig": "^0.2.4",
13
- "wao": "^0.37.5"
12
+ "hbsig": "^0.2.5",
13
+ "wao": "^0.37.7"
14
14
  }
15
15
  }
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("base64")
737
+ return Buffer.from(array).toString("base64url")
738
738
  }
739
739
 
740
740
  export {
@@ -9,7 +9,7 @@
9
9
  "deploy": "node scripts/deploy.js"
10
10
  },
11
11
  "dependencies": {
12
- "hbsig": "^0.2.4",
13
- "wao": "^0.37.5"
12
+ "hbsig": "^0.2.5",
13
+ "wao": "^0.37.7"
14
14
  }
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wao",
3
- "version": "0.37.5",
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.4",
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",