Releases: Haberkamp/typed-storage
Releases · Haberkamp/typed-storage
@typed-storage/[email protected]
Minor Changes
-
72b60c3: add light-weight wrapper around localStorage
The
defineStoragefunction now returns astorageproperty that allows you to call
the localStorage API directly. You can use that when you want to access the localStorage
outside of the React context.const { storage } = defineStorage({ foo: z.string(), }) storage.set("foo", "bar")
@typed-storage/[email protected]
Minor Changes
- 0357767: Add
@typed-storage/corepackage
@typed-storage/[email protected]
Patch Changes
- 16913bd: Include typescript definitions
@typed-storage/[email protected]
@typed-storage/[email protected]
@typed-storage/[email protected]
Minor Changes
- 05c9e8f: add
useStoragehook