@ocap/sdk 1.18.124 → 1.18.125

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 +17 -0
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -494,6 +494,10 @@ declare interface OcapSDK {
494
494
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
495
495
  extra?: any
496
496
  ): Promise<string>;
497
+ sendReturnStakeTx(
498
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
499
+ extra?: any
500
+ ): Promise<string>;
497
501
  sendRevokeDelegateTx(
498
502
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
499
503
  extra?: any
@@ -592,6 +596,9 @@ declare interface OcapSDK {
592
596
  encodeResumeRollupTx(
593
597
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
594
598
  ): Promise<GraphQLClient.EncodeTxResult>;
599
+ encodeReturnStakeTx(
600
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>
601
+ ): Promise<GraphQLClient.EncodeTxResult>;
595
602
  encodeRevokeDelegateTx(
596
603
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
597
604
  ): Promise<GraphQLClient.EncodeTxResult>;
@@ -692,6 +699,9 @@ declare interface OcapSDK {
692
699
  signResumeRollupTx(
693
700
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
694
701
  ): Promise<GraphQLClient.Transaction>;
702
+ signReturnStakeTx(
703
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>
704
+ ): Promise<GraphQLClient.Transaction>;
695
705
  signRevokeDelegateTx(
696
706
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
697
707
  ): Promise<GraphQLClient.Transaction>;
@@ -2333,6 +2343,13 @@ declare namespace GraphQLClient {
2333
2343
  data: GraphQLClient.Any;
2334
2344
  }
2335
2345
 
2346
+ interface ReturnStakeTx {
2347
+ address: string;
2348
+ outputs: GraphQLClient.TransactionInput[];
2349
+ message: string;
2350
+ data: GraphQLClient.Any;
2351
+ }
2352
+
2336
2353
  interface RevokeDelegateTx {
2337
2354
  address: string;
2338
2355
  to: string;
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.124",
4
+ "version": "1.18.125",
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.124",
22
- "@ocap/client": "1.18.124",
23
- "@ocap/message": "1.18.124",
24
- "@ocap/util": "1.18.124",
25
- "@ocap/wallet": "1.18.124",
21
+ "@arcblock/did-util": "1.18.125",
22
+ "@ocap/client": "1.18.125",
23
+ "@ocap/message": "1.18.125",
24
+ "@ocap/util": "1.18.125",
25
+ "@ocap/wallet": "1.18.125",
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": "c48ab6ae29affa47c479c77333ce3a4dc40ba46a"
85
+ "gitHead": "95177ceb3e85f6557cced378c5e2bc0684ec0218"
86
86
  }