@trustware/sdk-staging 1.1.8-staging.6 → 1.1.8-staging.7
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/constants.cjs +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/{core-CJMf4PvV.d.cts → core-BUe031hU.d.cts} +1 -1
- package/dist/{core-BPYlJrNb.d.ts → core-DnrIv4h8.d.ts} +1 -1
- package/dist/core.cjs +1063 -22
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.mjs +1063 -22
- package/dist/core.mjs.map +1 -1
- package/dist/{detect-CWNTV5Wq.d.cts → detect-DlbgTrkm.d.cts} +1 -1
- package/dist/{detect-CaQQECVe.d.ts → detect-MWKHLhn9.d.ts} +1 -1
- package/dist/index.cjs +2286 -1046
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +2281 -1040
- package/dist/index.mjs.map +1 -1
- package/dist/{manager-DHCXknCG.d.cts → manager-DKVW7zeh.d.cts} +5 -12
- package/dist/{manager-Dtmjibzl.d.ts → manager-aOd3vkF9.d.ts} +5 -12
- package/dist/smart-account.cjs +4 -15
- package/dist/smart-account.cjs.map +1 -1
- package/dist/smart-account.d.cts +24 -24
- package/dist/smart-account.d.ts +24 -24
- package/dist/smart-account.mjs +4 -15
- package/dist/smart-account.mjs.map +1 -1
- package/dist/wallet.cjs +4 -15
- package/dist/wallet.cjs.map +1 -1
- package/dist/wallet.d.cts +3 -3
- package/dist/wallet.d.ts +3 -3
- package/dist/wallet.mjs +4 -15
- package/dist/wallet.mjs.map +1 -1
- package/dist/widget.cjs +2208 -952
- package/dist/widget.cjs.map +1 -1
- package/dist/widget.mjs +2207 -951
- package/dist/widget.mjs.map +1 -1
- package/package.json +2 -1
package/dist/smart-account.d.cts
CHANGED
|
@@ -304,12 +304,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
304
304
|
[x: `uint256[${string}]`]: undefined;
|
|
305
305
|
[x: `bool[${string}]`]: undefined;
|
|
306
306
|
[x: `uint8[${string}]`]: undefined;
|
|
307
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
308
307
|
[x: `bytes18[${string}]`]: undefined;
|
|
309
308
|
[x: `bytes16[${string}]`]: undefined;
|
|
310
309
|
[x: `bytes1[${string}]`]: undefined;
|
|
311
310
|
[x: `bytes2[${string}]`]: undefined;
|
|
312
311
|
[x: `bytes3[${string}]`]: undefined;
|
|
312
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
313
313
|
[x: `bytes6[${string}]`]: undefined;
|
|
314
314
|
[x: `bytes9[${string}]`]: undefined;
|
|
315
315
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -337,8 +337,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
337
337
|
[x: `bytes29[${string}]`]: undefined;
|
|
338
338
|
[x: `bytes31[${string}]`]: undefined;
|
|
339
339
|
[x: `int[${string}]`]: undefined;
|
|
340
|
-
[x: `int8[${string}]`]: undefined;
|
|
341
340
|
[x: `int16[${string}]`]: undefined;
|
|
341
|
+
[x: `int8[${string}]`]: undefined;
|
|
342
342
|
[x: `int40[${string}]`]: undefined;
|
|
343
343
|
[x: `int56[${string}]`]: undefined;
|
|
344
344
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -406,12 +406,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
406
406
|
uint256?: undefined;
|
|
407
407
|
bool?: undefined;
|
|
408
408
|
uint8?: undefined;
|
|
409
|
-
bytes8?: undefined;
|
|
410
409
|
bytes18?: undefined;
|
|
411
410
|
bytes16?: undefined;
|
|
412
411
|
bytes1?: undefined;
|
|
413
412
|
bytes2?: undefined;
|
|
414
413
|
bytes3?: undefined;
|
|
414
|
+
bytes8?: undefined;
|
|
415
415
|
bytes6?: undefined;
|
|
416
416
|
bytes9?: undefined;
|
|
417
417
|
bytes10?: undefined;
|
|
@@ -438,8 +438,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
438
438
|
bytes28?: undefined;
|
|
439
439
|
bytes29?: undefined;
|
|
440
440
|
bytes31?: undefined;
|
|
441
|
-
int8?: undefined;
|
|
442
441
|
int16?: undefined;
|
|
442
|
+
int8?: undefined;
|
|
443
443
|
int40?: undefined;
|
|
444
444
|
int56?: undefined;
|
|
445
445
|
int88?: undefined;
|
|
@@ -511,12 +511,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
511
511
|
[x: `uint256[${string}]`]: undefined;
|
|
512
512
|
[x: `bool[${string}]`]: undefined;
|
|
513
513
|
[x: `uint8[${string}]`]: undefined;
|
|
514
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
515
514
|
[x: `bytes18[${string}]`]: undefined;
|
|
516
515
|
[x: `bytes16[${string}]`]: undefined;
|
|
517
516
|
[x: `bytes1[${string}]`]: undefined;
|
|
518
517
|
[x: `bytes2[${string}]`]: undefined;
|
|
519
518
|
[x: `bytes3[${string}]`]: undefined;
|
|
519
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
520
520
|
[x: `bytes6[${string}]`]: undefined;
|
|
521
521
|
[x: `bytes9[${string}]`]: undefined;
|
|
522
522
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -544,8 +544,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
544
544
|
[x: `bytes29[${string}]`]: undefined;
|
|
545
545
|
[x: `bytes31[${string}]`]: undefined;
|
|
546
546
|
[x: `int[${string}]`]: undefined;
|
|
547
|
-
[x: `int8[${string}]`]: undefined;
|
|
548
547
|
[x: `int16[${string}]`]: undefined;
|
|
548
|
+
[x: `int8[${string}]`]: undefined;
|
|
549
549
|
[x: `int40[${string}]`]: undefined;
|
|
550
550
|
[x: `int56[${string}]`]: undefined;
|
|
551
551
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -613,12 +613,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
613
613
|
uint256?: undefined;
|
|
614
614
|
bool?: undefined;
|
|
615
615
|
uint8?: undefined;
|
|
616
|
-
bytes8?: undefined;
|
|
617
616
|
bytes18?: undefined;
|
|
618
617
|
bytes16?: undefined;
|
|
619
618
|
bytes1?: undefined;
|
|
620
619
|
bytes2?: undefined;
|
|
621
620
|
bytes3?: undefined;
|
|
621
|
+
bytes8?: undefined;
|
|
622
622
|
bytes6?: undefined;
|
|
623
623
|
bytes9?: undefined;
|
|
624
624
|
bytes10?: undefined;
|
|
@@ -645,8 +645,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
645
645
|
bytes28?: undefined;
|
|
646
646
|
bytes29?: undefined;
|
|
647
647
|
bytes31?: undefined;
|
|
648
|
-
int8?: undefined;
|
|
649
648
|
int16?: undefined;
|
|
649
|
+
int8?: undefined;
|
|
650
650
|
int40?: undefined;
|
|
651
651
|
int56?: undefined;
|
|
652
652
|
int88?: undefined;
|
|
@@ -2736,12 +2736,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2736
2736
|
[x: `uint256[${string}]`]: undefined;
|
|
2737
2737
|
[x: `bool[${string}]`]: undefined;
|
|
2738
2738
|
[x: `uint8[${string}]`]: undefined;
|
|
2739
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
2740
2739
|
[x: `bytes18[${string}]`]: undefined;
|
|
2741
2740
|
[x: `bytes16[${string}]`]: undefined;
|
|
2742
2741
|
[x: `bytes1[${string}]`]: undefined;
|
|
2743
2742
|
[x: `bytes2[${string}]`]: undefined;
|
|
2744
2743
|
[x: `bytes3[${string}]`]: undefined;
|
|
2744
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
2745
2745
|
[x: `bytes6[${string}]`]: undefined;
|
|
2746
2746
|
[x: `bytes9[${string}]`]: undefined;
|
|
2747
2747
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -2769,8 +2769,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2769
2769
|
[x: `bytes29[${string}]`]: undefined;
|
|
2770
2770
|
[x: `bytes31[${string}]`]: undefined;
|
|
2771
2771
|
[x: `int[${string}]`]: undefined;
|
|
2772
|
-
[x: `int8[${string}]`]: undefined;
|
|
2773
2772
|
[x: `int16[${string}]`]: undefined;
|
|
2773
|
+
[x: `int8[${string}]`]: undefined;
|
|
2774
2774
|
[x: `int40[${string}]`]: undefined;
|
|
2775
2775
|
[x: `int56[${string}]`]: undefined;
|
|
2776
2776
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -2838,12 +2838,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2838
2838
|
uint256?: undefined;
|
|
2839
2839
|
bool?: undefined;
|
|
2840
2840
|
uint8?: undefined;
|
|
2841
|
-
bytes8?: undefined;
|
|
2842
2841
|
bytes18?: undefined;
|
|
2843
2842
|
bytes16?: undefined;
|
|
2844
2843
|
bytes1?: undefined;
|
|
2845
2844
|
bytes2?: undefined;
|
|
2846
2845
|
bytes3?: undefined;
|
|
2846
|
+
bytes8?: undefined;
|
|
2847
2847
|
bytes6?: undefined;
|
|
2848
2848
|
bytes9?: undefined;
|
|
2849
2849
|
bytes10?: undefined;
|
|
@@ -2870,8 +2870,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2870
2870
|
bytes28?: undefined;
|
|
2871
2871
|
bytes29?: undefined;
|
|
2872
2872
|
bytes31?: undefined;
|
|
2873
|
-
int8?: undefined;
|
|
2874
2873
|
int16?: undefined;
|
|
2874
|
+
int8?: undefined;
|
|
2875
2875
|
int40?: undefined;
|
|
2876
2876
|
int56?: undefined;
|
|
2877
2877
|
int88?: undefined;
|
|
@@ -2959,12 +2959,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2959
2959
|
[x: `uint256[${string}]`]: undefined;
|
|
2960
2960
|
[x: `bool[${string}]`]: undefined;
|
|
2961
2961
|
[x: `uint8[${string}]`]: undefined;
|
|
2962
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
2963
2962
|
[x: `bytes18[${string}]`]: undefined;
|
|
2964
2963
|
[x: `bytes16[${string}]`]: undefined;
|
|
2965
2964
|
[x: `bytes1[${string}]`]: undefined;
|
|
2966
2965
|
[x: `bytes2[${string}]`]: undefined;
|
|
2967
2966
|
[x: `bytes3[${string}]`]: undefined;
|
|
2967
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
2968
2968
|
[x: `bytes6[${string}]`]: undefined;
|
|
2969
2969
|
[x: `bytes9[${string}]`]: undefined;
|
|
2970
2970
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -2992,8 +2992,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2992
2992
|
[x: `bytes29[${string}]`]: undefined;
|
|
2993
2993
|
[x: `bytes31[${string}]`]: undefined;
|
|
2994
2994
|
[x: `int[${string}]`]: undefined;
|
|
2995
|
-
[x: `int8[${string}]`]: undefined;
|
|
2996
2995
|
[x: `int16[${string}]`]: undefined;
|
|
2996
|
+
[x: `int8[${string}]`]: undefined;
|
|
2997
2997
|
[x: `int40[${string}]`]: undefined;
|
|
2998
2998
|
[x: `int56[${string}]`]: undefined;
|
|
2999
2999
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -3061,12 +3061,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3061
3061
|
uint256?: undefined;
|
|
3062
3062
|
bool?: undefined;
|
|
3063
3063
|
uint8?: undefined;
|
|
3064
|
-
bytes8?: undefined;
|
|
3065
3064
|
bytes18?: undefined;
|
|
3066
3065
|
bytes16?: undefined;
|
|
3067
3066
|
bytes1?: undefined;
|
|
3068
3067
|
bytes2?: undefined;
|
|
3069
3068
|
bytes3?: undefined;
|
|
3069
|
+
bytes8?: undefined;
|
|
3070
3070
|
bytes6?: undefined;
|
|
3071
3071
|
bytes9?: undefined;
|
|
3072
3072
|
bytes10?: undefined;
|
|
@@ -3093,8 +3093,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3093
3093
|
bytes28?: undefined;
|
|
3094
3094
|
bytes29?: undefined;
|
|
3095
3095
|
bytes31?: undefined;
|
|
3096
|
-
int8?: undefined;
|
|
3097
3096
|
int16?: undefined;
|
|
3097
|
+
int8?: undefined;
|
|
3098
3098
|
int40?: undefined;
|
|
3099
3099
|
int56?: undefined;
|
|
3100
3100
|
int88?: undefined;
|
|
@@ -3429,12 +3429,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3429
3429
|
[x: `uint256[${string}]`]: undefined;
|
|
3430
3430
|
[x: `bool[${string}]`]: undefined;
|
|
3431
3431
|
[x: `uint8[${string}]`]: undefined;
|
|
3432
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
3433
3432
|
[x: `bytes18[${string}]`]: undefined;
|
|
3434
3433
|
[x: `bytes16[${string}]`]: undefined;
|
|
3435
3434
|
[x: `bytes1[${string}]`]: undefined;
|
|
3436
3435
|
[x: `bytes2[${string}]`]: undefined;
|
|
3437
3436
|
[x: `bytes3[${string}]`]: undefined;
|
|
3437
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
3438
3438
|
[x: `bytes6[${string}]`]: undefined;
|
|
3439
3439
|
[x: `bytes9[${string}]`]: undefined;
|
|
3440
3440
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -3462,8 +3462,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3462
3462
|
[x: `bytes29[${string}]`]: undefined;
|
|
3463
3463
|
[x: `bytes31[${string}]`]: undefined;
|
|
3464
3464
|
[x: `int[${string}]`]: undefined;
|
|
3465
|
-
[x: `int8[${string}]`]: undefined;
|
|
3466
3465
|
[x: `int16[${string}]`]: undefined;
|
|
3466
|
+
[x: `int8[${string}]`]: undefined;
|
|
3467
3467
|
[x: `int40[${string}]`]: undefined;
|
|
3468
3468
|
[x: `int56[${string}]`]: undefined;
|
|
3469
3469
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -3531,12 +3531,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3531
3531
|
uint256?: undefined;
|
|
3532
3532
|
bool?: undefined;
|
|
3533
3533
|
uint8?: undefined;
|
|
3534
|
-
bytes8?: undefined;
|
|
3535
3534
|
bytes18?: undefined;
|
|
3536
3535
|
bytes16?: undefined;
|
|
3537
3536
|
bytes1?: undefined;
|
|
3538
3537
|
bytes2?: undefined;
|
|
3539
3538
|
bytes3?: undefined;
|
|
3539
|
+
bytes8?: undefined;
|
|
3540
3540
|
bytes6?: undefined;
|
|
3541
3541
|
bytes9?: undefined;
|
|
3542
3542
|
bytes10?: undefined;
|
|
@@ -3563,8 +3563,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3563
3563
|
bytes28?: undefined;
|
|
3564
3564
|
bytes29?: undefined;
|
|
3565
3565
|
bytes31?: undefined;
|
|
3566
|
-
int8?: undefined;
|
|
3567
3566
|
int16?: undefined;
|
|
3567
|
+
int8?: undefined;
|
|
3568
3568
|
int40?: undefined;
|
|
3569
3569
|
int56?: undefined;
|
|
3570
3570
|
int88?: undefined;
|
|
@@ -3652,12 +3652,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3652
3652
|
[x: `uint256[${string}]`]: undefined;
|
|
3653
3653
|
[x: `bool[${string}]`]: undefined;
|
|
3654
3654
|
[x: `uint8[${string}]`]: undefined;
|
|
3655
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
3656
3655
|
[x: `bytes18[${string}]`]: undefined;
|
|
3657
3656
|
[x: `bytes16[${string}]`]: undefined;
|
|
3658
3657
|
[x: `bytes1[${string}]`]: undefined;
|
|
3659
3658
|
[x: `bytes2[${string}]`]: undefined;
|
|
3660
3659
|
[x: `bytes3[${string}]`]: undefined;
|
|
3660
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
3661
3661
|
[x: `bytes6[${string}]`]: undefined;
|
|
3662
3662
|
[x: `bytes9[${string}]`]: undefined;
|
|
3663
3663
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -3685,8 +3685,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3685
3685
|
[x: `bytes29[${string}]`]: undefined;
|
|
3686
3686
|
[x: `bytes31[${string}]`]: undefined;
|
|
3687
3687
|
[x: `int[${string}]`]: undefined;
|
|
3688
|
-
[x: `int8[${string}]`]: undefined;
|
|
3689
3688
|
[x: `int16[${string}]`]: undefined;
|
|
3689
|
+
[x: `int8[${string}]`]: undefined;
|
|
3690
3690
|
[x: `int40[${string}]`]: undefined;
|
|
3691
3691
|
[x: `int56[${string}]`]: undefined;
|
|
3692
3692
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -3754,12 +3754,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3754
3754
|
uint256?: undefined;
|
|
3755
3755
|
bool?: undefined;
|
|
3756
3756
|
uint8?: undefined;
|
|
3757
|
-
bytes8?: undefined;
|
|
3758
3757
|
bytes18?: undefined;
|
|
3759
3758
|
bytes16?: undefined;
|
|
3760
3759
|
bytes1?: undefined;
|
|
3761
3760
|
bytes2?: undefined;
|
|
3762
3761
|
bytes3?: undefined;
|
|
3762
|
+
bytes8?: undefined;
|
|
3763
3763
|
bytes6?: undefined;
|
|
3764
3764
|
bytes9?: undefined;
|
|
3765
3765
|
bytes10?: undefined;
|
|
@@ -3786,8 +3786,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3786
3786
|
bytes28?: undefined;
|
|
3787
3787
|
bytes29?: undefined;
|
|
3788
3788
|
bytes31?: undefined;
|
|
3789
|
-
int8?: undefined;
|
|
3790
3789
|
int16?: undefined;
|
|
3790
|
+
int8?: undefined;
|
|
3791
3791
|
int40?: undefined;
|
|
3792
3792
|
int56?: undefined;
|
|
3793
3793
|
int88?: undefined;
|
package/dist/smart-account.d.ts
CHANGED
|
@@ -304,12 +304,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
304
304
|
[x: `uint256[${string}]`]: undefined;
|
|
305
305
|
[x: `bool[${string}]`]: undefined;
|
|
306
306
|
[x: `uint8[${string}]`]: undefined;
|
|
307
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
308
307
|
[x: `bytes18[${string}]`]: undefined;
|
|
309
308
|
[x: `bytes16[${string}]`]: undefined;
|
|
310
309
|
[x: `bytes1[${string}]`]: undefined;
|
|
311
310
|
[x: `bytes2[${string}]`]: undefined;
|
|
312
311
|
[x: `bytes3[${string}]`]: undefined;
|
|
312
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
313
313
|
[x: `bytes6[${string}]`]: undefined;
|
|
314
314
|
[x: `bytes9[${string}]`]: undefined;
|
|
315
315
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -337,8 +337,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
337
337
|
[x: `bytes29[${string}]`]: undefined;
|
|
338
338
|
[x: `bytes31[${string}]`]: undefined;
|
|
339
339
|
[x: `int[${string}]`]: undefined;
|
|
340
|
-
[x: `int8[${string}]`]: undefined;
|
|
341
340
|
[x: `int16[${string}]`]: undefined;
|
|
341
|
+
[x: `int8[${string}]`]: undefined;
|
|
342
342
|
[x: `int40[${string}]`]: undefined;
|
|
343
343
|
[x: `int56[${string}]`]: undefined;
|
|
344
344
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -406,12 +406,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
406
406
|
uint256?: undefined;
|
|
407
407
|
bool?: undefined;
|
|
408
408
|
uint8?: undefined;
|
|
409
|
-
bytes8?: undefined;
|
|
410
409
|
bytes18?: undefined;
|
|
411
410
|
bytes16?: undefined;
|
|
412
411
|
bytes1?: undefined;
|
|
413
412
|
bytes2?: undefined;
|
|
414
413
|
bytes3?: undefined;
|
|
414
|
+
bytes8?: undefined;
|
|
415
415
|
bytes6?: undefined;
|
|
416
416
|
bytes9?: undefined;
|
|
417
417
|
bytes10?: undefined;
|
|
@@ -438,8 +438,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
438
438
|
bytes28?: undefined;
|
|
439
439
|
bytes29?: undefined;
|
|
440
440
|
bytes31?: undefined;
|
|
441
|
-
int8?: undefined;
|
|
442
441
|
int16?: undefined;
|
|
442
|
+
int8?: undefined;
|
|
443
443
|
int40?: undefined;
|
|
444
444
|
int56?: undefined;
|
|
445
445
|
int88?: undefined;
|
|
@@ -511,12 +511,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
511
511
|
[x: `uint256[${string}]`]: undefined;
|
|
512
512
|
[x: `bool[${string}]`]: undefined;
|
|
513
513
|
[x: `uint8[${string}]`]: undefined;
|
|
514
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
515
514
|
[x: `bytes18[${string}]`]: undefined;
|
|
516
515
|
[x: `bytes16[${string}]`]: undefined;
|
|
517
516
|
[x: `bytes1[${string}]`]: undefined;
|
|
518
517
|
[x: `bytes2[${string}]`]: undefined;
|
|
519
518
|
[x: `bytes3[${string}]`]: undefined;
|
|
519
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
520
520
|
[x: `bytes6[${string}]`]: undefined;
|
|
521
521
|
[x: `bytes9[${string}]`]: undefined;
|
|
522
522
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -544,8 +544,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
544
544
|
[x: `bytes29[${string}]`]: undefined;
|
|
545
545
|
[x: `bytes31[${string}]`]: undefined;
|
|
546
546
|
[x: `int[${string}]`]: undefined;
|
|
547
|
-
[x: `int8[${string}]`]: undefined;
|
|
548
547
|
[x: `int16[${string}]`]: undefined;
|
|
548
|
+
[x: `int8[${string}]`]: undefined;
|
|
549
549
|
[x: `int40[${string}]`]: undefined;
|
|
550
550
|
[x: `int56[${string}]`]: undefined;
|
|
551
551
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -613,12 +613,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
613
613
|
uint256?: undefined;
|
|
614
614
|
bool?: undefined;
|
|
615
615
|
uint8?: undefined;
|
|
616
|
-
bytes8?: undefined;
|
|
617
616
|
bytes18?: undefined;
|
|
618
617
|
bytes16?: undefined;
|
|
619
618
|
bytes1?: undefined;
|
|
620
619
|
bytes2?: undefined;
|
|
621
620
|
bytes3?: undefined;
|
|
621
|
+
bytes8?: undefined;
|
|
622
622
|
bytes6?: undefined;
|
|
623
623
|
bytes9?: undefined;
|
|
624
624
|
bytes10?: undefined;
|
|
@@ -645,8 +645,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
645
645
|
bytes28?: undefined;
|
|
646
646
|
bytes29?: undefined;
|
|
647
647
|
bytes31?: undefined;
|
|
648
|
-
int8?: undefined;
|
|
649
648
|
int16?: undefined;
|
|
649
|
+
int8?: undefined;
|
|
650
650
|
int40?: undefined;
|
|
651
651
|
int56?: undefined;
|
|
652
652
|
int88?: undefined;
|
|
@@ -2736,12 +2736,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2736
2736
|
[x: `uint256[${string}]`]: undefined;
|
|
2737
2737
|
[x: `bool[${string}]`]: undefined;
|
|
2738
2738
|
[x: `uint8[${string}]`]: undefined;
|
|
2739
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
2740
2739
|
[x: `bytes18[${string}]`]: undefined;
|
|
2741
2740
|
[x: `bytes16[${string}]`]: undefined;
|
|
2742
2741
|
[x: `bytes1[${string}]`]: undefined;
|
|
2743
2742
|
[x: `bytes2[${string}]`]: undefined;
|
|
2744
2743
|
[x: `bytes3[${string}]`]: undefined;
|
|
2744
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
2745
2745
|
[x: `bytes6[${string}]`]: undefined;
|
|
2746
2746
|
[x: `bytes9[${string}]`]: undefined;
|
|
2747
2747
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -2769,8 +2769,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2769
2769
|
[x: `bytes29[${string}]`]: undefined;
|
|
2770
2770
|
[x: `bytes31[${string}]`]: undefined;
|
|
2771
2771
|
[x: `int[${string}]`]: undefined;
|
|
2772
|
-
[x: `int8[${string}]`]: undefined;
|
|
2773
2772
|
[x: `int16[${string}]`]: undefined;
|
|
2773
|
+
[x: `int8[${string}]`]: undefined;
|
|
2774
2774
|
[x: `int40[${string}]`]: undefined;
|
|
2775
2775
|
[x: `int56[${string}]`]: undefined;
|
|
2776
2776
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -2838,12 +2838,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2838
2838
|
uint256?: undefined;
|
|
2839
2839
|
bool?: undefined;
|
|
2840
2840
|
uint8?: undefined;
|
|
2841
|
-
bytes8?: undefined;
|
|
2842
2841
|
bytes18?: undefined;
|
|
2843
2842
|
bytes16?: undefined;
|
|
2844
2843
|
bytes1?: undefined;
|
|
2845
2844
|
bytes2?: undefined;
|
|
2846
2845
|
bytes3?: undefined;
|
|
2846
|
+
bytes8?: undefined;
|
|
2847
2847
|
bytes6?: undefined;
|
|
2848
2848
|
bytes9?: undefined;
|
|
2849
2849
|
bytes10?: undefined;
|
|
@@ -2870,8 +2870,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2870
2870
|
bytes28?: undefined;
|
|
2871
2871
|
bytes29?: undefined;
|
|
2872
2872
|
bytes31?: undefined;
|
|
2873
|
-
int8?: undefined;
|
|
2874
2873
|
int16?: undefined;
|
|
2874
|
+
int8?: undefined;
|
|
2875
2875
|
int40?: undefined;
|
|
2876
2876
|
int56?: undefined;
|
|
2877
2877
|
int88?: undefined;
|
|
@@ -2959,12 +2959,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2959
2959
|
[x: `uint256[${string}]`]: undefined;
|
|
2960
2960
|
[x: `bool[${string}]`]: undefined;
|
|
2961
2961
|
[x: `uint8[${string}]`]: undefined;
|
|
2962
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
2963
2962
|
[x: `bytes18[${string}]`]: undefined;
|
|
2964
2963
|
[x: `bytes16[${string}]`]: undefined;
|
|
2965
2964
|
[x: `bytes1[${string}]`]: undefined;
|
|
2966
2965
|
[x: `bytes2[${string}]`]: undefined;
|
|
2967
2966
|
[x: `bytes3[${string}]`]: undefined;
|
|
2967
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
2968
2968
|
[x: `bytes6[${string}]`]: undefined;
|
|
2969
2969
|
[x: `bytes9[${string}]`]: undefined;
|
|
2970
2970
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -2992,8 +2992,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
2992
2992
|
[x: `bytes29[${string}]`]: undefined;
|
|
2993
2993
|
[x: `bytes31[${string}]`]: undefined;
|
|
2994
2994
|
[x: `int[${string}]`]: undefined;
|
|
2995
|
-
[x: `int8[${string}]`]: undefined;
|
|
2996
2995
|
[x: `int16[${string}]`]: undefined;
|
|
2996
|
+
[x: `int8[${string}]`]: undefined;
|
|
2997
2997
|
[x: `int40[${string}]`]: undefined;
|
|
2998
2998
|
[x: `int56[${string}]`]: undefined;
|
|
2999
2999
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -3061,12 +3061,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3061
3061
|
uint256?: undefined;
|
|
3062
3062
|
bool?: undefined;
|
|
3063
3063
|
uint8?: undefined;
|
|
3064
|
-
bytes8?: undefined;
|
|
3065
3064
|
bytes18?: undefined;
|
|
3066
3065
|
bytes16?: undefined;
|
|
3067
3066
|
bytes1?: undefined;
|
|
3068
3067
|
bytes2?: undefined;
|
|
3069
3068
|
bytes3?: undefined;
|
|
3069
|
+
bytes8?: undefined;
|
|
3070
3070
|
bytes6?: undefined;
|
|
3071
3071
|
bytes9?: undefined;
|
|
3072
3072
|
bytes10?: undefined;
|
|
@@ -3093,8 +3093,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3093
3093
|
bytes28?: undefined;
|
|
3094
3094
|
bytes29?: undefined;
|
|
3095
3095
|
bytes31?: undefined;
|
|
3096
|
-
int8?: undefined;
|
|
3097
3096
|
int16?: undefined;
|
|
3097
|
+
int8?: undefined;
|
|
3098
3098
|
int40?: undefined;
|
|
3099
3099
|
int56?: undefined;
|
|
3100
3100
|
int88?: undefined;
|
|
@@ -3429,12 +3429,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3429
3429
|
[x: `uint256[${string}]`]: undefined;
|
|
3430
3430
|
[x: `bool[${string}]`]: undefined;
|
|
3431
3431
|
[x: `uint8[${string}]`]: undefined;
|
|
3432
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
3433
3432
|
[x: `bytes18[${string}]`]: undefined;
|
|
3434
3433
|
[x: `bytes16[${string}]`]: undefined;
|
|
3435
3434
|
[x: `bytes1[${string}]`]: undefined;
|
|
3436
3435
|
[x: `bytes2[${string}]`]: undefined;
|
|
3437
3436
|
[x: `bytes3[${string}]`]: undefined;
|
|
3437
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
3438
3438
|
[x: `bytes6[${string}]`]: undefined;
|
|
3439
3439
|
[x: `bytes9[${string}]`]: undefined;
|
|
3440
3440
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -3462,8 +3462,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3462
3462
|
[x: `bytes29[${string}]`]: undefined;
|
|
3463
3463
|
[x: `bytes31[${string}]`]: undefined;
|
|
3464
3464
|
[x: `int[${string}]`]: undefined;
|
|
3465
|
-
[x: `int8[${string}]`]: undefined;
|
|
3466
3465
|
[x: `int16[${string}]`]: undefined;
|
|
3466
|
+
[x: `int8[${string}]`]: undefined;
|
|
3467
3467
|
[x: `int40[${string}]`]: undefined;
|
|
3468
3468
|
[x: `int56[${string}]`]: undefined;
|
|
3469
3469
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -3531,12 +3531,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3531
3531
|
uint256?: undefined;
|
|
3532
3532
|
bool?: undefined;
|
|
3533
3533
|
uint8?: undefined;
|
|
3534
|
-
bytes8?: undefined;
|
|
3535
3534
|
bytes18?: undefined;
|
|
3536
3535
|
bytes16?: undefined;
|
|
3537
3536
|
bytes1?: undefined;
|
|
3538
3537
|
bytes2?: undefined;
|
|
3539
3538
|
bytes3?: undefined;
|
|
3539
|
+
bytes8?: undefined;
|
|
3540
3540
|
bytes6?: undefined;
|
|
3541
3541
|
bytes9?: undefined;
|
|
3542
3542
|
bytes10?: undefined;
|
|
@@ -3563,8 +3563,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3563
3563
|
bytes28?: undefined;
|
|
3564
3564
|
bytes29?: undefined;
|
|
3565
3565
|
bytes31?: undefined;
|
|
3566
|
-
int8?: undefined;
|
|
3567
3566
|
int16?: undefined;
|
|
3567
|
+
int8?: undefined;
|
|
3568
3568
|
int40?: undefined;
|
|
3569
3569
|
int56?: undefined;
|
|
3570
3570
|
int88?: undefined;
|
|
@@ -3652,12 +3652,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3652
3652
|
[x: `uint256[${string}]`]: undefined;
|
|
3653
3653
|
[x: `bool[${string}]`]: undefined;
|
|
3654
3654
|
[x: `uint8[${string}]`]: undefined;
|
|
3655
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
3656
3655
|
[x: `bytes18[${string}]`]: undefined;
|
|
3657
3656
|
[x: `bytes16[${string}]`]: undefined;
|
|
3658
3657
|
[x: `bytes1[${string}]`]: undefined;
|
|
3659
3658
|
[x: `bytes2[${string}]`]: undefined;
|
|
3660
3659
|
[x: `bytes3[${string}]`]: undefined;
|
|
3660
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
3661
3661
|
[x: `bytes6[${string}]`]: undefined;
|
|
3662
3662
|
[x: `bytes9[${string}]`]: undefined;
|
|
3663
3663
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -3685,8 +3685,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3685
3685
|
[x: `bytes29[${string}]`]: undefined;
|
|
3686
3686
|
[x: `bytes31[${string}]`]: undefined;
|
|
3687
3687
|
[x: `int[${string}]`]: undefined;
|
|
3688
|
-
[x: `int8[${string}]`]: undefined;
|
|
3689
3688
|
[x: `int16[${string}]`]: undefined;
|
|
3689
|
+
[x: `int8[${string}]`]: undefined;
|
|
3690
3690
|
[x: `int40[${string}]`]: undefined;
|
|
3691
3691
|
[x: `int56[${string}]`]: undefined;
|
|
3692
3692
|
[x: `int88[${string}]`]: undefined;
|
|
@@ -3754,12 +3754,12 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3754
3754
|
uint256?: undefined;
|
|
3755
3755
|
bool?: undefined;
|
|
3756
3756
|
uint8?: undefined;
|
|
3757
|
-
bytes8?: undefined;
|
|
3758
3757
|
bytes18?: undefined;
|
|
3759
3758
|
bytes16?: undefined;
|
|
3760
3759
|
bytes1?: undefined;
|
|
3761
3760
|
bytes2?: undefined;
|
|
3762
3761
|
bytes3?: undefined;
|
|
3762
|
+
bytes8?: undefined;
|
|
3763
3763
|
bytes6?: undefined;
|
|
3764
3764
|
bytes9?: undefined;
|
|
3765
3765
|
bytes10?: undefined;
|
|
@@ -3786,8 +3786,8 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
|
|
|
3786
3786
|
bytes28?: undefined;
|
|
3787
3787
|
bytes29?: undefined;
|
|
3788
3788
|
bytes31?: undefined;
|
|
3789
|
-
int8?: undefined;
|
|
3790
3789
|
int16?: undefined;
|
|
3790
|
+
int8?: undefined;
|
|
3791
3791
|
int40?: undefined;
|
|
3792
3792
|
int56?: undefined;
|
|
3793
3793
|
int88?: undefined;
|
package/dist/smart-account.mjs
CHANGED
|
@@ -12241,27 +12241,19 @@ var init_constants = __esm({
|
|
|
12241
12241
|
"src/constants.ts"() {
|
|
12242
12242
|
"use strict";
|
|
12243
12243
|
SDK_NAME = "@trustware/sdk";
|
|
12244
|
-
SDK_VERSION = "1.1.8-staging.
|
|
12244
|
+
SDK_VERSION = "1.1.8-staging.7";
|
|
12245
12245
|
API_ROOT = "https://bv-staging-api.trustware.io";
|
|
12246
12246
|
API_PREFIX = "/api";
|
|
12247
12247
|
}
|
|
12248
12248
|
});
|
|
12249
12249
|
|
|
12250
12250
|
// src/config/defaults.ts
|
|
12251
|
-
var DEFAULT_SLIPPAGE, DEFAULT_AUTO_DETECT_PROVIDER,
|
|
12251
|
+
var DEFAULT_SLIPPAGE, DEFAULT_AUTO_DETECT_PROVIDER, DEFAULT_MESSAGES;
|
|
12252
12252
|
var init_defaults3 = __esm({
|
|
12253
12253
|
"src/config/defaults.ts"() {
|
|
12254
12254
|
"use strict";
|
|
12255
12255
|
DEFAULT_SLIPPAGE = 1;
|
|
12256
12256
|
DEFAULT_AUTO_DETECT_PROVIDER = false;
|
|
12257
|
-
DEFAULT_THEME = {
|
|
12258
|
-
primaryColor: "#4F46E5",
|
|
12259
|
-
secondaryColor: "#6366F1",
|
|
12260
|
-
backgroundColor: "#FFFFFF",
|
|
12261
|
-
textColor: "#111827",
|
|
12262
|
-
borderColor: "#E5E7EB",
|
|
12263
|
-
radius: 8
|
|
12264
|
-
};
|
|
12265
12257
|
DEFAULT_MESSAGES = {
|
|
12266
12258
|
title: "Trustware SDK",
|
|
12267
12259
|
description: "Seamlessly bridge assets across chains with Trustware."
|
|
@@ -12321,10 +12313,7 @@ var init_store = __esm({
|
|
|
12321
12313
|
...this._cfg,
|
|
12322
12314
|
...patch,
|
|
12323
12315
|
routes: { ...this._cfg.routes, ...patch.routes ?? {} },
|
|
12324
|
-
theme:
|
|
12325
|
-
...this._cfg.theme,
|
|
12326
|
-
...patch.theme ?? {}
|
|
12327
|
-
},
|
|
12316
|
+
theme: patch.theme ?? this._cfg.theme,
|
|
12328
12317
|
messages: {
|
|
12329
12318
|
...this._cfg.messages,
|
|
12330
12319
|
...patch.messages ?? {}
|
|
@@ -13484,7 +13473,7 @@ function resolveConfig(input) {
|
|
|
13484
13473
|
...input.routes.options
|
|
13485
13474
|
}
|
|
13486
13475
|
};
|
|
13487
|
-
const theme =
|
|
13476
|
+
const theme = input.theme ?? "system";
|
|
13488
13477
|
const messages = deepMerge(DEFAULT_MESSAGES, input.messages);
|
|
13489
13478
|
const retry = {
|
|
13490
13479
|
autoRetry: input.retry?.autoRetry ?? DEFAULT_RETRY_CONFIG.autoRetry,
|