@statezero/core 0.1.12 → 0.1.13

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.
@@ -68,12 +68,6 @@ export class Model {
68
68
  this.instanceCache.set(key, instance);
69
69
  }
70
70
  const cachedInstance = this.instanceCache.get(key);
71
- // If cached instance is dirty, return a fresh instance instead
72
- if (cachedInstance._isDirty) {
73
- const freshInstance = new this();
74
- freshInstance.pk = pk;
75
- return freshInstance;
76
- }
77
71
  return cachedInstance;
78
72
  }
79
73
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statezero/core",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
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",