@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/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.66",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"typings": "dist/index.d.ts",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"resolutions": {
|
|
45
45
|
"typescript": "4.5"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "b67f41b540b596da412130c874833c436d4720ca"
|
|
48
48
|
}
|
package/src/coins.ts
CHANGED
|
@@ -193,16 +193,16 @@ export const initializeCoins = (protonChain: string): {
|
|
|
193
193
|
provider: Providers.FIREBLOCKS,
|
|
194
194
|
hasWithdrawMemo: false
|
|
195
195
|
},
|
|
196
|
-
{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
},
|
|
196
|
+
// {
|
|
197
|
+
// wallet: 'USDC-BEP20',
|
|
198
|
+
// symbol: 'USDC',
|
|
199
|
+
// chain: Chains.BinanceBEP20,
|
|
200
|
+
// network: Networks.BEP20,
|
|
201
|
+
// precision: 18,
|
|
202
|
+
// contract: '0x8AC76A51CC950D9822D68B83FE1AD97B32CD580D',
|
|
203
|
+
// provider: Providers.FIREBLOCKS,
|
|
204
|
+
// hasWithdrawMemo: false
|
|
205
|
+
// },
|
|
206
206
|
{
|
|
207
207
|
wallet: 'USDC-XLM',
|
|
208
208
|
symbol: 'USDC',
|
package/src/parsers/dex.ts
CHANGED
|
@@ -74,6 +74,7 @@ export const getOrderHistoryParser = z.object({
|
|
|
74
74
|
offset: z.string().default("0"),
|
|
75
75
|
limit: z.string().default("100").refine(n => +n <= 250, 'Max limit is 250'),
|
|
76
76
|
trx_id: z.string().optional(),
|
|
77
|
+
status: z.string().optional(),
|
|
77
78
|
})
|
|
78
79
|
export type GetOrderHistory = z.infer<typeof getOrderHistoryParser>
|
|
79
80
|
|