@coin-voyage/shared 2.2.5-beta.8 → 2.3.1

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.
@@ -37,7 +37,7 @@ export declare const zPayOrder: z.ZodObject<{
37
37
  intent: z.ZodObject<{
38
38
  asset: z.ZodOptional<z.ZodObject<{
39
39
  chain_id: z.ZodNumber;
40
- address: z.ZodNullable<z.ZodString>;
40
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  }, z.core.$strip>>;
42
42
  amount: z.ZodObject<{
43
43
  token_amount: z.ZodOptional<z.ZodNumber>;
@@ -51,7 +51,7 @@ export const zPayOrder = z.object({
51
51
  chain_id: z.number().refine((val) => Object.values(ChainId).includes(val), {
52
52
  message: "Invalid chain_id",
53
53
  }),
54
- address: z.string().nullable(),
54
+ address: z.string().nullable().optional(),
55
55
  })
56
56
  .optional(),
57
57
  amount: z.object({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coin-voyage/shared",
3
3
  "description": "Shared utilities for Coin Voyage",
4
- "version": "2.2.5-beta.8",
4
+ "version": "2.3.1",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {