@ocap/sdk 1.18.96 → 1.18.97
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 +20 -2
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -1394,6 +1394,11 @@ declare namespace GraphQLClient {
|
|
|
1394
1394
|
interface AssetLimit {
|
|
1395
1395
|
address: string[];
|
|
1396
1396
|
to: string[];
|
|
1397
|
+
txCount: number;
|
|
1398
|
+
validUntil: number;
|
|
1399
|
+
rate: GraphQLClient.RateLimit;
|
|
1400
|
+
txSent: number;
|
|
1401
|
+
lastTx: number;
|
|
1397
1402
|
}
|
|
1398
1403
|
|
|
1399
1404
|
interface AssetState {
|
|
@@ -1646,6 +1651,8 @@ declare namespace GraphQLClient {
|
|
|
1646
1651
|
interface DelegateState {
|
|
1647
1652
|
address: string;
|
|
1648
1653
|
ops: GraphQLClient.DelegateState_OpsEntry[];
|
|
1654
|
+
from: string;
|
|
1655
|
+
to: string;
|
|
1649
1656
|
context: GraphQLClient.StateContext;
|
|
1650
1657
|
data: GraphQLClient.Any;
|
|
1651
1658
|
}
|
|
@@ -2132,6 +2139,11 @@ declare namespace GraphQLClient {
|
|
|
2132
2139
|
data: string;
|
|
2133
2140
|
}
|
|
2134
2141
|
|
|
2142
|
+
interface RateLimit {
|
|
2143
|
+
interval: number;
|
|
2144
|
+
anchor: number;
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2135
2147
|
interface ReceiptChange {
|
|
2136
2148
|
target: string;
|
|
2137
2149
|
action: string;
|
|
@@ -2481,9 +2493,15 @@ declare namespace GraphQLClient {
|
|
|
2481
2493
|
|
|
2482
2494
|
interface TokenLimit {
|
|
2483
2495
|
address: string;
|
|
2484
|
-
value: string;
|
|
2485
|
-
delta: string;
|
|
2486
2496
|
to: string[];
|
|
2497
|
+
txCount: number;
|
|
2498
|
+
txAllowance: string;
|
|
2499
|
+
totalAllowance: string;
|
|
2500
|
+
validUntil: number;
|
|
2501
|
+
rate: GraphQLClient.RateLimit;
|
|
2502
|
+
txSent: number;
|
|
2503
|
+
spentAllowance: string;
|
|
2504
|
+
lastTx: number;
|
|
2487
2505
|
}
|
|
2488
2506
|
|
|
2489
2507
|
interface TokenState {
|
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.97",
|
|
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.
|
|
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.97",
|
|
22
|
+
"@ocap/client": "1.18.97",
|
|
23
|
+
"@ocap/message": "1.18.97",
|
|
24
|
+
"@ocap/util": "1.18.97",
|
|
25
|
+
"@ocap/wallet": "1.18.97",
|
|
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": "
|
|
85
|
+
"gitHead": "691aabefd37f53b6fbcf771ce130f09197f0b268"
|
|
86
86
|
}
|