@shopify/react-cookie
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -16,3 +16,5 @@ "use strict"; | ||
} | ||
var _a = tslib_1.__read(react_1.useState(function () { return (manager ? manager.getCookie(key) : undefined); }), 2), cookie = _a[0], setCookieValue = _a[1]; | ||
var _a = tslib_1.__read(react_1.useState(function () { | ||
return manager ? manager.getCookie(key) : undefined; | ||
}), 2), cookie = _a[0], setCookieValue = _a[1]; | ||
var setCookie = react_1.useCallback(function (value, options) { | ||
@@ -19,0 +21,0 @@ if (!value) { |
{ | ||
"name": "@shopify/react-cookie", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"license": "MIT", | ||
@@ -27,6 +27,6 @@ "description": "Cookies in React for the server and client", | ||
"dependencies": { | ||
"@shopify/react-effect": "^3.2.4", | ||
"@shopify/react-hooks": "^1.2.4", | ||
"@shopify/react-html": "^9.2.4", | ||
"@shopify/react-network": "^3.3.2", | ||
"@shopify/react-effect": "^3.2.5", | ||
"@shopify/react-hooks": "^1.2.5", | ||
"@shopify/react-html": "^9.2.5", | ||
"@shopify/react-network": "^3.3.3", | ||
"cookie": "^0.4.0", | ||
@@ -33,0 +33,0 @@ "tslib": "^1.9.3" |
13941
217
Updated@shopify/react-effect@^3.2.5
Updated@shopify/react-hooks@^1.2.5
Updated@shopify/react-html@^9.2.5