@esmx/class-state 3.0.0-rc.78 → 3.0.0-rc.79

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/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
+ export { connectState, foreignStore, LIFE_CYCLE_CREATED, LIFE_CYCLE_DISPOSE, type StoreConstructor, type StoreContext, type StoreInstance, type StoreParams } from './connect';
1
2
  export { createState, type State } from './create';
2
- export { connectState, foreignStore, type StoreConstructor, type StoreContext, type StoreInstance, type StoreParams, LIFE_CYCLE_CREATED, LIFE_CYCLE_DISPOSE } from './connect';
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { createState } from "./create.mjs";
2
1
  export {
3
2
  connectState,
4
3
  foreignStore,
5
4
  LIFE_CYCLE_CREATED,
6
5
  LIFE_CYCLE_DISPOSE
7
6
  } from "./connect.mjs";
7
+ export { createState } from "./create.mjs";
package/package.json CHANGED
@@ -32,8 +32,8 @@
32
32
  "immer": "^10.1.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@biomejs/biome": "1.9.4",
36
- "@types/node": "^24.10.0",
35
+ "@biomejs/biome": "2.3.7",
36
+ "@types/node": "^24.0.0",
37
37
  "@vitest/coverage-v8": "3.2.4",
38
38
  "@vue/compiler-dom": "^3.5.23",
39
39
  "typescript": "5.9.3",
@@ -41,7 +41,7 @@
41
41
  "vitest": "3.2.4",
42
42
  "vue": "^3.5.23"
43
43
  },
44
- "version": "3.0.0-rc.78",
44
+ "version": "3.0.0-rc.79",
45
45
  "type": "module",
46
46
  "private": false,
47
47
  "exports": {
@@ -60,5 +60,5 @@
60
60
  "template",
61
61
  "public"
62
62
  ],
63
- "gitHead": "aa44e33ab3e05817977c0fda6148abff8351651f"
63
+ "gitHead": "29c95da5062140daffe10ba135ba66bae6e65fc6"
64
64
  }
package/src/connect.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @typescript-eslint/no-this-alias */
2
2
  import { produce } from 'immer';
3
3
 
4
- import { type State, type StateContext, getStateContext } from './create';
4
+ import { getStateContext, type State, type StateContext } from './create';
5
5
  export type StoreParams = Record<string, any>;
6
6
  export type StoreConstructor = new (cacheKey?: string) => any;
7
7
 
package/src/index.ts CHANGED
@@ -1,11 +1,11 @@
1
- export { createState, type State } from './create';
2
1
  export {
3
2
  connectState,
4
3
  foreignStore,
4
+ LIFE_CYCLE_CREATED,
5
+ LIFE_CYCLE_DISPOSE,
5
6
  type StoreConstructor,
6
7
  type StoreContext,
7
8
  type StoreInstance,
8
- type StoreParams,
9
- LIFE_CYCLE_CREATED,
10
- LIFE_CYCLE_DISPOSE
9
+ type StoreParams
11
10
  } from './connect';
11
+ export { createState, type State } from './create';