@ocap/sdk 1.18.32 → 1.18.33

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.
Files changed (2) hide show
  1. package/index.d.ts +1 -0
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -238,6 +238,7 @@ export declare function toAddress(did: string): string;
238
238
  * Convert address to did: prepend `did:abt:` prefix
239
239
  */
240
240
  export declare function toDid(address: string): string;
241
+ export declare function isSameDid(a: string, b: string): boolean;
241
242
  export declare function formatTxType(type: string): any;
242
243
  /// <reference types="node" />
243
244
  import { EncodingType, BytesType } from '@ocap/util';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/sdk",
3
3
  "description": "Forge javascript SDK packages all-in-one",
4
- "version": "1.18.32",
4
+ "version": "1.18.33",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",
@@ -18,11 +18,11 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "@arcblock/did-util": "1.18.32",
22
- "@ocap/client": "1.18.32",
23
- "@ocap/message": "1.18.32",
24
- "@ocap/util": "1.18.32",
25
- "@ocap/wallet": "1.18.32",
21
+ "@arcblock/did-util": "1.18.33",
22
+ "@ocap/client": "1.18.33",
23
+ "@ocap/message": "1.18.33",
24
+ "@ocap/util": "1.18.33",
25
+ "@ocap/wallet": "1.18.33",
26
26
  "buffer": "6.0.3",
27
27
  "debug": "^4.3.4",
28
28
  "react-app-polyfill": "^1.0.6",
@@ -82,5 +82,5 @@
82
82
  "test": "jest --forceExit --detectOpenHandles",
83
83
  "coverage": "yarn test -- --coverage"
84
84
  },
85
- "gitHead": "44a7e8ee3e89535a4e18fbbc2ad6ff408c8e2474"
85
+ "gitHead": "0d03089c6651d92a3451e9bbbc865c18c2f5d8ad"
86
86
  }