@proton/wrap-constants 0.2.50 → 0.2.52
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.d.ts +1 -0
- package/dist/parsers/deposit.d.ts +3 -3
- package/dist/wrap-constants.cjs.development.js +2 -1
- 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 +2 -1
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +1 -0
- package/src/parsers/deposit.ts +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -9,21 +9,21 @@ export declare const depositBodyParser: z.ZodObject<{
|
|
|
9
9
|
hash: z.ZodString;
|
|
10
10
|
coin: z.ZodString;
|
|
11
11
|
wallet: z.ZodString;
|
|
12
|
-
network: z.
|
|
12
|
+
network: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
network?: string | undefined;
|
|
15
14
|
id: string;
|
|
16
15
|
type: Type;
|
|
17
16
|
hash: string;
|
|
18
17
|
coin: string;
|
|
19
18
|
wallet: string;
|
|
19
|
+
network: string;
|
|
20
20
|
}, {
|
|
21
|
-
network?: string | undefined;
|
|
22
21
|
id: string;
|
|
23
22
|
type: Type;
|
|
24
23
|
hash: string;
|
|
25
24
|
coin: string;
|
|
26
25
|
wallet: string;
|
|
26
|
+
network: string;
|
|
27
27
|
}>;
|
|
28
28
|
export declare type DepositBody = z.infer<typeof depositBodyParser>;
|
|
29
29
|
export declare const transactionParser: z.ZodObject<{
|
|
@@ -1255,6 +1255,7 @@ var initializeConstants = function initializeConstants(chain) {
|
|
|
1255
1255
|
DEX_PROCESS_SIZE: 30,
|
|
1256
1256
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1257
1257
|
MAX_PRICE: "9223372036854775806",
|
|
1258
|
+
MAX_ITEMS_PER_PAGE_DESKTOP: 25,
|
|
1258
1259
|
MIN_PRICE: 1,
|
|
1259
1260
|
DEFAULT_DEX_SYMBOL: chain === 'proton' ? 'XPR_XMD' : 'XPR_XUSDC',
|
|
1260
1261
|
CHAIN: chain,
|
|
@@ -1367,7 +1368,7 @@ var depositBodyParser = /*#__PURE__*/z.object({
|
|
|
1367
1368
|
hash: /*#__PURE__*/z.string(),
|
|
1368
1369
|
coin: /*#__PURE__*/z.string(),
|
|
1369
1370
|
wallet: /*#__PURE__*/z.string(),
|
|
1370
|
-
network: /*#__PURE__*/z.string()
|
|
1371
|
+
network: /*#__PURE__*/z.string() // "erc29"
|
|
1371
1372
|
|
|
1372
1373
|
});
|
|
1373
1374
|
var transactionParser = /*#__PURE__*/z.object({
|