@scaleway/cookie-consent
Advanced tools
Comparing version 2.0.2 to 2.0.3
# @scaleway/cookie-consent | ||
## 2.0.3 | ||
### Patch Changes | ||
- [#2239](https://github.com/scaleway/scaleway-lib/pull/2239) [`aca0b2c`](https://github.com/scaleway/scaleway-lib/commit/aca0b2ccb4ed16fa2525f7d1774bade44f26b9c2) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `cookie` to `0.7.2`. | ||
- [#2247](https://github.com/scaleway/scaleway-lib/pull/2247) [`67691c8`](https://github.com/scaleway/scaleway-lib/commit/67691c8634c1eae3d44d5a1acc86cafbd87510ce) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `cookie` to `1.0.1`. | ||
- Updated dependencies [[`44b6bcb`](https://github.com/scaleway/scaleway-lib/commit/44b6bcb6985c7f432f3a06ae0996a7c7a894161f), [`9ccc11b`](https://github.com/scaleway/scaleway-lib/commit/9ccc11b87dfb792f19405cb41d8d166cd735f71e)]: | ||
- @scaleway/use-segment@1.1.5 | ||
## 2.0.2 | ||
@@ -4,0 +15,0 @@ |
@@ -1,2 +0,2 @@ | ||
import type { CookieSerializeOptions } from 'cookie'; | ||
import type { SerializeOptions } from 'cookie'; | ||
import type { PropsWithChildren } from 'react'; | ||
@@ -21,4 +21,4 @@ import type { Config, Consent, Integrations } from './types'; | ||
consentAdvertisingMaxAge?: number; | ||
cookiesOptions?: CookieSerializeOptions; | ||
cookiesOptions?: SerializeOptions; | ||
}>) => import("react").JSX.Element; | ||
export {}; |
export declare const categories: readonly ["essential", "functional", "marketing", "analytics", "advertising"]; | ||
export type CategoryKind = (typeof categories)[number]; | ||
export declare const isCategoryKind: (key: string) => key is "essential" | "functional" | "marketing" | "analytics" | "advertising"; | ||
export declare const isCategoryKind: (key: string) => key is CategoryKind; |
{ | ||
"name": "@scaleway/cookie-consent", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "React provider to handle website end user consent cookie storage based on segment integrations", | ||
@@ -34,3 +34,3 @@ "main": "./dist/index.cjs", | ||
"dependencies": { | ||
"cookie": "0.6.0" | ||
"cookie": "1.0.1" | ||
}, | ||
@@ -40,7 +40,7 @@ "devDependencies": { | ||
"react": "18.3.1", | ||
"@scaleway/use-segment": "1.1.1" | ||
"@scaleway/use-segment": "1.1.5" | ||
}, | ||
"peerDependencies": { | ||
"react": "18.x || 18", | ||
"@scaleway/use-segment": "^1.1.1" | ||
"@scaleway/use-segment": "^1.1.5" | ||
}, | ||
@@ -47,0 +47,0 @@ "scripts": { |
39612
+ Addedcookie@1.0.1(transitive)
- Removedcookie@0.6.0(transitive)
Updatedcookie@1.0.1