@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.
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
3
3
  account: z.ZodString | z.ZodLiteral<string>;
4
4
  name: z.ZodLiteral<string>;
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export declare const addressParser: z.ZodObject<{
3
3
  index: z.ZodNumber;
4
4
  account: z.ZodString;
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export declare const createAbstractAuthParser: (contract: string, action: string, data: z.ZodRawShape) => z.ZodObject<{
3
3
  signer: z.ZodObject<{
4
4
  actor: z.ZodString;
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export declare const accountParser: z.ZodString;
3
3
  export declare const authorizationParser: z.ZodObject<{
4
4
  actor: z.ZodString;
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export interface CurrencyStat {
3
3
  supply: string;
4
4
  max_supply: string;
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export declare enum Type {
3
3
  RECEIVE = "receive",
4
4
  SEND = "send"
@@ -1,5 +1,5 @@
1
1
  import { ExtendedAsset, ExtendedSymbol } from '@bloks/numbers';
2
- import * as z from 'zod';
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 {};
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export declare const otcOrderResponseParser: z.ZodObject<{
3
3
  success: z.ZodBoolean;
4
4
  transaction_id: z.ZodString;
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  declare const withdrawBodyBaseAction: z.ZodObject<{
3
3
  account: z.ZodString | z.ZodLiteral<string>;
4
4
  name: z.ZodLiteral<string>;
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  status: z.ZodString;
@@ -1,4 +1,4 @@
1
- import * as z from 'zod';
1
+ import { z } from 'nestjs-zod/z';
2
2
  export declare enum Status {
3
3
  PENDING = "pending",
4
4
  SUCCESS = "success",