@proton/wrap-constants 0.2.1 → 0.2.5
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/actions.d.ts +1 -1
- package/dist/parsers/address.d.ts +1 -1
- package/dist/parsers/auth.d.ts +1 -1
- package/dist/parsers/base.d.ts +1 -1
- package/dist/parsers/currency.d.ts +1 -1
- package/dist/parsers/deposit.d.ts +1 -1
- package/dist/parsers/dex.d.ts +6 -7
- package/dist/parsers/otc.d.ts +1 -1
- package/dist/parsers/withdraw.d.ts +1 -1
- package/dist/parsers/withdrawalHistory.d.ts +1 -1
- package/dist/parsers/wrap.d.ts +1 -1
- package/dist/wrap-constants.cjs.development.js +257 -206
- 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 +253 -207
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/parsers/actions.ts +1 -1
- package/src/parsers/address.ts +1 -1
- package/src/parsers/auth.ts +1 -1
- package/src/parsers/base.ts +1 -1
- package/src/parsers/currency.ts +1 -1
- package/src/parsers/deposit.ts +1 -1
- package/src/parsers/dex.ts +6 -7
- package/src/parsers/otc.ts +1 -1
- package/src/parsers/withdraw.ts +1 -1
- package/src/parsers/withdrawalHistory.ts +1 -1
- package/src/parsers/wrap.ts +1 -1
package/dist/parsers/auth.d.ts
CHANGED
package/dist/parsers/base.d.ts
CHANGED
package/dist/parsers/dex.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtendedAsset, ExtendedSymbol } from '@bloks/numbers';
|
|
2
|
-
import
|
|
2
|
+
import { z } from 'nestjs-zod/z';
|
|
3
3
|
export declare const ohlcvParser: z.ZodObject<{
|
|
4
4
|
time: z.ZodNumber;
|
|
5
5
|
open: z.ZodNumber;
|
|
@@ -110,7 +110,7 @@ export declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
110
110
|
account: string;
|
|
111
111
|
}>;
|
|
112
112
|
export declare type GetOrderHistory = z.infer<typeof getOrderHistoryParser>;
|
|
113
|
-
declare const depthParser: z.ZodObject<{
|
|
113
|
+
export declare const depthParser: z.ZodObject<{
|
|
114
114
|
level: z.ZodNumber;
|
|
115
115
|
ask: z.ZodNumber;
|
|
116
116
|
bid: z.ZodNumber;
|
|
@@ -127,7 +127,7 @@ declare const depthParser: z.ZodObject<{
|
|
|
127
127
|
bid: number;
|
|
128
128
|
}>;
|
|
129
129
|
export declare type Depth = z.infer<typeof depthParser>;
|
|
130
|
-
declare const getDepthParser: z.ZodObject<{
|
|
130
|
+
export declare const getDepthParser: z.ZodObject<{
|
|
131
131
|
marketId: z.ZodNumber;
|
|
132
132
|
step: z.ZodString;
|
|
133
133
|
side: z.ZodString;
|
|
@@ -144,7 +144,7 @@ declare const getDepthParser: z.ZodObject<{
|
|
|
144
144
|
side: string;
|
|
145
145
|
}>;
|
|
146
146
|
export declare type GetDepth = z.infer<typeof getDepthParser>;
|
|
147
|
-
declare const tradeParser: z.ZodObject<{
|
|
147
|
+
export declare const tradeParser: z.ZodObject<{
|
|
148
148
|
block_num: z.ZodNumber;
|
|
149
149
|
block_time: z.ZodString;
|
|
150
150
|
trade_id: z.ZodNumber;
|
|
@@ -194,7 +194,7 @@ declare const tradeParser: z.ZodObject<{
|
|
|
194
194
|
ask_fee: number;
|
|
195
195
|
}>;
|
|
196
196
|
export declare type Trade = z.infer<typeof tradeParser>;
|
|
197
|
-
declare const getTradesParser: z.ZodObject<{
|
|
197
|
+
export declare const getTradesParser: z.ZodObject<{
|
|
198
198
|
marketId: z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, number, string>]>;
|
|
199
199
|
offset: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, number, string>]>>;
|
|
200
200
|
limit: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, number, string>]>>, number, string | number | undefined>;
|
|
@@ -208,7 +208,7 @@ declare const getTradesParser: z.ZodObject<{
|
|
|
208
208
|
marketId: string | number;
|
|
209
209
|
}>;
|
|
210
210
|
export declare type GetTrades = z.infer<typeof getTradesParser>;
|
|
211
|
-
declare const syncParser: z.ZodObject<{
|
|
211
|
+
export declare const syncParser: z.ZodObject<{
|
|
212
212
|
sourceid: z.ZodNumber;
|
|
213
213
|
block_num: z.ZodString;
|
|
214
214
|
block_time: z.ZodString;
|
|
@@ -289,4 +289,3 @@ export interface Market {
|
|
|
289
289
|
bid_multiplier: number;
|
|
290
290
|
ask_multiplier: number;
|
|
291
291
|
}
|
|
292
|
-
export {};
|
package/dist/parsers/otc.d.ts
CHANGED
package/dist/parsers/wrap.d.ts
CHANGED