next-persist
Advanced tools
Comparing version 1.2.1-alpha.6 to 1.2.1-alpha.7
@@ -22,3 +22,3 @@ "use strict"; | ||
if (allowList.length === 0) { | ||
js_cookie_1.default.set(key, JSON.stringify(state)); | ||
js_cookie_1.default.set(key, JSON.stringify(state), { expires: 365 }); | ||
} | ||
@@ -25,0 +25,0 @@ else { |
{ | ||
"name": "next-persist", | ||
"version": "1.2.1-alpha.6", | ||
"description": "Bridging the gap between client-side persistence and server-side rendering", | ||
"version": "1.2.1-alpha.7", | ||
"description": "Client-side persistence with server-side rendering", | ||
"main": "lib/index.js", | ||
@@ -19,4 +19,6 @@ "scripts": { | ||
"react", | ||
"redux", | ||
"persist", | ||
"localStorage", | ||
"cookies", | ||
"client-side rendering", | ||
@@ -23,0 +25,0 @@ "server-side rendering" |
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
21911