@valon-technologies/gestalt 0.0.1-alpha.19 → 0.0.1-alpha.20

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/protocol.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valon-technologies/gestalt",
3
- "version": "0.0.1-alpha.19",
3
+ "version": "0.0.1-alpha.20",
4
4
  "description": "TypeScript SDK for Gestalt executable providers",
5
5
  "type": "module",
6
6
  "repository": {
package/src/protocol.ts CHANGED
@@ -145,7 +145,10 @@ function normalizeJsonValue(
145
145
  path: string,
146
146
  seen: WeakSet<object>,
147
147
  ): JsonValue {
148
- if (value === null || typeof value === "string" || typeof value === "boolean") {
148
+ if (value === null) {
149
+ return null;
150
+ }
151
+ if (typeof value === "string" || typeof value === "boolean") {
149
152
  return value;
150
153
  }
151
154
  if (typeof value === "number") {