floppy-disk 3.2.0-beta.1 → 3.2.0
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/esm/index.d.mts +1 -1
- package/esm/react/create-mutation.d.mts +1 -1
- package/esm/react/create-query.d.mts +1 -1
- package/esm/react/create-store.d.mts +1 -1
- package/esm/react/create-stores.d.mts +1 -1
- package/esm/react/use-mutation.d.mts +1 -1
- package/esm/react/use-store.d.mts +1 -1
- package/esm/react.d.mts +7 -7
- package/esm/vanilla.d.mts +3 -3
- package/package.json +3 -5
package/esm/index.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./vanilla.
|
|
1
|
+
export * from "./vanilla.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoreApi } from "../vanilla.
|
|
1
|
+
import { type StoreApi } from "../vanilla.mjs";
|
|
2
2
|
type Path = Array<string | number | symbol>;
|
|
3
3
|
export declare const getValueByPath: (obj: any, path: Path) => any;
|
|
4
4
|
export declare const isPrefixPath: (candidatePrefix: Path, targetPath: Path) => boolean;
|
package/esm/react.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./react/use-isomorphic-layout-effect.
|
|
2
|
-
export { useStoreState } from "./react/use-store.
|
|
3
|
-
export * from "./react/create-store.
|
|
4
|
-
export * from "./react/create-stores.
|
|
5
|
-
export * from "./react/create-query.
|
|
6
|
-
export { createMutation, type MutationOptions, type MutationState, } from "./react/create-mutation.
|
|
7
|
-
export * from "./react/use-mutation.
|
|
1
|
+
export * from "./react/use-isomorphic-layout-effect.mjs";
|
|
2
|
+
export { useStoreState } from "./react/use-store.mjs";
|
|
3
|
+
export * from "./react/create-store.mjs";
|
|
4
|
+
export * from "./react/create-stores.mjs";
|
|
5
|
+
export * from "./react/create-query.mjs";
|
|
6
|
+
export { createMutation, type MutationOptions, type MutationState, } from "./react/create-mutation.mjs";
|
|
7
|
+
export * from "./react/use-mutation.mjs";
|
package/esm/vanilla.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./vanilla/basic.
|
|
2
|
-
export * from "./vanilla/hash.
|
|
3
|
-
export * from "./vanilla/store.
|
|
1
|
+
export * from "./vanilla/basic.mjs";
|
|
2
|
+
export * from "./vanilla/hash.mjs";
|
|
3
|
+
export * from "./vanilla/store.mjs";
|
package/package.json
CHANGED
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
"name": "floppy-disk",
|
|
3
3
|
"description": "Lightweight unified state management for sync and async data.",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "3.2.0
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"tag": "beta"
|
|
8
|
-
},
|
|
5
|
+
"version": "3.2.0",
|
|
9
6
|
"keywords": [
|
|
10
7
|
"utilities",
|
|
11
8
|
"store",
|
|
@@ -71,6 +68,7 @@
|
|
|
71
68
|
}
|
|
72
69
|
}
|
|
73
70
|
},
|
|
71
|
+
"packageManager": "pnpm@10.32.1",
|
|
74
72
|
"peerDependencies": {
|
|
75
73
|
"@types/react": ">=17.0",
|
|
76
74
|
"react": ">=17.0"
|
|
@@ -83,4 +81,4 @@
|
|
|
83
81
|
"optional": true
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
|
-
}
|
|
84
|
+
}
|