@ocap/client 1.18.7 → 1.18.8
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/browser.d.ts +432 -277
- package/dist/extension.js +3 -3
- package/dist/extension.js.map +1 -1
- package/dist/report.html +1 -1
- package/dist/types.js +32 -0
- package/dist/types.js.map +1 -1
- package/docs/README.md +96 -64
- package/lib/extension.js +3 -3
- package/lib/extension.js.map +1 -1
- package/lib/node.d.ts +432 -277
- package/lib/types.js +32 -0
- package/lib/types.js.map +1 -1
- package/package.json +13 -12
package/lib/types.js
CHANGED
|
@@ -3209,6 +3209,7 @@
|
|
|
3209
3209
|
* @function
|
|
3210
3210
|
* @name GraphQLClient#sendAccountMigrateTx
|
|
3211
3211
|
* @param {GraphQLClient.AccountMigrateTxInput} params
|
|
3212
|
+
* @param {object} extra
|
|
3212
3213
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3213
3214
|
*/
|
|
3214
3215
|
|
|
@@ -3235,6 +3236,7 @@
|
|
|
3235
3236
|
* @function
|
|
3236
3237
|
* @name GraphQLClient#sendAcquireAssetV2Tx
|
|
3237
3238
|
* @param {GraphQLClient.AcquireAssetV2TxInput} params
|
|
3239
|
+
* @param {object} extra
|
|
3238
3240
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3239
3241
|
*/
|
|
3240
3242
|
|
|
@@ -3261,6 +3263,7 @@
|
|
|
3261
3263
|
* @function
|
|
3262
3264
|
* @name GraphQLClient#sendAcquireAssetV3Tx
|
|
3263
3265
|
* @param {GraphQLClient.AcquireAssetV3TxInput} params
|
|
3266
|
+
* @param {object} extra
|
|
3264
3267
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3265
3268
|
*/
|
|
3266
3269
|
|
|
@@ -3287,6 +3290,7 @@
|
|
|
3287
3290
|
* @function
|
|
3288
3291
|
* @name GraphQLClient#sendClaimBlockRewardTx
|
|
3289
3292
|
* @param {GraphQLClient.ClaimBlockRewardTxInput} params
|
|
3293
|
+
* @param {object} extra
|
|
3290
3294
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3291
3295
|
*/
|
|
3292
3296
|
|
|
@@ -3313,6 +3317,7 @@
|
|
|
3313
3317
|
* @function
|
|
3314
3318
|
* @name GraphQLClient#sendClaimStakeTx
|
|
3315
3319
|
* @param {GraphQLClient.ClaimStakeTxInput} params
|
|
3320
|
+
* @param {object} extra
|
|
3316
3321
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3317
3322
|
*/
|
|
3318
3323
|
|
|
@@ -3339,6 +3344,7 @@
|
|
|
3339
3344
|
* @function
|
|
3340
3345
|
* @name GraphQLClient#sendCreateAssetTx
|
|
3341
3346
|
* @param {GraphQLClient.CreateAssetTxInput} params
|
|
3347
|
+
* @param {object} extra
|
|
3342
3348
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3343
3349
|
*/
|
|
3344
3350
|
|
|
@@ -3365,6 +3371,7 @@
|
|
|
3365
3371
|
* @function
|
|
3366
3372
|
* @name GraphQLClient#sendCreateFactoryTx
|
|
3367
3373
|
* @param {GraphQLClient.CreateFactoryTxInput} params
|
|
3374
|
+
* @param {object} extra
|
|
3368
3375
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3369
3376
|
*/
|
|
3370
3377
|
|
|
@@ -3391,6 +3398,7 @@
|
|
|
3391
3398
|
* @function
|
|
3392
3399
|
* @name GraphQLClient#sendCreateRollupBlockTx
|
|
3393
3400
|
* @param {GraphQLClient.CreateRollupBlockTxInput} params
|
|
3401
|
+
* @param {object} extra
|
|
3394
3402
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3395
3403
|
*/
|
|
3396
3404
|
|
|
@@ -3417,6 +3425,7 @@
|
|
|
3417
3425
|
* @function
|
|
3418
3426
|
* @name GraphQLClient#sendCreateRollupTx
|
|
3419
3427
|
* @param {GraphQLClient.CreateRollupTxInput} params
|
|
3428
|
+
* @param {object} extra
|
|
3420
3429
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3421
3430
|
*/
|
|
3422
3431
|
|
|
@@ -3443,6 +3452,7 @@
|
|
|
3443
3452
|
* @function
|
|
3444
3453
|
* @name GraphQLClient#sendCreateTokenTx
|
|
3445
3454
|
* @param {GraphQLClient.CreateTokenTxInput} params
|
|
3455
|
+
* @param {object} extra
|
|
3446
3456
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3447
3457
|
*/
|
|
3448
3458
|
|
|
@@ -3469,6 +3479,7 @@
|
|
|
3469
3479
|
* @function
|
|
3470
3480
|
* @name GraphQLClient#sendDeclareTx
|
|
3471
3481
|
* @param {GraphQLClient.DeclareTxInput} params
|
|
3482
|
+
* @param {object} extra
|
|
3472
3483
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3473
3484
|
*/
|
|
3474
3485
|
|
|
@@ -3495,6 +3506,7 @@
|
|
|
3495
3506
|
* @function
|
|
3496
3507
|
* @name GraphQLClient#sendDelegateTx
|
|
3497
3508
|
* @param {GraphQLClient.DelegateTxInput} params
|
|
3509
|
+
* @param {object} extra
|
|
3498
3510
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3499
3511
|
*/
|
|
3500
3512
|
|
|
@@ -3521,6 +3533,7 @@
|
|
|
3521
3533
|
* @function
|
|
3522
3534
|
* @name GraphQLClient#sendDepositTokenV2Tx
|
|
3523
3535
|
* @param {GraphQLClient.DepositTokenV2TxInput} params
|
|
3536
|
+
* @param {object} extra
|
|
3524
3537
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3525
3538
|
*/
|
|
3526
3539
|
|
|
@@ -3547,6 +3560,7 @@
|
|
|
3547
3560
|
* @function
|
|
3548
3561
|
* @name GraphQLClient#sendExchangeTx
|
|
3549
3562
|
* @param {GraphQLClient.ExchangeTxInput} params
|
|
3563
|
+
* @param {object} extra
|
|
3550
3564
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3551
3565
|
*/
|
|
3552
3566
|
|
|
@@ -3573,6 +3587,7 @@
|
|
|
3573
3587
|
* @function
|
|
3574
3588
|
* @name GraphQLClient#sendExchangeV2Tx
|
|
3575
3589
|
* @param {GraphQLClient.ExchangeV2TxInput} params
|
|
3590
|
+
* @param {object} extra
|
|
3576
3591
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3577
3592
|
*/
|
|
3578
3593
|
|
|
@@ -3599,6 +3614,7 @@
|
|
|
3599
3614
|
* @function
|
|
3600
3615
|
* @name GraphQLClient#sendJoinRollupTx
|
|
3601
3616
|
* @param {GraphQLClient.JoinRollupTxInput} params
|
|
3617
|
+
* @param {object} extra
|
|
3602
3618
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3603
3619
|
*/
|
|
3604
3620
|
|
|
@@ -3625,6 +3641,7 @@
|
|
|
3625
3641
|
* @function
|
|
3626
3642
|
* @name GraphQLClient#sendLeaveRollupTx
|
|
3627
3643
|
* @param {GraphQLClient.LeaveRollupTxInput} params
|
|
3644
|
+
* @param {object} extra
|
|
3628
3645
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3629
3646
|
*/
|
|
3630
3647
|
|
|
@@ -3651,6 +3668,7 @@
|
|
|
3651
3668
|
* @function
|
|
3652
3669
|
* @name GraphQLClient#sendMigrateRollupContractTx
|
|
3653
3670
|
* @param {GraphQLClient.MigrateRollupContractTxInput} params
|
|
3671
|
+
* @param {object} extra
|
|
3654
3672
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3655
3673
|
*/
|
|
3656
3674
|
|
|
@@ -3677,6 +3695,7 @@
|
|
|
3677
3695
|
* @function
|
|
3678
3696
|
* @name GraphQLClient#sendMigrateRollupTokenTx
|
|
3679
3697
|
* @param {GraphQLClient.MigrateRollupTokenTxInput} params
|
|
3698
|
+
* @param {object} extra
|
|
3680
3699
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3681
3700
|
*/
|
|
3682
3701
|
|
|
@@ -3703,6 +3722,7 @@
|
|
|
3703
3722
|
* @function
|
|
3704
3723
|
* @name GraphQLClient#sendMintAssetTx
|
|
3705
3724
|
* @param {GraphQLClient.MintAssetTxInput} params
|
|
3725
|
+
* @param {object} extra
|
|
3706
3726
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3707
3727
|
*/
|
|
3708
3728
|
|
|
@@ -3729,6 +3749,7 @@
|
|
|
3729
3749
|
* @function
|
|
3730
3750
|
* @name GraphQLClient#sendPauseRollupTx
|
|
3731
3751
|
* @param {GraphQLClient.PauseRollupTxInput} params
|
|
3752
|
+
* @param {object} extra
|
|
3732
3753
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3733
3754
|
*/
|
|
3734
3755
|
|
|
@@ -3755,6 +3776,7 @@
|
|
|
3755
3776
|
* @function
|
|
3756
3777
|
* @name GraphQLClient#sendResumeRollupTx
|
|
3757
3778
|
* @param {GraphQLClient.ResumeRollupTxInput} params
|
|
3779
|
+
* @param {object} extra
|
|
3758
3780
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3759
3781
|
*/
|
|
3760
3782
|
|
|
@@ -3781,6 +3803,7 @@
|
|
|
3781
3803
|
* @function
|
|
3782
3804
|
* @name GraphQLClient#sendRevokeDelegateTx
|
|
3783
3805
|
* @param {GraphQLClient.RevokeDelegateTxInput} params
|
|
3806
|
+
* @param {object} extra
|
|
3784
3807
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3785
3808
|
*/
|
|
3786
3809
|
|
|
@@ -3807,6 +3830,7 @@
|
|
|
3807
3830
|
* @function
|
|
3808
3831
|
* @name GraphQLClient#sendRevokeStakeTx
|
|
3809
3832
|
* @param {GraphQLClient.RevokeStakeTxInput} params
|
|
3833
|
+
* @param {object} extra
|
|
3810
3834
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3811
3835
|
*/
|
|
3812
3836
|
|
|
@@ -3833,6 +3857,7 @@
|
|
|
3833
3857
|
* @function
|
|
3834
3858
|
* @name GraphQLClient#sendStakeTx
|
|
3835
3859
|
* @param {GraphQLClient.StakeTxInput} params
|
|
3860
|
+
* @param {object} extra
|
|
3836
3861
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3837
3862
|
*/
|
|
3838
3863
|
|
|
@@ -3859,6 +3884,7 @@
|
|
|
3859
3884
|
* @function
|
|
3860
3885
|
* @name GraphQLClient#sendTransferTx
|
|
3861
3886
|
* @param {GraphQLClient.TransferTxInput} params
|
|
3887
|
+
* @param {object} extra
|
|
3862
3888
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3863
3889
|
*/
|
|
3864
3890
|
|
|
@@ -3885,6 +3911,7 @@
|
|
|
3885
3911
|
* @function
|
|
3886
3912
|
* @name GraphQLClient#sendTransferV2Tx
|
|
3887
3913
|
* @param {GraphQLClient.TransferV2TxInput} params
|
|
3914
|
+
* @param {object} extra
|
|
3888
3915
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3889
3916
|
*/
|
|
3890
3917
|
|
|
@@ -3911,6 +3938,7 @@
|
|
|
3911
3938
|
* @function
|
|
3912
3939
|
* @name GraphQLClient#sendTransferV3Tx
|
|
3913
3940
|
* @param {GraphQLClient.TransferV3TxInput} params
|
|
3941
|
+
* @param {object} extra
|
|
3914
3942
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3915
3943
|
*/
|
|
3916
3944
|
|
|
@@ -3937,6 +3965,7 @@
|
|
|
3937
3965
|
* @function
|
|
3938
3966
|
* @name GraphQLClient#sendUpdateAssetTx
|
|
3939
3967
|
* @param {GraphQLClient.UpdateAssetTxInput} params
|
|
3968
|
+
* @param {object} extra
|
|
3940
3969
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3941
3970
|
*/
|
|
3942
3971
|
|
|
@@ -3963,6 +3992,7 @@
|
|
|
3963
3992
|
* @function
|
|
3964
3993
|
* @name GraphQLClient#sendUpdateRollupTx
|
|
3965
3994
|
* @param {GraphQLClient.UpdateRollupTxInput} params
|
|
3995
|
+
* @param {object} extra
|
|
3966
3996
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3967
3997
|
*/
|
|
3968
3998
|
|
|
@@ -3989,6 +4019,7 @@
|
|
|
3989
4019
|
* @function
|
|
3990
4020
|
* @name GraphQLClient#sendUpgradeNodeTx
|
|
3991
4021
|
* @param {GraphQLClient.UpgradeNodeTxInput} params
|
|
4022
|
+
* @param {object} extra
|
|
3992
4023
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
3993
4024
|
*/
|
|
3994
4025
|
|
|
@@ -4015,6 +4046,7 @@
|
|
|
4015
4046
|
* @function
|
|
4016
4047
|
* @name GraphQLClient#sendWithdrawTokenV2Tx
|
|
4017
4048
|
* @param {GraphQLClient.WithdrawTokenV2TxInput} params
|
|
4049
|
+
* @param {object} extra
|
|
4018
4050
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4019
4051
|
*/
|
|
4020
4052
|
|