@proton/wrap-constants 0.2.34 → 0.2.36
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/parsers/deposit.d.ts +3 -0
- package/dist/wrap-constants.cjs.development.js +3 -2
- package/dist/wrap-constants.cjs.development.js.map +1 -1
- package/dist/wrap-constants.cjs.production.min.js +1 -1
- package/dist/wrap-constants.cjs.production.min.js.map +1 -1
- package/dist/wrap-constants.esm.js +3 -2
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +1 -1
- package/src/parsers/deposit.ts +1 -0
|
@@ -9,13 +9,16 @@ export declare const depositBodyParser: z.ZodObject<{
|
|
|
9
9
|
hash: z.ZodString;
|
|
10
10
|
coin: z.ZodString;
|
|
11
11
|
wallet: z.ZodString;
|
|
12
|
+
network: z.ZodOptional<z.ZodString>;
|
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
network?: string | undefined;
|
|
13
15
|
id: string;
|
|
14
16
|
type: Type;
|
|
15
17
|
hash: string;
|
|
16
18
|
coin: string;
|
|
17
19
|
wallet: string;
|
|
18
20
|
}, {
|
|
21
|
+
network?: string | undefined;
|
|
19
22
|
id: string;
|
|
20
23
|
type: Type;
|
|
21
24
|
hash: string;
|
|
@@ -422,7 +422,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
422
422
|
allowBridge: IS_MAINNET,
|
|
423
423
|
allowLend: false,
|
|
424
424
|
allowBorrow: false,
|
|
425
|
-
name: 'Paxos
|
|
425
|
+
name: 'Paxos Dollar',
|
|
426
426
|
coin: 'PAX',
|
|
427
427
|
xtokenSymbol: 'XPAX',
|
|
428
428
|
xtokenPrecision: 6,
|
|
@@ -1352,7 +1352,8 @@ var depositBodyParser = /*#__PURE__*/z.object({
|
|
|
1352
1352
|
type: /*#__PURE__*/z.nativeEnum(exports.Type),
|
|
1353
1353
|
hash: /*#__PURE__*/z.string(),
|
|
1354
1354
|
coin: /*#__PURE__*/z.string(),
|
|
1355
|
-
wallet: /*#__PURE__*/z.string()
|
|
1355
|
+
wallet: /*#__PURE__*/z.string(),
|
|
1356
|
+
network: /*#__PURE__*/z.string().optional() // "erc29"
|
|
1356
1357
|
|
|
1357
1358
|
});
|
|
1358
1359
|
var transactionParser = /*#__PURE__*/z.object({
|