@weser/storage 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # @weser/storage
2
2
 
3
- [Documentation](https://packages.weser.io/storage)
3
+ [Documentation](https://stack.weser.io/storage)
@@ -0,0 +1 @@
1
+ {"root":["../src/createindexedstorage.ts","../src/index.ts","../src/useindexedstorage.ts","../src/uselocalstorage.ts","../src/usesessionstorage.ts","../src/usestorage.ts"],"version":"5.9.3"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { Config } from './useStorage.js';
3
2
  export default function useIndexedStorage<T>(database: string, table: string, key: string, initialState: T, config?: Config<T>): [T, import("react").Dispatch<import("react").SetStateAction<T>>, boolean];
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { Config } from './useStorage';
3
2
  export default function useLocalStorage<T = any>(key: string, initialState: T, config?: Config<T>): [T, import("react").Dispatch<import("react").SetStateAction<T>>, boolean];
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { Config } from './useStorage';
3
2
  export default function useSessionStorage<T = any>(key: string, initialState: T, config?: Config<T>): [T, import("react").Dispatch<import("react").SetStateAction<T>>, boolean];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weser/storage",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Utils and React hooks for working with persisted state",
5
5
  "author": "Robin Weser <robin@weser.io>",
6
6
  "license": "MIT",
@@ -60,5 +60,5 @@
60
60
  "rimraf": "^3.0.2",
61
61
  "typescript": "^5.4.5"
62
62
  },
63
- "gitHead": "afc0628ca4aeaba255eef9716652640fdc5b50c4"
63
+ "gitHead": "490b5b37e8da7f0cac2880543874914c6f6be5d6"
64
64
  }