@proton/wrap-constants 0.0.49 → 0.0.50

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.
@@ -82,10 +82,8 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
82
82
  name: z.ZodLiteral<string>;
83
83
  data: z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
84
84
  [x: string]: any;
85
- [x: number]: any;
86
85
  }, {
87
86
  [x: string]: any;
88
- [x: number]: any;
89
87
  }>;
90
88
  authorization: z.ZodArray<z.ZodObject<{
91
89
  actor: z.ZodString;
@@ -101,7 +99,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
101
99
  account: string;
102
100
  data: {
103
101
  [x: string]: any;
104
- [x: number]: any;
105
102
  };
106
103
  name: string;
107
104
  authorization: {
@@ -112,7 +109,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
112
109
  account: string;
113
110
  data: {
114
111
  [x: string]: any;
115
- [x: number]: any;
116
112
  };
117
113
  name: string;
118
114
  authorization: {
@@ -224,10 +220,8 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
224
220
  name: z.ZodLiteral<string>;
225
221
  data: z.ZodUnion<[z.ZodString, z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
226
222
  [x: string]: any;
227
- [x: number]: any;
228
223
  }, {
229
224
  [x: string]: any;
230
- [x: number]: any;
231
225
  }>]>;
232
226
  authorization: z.ZodArray<z.ZodObject<{
233
227
  actor: z.ZodString;
@@ -243,7 +237,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
243
237
  account: string;
244
238
  data: string | {
245
239
  [x: string]: any;
246
- [x: number]: any;
247
240
  };
248
241
  name: string;
249
242
  authorization: {
@@ -254,7 +247,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
254
247
  account: string;
255
248
  data: string | {
256
249
  [x: string]: any;
257
- [x: number]: any;
258
250
  };
259
251
  name: string;
260
252
  authorization: {
@@ -284,7 +276,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
284
276
  account: string;
285
277
  data: string | {
286
278
  [x: string]: any;
287
- [x: number]: any;
288
279
  };
289
280
  name: string;
290
281
  authorization: {
@@ -314,7 +305,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
314
305
  account: string;
315
306
  data: string | {
316
307
  [x: string]: any;
317
- [x: number]: any;
318
308
  };
319
309
  name: string;
320
310
  authorization: {
@@ -365,7 +355,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
365
355
  account: string;
366
356
  data: string | {
367
357
  [x: string]: any;
368
- [x: number]: any;
369
358
  };
370
359
  name: string;
371
360
  authorization: {
@@ -416,7 +405,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
416
405
  account: string;
417
406
  data: string | {
418
407
  [x: string]: any;
419
- [x: number]: any;
420
408
  };
421
409
  name: string;
422
410
  authorization: {
@@ -480,7 +468,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
480
468
  account: string;
481
469
  data: string | {
482
470
  [x: string]: any;
483
- [x: number]: any;
484
471
  };
485
472
  name: string;
486
473
  authorization: {
@@ -539,7 +526,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
539
526
  account: string;
540
527
  data: string | {
541
528
  [x: string]: any;
542
- [x: number]: any;
543
529
  };
544
530
  name: string;
545
531
  authorization: {
@@ -577,7 +563,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
577
563
  account: string;
578
564
  data: {
579
565
  [x: string]: any;
580
- [x: number]: any;
581
566
  };
582
567
  name: string;
583
568
  authorization: {
@@ -628,7 +613,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
628
613
  account: string;
629
614
  data: string | {
630
615
  [x: string]: any;
631
- [x: number]: any;
632
616
  };
633
617
  name: string;
634
618
  authorization: {
@@ -666,7 +650,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
666
650
  account: string;
667
651
  data: {
668
652
  [x: string]: any;
669
- [x: number]: any;
670
653
  };
671
654
  name: string;
672
655
  authorization: {
@@ -717,7 +700,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
717
700
  account: string;
718
701
  data: string | {
719
702
  [x: string]: any;
720
- [x: number]: any;
721
703
  };
722
704
  name: string;
723
705
  authorization: {
@@ -764,7 +746,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
764
746
  account: string;
765
747
  data: {
766
748
  [x: string]: any;
767
- [x: number]: any;
768
749
  };
769
750
  name: string;
770
751
  authorization: {
@@ -815,7 +796,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
815
796
  account: string;
816
797
  data: string | {
817
798
  [x: string]: any;
818
- [x: number]: any;
819
799
  };
820
800
  name: string;
821
801
  authorization: {
@@ -862,7 +842,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
862
842
  account: string;
863
843
  data: {
864
844
  [x: string]: any;
865
- [x: number]: any;
866
845
  };
867
846
  name: string;
868
847
  authorization: {
@@ -913,7 +892,6 @@ export declare const generateAddressBodyParser: z.ZodObject<z.extendShape<{
913
892
  account: string;
914
893
  data: string | {
915
894
  [x: string]: any;
916
- [x: number]: any;
917
895
  };
918
896
  name: string;
919
897
  authorization: {
@@ -59,10 +59,8 @@ export declare const createAbstractAuthParser: (contract: string, action: string
59
59
  name: z.ZodLiteral<string>;
60
60
  data: z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
61
61
  [x: string]: any;
62
- [x: number]: any;
63
62
  }, {
64
63
  [x: string]: any;
65
- [x: number]: any;
66
64
  }>;
67
65
  authorization: z.ZodArray<z.ZodObject<{
68
66
  actor: z.ZodString;
@@ -78,7 +76,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
78
76
  account: string;
79
77
  data: {
80
78
  [x: string]: any;
81
- [x: number]: any;
82
79
  };
83
80
  name: string;
84
81
  authorization: {
@@ -89,7 +86,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
89
86
  account: string;
90
87
  data: {
91
88
  [x: string]: any;
92
- [x: number]: any;
93
89
  };
94
90
  name: string;
95
91
  authorization: {
@@ -201,10 +197,8 @@ export declare const createAbstractAuthParser: (contract: string, action: string
201
197
  name: z.ZodLiteral<string>;
202
198
  data: z.ZodUnion<[z.ZodString, z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
203
199
  [x: string]: any;
204
- [x: number]: any;
205
200
  }, {
206
201
  [x: string]: any;
207
- [x: number]: any;
208
202
  }>]>;
209
203
  authorization: z.ZodArray<z.ZodObject<{
210
204
  actor: z.ZodString;
@@ -220,7 +214,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
220
214
  account: string;
221
215
  data: string | {
222
216
  [x: string]: any;
223
- [x: number]: any;
224
217
  };
225
218
  name: string;
226
219
  authorization: {
@@ -231,7 +224,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
231
224
  account: string;
232
225
  data: string | {
233
226
  [x: string]: any;
234
- [x: number]: any;
235
227
  };
236
228
  name: string;
237
229
  authorization: {
@@ -261,7 +253,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
261
253
  account: string;
262
254
  data: string | {
263
255
  [x: string]: any;
264
- [x: number]: any;
265
256
  };
266
257
  name: string;
267
258
  authorization: {
@@ -291,7 +282,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
291
282
  account: string;
292
283
  data: string | {
293
284
  [x: string]: any;
294
- [x: number]: any;
295
285
  };
296
286
  name: string;
297
287
  authorization: {
@@ -342,7 +332,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
342
332
  account: string;
343
333
  data: string | {
344
334
  [x: string]: any;
345
- [x: number]: any;
346
335
  };
347
336
  name: string;
348
337
  authorization: {
@@ -393,7 +382,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
393
382
  account: string;
394
383
  data: string | {
395
384
  [x: string]: any;
396
- [x: number]: any;
397
385
  };
398
386
  name: string;
399
387
  authorization: {
@@ -457,7 +445,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
457
445
  account: string;
458
446
  data: string | {
459
447
  [x: string]: any;
460
- [x: number]: any;
461
448
  };
462
449
  name: string;
463
450
  authorization: {
@@ -516,7 +503,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
516
503
  account: string;
517
504
  data: string | {
518
505
  [x: string]: any;
519
- [x: number]: any;
520
506
  };
521
507
  name: string;
522
508
  authorization: {
@@ -554,7 +540,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
554
540
  account: string;
555
541
  data: {
556
542
  [x: string]: any;
557
- [x: number]: any;
558
543
  };
559
544
  name: string;
560
545
  authorization: {
@@ -605,7 +590,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
605
590
  account: string;
606
591
  data: string | {
607
592
  [x: string]: any;
608
- [x: number]: any;
609
593
  };
610
594
  name: string;
611
595
  authorization: {
@@ -643,7 +627,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
643
627
  account: string;
644
628
  data: {
645
629
  [x: string]: any;
646
- [x: number]: any;
647
630
  };
648
631
  name: string;
649
632
  authorization: {
@@ -694,7 +677,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
694
677
  account: string;
695
678
  data: string | {
696
679
  [x: string]: any;
697
- [x: number]: any;
698
680
  };
699
681
  name: string;
700
682
  authorization: {
@@ -739,7 +721,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
739
721
  account: string;
740
722
  data: {
741
723
  [x: string]: any;
742
- [x: number]: any;
743
724
  };
744
725
  name: string;
745
726
  authorization: {
@@ -790,7 +771,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
790
771
  account: string;
791
772
  data: string | {
792
773
  [x: string]: any;
793
- [x: number]: any;
794
774
  };
795
775
  name: string;
796
776
  authorization: {
@@ -835,7 +815,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
835
815
  account: string;
836
816
  data: {
837
817
  [x: string]: any;
838
- [x: number]: any;
839
818
  };
840
819
  name: string;
841
820
  authorization: {
@@ -886,7 +865,6 @@ export declare const createAbstractAuthParser: (contract: string, action: string
886
865
  account: string;
887
866
  data: string | {
888
867
  [x: string]: any;
889
- [x: number]: any;
890
868
  };
891
869
  name: string;
892
870
  authorization: {
@@ -1011,10 +989,8 @@ export declare const generateAuthParser: z.ZodObject<{
1011
989
  name: z.ZodLiteral<string>;
1012
990
  data: z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
1013
991
  [x: string]: any;
1014
- [x: number]: any;
1015
992
  }, {
1016
993
  [x: string]: any;
1017
- [x: number]: any;
1018
994
  }>;
1019
995
  authorization: z.ZodArray<z.ZodObject<{
1020
996
  actor: z.ZodString;
@@ -1030,7 +1006,6 @@ export declare const generateAuthParser: z.ZodObject<{
1030
1006
  account: string;
1031
1007
  data: {
1032
1008
  [x: string]: any;
1033
- [x: number]: any;
1034
1009
  };
1035
1010
  name: string;
1036
1011
  authorization: {
@@ -1041,7 +1016,6 @@ export declare const generateAuthParser: z.ZodObject<{
1041
1016
  account: string;
1042
1017
  data: {
1043
1018
  [x: string]: any;
1044
- [x: number]: any;
1045
1019
  };
1046
1020
  name: string;
1047
1021
  authorization: {
@@ -1153,10 +1127,8 @@ export declare const generateAuthParser: z.ZodObject<{
1153
1127
  name: z.ZodLiteral<string>;
1154
1128
  data: z.ZodUnion<[z.ZodString, z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
1155
1129
  [x: string]: any;
1156
- [x: number]: any;
1157
1130
  }, {
1158
1131
  [x: string]: any;
1159
- [x: number]: any;
1160
1132
  }>]>;
1161
1133
  authorization: z.ZodArray<z.ZodObject<{
1162
1134
  actor: z.ZodString;
@@ -1172,7 +1144,6 @@ export declare const generateAuthParser: z.ZodObject<{
1172
1144
  account: string;
1173
1145
  data: string | {
1174
1146
  [x: string]: any;
1175
- [x: number]: any;
1176
1147
  };
1177
1148
  name: string;
1178
1149
  authorization: {
@@ -1183,7 +1154,6 @@ export declare const generateAuthParser: z.ZodObject<{
1183
1154
  account: string;
1184
1155
  data: string | {
1185
1156
  [x: string]: any;
1186
- [x: number]: any;
1187
1157
  };
1188
1158
  name: string;
1189
1159
  authorization: {
@@ -1213,7 +1183,6 @@ export declare const generateAuthParser: z.ZodObject<{
1213
1183
  account: string;
1214
1184
  data: string | {
1215
1185
  [x: string]: any;
1216
- [x: number]: any;
1217
1186
  };
1218
1187
  name: string;
1219
1188
  authorization: {
@@ -1243,7 +1212,6 @@ export declare const generateAuthParser: z.ZodObject<{
1243
1212
  account: string;
1244
1213
  data: string | {
1245
1214
  [x: string]: any;
1246
- [x: number]: any;
1247
1215
  };
1248
1216
  name: string;
1249
1217
  authorization: {
@@ -1294,7 +1262,6 @@ export declare const generateAuthParser: z.ZodObject<{
1294
1262
  account: string;
1295
1263
  data: string | {
1296
1264
  [x: string]: any;
1297
- [x: number]: any;
1298
1265
  };
1299
1266
  name: string;
1300
1267
  authorization: {
@@ -1345,7 +1312,6 @@ export declare const generateAuthParser: z.ZodObject<{
1345
1312
  account: string;
1346
1313
  data: string | {
1347
1314
  [x: string]: any;
1348
- [x: number]: any;
1349
1315
  };
1350
1316
  name: string;
1351
1317
  authorization: {
@@ -1409,7 +1375,6 @@ export declare const generateAuthParser: z.ZodObject<{
1409
1375
  account: string;
1410
1376
  data: string | {
1411
1377
  [x: string]: any;
1412
- [x: number]: any;
1413
1378
  };
1414
1379
  name: string;
1415
1380
  authorization: {
@@ -1468,7 +1433,6 @@ export declare const generateAuthParser: z.ZodObject<{
1468
1433
  account: string;
1469
1434
  data: string | {
1470
1435
  [x: string]: any;
1471
- [x: number]: any;
1472
1436
  };
1473
1437
  name: string;
1474
1438
  authorization: {
@@ -1506,7 +1470,6 @@ export declare const generateAuthParser: z.ZodObject<{
1506
1470
  account: string;
1507
1471
  data: {
1508
1472
  [x: string]: any;
1509
- [x: number]: any;
1510
1473
  };
1511
1474
  name: string;
1512
1475
  authorization: {
@@ -1557,7 +1520,6 @@ export declare const generateAuthParser: z.ZodObject<{
1557
1520
  account: string;
1558
1521
  data: string | {
1559
1522
  [x: string]: any;
1560
- [x: number]: any;
1561
1523
  };
1562
1524
  name: string;
1563
1525
  authorization: {
@@ -1595,7 +1557,6 @@ export declare const generateAuthParser: z.ZodObject<{
1595
1557
  account: string;
1596
1558
  data: {
1597
1559
  [x: string]: any;
1598
- [x: number]: any;
1599
1560
  };
1600
1561
  name: string;
1601
1562
  authorization: {
@@ -1646,7 +1607,6 @@ export declare const generateAuthParser: z.ZodObject<{
1646
1607
  account: string;
1647
1608
  data: string | {
1648
1609
  [x: string]: any;
1649
- [x: number]: any;
1650
1610
  };
1651
1611
  name: string;
1652
1612
  authorization: {
@@ -1691,7 +1651,6 @@ export declare const generateAuthParser: z.ZodObject<{
1691
1651
  account: string;
1692
1652
  data: {
1693
1653
  [x: string]: any;
1694
- [x: number]: any;
1695
1654
  };
1696
1655
  name: string;
1697
1656
  authorization: {
@@ -1742,7 +1701,6 @@ export declare const generateAuthParser: z.ZodObject<{
1742
1701
  account: string;
1743
1702
  data: string | {
1744
1703
  [x: string]: any;
1745
- [x: number]: any;
1746
1704
  };
1747
1705
  name: string;
1748
1706
  authorization: {
@@ -1787,7 +1745,6 @@ export declare const generateAuthParser: z.ZodObject<{
1787
1745
  account: string;
1788
1746
  data: {
1789
1747
  [x: string]: any;
1790
- [x: number]: any;
1791
1748
  };
1792
1749
  name: string;
1793
1750
  authorization: {
@@ -1838,7 +1795,6 @@ export declare const generateAuthParser: z.ZodObject<{
1838
1795
  account: string;
1839
1796
  data: string | {
1840
1797
  [x: string]: any;
1841
- [x: number]: any;
1842
1798
  };
1843
1799
  name: string;
1844
1800
  authorization: {
@@ -100,7 +100,8 @@ var explorerLinkByChain = (_explorerLinkByChain = {}, _explorerLinkByChain[expor
100
100
  return "https://xrpscan.com/tx/" + txid;
101
101
  }, _explorerLinkByChain[exports.Chains.SolanaMainnet] = function (txid) {
102
102
  return "https://explorer.solana.com/tx/" + txid;
103
- }, _explorerLinkByChain);
103
+ }, _explorerLinkByChain); // Initialize
104
+
104
105
  var initializeCoins = function initializeCoins(protonChain) {
105
106
  var IS_MAINNET = protonChain === 'proton';
106
107
  var IS_TESTNET = protonChain === 'proton-test';
@@ -271,7 +272,7 @@ var initializeCoins = function initializeCoins(protonChain) {
271
272
  image: 'https://www.protonchain.com/images/tokens/loan.tokenLOAN.png',
272
273
  coingeckoId: 'proton-loan'
273
274
  }, {
274
- allowSwap: IS_MAINNET,
275
+ allowSwap: true,
275
276
  allowBridge: true,
276
277
  allowLend: false,
277
278
  allowBorrow: false,