react-cookie
Advanced tools
Comparing version 2.1.6 to 2.1.7
@@ -6,2 +6,9 @@ import * as React from 'react'; | ||
export class Cookies { | ||
constructor( | ||
cookieHeader?: string | object | null, | ||
hooks?: { | ||
onSet: (name: string, value: string, options?: ReactCookieSetOptions) => void; | ||
onRemove: (name: string, options?: ReactCookieRemoveOptions) => void; | ||
}, | ||
); | ||
get: (key: string, options?: ReactCookieGetOptions) => Cookie | undefined; | ||
@@ -8,0 +15,0 @@ getAll: (options?: ReactCookieGetAllOptions) => Cookie[]; |
{ | ||
"name": "react-cookie", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "Universal cookies for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
14535
162