@pear-protocol/types 0.0.4 → 0.0.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.
@@ -20,9 +20,9 @@ export declare const TradeAccount: z.ZodObject<{
20
20
  agentWalletAddress: z.ZodString;
21
21
  isSubaccount: z.ZodBoolean;
22
22
  }, z.core.$strip>]>>;
23
- createdAt: z.ZodISODate;
24
- updatedAt: z.ZodISODate;
25
- deletedAt: z.ZodOptional<z.ZodISODate>;
23
+ createdAt: z.ZodString;
24
+ updatedAt: z.ZodString;
25
+ deletedAt: z.ZodOptional<z.ZodString>;
26
26
  }, z.core.$strip>;
27
27
  export type TradeAccount = z.infer<typeof TradeAccount>;
28
28
  export type HyperliquidMetadata = z.infer<typeof HyperliquidMetadata>;
@@ -12,9 +12,9 @@ const TradeAccount = z.object({
12
12
  connector: Connector.describe("Exchange connector type"),
13
13
  exchangeIdentifier: z.string().describe("User identifier on the exchange"),
14
14
  metadata: ConnectorMetadata.describe("Connector-specific metadata"),
15
- createdAt: z.iso.date().describe("Creation timestamp (ISO 8601)"),
16
- updatedAt: z.iso.date().describe("Last update timestamp (ISO 8601)"),
17
- deletedAt: z.iso.date().describe("Deletion timestamp (ISO 8601)").optional()
15
+ createdAt: z.string().describe("Creation timestamp (ISO 8601)"),
16
+ updatedAt: z.string().describe("Last update timestamp (ISO 8601)"),
17
+ deletedAt: z.string().describe("Deletion timestamp (ISO 8601)").optional()
18
18
  });
19
19
 
20
20
  export { TradeAccount };
@@ -14,9 +14,9 @@ export declare const TradeAccountResponse: z.ZodObject<{
14
14
  agentWalletAddress: z.ZodString;
15
15
  isSubaccount: z.ZodBoolean;
16
16
  }, z.core.$strip>]>>;
17
- createdAt: z.ZodISODate;
18
- updatedAt: z.ZodISODate;
19
- deletedAt: z.ZodOptional<z.ZodISODate>;
17
+ createdAt: z.ZodString;
18
+ updatedAt: z.ZodString;
19
+ deletedAt: z.ZodOptional<z.ZodString>;
20
20
  }, z.core.$strip>;
21
21
  }, z.core.$strip>;
22
22
  export type TradeAccountResponse = z.infer<typeof TradeAccountResponse>;
@@ -35,9 +35,9 @@ export declare const TradeAccountListResponse: z.ZodObject<{
35
35
  agentWalletAddress: z.ZodString;
36
36
  isSubaccount: z.ZodBoolean;
37
37
  }, z.core.$strip>]>>;
38
- createdAt: z.ZodISODate;
39
- updatedAt: z.ZodISODate;
40
- deletedAt: z.ZodOptional<z.ZodISODate>;
38
+ createdAt: z.ZodString;
39
+ updatedAt: z.ZodString;
40
+ deletedAt: z.ZodOptional<z.ZodString>;
41
41
  }, z.core.$strip>>;
42
42
  }, z.core.$strip>;
43
43
  export type TradeAccountListResponse = z.infer<typeof TradeAccountListResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/types",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Pear Protocol Types definitions",
5
5
  "private": false,
6
6
  "type": "module",