@zag-js/store 0.2.7 → 0.2.8

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.
@@ -177,9 +177,12 @@ var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =>
177
177
  });
178
178
  return proxyObject;
179
179
  }) => [
180
+ // public functions
180
181
  proxyFunction2,
182
+ // shared state
181
183
  proxyStateMap,
182
184
  refSet,
185
+ // internal things
183
186
  objectIs,
184
187
  newProxy,
185
188
  canProxy,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  snapshot,
3
3
  subscribe
4
- } from "./chunk-IZUCVUA7.mjs";
4
+ } from "./chunk-4HNO6REI.mjs";
5
5
 
6
6
  // src/subscribe-key.ts
7
7
  var defaultCompareFn = (prev, next) => Object.is(prev, next);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  proxy,
3
3
  snapshot
4
- } from "./chunk-IZUCVUA7.mjs";
4
+ } from "./chunk-4HNO6REI.mjs";
5
5
 
6
6
  // src/proxy-computed.ts
7
7
  function proxyWithComputed(initialObject, computedFns) {
package/dist/index.js CHANGED
@@ -208,9 +208,12 @@ var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =>
208
208
  });
209
209
  return proxyObject;
210
210
  }) => [
211
+ // public functions
211
212
  proxyFunction2,
213
+ // shared state
212
214
  proxyStateMap,
213
215
  refSet,
216
+ // internal things
214
217
  objectIs,
215
218
  newProxy,
216
219
  canProxy,
package/dist/index.mjs CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  proxyWithComputed
3
- } from "./chunk-FECYIICX.mjs";
3
+ } from "./chunk-LQKXSU6I.mjs";
4
4
  import {
5
5
  subscribeKey
6
- } from "./chunk-M4FNURAS.mjs";
6
+ } from "./chunk-GKQGATOG.mjs";
7
7
  import {
8
8
  proxy,
9
9
  ref,
10
10
  snapshot,
11
11
  subscribe
12
- } from "./chunk-IZUCVUA7.mjs";
12
+ } from "./chunk-4HNO6REI.mjs";
13
13
  export {
14
14
  proxy,
15
15
  proxyWithComputed,
@@ -203,9 +203,12 @@ var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =>
203
203
  });
204
204
  return proxyObject;
205
205
  }) => [
206
+ // public functions
206
207
  proxyFunction2,
208
+ // shared state
207
209
  proxyStateMap,
208
210
  refSet,
211
+ // internal things
209
212
  objectIs,
210
213
  newProxy,
211
214
  canProxy,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  proxyWithComputed
3
- } from "./chunk-FECYIICX.mjs";
4
- import "./chunk-IZUCVUA7.mjs";
3
+ } from "./chunk-LQKXSU6I.mjs";
4
+ import "./chunk-4HNO6REI.mjs";
5
5
  export {
6
6
  proxyWithComputed
7
7
  };
package/dist/proxy.js CHANGED
@@ -205,9 +205,12 @@ var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =>
205
205
  });
206
206
  return proxyObject;
207
207
  }) => [
208
+ // public functions
208
209
  proxyFunction2,
210
+ // shared state
209
211
  proxyStateMap,
210
212
  refSet,
213
+ // internal things
211
214
  objectIs,
212
215
  newProxy,
213
216
  canProxy,
package/dist/proxy.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  ref,
5
5
  snapshot,
6
6
  subscribe
7
- } from "./chunk-IZUCVUA7.mjs";
7
+ } from "./chunk-4HNO6REI.mjs";
8
8
  export {
9
9
  getVersion,
10
10
  proxy,
@@ -203,9 +203,12 @@ var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =>
203
203
  });
204
204
  return proxyObject;
205
205
  }) => [
206
+ // public functions
206
207
  proxyFunction2,
208
+ // shared state
207
209
  proxyStateMap,
208
210
  refSet,
211
+ // internal things
209
212
  objectIs,
210
213
  newProxy,
211
214
  canProxy,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  subscribeKey
3
- } from "./chunk-M4FNURAS.mjs";
4
- import "./chunk-IZUCVUA7.mjs";
3
+ } from "./chunk-GKQGATOG.mjs";
4
+ import "./chunk-4HNO6REI.mjs";
5
5
  export {
6
6
  subscribeKey
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/store",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "The reactive store package for zag machines",
5
5
  "keywords": [
6
6
  "js",
@@ -23,7 +23,7 @@
23
23
  "url": "https://github.com/chakra-ui/zag/issues"
24
24
  },
25
25
  "dependencies": {
26
- "proxy-compare": "2.4.0"
26
+ "proxy-compare": "2.5.0"
27
27
  },
28
28
  "clean-package": "../../clean-package.config.json",
29
29
  "main": "dist/index.js",