@ocap/sdk 1.18.0 → 1.18.2
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 +15 -12
package/index.d.ts
CHANGED
|
@@ -2128,6 +2128,7 @@ declare namespace GraphQLClient {
|
|
|
2128
2128
|
sender: string;
|
|
2129
2129
|
receiver: string;
|
|
2130
2130
|
serviceFee: string;
|
|
2131
|
+
gasFee: string;
|
|
2131
2132
|
}
|
|
2132
2133
|
|
|
2133
2134
|
export interface TransactionConfig {
|
|
@@ -2136,6 +2137,7 @@ declare namespace GraphQLClient {
|
|
|
2136
2137
|
maxMultisig: number;
|
|
2137
2138
|
delegate: GraphQLClient.DelegateConfig;
|
|
2138
2139
|
txFee: Array<null>;
|
|
2140
|
+
txGas: GraphQLClient.TxGasConfig;
|
|
2139
2141
|
}
|
|
2140
2142
|
|
|
2141
2143
|
export interface TransactionInfo {
|
|
@@ -2189,6 +2191,16 @@ declare namespace GraphQLClient {
|
|
|
2189
2191
|
fee: string;
|
|
2190
2192
|
}
|
|
2191
2193
|
|
|
2194
|
+
export interface TxGasConfig {
|
|
2195
|
+
price: number;
|
|
2196
|
+
createState: number;
|
|
2197
|
+
updateState: number;
|
|
2198
|
+
dataStorage: number;
|
|
2199
|
+
minStake: string;
|
|
2200
|
+
maxStake: string;
|
|
2201
|
+
stakeLockPeriod: number;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2192
2204
|
export interface UnconfirmedTxs {
|
|
2193
2205
|
nTxs: number;
|
|
2194
2206
|
txs: Array<null>;
|
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.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -18,24 +18,27 @@
|
|
|
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.2",
|
|
22
|
+
"@ocap/client": "1.18.2",
|
|
23
|
+
"@ocap/message": "1.18.2",
|
|
24
|
+
"@ocap/util": "1.18.2",
|
|
25
|
+
"@ocap/wallet": "1.18.2",
|
|
26
|
+
"buffer": "6.0.3",
|
|
26
27
|
"debug": "^4.3.4",
|
|
27
|
-
"react-app-polyfill": "^1.0.6"
|
|
28
|
+
"react-app-polyfill": "^1.0.6",
|
|
29
|
+
"readable-stream": "3.6.0"
|
|
28
30
|
},
|
|
29
31
|
"devDependencies": {
|
|
30
32
|
"inspectpack": "^4.7.1",
|
|
31
33
|
"jest": "^27.5.1",
|
|
32
34
|
"jsdoc-to-markdown": "^7.1.1",
|
|
35
|
+
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
33
36
|
"prettier": "^2.7.1",
|
|
34
37
|
"remark-cli": "^10.0.1",
|
|
35
38
|
"remark-preset-github": "^4.0.4",
|
|
36
|
-
"webpack": "^
|
|
37
|
-
"webpack-bundle-analyzer": "^
|
|
38
|
-
"webpack-cli": "^
|
|
39
|
+
"webpack": "^5.74.0",
|
|
40
|
+
"webpack-bundle-analyzer": "^4.7.0",
|
|
41
|
+
"webpack-cli": "^4.10.0"
|
|
39
42
|
},
|
|
40
43
|
"remarkConfig": {
|
|
41
44
|
"plugins": [
|
|
@@ -69,7 +72,7 @@
|
|
|
69
72
|
"scripts": {
|
|
70
73
|
"lint": "eslint lib *.js tests",
|
|
71
74
|
"lint:fix": "eslint --fix lib *.js tests",
|
|
72
|
-
"build-browser": "webpack
|
|
75
|
+
"build-browser": "webpack",
|
|
73
76
|
"docs": "yarn gen-dts && yarn gen-docs && yarn cleanup-docs && yarn format-docs",
|
|
74
77
|
"cleanup-docs": "node ../../scripts/cleanup-docs.js docs/README.md $npm_package_name",
|
|
75
78
|
"build": "yarn gen-docs && yarn gen-dts && yarn format-docs && yarn build-browser",
|
|
@@ -79,5 +82,5 @@
|
|
|
79
82
|
"test": "jest --forceExit --detectOpenHandles",
|
|
80
83
|
"coverage": "yarn test -- --coverage"
|
|
81
84
|
},
|
|
82
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "7bd3abefcf732fcf5d4521622ca06db67671d853"
|
|
83
86
|
}
|