@britannica/cam-utils
Advanced tools
Comparing version 5.0.0-beta.7 to 5.0.0-beta.8
import type { CookieSerializeOptions } from 'cookie'; | ||
type Origin = `${'https' | 'http'}://${string}`; | ||
export type GetCookie = (name: CAMCookie) => string | undefined; | ||
@@ -16,3 +15,3 @@ export type GetAllCookies = () => Record<string, string>; | ||
environment?: Environment; | ||
origin?: Origin; | ||
origin?: string; | ||
}; | ||
@@ -56,3 +55,3 @@ export type PoolConfiguration = { | ||
constructor({ cookies, cookieOptions, environment, origin, }: CAMUtilsClientOptions); | ||
set origin(origin: Origin); | ||
set origin(origin: string); | ||
getCookie: GetCookie; | ||
@@ -78,4 +77,3 @@ setCookie: SetCookie; | ||
*/ | ||
static parseCookieDomain(origin: Origin): string; | ||
static parseCookieDomain(origin: string): string; | ||
} | ||
export {}; |
{ | ||
"name": "@britannica/cam-utils", | ||
"version": "5.0.0-beta.7", | ||
"version": "5.0.0-beta.8", | ||
"description": "Consumer Account Management (CAM) auth configuration and utilities", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/britannica/cam-utils.git", |
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
60621
573