@rematch/persist
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -40,4 +40,4 @@ 'use strict'; | ||
exports.default = persistPlugin; | ||
exports["default"] = persistPlugin; | ||
exports.getPersistor = getPersistor; | ||
//# sourceMappingURL=persist.cjs.development.js.map |
@@ -36,4 +36,3 @@ import { persistReducer, persistStore } from 'redux-persist'; | ||
export default persistPlugin; | ||
export { getPersistor }; | ||
export { persistPlugin as default, getPersistor }; | ||
//# sourceMappingURL=persist.esm.js.map |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('redux-persist')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'redux-persist'], factory) : | ||
(global = global || self, factory(global['@rematch/persist'] = {}, global.reduxPersist)); | ||
}(this, (function (exports, reduxPersist) { 'use strict'; | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@rematch/persist"] = {}, global.reduxPersist)); | ||
})(this, (function (exports, reduxPersist) { 'use strict'; | ||
@@ -40,3 +40,3 @@ var persistor; | ||
exports.default = persistPlugin; | ||
exports["default"] = persistPlugin; | ||
exports.getPersistor = getPersistor; | ||
@@ -46,3 +46,3 @@ | ||
}))); | ||
})); | ||
//# sourceMappingURL=persist.umd.development.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("redux-persist")):"function"==typeof define&&define.amd?define(["exports","redux-persist"],r):r((e=e||self)["@rematch/persist"]={},e.reduxPersist)}(this,(function(e,r){"use strict";var t;e.default=function(e,i,n,o){if(void 0===i&&(i={}),!e)throw new Error("persist plugin is missing config object");return{onReducer:function(e,t){var n=i[t];if(n)return r.persistReducer(n,e)},onRootReducer:function(t){return r.persistReducer(e,t)},onStoreCreated:function(e){t=r.persistStore(e,n,o)}}},e.getPersistor=function(){return t},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("redux-persist")):"function"==typeof define&&define.amd?define(["exports","redux-persist"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self)["@rematch/persist"]={},e.reduxPersist)}(this,(function(e,r){"use strict";var t;e.default=function(e,i,n,o){if(void 0===i&&(i={}),!e)throw new Error("persist plugin is missing config object");return{onReducer:function(e,t){var n=i[t];if(n)return r.persistReducer(n,e)},onRootReducer:function(t){return r.persistReducer(e,t)},onStoreCreated:function(e){t=r.persistStore(e,n,o)}}},e.getPersistor=function(){return t},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=persist.umd.production.min.js.map |
{ | ||
"name": "@rematch/persist", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"sideEffects": false, | ||
@@ -17,6 +17,6 @@ "description": "Redux-Persist v6 plugin for Rematch. Provides simple redux state persistence using local storage options.", | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build --format cjs,esm,umd --tsconfig ./tsconfig.build.json", | ||
"test": "tsdx test", | ||
"lint": "tsdx lint", | ||
"start": "dts watch", | ||
"build": "dts build --format cjs,esm,umd --tsconfig ./tsconfig.build.json", | ||
"test": "dts test", | ||
"lint": "dts lint", | ||
"clean": "rimraf dist" | ||
@@ -26,3 +26,4 @@ }, | ||
"dist", | ||
"src" | ||
"src", | ||
"README.md" | ||
], | ||
@@ -33,3 +34,3 @@ "dependencies": { | ||
"devDependencies": { | ||
"@rematch/core": "^2.1.0" | ||
"@rematch/core": "^2.1.1" | ||
}, | ||
@@ -53,3 +54,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "0f3d198961271397b86e31b8be94d6e7a9ed95b2" | ||
"gitHead": "1bba6cf12529d18819a03a9ab298412606364fbf" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28711
17
176