@rematch/persist
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -6,2 +6,14 @@ # Change Log | ||
# [2.1.0](https://github.com/rematch/rematch/compare/@rematch/persist@2.0.1...@rematch/persist@2.1.0) (2021-08-13) | ||
### Bug Fixes | ||
* build to modules to .mjs instead of .js and sideEffects: false for better treeshaking ([c2978f3](https://github.com/rematch/rematch/commit/c2978f3087f8283249f69b60c569720e56091c36)) | ||
* updated peerDependencies ([#898](https://github.com/rematch/rematch/issues/898)) ([3013605](https://github.com/rematch/rematch/commit/30136054a9c7d2f1b4215e66e2e4065314f841eb)) | ||
## [2.0.1](https://github.com/rematch/rematch/compare/@rematch/persist@2.0.0...@rematch/persist@2.0.1) (2021-02-23) | ||
@@ -8,0 +20,0 @@ |
@@ -10,4 +10,4 @@ import { Plugin, Models } from '@rematch/core'; | ||
}; | ||
declare const persistPlugin: <S, TModels extends Models<TModels>, TExtraModels extends Models<TModels> = Record<string, any>>(persistConfig: PersistConfig<S, any, any, any>, nestedPersistConfig?: NestedPersist<TModels>, persistStoreConfig?: (PersistorOptions & PersistorStoreOptionsNotExposed) | undefined, callback?: (() => void) | undefined) => Plugin<TModels, TExtraModels, Partial<TExtraModels>>; | ||
declare const persistPlugin: <S, TModels extends Models<TModels>, TExtraModels extends Models<TModels> = Record<string, never>>(persistConfig: PersistConfig<S, any, any, any>, nestedPersistConfig?: NestedPersist<TModels>, persistStoreConfig?: (PersistorOptions & PersistorStoreOptionsNotExposed) | undefined, callback?: (() => void) | undefined) => Plugin<TModels, TExtraModels, Partial<TExtraModels>>; | ||
export default persistPlugin; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -8,3 +8,3 @@ <div align="center"> | ||
[](https://rematchjs.slack.com)  [](https://img.shields.io/badge/bundlesize-~5kb-brightgreen.svg?style=flat-square) [](https://img.shields.io/badge/dependencies-redux-brightgreen.svg?style=flat-square) [](https://lerna.js.org/) [](https://lgtm.com/projects/g/rematch/rematch?mode=list) [](https://gitpod.io/from-referrer/) | ||
[](https://discord.gg/zMzsMGvEHk)  [](https://img.shields.io/badge/bundlesize-~5kb-brightgreen.svg?style=flat-square) [](https://img.shields.io/badge/dependencies-redux-brightgreen.svg?style=flat-square) [](https://lerna.js.org/) [](https://lgtm.com/projects/g/rematch/rematch?mode=list) [](https://gitpod.io/from-referrer/) | ||
@@ -11,0 +11,0 @@ |
{ | ||
"name": "@rematch/persist", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"sideEffects": false, | ||
"description": "Redux-Persist v6 plugin for Rematch. Provides simple redux state persistence using local storage options.", | ||
"homepage": "https://rematch.github.io/rematch", | ||
"homepage": "https://rematchjs.org", | ||
"main": "dist/index.js", | ||
@@ -30,13 +31,8 @@ "module": "dist/persist.esm.js", | ||
"devDependencies": { | ||
"@rematch/core": "^2.0.1" | ||
"@rematch/core": "^2.1.0" | ||
}, | ||
"peerDependencies": { | ||
"@rematch/core": "^2.0.0", | ||
"redux": "^4.0.5" | ||
"@rematch/core": ">=2", | ||
"redux": ">=4" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "yarn lint" | ||
} | ||
}, | ||
"author": "Shawn McKay <shawn.j.mckay@gmail.com>", | ||
@@ -55,3 +51,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "e123bb5976bcc1ef7f178c2b685bed9805d80cda" | ||
"gitHead": "0f3d198961271397b86e31b8be94d6e7a9ed95b2" | ||
} |
@@ -28,3 +28,3 @@ import { Plugin, Models } from '@rematch/core' | ||
TModels extends Models<TModels>, | ||
TExtraModels extends Models<TModels> = Record<string, any> | ||
TExtraModels extends Models<TModels> = Record<string, never> | ||
>( | ||
@@ -31,0 +31,0 @@ persistConfig: PersistConfig<S>, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32172