@exodus/headless 5.0.0-rc.65 → 5.0.0-rc.66

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.0.0-rc.66](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.65...@exodus/headless@5.0.0-rc.66) (2025-05-09)
7
+
8
+ ### Features
9
+
10
+ - feat: support Zod Nullable safe parsing (#12280)
11
+
6
12
  ## [5.0.0-rc.65](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.64...@exodus/headless@5.0.0-rc.65) (2025-05-07)
7
13
 
8
14
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/headless",
3
- "version": "5.0.0-rc.65",
3
+ "version": "5.0.0-rc.66",
4
4
  "description": "The platform-agnostic Exodus wallet SDK",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "main": "src/index.js",
@@ -75,7 +75,7 @@
75
75
  "@exodus/algorand-meta": "^1.1.4",
76
76
  "@exodus/analytics": "^15.2.1",
77
77
  "@exodus/announcements": "^3.0.0",
78
- "@exodus/app-process-mobile": "^3.7.0",
78
+ "@exodus/app-process-mobile": "^3.8.0",
79
79
  "@exodus/apy-rates": "^3.5.0",
80
80
  "@exodus/bip32": "^4.0.2",
81
81
  "@exodus/bitcoin-plugin": "^1.0.14",
@@ -93,7 +93,7 @@
93
93
  "@exodus/key-identifier": "^1.2.1",
94
94
  "@exodus/kyc": "^7.0.0",
95
95
  "@exodus/logger": "^1.2.3",
96
- "@exodus/market-history": "^10.1.3",
96
+ "@exodus/market-history": "^10.2.0",
97
97
  "@exodus/models": "^12.8.2",
98
98
  "@exodus/nfts": "^9.5.1",
99
99
  "@exodus/personal-notes": "^3.8.0",
@@ -135,5 +135,5 @@
135
135
  "publishConfig": {
136
136
  "access": "public"
137
137
  },
138
- "gitHead": "4f709b92d98bf25832c04bfa7af01620fcaeba9d"
138
+ "gitHead": "6dd6fa84c06fe7713c382328cc5f04db71b3baf7"
139
139
  }
@@ -5,6 +5,8 @@ export default function safeParse(schema, obj) {
5
5
  }
6
6
 
7
7
  switch (schema._def.typeName) {
8
+ case 'ZodNullable':
9
+ return safeParse(schema._def.innerType, obj)
8
10
  case 'ZodArray':
9
11
  return Array.isArray(obj) ? obj.map((item) => safeParse(schema.element, item)) : []
10
12
  case 'ZodObject':