@proton/wrap-constants 0.2.2 → 0.2.6

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;
@@ -128,18 +128,18 @@ export declare const depthParser: z.ZodObject<{
128
128
  }>;
129
129
  export declare type Depth = z.infer<typeof depthParser>;
130
130
  export declare const getDepthParser: z.ZodObject<{
131
- marketId: z.ZodNumber;
131
+ marketId: z.ZodString;
132
132
  step: z.ZodString;
133
133
  side: z.ZodString;
134
134
  limit: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, number, string>]>>, number, string | number | undefined>;
135
135
  }, "strip", z.ZodTypeAny, {
136
- marketId: number;
136
+ marketId: string;
137
137
  limit: number;
138
138
  step: string;
139
139
  side: string;
140
140
  }, {
141
141
  limit?: string | number | undefined;
142
- marketId: number;
142
+ marketId: string;
143
143
  step: string;
144
144
  side: string;
145
145
  }>;
@@ -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",