@ocap/client 1.17.23 → 1.18.1
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/dist/base.js +20 -1
- package/dist/base.js.map +1 -1
- package/dist/browser.d.ts +12 -0
- package/dist/bundle.js +22 -3
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +119 -0
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +16 -0
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +33 -0
- package/docs/README.md +20 -0
- package/lib/base.js +20 -1
- package/lib/base.js.map +1 -1
- package/lib/node.d.ts +12 -0
- package/lib/schema/graphql.json +119 -0
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +16 -0
- package/lib/types.js.map +1 -1
- package/package.json +15 -14
package/docs/QUERIES.md
CHANGED
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
chainId
|
|
104
104
|
delegator
|
|
105
105
|
from
|
|
106
|
+
gasFee
|
|
106
107
|
itxJson
|
|
107
108
|
nonce
|
|
108
109
|
pk
|
|
@@ -152,6 +153,7 @@
|
|
|
152
153
|
chainId
|
|
153
154
|
delegator
|
|
154
155
|
from
|
|
156
|
+
gasFee
|
|
155
157
|
itxJson
|
|
156
158
|
nonce
|
|
157
159
|
pk
|
|
@@ -252,6 +254,7 @@
|
|
|
252
254
|
chainId
|
|
253
255
|
delegator
|
|
254
256
|
from
|
|
257
|
+
gasFee
|
|
255
258
|
itxJson
|
|
256
259
|
nonce
|
|
257
260
|
pk
|
|
@@ -301,6 +304,7 @@
|
|
|
301
304
|
chainId
|
|
302
305
|
delegator
|
|
303
306
|
from
|
|
307
|
+
gasFee
|
|
304
308
|
itxJson
|
|
305
309
|
nonce
|
|
306
310
|
pk
|
|
@@ -394,6 +398,7 @@
|
|
|
394
398
|
chainId
|
|
395
399
|
delegator
|
|
396
400
|
from
|
|
401
|
+
gasFee
|
|
397
402
|
itxJson
|
|
398
403
|
nonce
|
|
399
404
|
pk
|
|
@@ -443,6 +448,7 @@
|
|
|
443
448
|
chainId
|
|
444
449
|
delegator
|
|
445
450
|
from
|
|
451
|
+
gasFee
|
|
446
452
|
itxJson
|
|
447
453
|
nonce
|
|
448
454
|
pk
|
|
@@ -576,6 +582,7 @@
|
|
|
576
582
|
chainId
|
|
577
583
|
delegator
|
|
578
584
|
from
|
|
585
|
+
gasFee
|
|
579
586
|
itxJson
|
|
580
587
|
nonce
|
|
581
588
|
pk
|
|
@@ -625,6 +632,7 @@
|
|
|
625
632
|
chainId
|
|
626
633
|
delegator
|
|
627
634
|
from
|
|
635
|
+
gasFee
|
|
628
636
|
itxJson
|
|
629
637
|
nonce
|
|
630
638
|
pk
|
|
@@ -719,6 +727,7 @@
|
|
|
719
727
|
chainId
|
|
720
728
|
delegator
|
|
721
729
|
from
|
|
730
|
+
gasFee
|
|
722
731
|
itxJson
|
|
723
732
|
nonce
|
|
724
733
|
pk
|
|
@@ -768,6 +777,7 @@
|
|
|
768
777
|
chainId
|
|
769
778
|
delegator
|
|
770
779
|
from
|
|
780
|
+
gasFee
|
|
771
781
|
itxJson
|
|
772
782
|
nonce
|
|
773
783
|
pk
|
|
@@ -852,6 +862,7 @@
|
|
|
852
862
|
chainId
|
|
853
863
|
delegator
|
|
854
864
|
from
|
|
865
|
+
gasFee
|
|
855
866
|
itxJson
|
|
856
867
|
nonce
|
|
857
868
|
pk
|
|
@@ -901,6 +912,7 @@
|
|
|
901
912
|
chainId
|
|
902
913
|
delegator
|
|
903
914
|
from
|
|
915
|
+
gasFee
|
|
904
916
|
itxJson
|
|
905
917
|
nonce
|
|
906
918
|
pk
|
|
@@ -998,6 +1010,15 @@
|
|
|
998
1010
|
fee
|
|
999
1011
|
typeUrl
|
|
1000
1012
|
}
|
|
1013
|
+
txGas {
|
|
1014
|
+
createState
|
|
1015
|
+
dataStorage
|
|
1016
|
+
maxStake
|
|
1017
|
+
minStake
|
|
1018
|
+
price
|
|
1019
|
+
stakeLockPeriod
|
|
1020
|
+
updateState
|
|
1021
|
+
}
|
|
1001
1022
|
}
|
|
1002
1023
|
upgradeInfo {
|
|
1003
1024
|
height
|
|
@@ -1050,6 +1071,7 @@
|
|
|
1050
1071
|
chainId
|
|
1051
1072
|
delegator
|
|
1052
1073
|
from
|
|
1074
|
+
gasFee
|
|
1053
1075
|
itxJson
|
|
1054
1076
|
nonce
|
|
1055
1077
|
pk
|
|
@@ -1131,6 +1153,7 @@
|
|
|
1131
1153
|
chainId
|
|
1132
1154
|
delegator
|
|
1133
1155
|
from
|
|
1156
|
+
gasFee
|
|
1134
1157
|
itxJson
|
|
1135
1158
|
nonce
|
|
1136
1159
|
pk
|
|
@@ -1187,6 +1210,7 @@
|
|
|
1187
1210
|
chainId
|
|
1188
1211
|
delegator
|
|
1189
1212
|
from
|
|
1213
|
+
gasFee
|
|
1190
1214
|
itxJson
|
|
1191
1215
|
nonce
|
|
1192
1216
|
pk
|
|
@@ -1289,6 +1313,7 @@
|
|
|
1289
1313
|
chainId
|
|
1290
1314
|
delegator
|
|
1291
1315
|
from
|
|
1316
|
+
gasFee
|
|
1292
1317
|
itxJson
|
|
1293
1318
|
nonce
|
|
1294
1319
|
pk
|
|
@@ -1559,6 +1584,7 @@ No arguments
|
|
|
1559
1584
|
chainId
|
|
1560
1585
|
delegator
|
|
1561
1586
|
from
|
|
1587
|
+
gasFee
|
|
1562
1588
|
itxJson
|
|
1563
1589
|
nonce
|
|
1564
1590
|
pk
|
|
@@ -1763,6 +1789,7 @@ No arguments
|
|
|
1763
1789
|
chainId
|
|
1764
1790
|
delegator
|
|
1765
1791
|
from
|
|
1792
|
+
gasFee
|
|
1766
1793
|
itxJson
|
|
1767
1794
|
nonce
|
|
1768
1795
|
pk
|
|
@@ -2007,6 +2034,7 @@ No arguments
|
|
|
2007
2034
|
chainId
|
|
2008
2035
|
delegator
|
|
2009
2036
|
from
|
|
2037
|
+
gasFee
|
|
2010
2038
|
itxJson
|
|
2011
2039
|
nonce
|
|
2012
2040
|
pk
|
|
@@ -2056,6 +2084,7 @@ No arguments
|
|
|
2056
2084
|
chainId
|
|
2057
2085
|
delegator
|
|
2058
2086
|
from
|
|
2087
|
+
gasFee
|
|
2059
2088
|
itxJson
|
|
2060
2089
|
nonce
|
|
2061
2090
|
pk
|
|
@@ -2234,6 +2263,7 @@ No arguments
|
|
|
2234
2263
|
chainId
|
|
2235
2264
|
delegator
|
|
2236
2265
|
from
|
|
2266
|
+
gasFee
|
|
2237
2267
|
itxJson
|
|
2238
2268
|
nonce
|
|
2239
2269
|
pk
|
|
@@ -2283,6 +2313,7 @@ No arguments
|
|
|
2283
2313
|
chainId
|
|
2284
2314
|
delegator
|
|
2285
2315
|
from
|
|
2316
|
+
gasFee
|
|
2286
2317
|
itxJson
|
|
2287
2318
|
nonce
|
|
2288
2319
|
pk
|
|
@@ -2489,6 +2520,7 @@ No arguments
|
|
|
2489
2520
|
chainId
|
|
2490
2521
|
delegator
|
|
2491
2522
|
from
|
|
2523
|
+
gasFee
|
|
2492
2524
|
itxJson
|
|
2493
2525
|
nonce
|
|
2494
2526
|
pk
|
|
@@ -2538,6 +2570,7 @@ No arguments
|
|
|
2538
2570
|
chainId
|
|
2539
2571
|
delegator
|
|
2540
2572
|
from
|
|
2573
|
+
gasFee
|
|
2541
2574
|
itxJson
|
|
2542
2575
|
nonce
|
|
2543
2576
|
pk
|
package/docs/README.md
CHANGED
|
@@ -314,6 +314,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
314
314
|
* [TransferV2Tx](#GraphQLClient.TransferV2Tx) : `object`
|
|
315
315
|
* [TransferV3Tx](#GraphQLClient.TransferV3Tx) : `object`
|
|
316
316
|
* [TxFeeConfig](#GraphQLClient.TxFeeConfig) : `object`
|
|
317
|
+
* [TxGasConfig](#GraphQLClient.TxGasConfig) : `object`
|
|
317
318
|
* [UnconfirmedTxs](#GraphQLClient.UnconfirmedTxs) : `object`
|
|
318
319
|
* [UpdateAssetTx](#GraphQLClient.UpdateAssetTx) : `object`
|
|
319
320
|
* [UpdateRollupTx](#GraphQLClient.UpdateRollupTx) : `object`
|
|
@@ -4578,6 +4579,7 @@ Structure of GraphQLClient.Transaction
|
|
|
4578
4579
|
| sender | `string` |
|
|
4579
4580
|
| receiver | `string` |
|
|
4580
4581
|
| serviceFee | `string` |
|
|
4582
|
+
| gasFee | `string` |
|
|
4581
4583
|
|
|
4582
4584
|
### GraphQLClient.TransactionConfig : `object`
|
|
4583
4585
|
|
|
@@ -4593,6 +4595,7 @@ Structure of GraphQLClient.TransactionConfig
|
|
|
4593
4595
|
| maxMultisig | `number` |
|
|
4594
4596
|
| ...delegate | [`DelegateConfig`](#GraphQLClient.DelegateConfig) |
|
|
4595
4597
|
| txFee | `Array.<...GraphQLClient.TxFeeConfig>` |
|
|
4598
|
+
| ...txGas | [`TxGasConfig`](#GraphQLClient.TxGasConfig) |
|
|
4596
4599
|
|
|
4597
4600
|
### GraphQLClient.TransactionInfo : `object`
|
|
4598
4601
|
|
|
@@ -4694,6 +4697,23 @@ Structure of GraphQLClient.TxFeeConfig
|
|
|
4694
4697
|
| typeUrl | `string` |
|
|
4695
4698
|
| fee | `string` |
|
|
4696
4699
|
|
|
4700
|
+
### GraphQLClient.TxGasConfig : `object`
|
|
4701
|
+
|
|
4702
|
+
Structure of GraphQLClient.TxGasConfig
|
|
4703
|
+
|
|
4704
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4705
|
+
**Properties**
|
|
4706
|
+
|
|
4707
|
+
| Name | Type |
|
|
4708
|
+
| --------------- | -------- |
|
|
4709
|
+
| price | `number` |
|
|
4710
|
+
| createState | `number` |
|
|
4711
|
+
| updateState | `number` |
|
|
4712
|
+
| dataStorage | `number` |
|
|
4713
|
+
| minStake | `string` |
|
|
4714
|
+
| maxStake | `string` |
|
|
4715
|
+
| stakeLockPeriod | `number` |
|
|
4716
|
+
|
|
4697
4717
|
### GraphQLClient.UnconfirmedTxs : `object`
|
|
4698
4718
|
|
|
4699
4719
|
Structure of GraphQLClient.UnconfirmedTxs
|