@proton/wrap-constants 0.2.38 → 0.2.39
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 +2 -2
- package/dist/wrap-constants.cjs.development.js +2 -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 +2 -2
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -2
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.39",
|
|
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": "dd021f05f12f09c3fde25b1fc5181019381541ca"
|
|
48
48
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -24,11 +24,11 @@ export const getOhlcvParser = z.object({
|
|
|
24
24
|
})
|
|
25
25
|
export type GetOHLCV = z.infer<typeof getOhlcvParser>
|
|
26
26
|
|
|
27
|
-
export const
|
|
27
|
+
export const getOhlcvResponseParser = z.object({
|
|
28
28
|
sync: z.number(),
|
|
29
29
|
data: z.array(ohlcvParser)
|
|
30
30
|
})
|
|
31
|
-
export type GetOHLCVResponse = z.infer<typeof
|
|
31
|
+
export type GetOHLCVResponse = z.infer<typeof getOhlcvResponseParser>
|
|
32
32
|
|
|
33
33
|
export const orderHistoryParser = z.object({
|
|
34
34
|
seq: z.number(),
|