@ocap/sdk 1.24.8 → 1.25.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.
- package/index.d.ts +12 -0
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -1684,6 +1684,8 @@ declare namespace GraphQLClient {
|
|
|
1684
1684
|
initialSupply: string;
|
|
1685
1685
|
maxTotalSupply: string;
|
|
1686
1686
|
foreignToken: GraphQLClient.ForeignToken;
|
|
1687
|
+
website: string;
|
|
1688
|
+
metadata: GraphQLClient.Any;
|
|
1687
1689
|
data: GraphQLClient.Any;
|
|
1688
1690
|
}
|
|
1689
1691
|
|
|
@@ -2100,6 +2102,8 @@ declare namespace GraphQLClient {
|
|
|
2100
2102
|
renaissanceTime: string;
|
|
2101
2103
|
foreignToken: GraphQLClient.ForeignToken;
|
|
2102
2104
|
tokenFactoryAddress: string;
|
|
2105
|
+
website: string;
|
|
2106
|
+
metadata: GraphQLClient.Any;
|
|
2103
2107
|
data: GraphQLClient.Any;
|
|
2104
2108
|
}
|
|
2105
2109
|
|
|
@@ -2684,6 +2688,8 @@ declare namespace GraphQLClient {
|
|
|
2684
2688
|
maxTotalSupply: string;
|
|
2685
2689
|
foreignToken: GraphQLClient.ForeignToken;
|
|
2686
2690
|
tokenFactoryAddress: string;
|
|
2691
|
+
website: string;
|
|
2692
|
+
metadata: GraphQLClient.Any;
|
|
2687
2693
|
context: GraphQLClient.StateContext;
|
|
2688
2694
|
data: GraphQLClient.Any;
|
|
2689
2695
|
}
|
|
@@ -2718,6 +2724,7 @@ declare namespace GraphQLClient {
|
|
|
2718
2724
|
delegate: GraphQLClient.DelegateConfig;
|
|
2719
2725
|
txFee: GraphQLClient.TxFeeConfig[];
|
|
2720
2726
|
txGas: GraphQLClient.TxGasConfig;
|
|
2727
|
+
txStake: GraphQLClient.TxStakeConfig;
|
|
2721
2728
|
}
|
|
2722
2729
|
|
|
2723
2730
|
interface TransactionInfo {
|
|
@@ -2781,6 +2788,11 @@ declare namespace GraphQLClient {
|
|
|
2781
2788
|
stakeLockPeriod: number;
|
|
2782
2789
|
}
|
|
2783
2790
|
|
|
2791
|
+
interface TxStakeConfig {
|
|
2792
|
+
createToken: string;
|
|
2793
|
+
createTokenLockPeriod: number;
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2784
2796
|
interface UnconfirmedTxs {
|
|
2785
2797
|
nTxs: number;
|
|
2786
2798
|
txs: GraphQLClient.Transaction[];
|
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.
|
|
4
|
+
"version": "1.25.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
|
-
"@ocap/client": "1.
|
|
27
|
-
"@ocap/message": "1.
|
|
28
|
-
"@ocap/util": "1.
|
|
29
|
-
"@ocap/wallet": "1.
|
|
25
|
+
"@arcblock/did-util": "1.25.0",
|
|
26
|
+
"@ocap/client": "1.25.0",
|
|
27
|
+
"@ocap/message": "1.25.0",
|
|
28
|
+
"@ocap/util": "1.25.0",
|
|
29
|
+
"@ocap/wallet": "1.25.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.
|
|
42
|
+
"@ocap/e2e-test": "1.25.0"
|
|
43
43
|
},
|
|
44
44
|
"remarkConfig": {
|
|
45
45
|
"plugins": [
|