@arcblock/did 1.29.5 → 1.29.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/esm/util.d.mts CHANGED
@@ -8,7 +8,7 @@ declare const DID_PREFIX = "did:abt:";
8
8
  * @param {string} did
9
9
  * @returns {Buffer}
10
10
  */
11
- declare const toBytes: (did: string) => any;
11
+ declare const toBytes: (did: string) => Buffer<ArrayBufferLike>;
12
12
  /**
13
13
  * Convert number to bit string with predefined length
14
14
  */
package/lib/util.d.cts CHANGED
@@ -8,7 +8,7 @@ declare const DID_PREFIX = "did:abt:";
8
8
  * @param {string} did
9
9
  * @returns {Buffer}
10
10
  */
11
- declare const toBytes: (did: string) => any;
11
+ declare const toBytes: (did: string) => Buffer<ArrayBufferLike>;
12
12
  /**
13
13
  * Convert number to bit string with predefined length
14
14
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/did",
3
- "version": "1.29.5",
3
+ "version": "1.29.7",
4
4
  "type": "module",
5
5
  "description": "Javascript lib to work with ArcBlock DID",
6
6
  "keywords": [
@@ -62,14 +62,15 @@
62
62
  "test": "bun test",
63
63
  "coverage": "npm run test -- --coverage",
64
64
  "build": "tsdown",
65
- "build:watch": "tsdown -w"
65
+ "build:watch": "tsdown -w",
66
+ "clean": "rm -rf lib esm"
66
67
  },
67
68
  "bugs": {
68
69
  "url": "https://github.com/ArcBlock/blockchain/issues"
69
70
  },
70
71
  "dependencies": {
71
- "@ocap/mcrypto": "1.29.5",
72
- "@ocap/util": "1.29.5",
72
+ "@ocap/mcrypto": "1.29.7",
73
+ "@ocap/util": "1.29.7",
73
74
  "bn.js": "5.2.2",
74
75
  "debug": "^4.4.3",
75
76
  "lodash": "^4.17.23"