@ocap/sdk 1.18.23 → 1.18.24

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 +13 -0
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -1255,6 +1255,7 @@ declare namespace GraphQLClient {
1255
1255
  accountFilter: GraphQLClient.AccountFilterInput;
1256
1256
  txFilter: GraphQLClient.TxFilterInput;
1257
1257
  rollupFilter: GraphQLClient.RollupFilterInput;
1258
+ stakeFilter: GraphQLClient.StakeFilterInput;
1258
1259
  }
1259
1260
 
1260
1261
  interface RequestSearchInput {
@@ -1273,6 +1274,10 @@ declare namespace GraphQLClient {
1273
1274
  rollups: string[];
1274
1275
  }
1275
1276
 
1277
+ interface StakeFilterInput {
1278
+ stakes: string[];
1279
+ }
1280
+
1276
1281
  interface TimeFilterInput {
1277
1282
  startDateTime: string;
1278
1283
  endDateTime: string;
@@ -1718,6 +1723,7 @@ declare namespace GraphQLClient {
1718
1723
  txConfig: GraphQLClient.TransactionConfig;
1719
1724
  upgradeInfo: GraphQLClient.UpgradeInfo;
1720
1725
  accountConfig: GraphQLClient.AccountConfig[];
1726
+ vaults: GraphQLClient.VaultConfig;
1721
1727
  data: GraphQLClient.Any;
1722
1728
  }
1723
1729
 
@@ -2641,6 +2647,12 @@ declare namespace GraphQLClient {
2641
2647
  required: boolean;
2642
2648
  }
2643
2649
 
2650
+ interface VaultConfig {
2651
+ slashedStake: string;
2652
+ txFee: string;
2653
+ txGas: string[];
2654
+ }
2655
+
2644
2656
  interface Version {
2645
2657
  block: number;
2646
2658
  app: number;
@@ -2758,6 +2770,7 @@ declare namespace GraphQLClient {
2758
2770
  accountFilter: GraphQLClient.AccountFilterInput;
2759
2771
  txFilter: GraphQLClient.TxFilterInput;
2760
2772
  rollupFilter: GraphQLClient.RollupFilterInput;
2773
+ stakeFilter: GraphQLClient.StakeFilterInput;
2761
2774
  }
2762
2775
 
2763
2776
  interface ListTokensParams {
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.23",
4
+ "version": "1.18.24",
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.23",
22
- "@ocap/client": "1.18.23",
23
- "@ocap/message": "1.18.23",
24
- "@ocap/util": "1.18.23",
25
- "@ocap/wallet": "1.18.23",
21
+ "@arcblock/did-util": "1.18.24",
22
+ "@ocap/client": "1.18.24",
23
+ "@ocap/message": "1.18.24",
24
+ "@ocap/util": "1.18.24",
25
+ "@ocap/wallet": "1.18.24",
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": "bb57afdd756f4a9608e53e40c91060c32b97f2f8"
85
+ "gitHead": "2b3c7ab2de31bd3ef55ae32cec5c007d5e13d306"
86
86
  }