@proton/wrap-constants 0.2.7 → 0.2.8
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 +0 -3
- package/dist/wrap-constants.cjs.development.js +0 -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 +0 -1
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +0 -1
package/dist/parsers/dex.d.ts
CHANGED
|
@@ -130,18 +130,15 @@ export declare type Depth = z.infer<typeof depthParser>;
|
|
|
130
130
|
export declare const getDepthParser: z.ZodObject<{
|
|
131
131
|
marketId: z.ZodString;
|
|
132
132
|
step: z.ZodString;
|
|
133
|
-
side: z.ZodString;
|
|
134
133
|
limit: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, number, string>]>>, number, string | number | undefined>;
|
|
135
134
|
}, "strip", z.ZodTypeAny, {
|
|
136
135
|
marketId: string;
|
|
137
136
|
limit: number;
|
|
138
137
|
step: string;
|
|
139
|
-
side: string;
|
|
140
138
|
}, {
|
|
141
139
|
limit?: string | number | undefined;
|
|
142
140
|
marketId: string;
|
|
143
141
|
step: string;
|
|
144
|
-
side: string;
|
|
145
142
|
}>;
|
|
146
143
|
export declare type GetDepth = z.infer<typeof getDepthParser>;
|
|
147
144
|
export declare const tradeParser: z.ZodObject<{
|
|
@@ -1404,7 +1404,6 @@ var depthParser = /*#__PURE__*/z.z.object({
|
|
|
1404
1404
|
var getDepthParser = /*#__PURE__*/z.z.object({
|
|
1405
1405
|
marketId: /*#__PURE__*/z.z.string(),
|
|
1406
1406
|
step: /*#__PURE__*/z.z.string(),
|
|
1407
|
-
side: /*#__PURE__*/z.z.string(),
|
|
1408
1407
|
limit: /*#__PURE__*/z.z.number().or(numTransform)["default"](100).refine(function (n) {
|
|
1409
1408
|
return n <= 250;
|
|
1410
1409
|
}, 'Max limit is 250')
|