@ocap/sdk 1.26.3 → 1.27.0

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 +2 -0
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -271,6 +271,8 @@ export interface WalletObject<T extends BytesType = string> {
271
271
  ethHash(data: string): string;
272
272
  ethSign(data: string, hashBeforeSign?: boolean): Promise<string>;
273
273
  ethVerify(data: string, signature: string, hashBeforeVerify?: boolean): Promise<boolean>;
274
+ signETH(data: string, hashBeforeSign?: boolean): Promise<string>;
275
+ signJWT(payload?: any, doSign?: boolean, version?: string): Promise<string>;
274
276
  toJSON(): SerializedWallet;
275
277
  /**
276
278
  * @deprecated ES6: use `wallet.address` instead
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.26.3",
4
+ "version": "1.27.0",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",
@@ -22,11 +22,11 @@
22
22
  "debug": "^4.3.6",
23
23
  "react-app-polyfill": "^1.0.6",
24
24
  "readable-stream": "3.6.0",
25
- "@arcblock/did-util": "1.26.3",
26
- "@ocap/client": "1.26.3",
27
- "@ocap/message": "1.26.3",
28
- "@ocap/util": "1.26.3",
29
- "@ocap/wallet": "1.26.3"
25
+ "@arcblock/did-util": "1.27.0",
26
+ "@ocap/client": "1.27.0",
27
+ "@ocap/message": "1.27.0",
28
+ "@ocap/util": "1.27.0",
29
+ "@ocap/wallet": "1.27.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "inspectpack": "^4.7.1",
@@ -39,7 +39,7 @@
39
39
  "webpack": "^5.94.0",
40
40
  "webpack-bundle-analyzer": "^4.10.2",
41
41
  "webpack-cli": "^5.1.4",
42
- "@ocap/e2e-test": "1.26.3"
42
+ "@ocap/e2e-test": "1.27.0"
43
43
  },
44
44
  "remarkConfig": {
45
45
  "plugins": [