@pear-protocol/types
Advanced tools
@@ -8,2 +8,3 @@ import { z } from 'zod'; | ||
| isSubaccount: z.ZodBoolean; | ||
| mainAccountAddress: z.ZodString; | ||
| }, z.core.$strip>; | ||
@@ -24,2 +25,3 @@ export declare const TradeAccount: z.ZodObject<{ | ||
| isSubaccount: z.ZodBoolean; | ||
| mainAccountAddress: z.ZodString; | ||
| }, z.core.$strip>]>>; | ||
@@ -26,0 +28,0 @@ createdAt: z.ZodString; |
@@ -6,3 +6,4 @@ import { z } from 'zod'; | ||
| agentWalletAddress: z.string(), | ||
| isSubaccount: z.boolean() | ||
| isSubaccount: z.boolean(), | ||
| mainAccountAddress: z.string() | ||
| }); | ||
@@ -9,0 +10,0 @@ const ConnectorMetadata = z.union([HyperliquidMetadata]).optional(); |
@@ -14,2 +14,3 @@ import { z } from 'zod'; | ||
| isSubaccount: z.ZodBoolean; | ||
| mainAccountAddress: z.ZodString; | ||
| }, z.core.$strip>; | ||
@@ -54,2 +55,3 @@ declare const CreateBinanceCredentials: z.ZodObject<{ | ||
| isSubaccount: z.ZodBoolean; | ||
| mainAccountAddress: z.ZodString; | ||
| }, z.core.$strip>; | ||
@@ -100,2 +102,3 @@ }, z.core.$strip>, z.ZodObject<{ | ||
| isSubaccount: z.ZodBoolean; | ||
| mainAccountAddress: z.ZodString; | ||
| }, z.core.$strip>>; | ||
@@ -102,0 +105,0 @@ }, z.core.$strip>, z.ZodObject<{ |
@@ -8,3 +8,4 @@ import { z } from 'zod'; | ||
| agentWalletAddress: z.string().regex(/^0x[a-fA-F0-9]{40}$/, "Invalid Ethereum address"), | ||
| isSubaccount: z.boolean() | ||
| isSubaccount: z.boolean(), | ||
| mainAccountAddress: z.string().regex(/^0x[a-fA-F0-9]{40}$/, "Invalid Ethereum address") | ||
| }); | ||
@@ -11,0 +12,0 @@ const BinanceApiKeyPair = z.object({ |
@@ -17,2 +17,3 @@ import { z } from 'zod'; | ||
| isSubaccount: z.ZodBoolean; | ||
| mainAccountAddress: z.ZodString; | ||
| }, z.core.$strip>]>>; | ||
@@ -40,2 +41,3 @@ createdAt: z.ZodString; | ||
| isSubaccount: z.ZodBoolean; | ||
| mainAccountAddress: z.ZodString; | ||
| }, z.core.$strip>]>>; | ||
@@ -42,0 +44,0 @@ createdAt: z.ZodString; |
+1
-1
| { | ||
| "name": "@pear-protocol/types", | ||
| "version": "0.0.14", | ||
| "version": "0.0.15", | ||
| "description": "Pear Protocol Types definitions", | ||
@@ -5,0 +5,0 @@ "private": false, |
317309
0.13%9900
0.09%