@proton/wrap-constants 0.2.132 → 0.2.134
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/index.d.ts +6 -6
- package/dist/index.js +14 -17
- package/dist/index.mjs +14 -17
- package/package.json +2 -2
- package/src/coins.ts +524 -532
- package/src/parsers/dex.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -10487,8 +10487,8 @@ declare type GetHistoryTransactionResponse = z.input<typeof getHistoryTransactio
|
|
|
10487
10487
|
declare const getHistoryActionsParser: z.ZodObject<{
|
|
10488
10488
|
account: z.ZodString;
|
|
10489
10489
|
contract_filters: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>, string[], string | string[] | undefined>;
|
|
10490
|
-
account_seq_from: z.ZodOptional<z.
|
|
10491
|
-
account_seq_to: z.ZodOptional<z.
|
|
10490
|
+
account_seq_from: z.ZodOptional<z.ZodString>;
|
|
10491
|
+
account_seq_to: z.ZodOptional<z.ZodString>;
|
|
10492
10492
|
date_from: z.ZodOptional<z.ZodString>;
|
|
10493
10493
|
date_to: z.ZodOptional<z.ZodString>;
|
|
10494
10494
|
direction: z.ZodOptional<z.ZodString>;
|
|
@@ -10497,16 +10497,16 @@ declare const getHistoryActionsParser: z.ZodObject<{
|
|
|
10497
10497
|
account: string;
|
|
10498
10498
|
limit: number;
|
|
10499
10499
|
contract_filters: string[];
|
|
10500
|
-
account_seq_from?:
|
|
10501
|
-
account_seq_to?:
|
|
10500
|
+
account_seq_from?: string | undefined;
|
|
10501
|
+
account_seq_to?: string | undefined;
|
|
10502
10502
|
date_from?: string | undefined;
|
|
10503
10503
|
date_to?: string | undefined;
|
|
10504
10504
|
direction?: string | undefined;
|
|
10505
10505
|
}, {
|
|
10506
10506
|
account: string;
|
|
10507
10507
|
contract_filters?: string | string[] | undefined;
|
|
10508
|
-
account_seq_from?:
|
|
10509
|
-
account_seq_to?:
|
|
10508
|
+
account_seq_from?: string | undefined;
|
|
10509
|
+
account_seq_to?: string | undefined;
|
|
10510
10510
|
date_from?: string | undefined;
|
|
10511
10511
|
date_to?: string | undefined;
|
|
10512
10512
|
direction?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -542,20 +542,17 @@ var initializeCoins = (protonChain) => {
|
|
|
542
542
|
provider: "fireblocks" /* FIREBLOCKS */,
|
|
543
543
|
hasWithdrawMemo: false
|
|
544
544
|
}
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
}
|
|
557
|
-
] : [],
|
|
558
|
-
...IS_TESTNET ? [
|
|
545
|
+
// {
|
|
546
|
+
// wallet: "USDT-BEP20",
|
|
547
|
+
// symbol: "USDT",
|
|
548
|
+
// chain: Chains.BinanceBEP20,
|
|
549
|
+
// network: Networks.BEP20,
|
|
550
|
+
// precision: 18,
|
|
551
|
+
// contract: "0x55d398326f99059fF775485246999027B3197955",
|
|
552
|
+
// provider: Providers.FIREBLOCKS,
|
|
553
|
+
// hasWithdrawMemo: false,
|
|
554
|
+
// },
|
|
555
|
+
] : [
|
|
559
556
|
{
|
|
560
557
|
wallet: "USDT",
|
|
561
558
|
symbol: "USDT",
|
|
@@ -566,7 +563,7 @@ var initializeCoins = (protonChain) => {
|
|
|
566
563
|
provider: "fireblocks" /* FIREBLOCKS */,
|
|
567
564
|
hasWithdrawMemo: false
|
|
568
565
|
}
|
|
569
|
-
]
|
|
566
|
+
]
|
|
570
567
|
],
|
|
571
568
|
image: "https://www.proton.org/images/tokens/xtokensXUSDT.png",
|
|
572
569
|
coingeckoId: "tether",
|
|
@@ -2337,8 +2334,8 @@ var getHistoryTransactionResponseParser = z11.object({
|
|
|
2337
2334
|
var getHistoryActionsParser = z11.object({
|
|
2338
2335
|
account: z11.string(),
|
|
2339
2336
|
contract_filters: contractFiltersParser,
|
|
2340
|
-
account_seq_from: z11.
|
|
2341
|
-
account_seq_to: z11.
|
|
2337
|
+
account_seq_from: z11.string().optional(),
|
|
2338
|
+
account_seq_to: z11.string().optional(),
|
|
2342
2339
|
date_from: z11.string().optional(),
|
|
2343
2340
|
date_to: z11.string().optional(),
|
|
2344
2341
|
direction: z11.string().optional(),
|
package/dist/index.mjs
CHANGED
|
@@ -394,20 +394,17 @@ var initializeCoins = (protonChain) => {
|
|
|
394
394
|
provider: "fireblocks" /* FIREBLOCKS */,
|
|
395
395
|
hasWithdrawMemo: false
|
|
396
396
|
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}
|
|
409
|
-
] : [],
|
|
410
|
-
...IS_TESTNET ? [
|
|
397
|
+
// {
|
|
398
|
+
// wallet: "USDT-BEP20",
|
|
399
|
+
// symbol: "USDT",
|
|
400
|
+
// chain: Chains.BinanceBEP20,
|
|
401
|
+
// network: Networks.BEP20,
|
|
402
|
+
// precision: 18,
|
|
403
|
+
// contract: "0x55d398326f99059fF775485246999027B3197955",
|
|
404
|
+
// provider: Providers.FIREBLOCKS,
|
|
405
|
+
// hasWithdrawMemo: false,
|
|
406
|
+
// },
|
|
407
|
+
] : [
|
|
411
408
|
{
|
|
412
409
|
wallet: "USDT",
|
|
413
410
|
symbol: "USDT",
|
|
@@ -418,7 +415,7 @@ var initializeCoins = (protonChain) => {
|
|
|
418
415
|
provider: "fireblocks" /* FIREBLOCKS */,
|
|
419
416
|
hasWithdrawMemo: false
|
|
420
417
|
}
|
|
421
|
-
]
|
|
418
|
+
]
|
|
422
419
|
],
|
|
423
420
|
image: "https://www.proton.org/images/tokens/xtokensXUSDT.png",
|
|
424
421
|
coingeckoId: "tether",
|
|
@@ -2189,8 +2186,8 @@ var getHistoryTransactionResponseParser = z11.object({
|
|
|
2189
2186
|
var getHistoryActionsParser = z11.object({
|
|
2190
2187
|
account: z11.string(),
|
|
2191
2188
|
contract_filters: contractFiltersParser,
|
|
2192
|
-
account_seq_from: z11.
|
|
2193
|
-
account_seq_to: z11.
|
|
2189
|
+
account_seq_from: z11.string().optional(),
|
|
2190
|
+
account_seq_to: z11.string().optional(),
|
|
2194
2191
|
date_from: z11.string().optional(),
|
|
2195
2192
|
date_to: z11.string().optional(),
|
|
2196
2193
|
direction: z11.string().optional(),
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.134",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"typings": "dist/index.d.ts",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"resolutions": {
|
|
41
41
|
"typescript": "4.5"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "12489a4d6d3b1056901cdbb0c99969ba73b57b51"
|
|
44
44
|
}
|