@proton/wrap-constants 0.2.64 → 0.2.66
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/dex.d.ts +3 -0
- package/dist/wrap-constants.cjs.development.js +13 -11
- 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 +13 -11
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +10 -10
- package/src/parsers/dex.ts +1 -0
package/dist/parsers/dex.d.ts
CHANGED
|
@@ -285,14 +285,17 @@ export declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
285
285
|
offset: z.ZodDefault<z.ZodString>;
|
|
286
286
|
limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
287
287
|
trx_id: z.ZodOptional<z.ZodString>;
|
|
288
|
+
status: z.ZodOptional<z.ZodString>;
|
|
288
289
|
}, "strip", z.ZodTypeAny, {
|
|
289
290
|
symbol?: string | undefined;
|
|
291
|
+
status?: string | undefined;
|
|
290
292
|
trx_id?: string | undefined;
|
|
291
293
|
limit: string;
|
|
292
294
|
account: string;
|
|
293
295
|
offset: string;
|
|
294
296
|
}, {
|
|
295
297
|
symbol?: string | undefined;
|
|
298
|
+
status?: string | undefined;
|
|
296
299
|
limit?: string | undefined;
|
|
297
300
|
trx_id?: string | undefined;
|
|
298
301
|
offset?: string | undefined;
|
|
@@ -179,16 +179,17 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
179
179
|
contract: '0xA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48',
|
|
180
180
|
provider: exports.Providers.FIREBLOCKS,
|
|
181
181
|
hasWithdrawMemo: false
|
|
182
|
-
}, {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
},
|
|
182
|
+
}, // {
|
|
183
|
+
// wallet: 'USDC-BEP20',
|
|
184
|
+
// symbol: 'USDC',
|
|
185
|
+
// chain: Chains.BinanceBEP20,
|
|
186
|
+
// network: Networks.BEP20,
|
|
187
|
+
// precision: 18,
|
|
188
|
+
// contract: '0x8AC76A51CC950D9822D68B83FE1AD97B32CD580D',
|
|
189
|
+
// provider: Providers.FIREBLOCKS,
|
|
190
|
+
// hasWithdrawMemo: false
|
|
191
|
+
// },
|
|
192
|
+
{
|
|
192
193
|
wallet: 'USDC-XLM',
|
|
193
194
|
symbol: 'USDC',
|
|
194
195
|
chain: exports.Chains.StellarMainnet,
|
|
@@ -1553,7 +1554,8 @@ var getOrderHistoryParser = /*#__PURE__*/z.object({
|
|
|
1553
1554
|
limit: /*#__PURE__*/z.string()["default"]("100").refine(function (n) {
|
|
1554
1555
|
return +n <= 250;
|
|
1555
1556
|
}, 'Max limit is 250'),
|
|
1556
|
-
trx_id: /*#__PURE__*/z.string().optional()
|
|
1557
|
+
trx_id: /*#__PURE__*/z.string().optional(),
|
|
1558
|
+
status: /*#__PURE__*/z.string().optional()
|
|
1557
1559
|
});
|
|
1558
1560
|
var getOrderHistoryResponseParser = /*#__PURE__*/z.object({
|
|
1559
1561
|
sync: /*#__PURE__*/z.number(),
|