@ocap/wallet 1.29.5 → 1.29.6

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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { DIDType, DIDTypeArg, DIDTypeStr } from "@arcblock/did";
1
+ import { DIDType, DIDTypeArg, DIDTypeStr, DidType } from "@arcblock/did";
2
2
  import { BytesType, EncodingType } from "@ocap/util";
3
3
 
4
4
  //#region src/index.d.ts
@@ -44,7 +44,7 @@ interface WalletObject<T extends BytesType = string> {
44
44
  */
45
45
  toAddress(): string;
46
46
  }
47
- declare const WalletType: any;
47
+ declare const WalletType: typeof DidType;
48
48
  /**
49
49
  * Generate an wallet instance that can be used to sign a message or verify a signature
50
50
  */
package/lib/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { DIDType, DIDTypeArg, DIDTypeStr } from "@arcblock/did";
1
+ import { DIDType, DIDTypeArg, DIDTypeStr, DidType } from "@arcblock/did";
2
2
  import { BytesType, EncodingType } from "@ocap/util";
3
3
 
4
4
  //#region src/index.d.ts
@@ -44,7 +44,7 @@ interface WalletObject<T extends BytesType = string> {
44
44
  */
45
45
  toAddress(): string;
46
46
  }
47
- declare const WalletType: any;
47
+ declare const WalletType: typeof DidType;
48
48
  /**
49
49
  * Generate an wallet instance that can be used to sign a message or verify a signature
50
50
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocap/wallet",
3
- "version": "1.29.5",
3
+ "version": "1.29.6",
4
4
  "type": "module",
5
5
  "description": "Utility function to create and use an forge compatible crypto wallet",
6
6
  "keywords": [
@@ -50,15 +50,16 @@
50
50
  "test": "bun test",
51
51
  "coverage": "npm run test -- --coverage",
52
52
  "build": "tsdown",
53
- "build:watch": "tsdown -w"
53
+ "build:watch": "tsdown -w",
54
+ "clean": "rm -rf lib esm"
54
55
  },
55
56
  "bugs": {
56
57
  "url": "https://github.com/ArcBlock/blockchain/issues"
57
58
  },
58
59
  "dependencies": {
59
- "@arcblock/did": "1.29.5",
60
- "@arcblock/jwt": "1.29.5",
61
- "@ocap/mcrypto": "1.29.5",
62
- "@ocap/util": "1.29.5"
60
+ "@arcblock/did": "1.29.6",
61
+ "@arcblock/jwt": "1.29.6",
62
+ "@ocap/mcrypto": "1.29.6",
63
+ "@ocap/util": "1.29.6"
63
64
  }
64
65
  }