@statezero/core 0.1.87 → 0.1.89

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.
@@ -23,7 +23,8 @@ export function createTempPk(uuid) {
23
23
  */
24
24
  export function setRealPk(uuid, realPk) {
25
25
  const key = `"TempPK_${uuid}"`;
26
- tempPkMap.set(key, realPk);
26
+ const value = typeof realPk === 'string' ? `"${realPk}"` : String(realPk);
27
+ tempPkMap.set(key, value);
27
28
  }
28
29
  /**
29
30
  * Replace all temporary PKs in an object (or string) with their real values
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statezero/core",
3
- "version": "0.1.87",
3
+ "version": "0.1.89",
4
4
  "type": "module",
5
5
  "module": "ESNext",
6
6
  "description": "The type-safe frontend client for StateZero - connect directly to your backend models with zero boilerplate",