@ocap/client 1.31.0 → 1.31.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 +1 -1
- package/dist/browser.d.ts +5 -1
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +45 -1
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +6 -2
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +32 -0
- package/docs/README.md +9 -5
- package/lib/base.js +1 -1
- package/lib/node.d.ts +5 -1
- package/lib/schema/graphql.json +45 -1
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +6 -2
- package/lib/types.js.map +1 -1
- package/package.json +11 -11
package/docs/QUERIES.md
CHANGED
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
from
|
|
119
119
|
gasFee
|
|
120
120
|
gasPaid
|
|
121
|
+
gasPayer
|
|
121
122
|
itxJson
|
|
122
123
|
nonce
|
|
123
124
|
pk
|
|
@@ -170,6 +171,7 @@
|
|
|
170
171
|
from
|
|
171
172
|
gasFee
|
|
172
173
|
gasPaid
|
|
174
|
+
gasPayer
|
|
173
175
|
itxJson
|
|
174
176
|
nonce
|
|
175
177
|
pk
|
|
@@ -273,6 +275,7 @@
|
|
|
273
275
|
from
|
|
274
276
|
gasFee
|
|
275
277
|
gasPaid
|
|
278
|
+
gasPayer
|
|
276
279
|
itxJson
|
|
277
280
|
nonce
|
|
278
281
|
pk
|
|
@@ -325,6 +328,7 @@
|
|
|
325
328
|
from
|
|
326
329
|
gasFee
|
|
327
330
|
gasPaid
|
|
331
|
+
gasPayer
|
|
328
332
|
itxJson
|
|
329
333
|
nonce
|
|
330
334
|
pk
|
|
@@ -421,6 +425,7 @@
|
|
|
421
425
|
from
|
|
422
426
|
gasFee
|
|
423
427
|
gasPaid
|
|
428
|
+
gasPayer
|
|
424
429
|
itxJson
|
|
425
430
|
nonce
|
|
426
431
|
pk
|
|
@@ -473,6 +478,7 @@
|
|
|
473
478
|
from
|
|
474
479
|
gasFee
|
|
475
480
|
gasPaid
|
|
481
|
+
gasPayer
|
|
476
482
|
itxJson
|
|
477
483
|
nonce
|
|
478
484
|
pk
|
|
@@ -613,6 +619,7 @@
|
|
|
613
619
|
from
|
|
614
620
|
gasFee
|
|
615
621
|
gasPaid
|
|
622
|
+
gasPayer
|
|
616
623
|
itxJson
|
|
617
624
|
nonce
|
|
618
625
|
pk
|
|
@@ -665,6 +672,7 @@
|
|
|
665
672
|
from
|
|
666
673
|
gasFee
|
|
667
674
|
gasPaid
|
|
675
|
+
gasPayer
|
|
668
676
|
itxJson
|
|
669
677
|
nonce
|
|
670
678
|
pk
|
|
@@ -811,6 +819,7 @@
|
|
|
811
819
|
from
|
|
812
820
|
gasFee
|
|
813
821
|
gasPaid
|
|
822
|
+
gasPayer
|
|
814
823
|
itxJson
|
|
815
824
|
nonce
|
|
816
825
|
pk
|
|
@@ -863,6 +872,7 @@
|
|
|
863
872
|
from
|
|
864
873
|
gasFee
|
|
865
874
|
gasPaid
|
|
875
|
+
gasPayer
|
|
866
876
|
itxJson
|
|
867
877
|
nonce
|
|
868
878
|
pk
|
|
@@ -954,6 +964,7 @@
|
|
|
954
964
|
from
|
|
955
965
|
gasFee
|
|
956
966
|
gasPaid
|
|
967
|
+
gasPayer
|
|
957
968
|
itxJson
|
|
958
969
|
nonce
|
|
959
970
|
pk
|
|
@@ -1006,6 +1017,7 @@
|
|
|
1006
1017
|
from
|
|
1007
1018
|
gasFee
|
|
1008
1019
|
gasPaid
|
|
1020
|
+
gasPayer
|
|
1009
1021
|
itxJson
|
|
1010
1022
|
nonce
|
|
1011
1023
|
pk
|
|
@@ -1190,6 +1202,7 @@
|
|
|
1190
1202
|
from
|
|
1191
1203
|
gasFee
|
|
1192
1204
|
gasPaid
|
|
1205
|
+
gasPayer
|
|
1193
1206
|
itxJson
|
|
1194
1207
|
nonce
|
|
1195
1208
|
pk
|
|
@@ -1242,6 +1255,7 @@
|
|
|
1242
1255
|
from
|
|
1243
1256
|
gasFee
|
|
1244
1257
|
gasPaid
|
|
1258
|
+
gasPayer
|
|
1245
1259
|
itxJson
|
|
1246
1260
|
nonce
|
|
1247
1261
|
pk
|
|
@@ -1326,6 +1340,7 @@
|
|
|
1326
1340
|
from
|
|
1327
1341
|
gasFee
|
|
1328
1342
|
gasPaid
|
|
1343
|
+
gasPayer
|
|
1329
1344
|
itxJson
|
|
1330
1345
|
nonce
|
|
1331
1346
|
pk
|
|
@@ -1374,6 +1389,7 @@
|
|
|
1374
1389
|
from
|
|
1375
1390
|
gasFee
|
|
1376
1391
|
gasPaid
|
|
1392
|
+
gasPayer
|
|
1377
1393
|
itxJson
|
|
1378
1394
|
nonce
|
|
1379
1395
|
pk
|
|
@@ -1459,6 +1475,7 @@
|
|
|
1459
1475
|
from
|
|
1460
1476
|
gasFee
|
|
1461
1477
|
gasPaid
|
|
1478
|
+
gasPayer
|
|
1462
1479
|
itxJson
|
|
1463
1480
|
nonce
|
|
1464
1481
|
pk
|
|
@@ -1507,6 +1524,7 @@
|
|
|
1507
1524
|
from
|
|
1508
1525
|
gasFee
|
|
1509
1526
|
gasPaid
|
|
1527
|
+
gasPayer
|
|
1510
1528
|
itxJson
|
|
1511
1529
|
nonce
|
|
1512
1530
|
pk
|
|
@@ -1589,6 +1607,7 @@
|
|
|
1589
1607
|
from
|
|
1590
1608
|
gasFee
|
|
1591
1609
|
gasPaid
|
|
1610
|
+
gasPayer
|
|
1592
1611
|
itxJson
|
|
1593
1612
|
nonce
|
|
1594
1613
|
pk
|
|
@@ -1673,6 +1692,7 @@
|
|
|
1673
1692
|
from
|
|
1674
1693
|
gasFee
|
|
1675
1694
|
gasPaid
|
|
1695
|
+
gasPayer
|
|
1676
1696
|
itxJson
|
|
1677
1697
|
nonce
|
|
1678
1698
|
pk
|
|
@@ -1732,6 +1752,7 @@
|
|
|
1732
1752
|
from
|
|
1733
1753
|
gasFee
|
|
1734
1754
|
gasPaid
|
|
1755
|
+
gasPayer
|
|
1735
1756
|
itxJson
|
|
1736
1757
|
nonce
|
|
1737
1758
|
pk
|
|
@@ -1837,6 +1858,7 @@
|
|
|
1837
1858
|
from
|
|
1838
1859
|
gasFee
|
|
1839
1860
|
gasPaid
|
|
1861
|
+
gasPayer
|
|
1840
1862
|
itxJson
|
|
1841
1863
|
nonce
|
|
1842
1864
|
pk
|
|
@@ -2084,6 +2106,7 @@ No arguments
|
|
|
2084
2106
|
}
|
|
2085
2107
|
transactions {
|
|
2086
2108
|
code
|
|
2109
|
+
gasPayer
|
|
2087
2110
|
hash
|
|
2088
2111
|
receiver
|
|
2089
2112
|
sender
|
|
@@ -2111,6 +2134,7 @@ No arguments
|
|
|
2111
2134
|
from
|
|
2112
2135
|
gasFee
|
|
2113
2136
|
gasPaid
|
|
2137
|
+
gasPayer
|
|
2114
2138
|
itxJson
|
|
2115
2139
|
nonce
|
|
2116
2140
|
pk
|
|
@@ -2297,6 +2321,7 @@ No arguments
|
|
|
2297
2321
|
}
|
|
2298
2322
|
transactions {
|
|
2299
2323
|
code
|
|
2324
|
+
gasPayer
|
|
2300
2325
|
hash
|
|
2301
2326
|
receiver
|
|
2302
2327
|
sender
|
|
@@ -2324,6 +2349,7 @@ No arguments
|
|
|
2324
2349
|
from
|
|
2325
2350
|
gasFee
|
|
2326
2351
|
gasPaid
|
|
2352
|
+
gasPayer
|
|
2327
2353
|
itxJson
|
|
2328
2354
|
nonce
|
|
2329
2355
|
pk
|
|
@@ -2586,6 +2612,7 @@ No arguments
|
|
|
2586
2612
|
from
|
|
2587
2613
|
gasFee
|
|
2588
2614
|
gasPaid
|
|
2615
|
+
gasPayer
|
|
2589
2616
|
itxJson
|
|
2590
2617
|
nonce
|
|
2591
2618
|
pk
|
|
@@ -2638,6 +2665,7 @@ No arguments
|
|
|
2638
2665
|
from
|
|
2639
2666
|
gasFee
|
|
2640
2667
|
gasPaid
|
|
2668
|
+
gasPayer
|
|
2641
2669
|
itxJson
|
|
2642
2670
|
nonce
|
|
2643
2671
|
pk
|
|
@@ -2824,6 +2852,7 @@ No arguments
|
|
|
2824
2852
|
from
|
|
2825
2853
|
gasFee
|
|
2826
2854
|
gasPaid
|
|
2855
|
+
gasPayer
|
|
2827
2856
|
itxJson
|
|
2828
2857
|
nonce
|
|
2829
2858
|
pk
|
|
@@ -2876,6 +2905,7 @@ No arguments
|
|
|
2876
2905
|
from
|
|
2877
2906
|
gasFee
|
|
2878
2907
|
gasPaid
|
|
2908
|
+
gasPayer
|
|
2879
2909
|
itxJson
|
|
2880
2910
|
nonce
|
|
2881
2911
|
pk
|
|
@@ -3090,6 +3120,7 @@ No arguments
|
|
|
3090
3120
|
from
|
|
3091
3121
|
gasFee
|
|
3092
3122
|
gasPaid
|
|
3123
|
+
gasPayer
|
|
3093
3124
|
itxJson
|
|
3094
3125
|
nonce
|
|
3095
3126
|
pk
|
|
@@ -3142,6 +3173,7 @@ No arguments
|
|
|
3142
3173
|
from
|
|
3143
3174
|
gasFee
|
|
3144
3175
|
gasPaid
|
|
3176
|
+
gasPayer
|
|
3145
3177
|
itxJson
|
|
3146
3178
|
nonce
|
|
3147
3179
|
pk
|
package/docs/README.md
CHANGED
|
@@ -2294,6 +2294,7 @@ Structure of GraphQLClient.AddressFilterInput
|
|
|
2294
2294
|
| sender | `string` |
|
|
2295
2295
|
| receiver | `string` |
|
|
2296
2296
|
| ...direction | `GraphQLClient.Direction` |
|
|
2297
|
+
| gasPayer | `string` |
|
|
2297
2298
|
|
|
2298
2299
|
### GraphQLClient.AssetFilterInput : `object`
|
|
2299
2300
|
|
|
@@ -3024,9 +3025,10 @@ Structure of GraphQLClient.TxFilterInput
|
|
|
3024
3025
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3025
3026
|
**Properties**
|
|
3026
3027
|
|
|
3027
|
-
| Name
|
|
3028
|
-
|
|
|
3029
|
-
| txs
|
|
3028
|
+
| Name | Type |
|
|
3029
|
+
| -------- | ---------------- |
|
|
3030
|
+
| txs | `Array.<string>` |
|
|
3031
|
+
| gasPayer | `string` |
|
|
3030
3032
|
|
|
3031
3033
|
### GraphQLClient.TypeFilterInput : `object`
|
|
3032
3034
|
|
|
@@ -4461,6 +4463,7 @@ Structure of GraphQLClient.IndexedTransaction
|
|
|
4461
4463
|
| code | `string` |
|
|
4462
4464
|
| tokenSymbols | `Array.<...GraphQLClient.TokenMeta>` |
|
|
4463
4465
|
| receipts | `Array.<...GraphQLClient.TransactionReceipt>` |
|
|
4466
|
+
| gasPayer | `string` |
|
|
4464
4467
|
|
|
4465
4468
|
### GraphQLClient.JoinRollupTx : `object`
|
|
4466
4469
|
|
|
@@ -4536,7 +4539,7 @@ Structure of GraphQLClient.LedgerEntry
|
|
|
4536
4539
|
| sequence | `number` |
|
|
4537
4540
|
| hash | `string` |
|
|
4538
4541
|
| from | `string` |
|
|
4539
|
-
| nonce | `
|
|
4542
|
+
| nonce | `string` |
|
|
4540
4543
|
| pk | `string` |
|
|
4541
4544
|
| signature | `string` |
|
|
4542
4545
|
| txRaw | `string` |
|
|
@@ -5056,7 +5059,7 @@ Checkout the following snippet for the format of ResponseGetLedgerEntry:
|
|
|
5056
5059
|
"sequence": 123,
|
|
5057
5060
|
"hash": "abc",
|
|
5058
5061
|
"from": "abc",
|
|
5059
|
-
"nonce":
|
|
5062
|
+
"nonce": "abc",
|
|
5060
5063
|
"pk": "abc",
|
|
5061
5064
|
"signature": "abc",
|
|
5062
5065
|
"txRaw": "abc",
|
|
@@ -5946,6 +5949,7 @@ Structure of GraphQLClient.Transaction
|
|
|
5946
5949
|
| serviceFee | `string` |
|
|
5947
5950
|
| gasFee | `string` |
|
|
5948
5951
|
| gasPaid | `string` |
|
|
5952
|
+
| gasPayer | `string` |
|
|
5949
5953
|
|
|
5950
5954
|
### GraphQLClient.TransactionConfig : `object`
|
|
5951
5955
|
|