@ocap/sdk 1.18.32 → 1.18.34
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/index.d.ts +1 -0
- 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.
|
|
4
|
+
"version": "1.18.34",
|
|
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.
|
|
22
|
-
"@ocap/client": "1.18.
|
|
23
|
-
"@ocap/message": "1.18.
|
|
24
|
-
"@ocap/util": "1.18.
|
|
25
|
-
"@ocap/wallet": "1.18.
|
|
21
|
+
"@arcblock/did-util": "1.18.34",
|
|
22
|
+
"@ocap/client": "1.18.34",
|
|
23
|
+
"@ocap/message": "1.18.34",
|
|
24
|
+
"@ocap/util": "1.18.34",
|
|
25
|
+
"@ocap/wallet": "1.18.34",
|
|
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": "
|
|
85
|
+
"gitHead": "c12d3cbf9617d861d83c08726d9e0d55fdf9a459"
|
|
86
86
|
}
|