@kitr/storage 0.2.1 → 0.3.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/docs/index.md +2 -2
- package/package.json +3 -3
package/docs/index.md
CHANGED
|
@@ -751,7 +751,7 @@ Most native stores are async. `createAsyncStorageDriver` wraps one: `load` fills
|
|
|
751
751
|
|
|
752
752
|
```ts
|
|
753
753
|
// app/providers/idb-storage.ts
|
|
754
|
-
import { defineProvider } from 'kitr/app'
|
|
754
|
+
import { defineProvider } from '@kitr/kitr/app'
|
|
755
755
|
import { createAsyncStorageDriver } from '@kitr/storage'
|
|
756
756
|
import { createStore, del, entries, set } from 'idb-keyval'
|
|
757
757
|
|
|
@@ -781,7 +781,7 @@ Register it in `kitrrc.ts`; its place in the list does not matter:
|
|
|
781
781
|
|
|
782
782
|
```ts
|
|
783
783
|
// kitrrc.ts
|
|
784
|
-
import { defineKitrConfig } from 'kitr/app'
|
|
784
|
+
import { defineKitrConfig } from '@kitr/kitr/app'
|
|
785
785
|
|
|
786
786
|
export default defineKitrConfig({
|
|
787
787
|
providers: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitr/storage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "@kitr/storage: typed localStorage/sessionStorage items and cookies with one API on the client and the server; SSR-safe React hooks.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kitr",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"docs"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@kitr/core": "0.
|
|
50
|
+
"@kitr/core": "0.3.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": ">=18.0.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"h3": "^2.0.8",
|
|
70
70
|
"@types/node": "^22.19.0",
|
|
71
71
|
"react-dom": "^19.3.1",
|
|
72
|
-
"@kitr/devtools": "0.
|
|
72
|
+
"@kitr/devtools": "0.3.0"
|
|
73
73
|
},
|
|
74
74
|
"kitr": {
|
|
75
75
|
"name": "storage",
|