@shopify/react-cookie
Advanced tools
Comparing version 2.0.12 to 2.0.13
@@ -1,2 +0,2 @@ | ||
import { CookieValue, Cookie } from './types'; | ||
import type { CookieValue, Cookie } from './types'; | ||
export { CookieContext } from './context'; | ||
@@ -3,0 +3,0 @@ export declare class BrowserCookieManager { |
import React from 'react'; | ||
import { CookieManager } from './types'; | ||
import type { CookieManager } from './types'; | ||
export declare const CookieContext: React.Context<CookieManager | null>; | ||
//# sourceMappingURL=context.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { CookieSerializeOptions } from 'cookie'; | ||
import type { CookieSerializeOptions } from 'cookie'; | ||
export declare function useCookie(key: string): [ | ||
@@ -3,0 +3,0 @@ string | undefined, |
@@ -1,2 +0,2 @@ | ||
import { CookieSerializeOptions } from 'cookie'; | ||
import type { CookieSerializeOptions } from 'cookie'; | ||
export type { CookieSerializeOptions }; | ||
@@ -3,0 +3,0 @@ export type CookieValue = { |
import { BrowserCookieManager } from './BrowserCookieManager'; | ||
import { Cookie } from './types'; | ||
import type { Cookie } from './types'; | ||
export declare function clearCookies(): BrowserCookieManager; | ||
@@ -4,0 +4,0 @@ export declare function createCookies(initialCookies?: Cookie): BrowserCookieManager; |
{ | ||
"name": "@shopify/react-cookie", | ||
"version": "2.0.12", | ||
"version": "2.0.13", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "description": "Cookies in React for the server and client", | ||
"@shopify/react-hooks": "^3.0.3", | ||
"@shopify/react-network": "^5.0.12", | ||
"@shopify/react-network": "^5.0.13", | ||
"cookie": "^0.4.0" | ||
@@ -31,0 +31,0 @@ }, |
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
23529