@feelflow/ffid-sdk 5.16.1 → 5.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FFIDCookieLink-DrF5UXkd.d.cts → FFIDCookieLink-BJgVcJyw.d.cts} +16 -1
- package/dist/{FFIDCookieLink-DrF5UXkd.d.ts → FFIDCookieLink-BJgVcJyw.d.ts} +16 -1
- package/dist/{chunk-HAR75DTJ.js → chunk-G7VOX64X.js} +2 -0
- package/dist/{chunk-H2D52XCL.cjs → chunk-H5O2CCAY.cjs} +2 -0
- package/dist/{chunk-SNSIVY3Q.cjs → chunk-HBPYSPBY.cjs} +17 -6
- package/dist/{chunk-XT4BAOKZ.js → chunk-HLCHSKAF.js} +17 -6
- package/dist/components/index.cjs +8 -8
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/consent/index.cjs +64 -64
- package/dist/consent/index.d.cts +2 -2
- package/dist/consent/index.d.ts +2 -2
- package/dist/consent/index.js +1 -1
- package/dist/{ffid-client-9-lh0G_h.d.ts → ffid-client-BtS84epg.d.ts} +28 -1
- package/dist/{ffid-client-CKFxY60u.d.cts → ffid-client-DZEK3tkP.d.cts} +28 -1
- package/dist/{index-CsVJTuPv.d.cts → index-CG0vObax.d.cts} +14 -1
- package/dist/{index-CsVJTuPv.d.ts → index-CG0vObax.d.ts} +14 -1
- package/dist/index.cjs +62 -62
- package/dist/index.d.cts +48 -5
- package/dist/index.d.ts +48 -5
- package/dist/index.js +3 -3
- package/dist/server/index.cjs +14 -6
- package/dist/server/index.d.cts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +14 -6
- package/dist/server/test/index.d.cts +1 -1
- package/dist/server/test/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/consent/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FFIDConsentResult, a as FFIDConsentState, b as FFIDConsentUpdate, c as FFIDConsentCategories, d as FFIDConsentSyncResult, e as FFIDConsentCategoryMetadata, f as FFIDCookiePolicy, P as PostConsentWire, G as GetConsentMeWire, g as PostSyncWire, h as PostWithdrawWire } from '../FFIDCookieLink-
|
|
2
|
-
export { A as ALL_DENIED_EXCEPT_NECESSARY, C as CONSENT_COOKIE_MAX_AGE_SEC, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, k as CONSENT_SESSION_STORAGE_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, m as DEFAULT_MERGE_WARNING_MESSAGES, n as DeviceIdSchema, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, q as FFIDConsentCategoriesSchema, r as FFIDConsentCategoryCode, s as FFIDConsentCategoryCodeSchema, t as FFIDConsentCategoryMetadataSchema, u as FFIDConsentContext, v as FFIDConsentContextValue, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, z as FFIDConsentMergeStrategySchema, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, H as FFIDConsentMergeWarningSchema, I as FFIDConsentSource, J as FFIDConsentSourceSchema, K as FFIDConsentStateSchema, L as FFIDConsentUpdateSchema, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, S as FFIDCookiePolicySchema, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, W as FFIDInternalConsentSource, X as FFIDInternalConsentSourceSchema, Y as FFIDPublicConsentSource, Z as FFIDPublicConsentSourceSchema, _ as FFID_CONSENT_ERROR_CODES, $ as FFID_CONSENT_NOT_DECIDED_STATE, a0 as GetCategoriesWire, a1 as GetCategoriesWireSchema, a2 as GetConsentMeWireSchema, a3 as GetDocumentWire, a4 as GetDocumentWireSchema, a5 as GtagBridge, a6 as GtagBridgeOptions, a7 as PostConsentRequest, a8 as PostConsentRequestSchema, a9 as PostConsentWireSchema, aa as PostSyncRequest, ab as PostSyncRequestSchema, ac as PostSyncWireSchema, ad as PostWithdrawWireSchema, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, ah as clearConsentSessionMirror, ai as createGtagBridge, aj as decodeConsentCookie, ak as deleteConsentCookie, al as encodeConsentCookie, am as mapCategoriesToGtagParams, an as readConsentCookie, ao as readConsentDismissalTimestamp, ap as readConsentSessionMirror, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp, au as writeConsentSessionMirror } from '../FFIDCookieLink-
|
|
1
|
+
import { F as FFIDConsentResult, a as FFIDConsentState, b as FFIDConsentUpdate, c as FFIDConsentCategories, d as FFIDConsentSyncResult, e as FFIDConsentCategoryMetadata, f as FFIDCookiePolicy, P as PostConsentWire, G as GetConsentMeWire, g as PostSyncWire, h as PostWithdrawWire } from '../FFIDCookieLink-BJgVcJyw.cjs';
|
|
2
|
+
export { A as ALL_DENIED_EXCEPT_NECESSARY, C as CONSENT_COOKIE_MAX_AGE_SEC, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, k as CONSENT_SESSION_STORAGE_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, m as DEFAULT_MERGE_WARNING_MESSAGES, n as DeviceIdSchema, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, q as FFIDConsentCategoriesSchema, r as FFIDConsentCategoryCode, s as FFIDConsentCategoryCodeSchema, t as FFIDConsentCategoryMetadataSchema, u as FFIDConsentContext, v as FFIDConsentContextValue, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, z as FFIDConsentMergeStrategySchema, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, H as FFIDConsentMergeWarningSchema, I as FFIDConsentSource, J as FFIDConsentSourceSchema, K as FFIDConsentStateSchema, L as FFIDConsentUpdateSchema, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, S as FFIDCookiePolicySchema, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, W as FFIDInternalConsentSource, X as FFIDInternalConsentSourceSchema, Y as FFIDPublicConsentSource, Z as FFIDPublicConsentSourceSchema, _ as FFID_CONSENT_ERROR_CODES, $ as FFID_CONSENT_NOT_DECIDED_STATE, a0 as GetCategoriesWire, a1 as GetCategoriesWireSchema, a2 as GetConsentMeWireSchema, a3 as GetDocumentWire, a4 as GetDocumentWireSchema, a5 as GtagBridge, a6 as GtagBridgeOptions, a7 as PostConsentRequest, a8 as PostConsentRequestSchema, a9 as PostConsentWireSchema, aa as PostSyncRequest, ab as PostSyncRequestSchema, ac as PostSyncWireSchema, ad as PostWithdrawWireSchema, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, ah as clearConsentSessionMirror, ai as createGtagBridge, aj as decodeConsentCookie, ak as deleteConsentCookie, al as encodeConsentCookie, am as mapCategoriesToGtagParams, an as readConsentCookie, ao as readConsentDismissalTimestamp, ap as readConsentSessionMirror, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp, au as writeConsentSessionMirror } from '../FFIDCookieLink-BJgVcJyw.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/consent/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FFIDConsentResult, a as FFIDConsentState, b as FFIDConsentUpdate, c as FFIDConsentCategories, d as FFIDConsentSyncResult, e as FFIDConsentCategoryMetadata, f as FFIDCookiePolicy, P as PostConsentWire, G as GetConsentMeWire, g as PostSyncWire, h as PostWithdrawWire } from '../FFIDCookieLink-
|
|
2
|
-
export { A as ALL_DENIED_EXCEPT_NECESSARY, C as CONSENT_COOKIE_MAX_AGE_SEC, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, k as CONSENT_SESSION_STORAGE_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, m as DEFAULT_MERGE_WARNING_MESSAGES, n as DeviceIdSchema, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, q as FFIDConsentCategoriesSchema, r as FFIDConsentCategoryCode, s as FFIDConsentCategoryCodeSchema, t as FFIDConsentCategoryMetadataSchema, u as FFIDConsentContext, v as FFIDConsentContextValue, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, z as FFIDConsentMergeStrategySchema, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, H as FFIDConsentMergeWarningSchema, I as FFIDConsentSource, J as FFIDConsentSourceSchema, K as FFIDConsentStateSchema, L as FFIDConsentUpdateSchema, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, S as FFIDCookiePolicySchema, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, W as FFIDInternalConsentSource, X as FFIDInternalConsentSourceSchema, Y as FFIDPublicConsentSource, Z as FFIDPublicConsentSourceSchema, _ as FFID_CONSENT_ERROR_CODES, $ as FFID_CONSENT_NOT_DECIDED_STATE, a0 as GetCategoriesWire, a1 as GetCategoriesWireSchema, a2 as GetConsentMeWireSchema, a3 as GetDocumentWire, a4 as GetDocumentWireSchema, a5 as GtagBridge, a6 as GtagBridgeOptions, a7 as PostConsentRequest, a8 as PostConsentRequestSchema, a9 as PostConsentWireSchema, aa as PostSyncRequest, ab as PostSyncRequestSchema, ac as PostSyncWireSchema, ad as PostWithdrawWireSchema, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, ah as clearConsentSessionMirror, ai as createGtagBridge, aj as decodeConsentCookie, ak as deleteConsentCookie, al as encodeConsentCookie, am as mapCategoriesToGtagParams, an as readConsentCookie, ao as readConsentDismissalTimestamp, ap as readConsentSessionMirror, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp, au as writeConsentSessionMirror } from '../FFIDCookieLink-
|
|
1
|
+
import { F as FFIDConsentResult, a as FFIDConsentState, b as FFIDConsentUpdate, c as FFIDConsentCategories, d as FFIDConsentSyncResult, e as FFIDConsentCategoryMetadata, f as FFIDCookiePolicy, P as PostConsentWire, G as GetConsentMeWire, g as PostSyncWire, h as PostWithdrawWire } from '../FFIDCookieLink-BJgVcJyw.js';
|
|
2
|
+
export { A as ALL_DENIED_EXCEPT_NECESSARY, C as CONSENT_COOKIE_MAX_AGE_SEC, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, k as CONSENT_SESSION_STORAGE_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, m as DEFAULT_MERGE_WARNING_MESSAGES, n as DeviceIdSchema, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, q as FFIDConsentCategoriesSchema, r as FFIDConsentCategoryCode, s as FFIDConsentCategoryCodeSchema, t as FFIDConsentCategoryMetadataSchema, u as FFIDConsentContext, v as FFIDConsentContextValue, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, z as FFIDConsentMergeStrategySchema, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, H as FFIDConsentMergeWarningSchema, I as FFIDConsentSource, J as FFIDConsentSourceSchema, K as FFIDConsentStateSchema, L as FFIDConsentUpdateSchema, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, S as FFIDCookiePolicySchema, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, W as FFIDInternalConsentSource, X as FFIDInternalConsentSourceSchema, Y as FFIDPublicConsentSource, Z as FFIDPublicConsentSourceSchema, _ as FFID_CONSENT_ERROR_CODES, $ as FFID_CONSENT_NOT_DECIDED_STATE, a0 as GetCategoriesWire, a1 as GetCategoriesWireSchema, a2 as GetConsentMeWireSchema, a3 as GetDocumentWire, a4 as GetDocumentWireSchema, a5 as GtagBridge, a6 as GtagBridgeOptions, a7 as PostConsentRequest, a8 as PostConsentRequestSchema, a9 as PostConsentWireSchema, aa as PostSyncRequest, ab as PostSyncRequestSchema, ac as PostSyncWireSchema, ad as PostWithdrawWireSchema, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, ah as clearConsentSessionMirror, ai as createGtagBridge, aj as decodeConsentCookie, ak as deleteConsentCookie, al as encodeConsentCookie, am as mapCategoriesToGtagParams, an as readConsentCookie, ao as readConsentDismissalTimestamp, ap as readConsentSessionMirror, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp, au as writeConsentSessionMirror } from '../FFIDCookieLink-BJgVcJyw.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/consent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_MAX_AGE_SEC, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, CONSENT_SESSION_STORAGE_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, DEFAULT_MERGE_WARNING_MESSAGES, DEVICE_ID_LOCAL_STORAGE_KEY, DEVICE_ID_SESSION_STORAGE_KEY, DeviceIdSchema, FFIDAnalyticsProvider, FFIDConsentCategoriesSchema, FFIDConsentCategoryCodeSchema, FFIDConsentCategoryMetadataSchema, FFIDConsentContext, FFIDConsentError, FFIDConsentMergeStrategySchema, FFIDConsentMergeWarningSchema, FFIDConsentSourceSchema, FFIDConsentStateSchema, FFIDConsentUpdateSchema, FFIDCookieBanner, FFIDCookieLink, FFIDCookiePolicySchema, FFIDCookieSettings, FFIDInternalConsentSourceSchema, FFIDPublicConsentSourceSchema, FFID_CONSENT_ERROR_CODES, FFID_CONSENT_NOT_DECIDED_STATE, GetCategoriesWireSchema, GetConsentMeWireSchema, GetDocumentWireSchema, PostConsentRequestSchema, PostConsentWireSchema, PostSyncRequestSchema, PostSyncWireSchema, PostWithdrawWireSchema, clearConsentDismissalTimestamp, clearConsentSessionMirror, clearDeviceId, createConsentClient, createGtagBridge, decodeConsentCookie, deleteConsentCookie, encodeConsentCookie, generateDeviceId, getOrCreateDeviceId, isUuidV7, isValidDeviceId, mapCategoriesToGtagParams, mapConsentWireToState, mapMeWireToState, mapSyncWireToResult, mapWithdrawWireToState, readConsentCookie, readConsentDismissalTimestamp, readConsentSessionMirror, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentDismissalTimestamp, writeConsentSessionMirror } from '../chunk-
|
|
1
|
+
export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_MAX_AGE_SEC, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, CONSENT_SESSION_STORAGE_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, DEFAULT_MERGE_WARNING_MESSAGES, DEVICE_ID_LOCAL_STORAGE_KEY, DEVICE_ID_SESSION_STORAGE_KEY, DeviceIdSchema, FFIDAnalyticsProvider, FFIDConsentCategoriesSchema, FFIDConsentCategoryCodeSchema, FFIDConsentCategoryMetadataSchema, FFIDConsentContext, FFIDConsentError, FFIDConsentMergeStrategySchema, FFIDConsentMergeWarningSchema, FFIDConsentSourceSchema, FFIDConsentStateSchema, FFIDConsentUpdateSchema, FFIDCookieBanner, FFIDCookieLink, FFIDCookiePolicySchema, FFIDCookieSettings, FFIDInternalConsentSourceSchema, FFIDPublicConsentSourceSchema, FFID_CONSENT_ERROR_CODES, FFID_CONSENT_NOT_DECIDED_STATE, GetCategoriesWireSchema, GetConsentMeWireSchema, GetDocumentWireSchema, PostConsentRequestSchema, PostConsentWireSchema, PostSyncRequestSchema, PostSyncWireSchema, PostWithdrawWireSchema, clearConsentDismissalTimestamp, clearConsentSessionMirror, clearDeviceId, createConsentClient, createGtagBridge, decodeConsentCookie, deleteConsentCookie, encodeConsentCookie, generateDeviceId, getOrCreateDeviceId, isUuidV7, isValidDeviceId, mapCategoriesToGtagParams, mapConsentWireToState, mapMeWireToState, mapSyncWireToResult, mapWithdrawWireToState, readConsentCookie, readConsentDismissalTimestamp, readConsentSessionMirror, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentDismissalTimestamp, writeConsentSessionMirror } from '../chunk-G7VOX64X.js';
|
|
@@ -1380,6 +1380,14 @@ interface FFIDConfig {
|
|
|
1380
1380
|
*/
|
|
1381
1381
|
timeout?: number | undefined;
|
|
1382
1382
|
}
|
|
1383
|
+
/**
|
|
1384
|
+
* OIDC `prompt` values the SDK forwards to FFID `/oauth/authorize` (#4027).
|
|
1385
|
+
*
|
|
1386
|
+
* - `select_account`: force the upstream IdP (Google) account chooser so RP-initiated
|
|
1387
|
+
* account switching is not silently re-authenticated against the residual session.
|
|
1388
|
+
* - `login`: force re-authentication (FFID `/login` is shown even with an active session).
|
|
1389
|
+
*/
|
|
1390
|
+
type FFIDPrompt = 'select_account' | 'login';
|
|
1383
1391
|
/**
|
|
1384
1392
|
* Logger interface for SDK debug output
|
|
1385
1393
|
*
|
|
@@ -1653,6 +1661,20 @@ interface RedirectToAuthorizeOptions {
|
|
|
1653
1661
|
* regardless of `authMode`.
|
|
1654
1662
|
*/
|
|
1655
1663
|
screenHint?: typeof SCREEN_HINT_SIGNUP | 'login';
|
|
1664
|
+
/**
|
|
1665
|
+
* OIDC `prompt` to forward to FFID `/oauth/authorize` (#4027).
|
|
1666
|
+
*
|
|
1667
|
+
* - `'select_account'`: forwards `prompt=select_account` so the upstream IdP
|
|
1668
|
+
* (Google) account chooser is shown — used by {@link switchAccount} to enable
|
|
1669
|
+
* RP-initiated account switching after logout (residual upstream sessions would
|
|
1670
|
+
* otherwise auto-re-authenticate the same account).
|
|
1671
|
+
* - `'login'`: forces re-authentication (FFID `/login` is shown even with an
|
|
1672
|
+
* active session).
|
|
1673
|
+
*
|
|
1674
|
+
* Token mode: added to the `/oauth/authorize` query. Cookie mode: forwarded as
|
|
1675
|
+
* `?prompt=…` on the `/login` URL (ignored for the signup screen).
|
|
1676
|
+
*/
|
|
1677
|
+
prompt?: FFIDPrompt;
|
|
1656
1678
|
}
|
|
1657
1679
|
|
|
1658
1680
|
/** Creates an FFID API client instance */
|
|
@@ -1662,7 +1684,12 @@ declare function createFFIDClient(config: FFIDConfig): {
|
|
|
1662
1684
|
redirectToLogin: (options?: RedirectToAuthorizeOptions) => Promise<FFIDRedirectResult>;
|
|
1663
1685
|
redirectToAuthorize: (options?: RedirectToAuthorizeOptions) => Promise<FFIDRedirectResult>;
|
|
1664
1686
|
redirectToLogout: (postLogoutRedirectUri?: string) => FFIDRedirectResult;
|
|
1665
|
-
|
|
1687
|
+
switchAccount: (options?: {
|
|
1688
|
+
organizationId?: string;
|
|
1689
|
+
}) => Promise<FFIDRedirectResult>;
|
|
1690
|
+
getLoginUrl: (redirectUrl?: string, options?: {
|
|
1691
|
+
prompt?: FFIDPrompt;
|
|
1692
|
+
}) => string;
|
|
1666
1693
|
getLogoutUrl: (postLogoutRedirectUri?: string) => string;
|
|
1667
1694
|
getSignupUrl: (redirectUrl?: string) => string;
|
|
1668
1695
|
createError: (code: string, message: string) => FFIDError;
|
|
@@ -1380,6 +1380,14 @@ interface FFIDConfig {
|
|
|
1380
1380
|
*/
|
|
1381
1381
|
timeout?: number | undefined;
|
|
1382
1382
|
}
|
|
1383
|
+
/**
|
|
1384
|
+
* OIDC `prompt` values the SDK forwards to FFID `/oauth/authorize` (#4027).
|
|
1385
|
+
*
|
|
1386
|
+
* - `select_account`: force the upstream IdP (Google) account chooser so RP-initiated
|
|
1387
|
+
* account switching is not silently re-authenticated against the residual session.
|
|
1388
|
+
* - `login`: force re-authentication (FFID `/login` is shown even with an active session).
|
|
1389
|
+
*/
|
|
1390
|
+
type FFIDPrompt = 'select_account' | 'login';
|
|
1383
1391
|
/**
|
|
1384
1392
|
* Logger interface for SDK debug output
|
|
1385
1393
|
*
|
|
@@ -1653,6 +1661,20 @@ interface RedirectToAuthorizeOptions {
|
|
|
1653
1661
|
* regardless of `authMode`.
|
|
1654
1662
|
*/
|
|
1655
1663
|
screenHint?: typeof SCREEN_HINT_SIGNUP | 'login';
|
|
1664
|
+
/**
|
|
1665
|
+
* OIDC `prompt` to forward to FFID `/oauth/authorize` (#4027).
|
|
1666
|
+
*
|
|
1667
|
+
* - `'select_account'`: forwards `prompt=select_account` so the upstream IdP
|
|
1668
|
+
* (Google) account chooser is shown — used by {@link switchAccount} to enable
|
|
1669
|
+
* RP-initiated account switching after logout (residual upstream sessions would
|
|
1670
|
+
* otherwise auto-re-authenticate the same account).
|
|
1671
|
+
* - `'login'`: forces re-authentication (FFID `/login` is shown even with an
|
|
1672
|
+
* active session).
|
|
1673
|
+
*
|
|
1674
|
+
* Token mode: added to the `/oauth/authorize` query. Cookie mode: forwarded as
|
|
1675
|
+
* `?prompt=…` on the `/login` URL (ignored for the signup screen).
|
|
1676
|
+
*/
|
|
1677
|
+
prompt?: FFIDPrompt;
|
|
1656
1678
|
}
|
|
1657
1679
|
|
|
1658
1680
|
/** Creates an FFID API client instance */
|
|
@@ -1662,7 +1684,12 @@ declare function createFFIDClient(config: FFIDConfig): {
|
|
|
1662
1684
|
redirectToLogin: (options?: RedirectToAuthorizeOptions) => Promise<FFIDRedirectResult>;
|
|
1663
1685
|
redirectToAuthorize: (options?: RedirectToAuthorizeOptions) => Promise<FFIDRedirectResult>;
|
|
1664
1686
|
redirectToLogout: (postLogoutRedirectUri?: string) => FFIDRedirectResult;
|
|
1665
|
-
|
|
1687
|
+
switchAccount: (options?: {
|
|
1688
|
+
organizationId?: string;
|
|
1689
|
+
}) => Promise<FFIDRedirectResult>;
|
|
1690
|
+
getLoginUrl: (redirectUrl?: string, options?: {
|
|
1691
|
+
prompt?: FFIDPrompt;
|
|
1692
|
+
}) => string;
|
|
1666
1693
|
getLogoutUrl: (postLogoutRedirectUri?: string) => string;
|
|
1667
1694
|
getSignupUrl: (redirectUrl?: string) => string;
|
|
1668
1695
|
createError: (code: string, message: string) => FFIDError;
|
|
@@ -483,6 +483,14 @@ interface FFIDJwtClaims {
|
|
|
483
483
|
/** Service UUID */
|
|
484
484
|
svc_id: string;
|
|
485
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* OIDC `prompt` values the SDK forwards to FFID `/oauth/authorize` (#4027).
|
|
488
|
+
*
|
|
489
|
+
* - `select_account`: force the upstream IdP (Google) account chooser so RP-initiated
|
|
490
|
+
* account switching is not silently re-authenticated against the residual session.
|
|
491
|
+
* - `login`: force re-authentication (FFID `/login` is shown even with an active session).
|
|
492
|
+
*/
|
|
493
|
+
type FFIDPrompt = 'select_account' | 'login';
|
|
486
494
|
/**
|
|
487
495
|
* FFID context value provided to consumers
|
|
488
496
|
*/
|
|
@@ -508,9 +516,14 @@ interface FFIDContextValue {
|
|
|
508
516
|
* (forwards `screen_hint=signup` in token mode / redirects to `/signup`
|
|
509
517
|
* in cookie mode). `'login'` and `undefined` use the default login flow.
|
|
510
518
|
* See `RedirectToAuthorizeOptions` (#2908 / #2911).
|
|
519
|
+
* @param options.prompt OIDC `prompt` to forward to FFID `/oauth/authorize`
|
|
520
|
+
* (e.g. `'select_account'` to force the upstream account chooser). See
|
|
521
|
+
* {@link FFIDPrompt} (#4027). Prefer {@link FFIDContextValue} consumers use
|
|
522
|
+
* the dedicated `switchAccount()` helper on `useFFID()` for account switching.
|
|
511
523
|
*/
|
|
512
524
|
login: (options?: {
|
|
513
525
|
screenHint?: 'signup' | 'login';
|
|
526
|
+
prompt?: FFIDPrompt;
|
|
514
527
|
}) => void;
|
|
515
528
|
/** Sign out and clear session */
|
|
516
529
|
logout: () => Promise<void>;
|
|
@@ -1448,4 +1461,4 @@ interface FFIDInquiryFormPlaceholderContext {
|
|
|
1448
1461
|
}
|
|
1449
1462
|
declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, legalLayout, messagePlaceholder, requireCategorySelection, unstyled, classNames, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
|
|
1450
1463
|
|
|
1451
|
-
export {
|
|
1464
|
+
export { FFIDLoginButton as $, type AnnouncementListResponse as A, type AnnouncementStatus as B, type AnnouncementType as C, EFFECTIVE_SUBSCRIPTION_STATUSES as D, type EffectiveSubscriptionStatus as E, type FFIDSubscriptionStatus as F, FFIDAnnouncementBadge as G, FFIDAnnouncementList as H, type FFIDAnnouncementsError as I, type FFIDAnnouncementsErrorCode as J, type FFIDAnnouncementsServerResponse as K, type ListAnnouncementsOptions as L, type FFIDCacheConfig as M, type FFIDContextValue as N, type FFIDInquiryCategory as O, type FFIDInquiryCategorySite2026 as P, FFIDInquiryForm as Q, type FFIDInquiryFormCategoryItem as R, type FFIDInquiryFormClassNames as S, type FFIDInquiryFormLegalLayout as T, type FFIDInquiryFormOrganization as U, type FFIDInquiryFormPlaceholderContext as V, type FFIDInquiryFormPrefill as W, type FFIDInquiryFormProps as X, type FFIDInquiryFormSubmitData as Y, type FFIDInquiryFormSubmitResult as Z, type FFIDJwtClaims as _, type FFIDPrompt as a, type FFIDOAuthTokenResponse as a0, type FFIDOAuthUserInfoMemberRole as a1, FFIDOrganizationSwitcher as a2, type FFIDRedirectErrorCode as a3, type FFIDSeatModel as a4, type FFIDServiceAccessDenialReason as a5, type FFIDServiceAccessFailPolicy as a6, FFIDSubscriptionBadge as a7, type FFIDTokenIntrospectionResponse as a8, FFIDUserMenu as a9, FFID_INQUIRY_CATEGORIES as aa, FFID_INQUIRY_CATEGORIES_SITE_2026 as ab, type UseFFIDAnnouncementsOptions as ac, type UseFFIDAnnouncementsReturn as ad, isFFIDInquiryCategorySite2026 as ae, useFFIDAnnouncements as af, type FFIDAnnouncementBadgeClassNames as ag, type FFIDAnnouncementBadgeProps as ah, type FFIDAnnouncementListClassNames as ai, type FFIDAnnouncementListProps as aj, type FFIDLoginButtonProps as ak, type FFIDOrganizationSwitcherClassNames as al, type FFIDOrganizationSwitcherProps as am, type FFIDSubscriptionBadgeClassNames as an, type FFIDSubscriptionBadgeProps as ao, type FFIDUserMenuClassNames as ap, type FFIDUserMenuProps as aq, type FFIDConfig as b, type FFIDApiResponse as c, type FFIDSessionResponse as d, type FFIDRedirectResult as e, type FFIDError as f, type FFIDSubscriptionCheckResponse as g, type FFIDCheckServiceAccessParams as h, type FFIDServiceAccessDecision as i, type FFIDAnalyticsConfig as j, type FFIDVerifyAccessTokenOptions as k, type FFIDOAuthUserInfo as l, type FFIDInquiryCreateParams as m, type FFIDInquiryCreateResponse as n, type FFIDAuthMode as o, type FFIDLogger as p, type FFIDCacheAdapter as q, type FFIDUser as r, type FFIDOrganization as s, type FFIDSubscription as t, type FFIDSubscriptionContextValue as u, type FFIDOAuthUserInfoSubscription as v, type FFIDAnnouncementsClientConfig as w, type FFIDAnnouncementsApiResponse as x, type FFIDAnnouncementsLogger as y, type Announcement as z };
|
|
@@ -483,6 +483,14 @@ interface FFIDJwtClaims {
|
|
|
483
483
|
/** Service UUID */
|
|
484
484
|
svc_id: string;
|
|
485
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* OIDC `prompt` values the SDK forwards to FFID `/oauth/authorize` (#4027).
|
|
488
|
+
*
|
|
489
|
+
* - `select_account`: force the upstream IdP (Google) account chooser so RP-initiated
|
|
490
|
+
* account switching is not silently re-authenticated against the residual session.
|
|
491
|
+
* - `login`: force re-authentication (FFID `/login` is shown even with an active session).
|
|
492
|
+
*/
|
|
493
|
+
type FFIDPrompt = 'select_account' | 'login';
|
|
486
494
|
/**
|
|
487
495
|
* FFID context value provided to consumers
|
|
488
496
|
*/
|
|
@@ -508,9 +516,14 @@ interface FFIDContextValue {
|
|
|
508
516
|
* (forwards `screen_hint=signup` in token mode / redirects to `/signup`
|
|
509
517
|
* in cookie mode). `'login'` and `undefined` use the default login flow.
|
|
510
518
|
* See `RedirectToAuthorizeOptions` (#2908 / #2911).
|
|
519
|
+
* @param options.prompt OIDC `prompt` to forward to FFID `/oauth/authorize`
|
|
520
|
+
* (e.g. `'select_account'` to force the upstream account chooser). See
|
|
521
|
+
* {@link FFIDPrompt} (#4027). Prefer {@link FFIDContextValue} consumers use
|
|
522
|
+
* the dedicated `switchAccount()` helper on `useFFID()` for account switching.
|
|
511
523
|
*/
|
|
512
524
|
login: (options?: {
|
|
513
525
|
screenHint?: 'signup' | 'login';
|
|
526
|
+
prompt?: FFIDPrompt;
|
|
514
527
|
}) => void;
|
|
515
528
|
/** Sign out and clear session */
|
|
516
529
|
logout: () => Promise<void>;
|
|
@@ -1448,4 +1461,4 @@ interface FFIDInquiryFormPlaceholderContext {
|
|
|
1448
1461
|
}
|
|
1449
1462
|
declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, legalLayout, messagePlaceholder, requireCategorySelection, unstyled, classNames, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
|
|
1450
1463
|
|
|
1451
|
-
export {
|
|
1464
|
+
export { FFIDLoginButton as $, type AnnouncementListResponse as A, type AnnouncementStatus as B, type AnnouncementType as C, EFFECTIVE_SUBSCRIPTION_STATUSES as D, type EffectiveSubscriptionStatus as E, type FFIDSubscriptionStatus as F, FFIDAnnouncementBadge as G, FFIDAnnouncementList as H, type FFIDAnnouncementsError as I, type FFIDAnnouncementsErrorCode as J, type FFIDAnnouncementsServerResponse as K, type ListAnnouncementsOptions as L, type FFIDCacheConfig as M, type FFIDContextValue as N, type FFIDInquiryCategory as O, type FFIDInquiryCategorySite2026 as P, FFIDInquiryForm as Q, type FFIDInquiryFormCategoryItem as R, type FFIDInquiryFormClassNames as S, type FFIDInquiryFormLegalLayout as T, type FFIDInquiryFormOrganization as U, type FFIDInquiryFormPlaceholderContext as V, type FFIDInquiryFormPrefill as W, type FFIDInquiryFormProps as X, type FFIDInquiryFormSubmitData as Y, type FFIDInquiryFormSubmitResult as Z, type FFIDJwtClaims as _, type FFIDPrompt as a, type FFIDOAuthTokenResponse as a0, type FFIDOAuthUserInfoMemberRole as a1, FFIDOrganizationSwitcher as a2, type FFIDRedirectErrorCode as a3, type FFIDSeatModel as a4, type FFIDServiceAccessDenialReason as a5, type FFIDServiceAccessFailPolicy as a6, FFIDSubscriptionBadge as a7, type FFIDTokenIntrospectionResponse as a8, FFIDUserMenu as a9, FFID_INQUIRY_CATEGORIES as aa, FFID_INQUIRY_CATEGORIES_SITE_2026 as ab, type UseFFIDAnnouncementsOptions as ac, type UseFFIDAnnouncementsReturn as ad, isFFIDInquiryCategorySite2026 as ae, useFFIDAnnouncements as af, type FFIDAnnouncementBadgeClassNames as ag, type FFIDAnnouncementBadgeProps as ah, type FFIDAnnouncementListClassNames as ai, type FFIDAnnouncementListProps as aj, type FFIDLoginButtonProps as ak, type FFIDOrganizationSwitcherClassNames as al, type FFIDOrganizationSwitcherProps as am, type FFIDSubscriptionBadgeClassNames as an, type FFIDSubscriptionBadgeProps as ao, type FFIDUserMenuClassNames as ap, type FFIDUserMenuProps as aq, type FFIDConfig as b, type FFIDApiResponse as c, type FFIDSessionResponse as d, type FFIDRedirectResult as e, type FFIDError as f, type FFIDSubscriptionCheckResponse as g, type FFIDCheckServiceAccessParams as h, type FFIDServiceAccessDecision as i, type FFIDAnalyticsConfig as j, type FFIDVerifyAccessTokenOptions as k, type FFIDOAuthUserInfo as l, type FFIDInquiryCreateParams as m, type FFIDInquiryCreateResponse as n, type FFIDAuthMode as o, type FFIDLogger as p, type FFIDCacheAdapter as q, type FFIDUser as r, type FFIDOrganization as s, type FFIDSubscription as t, type FFIDSubscriptionContextValue as u, type FFIDOAuthUserInfoSubscription as v, type FFIDAnnouncementsClientConfig as w, type FFIDAnnouncementsApiResponse as x, type FFIDAnnouncementsLogger as y, type Announcement as z };
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkHBPYSPBY_cjs = require('./chunk-HBPYSPBY.cjs');
|
|
4
|
+
var chunkH5O2CCAY_cjs = require('./chunk-H5O2CCAY.cjs');
|
|
5
5
|
var react = require('react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
|
|
@@ -54,8 +54,8 @@ function defaultRedirect(url) {
|
|
|
54
54
|
}
|
|
55
55
|
function useRequireActiveSubscription(options) {
|
|
56
56
|
const { redirectTo, allowGrace = true, onRedirect } = options;
|
|
57
|
-
const { isLoading, error } =
|
|
58
|
-
const { effectiveStatus, isBlocked, isGrace } =
|
|
57
|
+
const { isLoading, error } = chunkHBPYSPBY_cjs.useFFIDContext();
|
|
58
|
+
const { effectiveStatus, isBlocked, isGrace } = chunkHBPYSPBY_cjs.useSubscription();
|
|
59
59
|
const hasFetchError = error !== null && effectiveStatus === null;
|
|
60
60
|
const shouldRedirect = !isLoading && !hasFetchError && (isBlocked || !allowGrace && isGrace || effectiveStatus === null);
|
|
61
61
|
react.useEffect(() => {
|
|
@@ -76,7 +76,7 @@ function useRequireActiveSubscription(options) {
|
|
|
76
76
|
}
|
|
77
77
|
function withFFIDAuth(Component, options = {}) {
|
|
78
78
|
const WrappedComponent = (props) => {
|
|
79
|
-
const { isLoading, isAuthenticated, login } =
|
|
79
|
+
const { isLoading, isAuthenticated, login } = chunkHBPYSPBY_cjs.useFFIDContext();
|
|
80
80
|
const hasRedirected = react.useRef(false);
|
|
81
81
|
react.useEffect(() => {
|
|
82
82
|
if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
|
|
@@ -105,231 +105,231 @@ var FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = 1e3;
|
|
|
105
105
|
|
|
106
106
|
Object.defineProperty(exports, "ACCESS_GRANTING_EFFECTIVE_STATUSES", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkHBPYSPBY_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "BLOCKING_EFFECTIVE_STATUSES", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkHBPYSPBY_cjs.BLOCKING_EFFECTIVE_STATUSES; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkHBPYSPBY_cjs.DEFAULT_API_BASE_URL; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "DEFAULT_OAUTH_SCOPES", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkHBPYSPBY_cjs.DEFAULT_OAUTH_SCOPES; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "EFFECTIVE_SUBSCRIPTION_STATUSES", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkHBPYSPBY_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "FFIDAnnouncementBadge", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDAnnouncementBadge; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "FFIDAnnouncementList", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDAnnouncementList; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "FFIDInquiryForm", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDInquiryForm; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "FFIDLoginButton", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDLoginButton; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDOrganizationSwitcher; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "FFIDProvider", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDProvider; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "FFIDSDKError", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDSDKError; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "FFIDSubscriptionBadge", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDSubscriptionBadge; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "FFIDUserMenu", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkHBPYSPBY_cjs.FFIDUserMenu; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkHBPYSPBY_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkHBPYSPBY_cjs.FFID_INQUIRY_CATEGORIES; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES_SITE_2026", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkHBPYSPBY_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "clearState", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkHBPYSPBY_cjs.cleanupStateStorage; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "computeEffectiveStatusFromSession", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkHBPYSPBY_cjs.computeEffectiveStatusFromSession; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkHBPYSPBY_cjs.createFFIDAnnouncementsClient; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "createFFIDClient", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkHBPYSPBY_cjs.createFFIDClient; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "createTokenStore", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkHBPYSPBY_cjs.createTokenStore; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "generateCodeChallenge", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkHBPYSPBY_cjs.generateCodeChallenge; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "generateCodeVerifier", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkHBPYSPBY_cjs.generateCodeVerifier; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "handleRedirectCallback", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkHBPYSPBY_cjs.handleRedirectCallback; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "hasAccessFromUserinfo", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkHBPYSPBY_cjs.hasAccessFromUserinfo; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "isBlockedFromUserinfo", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkHBPYSPBY_cjs.isBlockedFromUserinfo; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkHBPYSPBY_cjs.isFFIDInquiryCategorySite2026; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "normalizeRedirectUri", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkHBPYSPBY_cjs.normalizeRedirectUri; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "retrieveCodeVerifier", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkHBPYSPBY_cjs.retrieveCodeVerifier; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "retrieveState", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkHBPYSPBY_cjs.retrieveState; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "storeCodeVerifier", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkHBPYSPBY_cjs.storeCodeVerifier; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "storeState", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkHBPYSPBY_cjs.storeState; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "useFFID", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkHBPYSPBY_cjs.useFFID; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "useFFIDAnnouncements", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkHBPYSPBY_cjs.useFFIDAnnouncements; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "useSubscription", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkHBPYSPBY_cjs.useSubscription; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "withSubscription", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkHBPYSPBY_cjs.withSubscription; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkH5O2CCAY_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "CONSENT_COOKIE_NAME", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkH5O2CCAY_cjs.CONSENT_COOKIE_NAME; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkH5O2CCAY_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "COOKIE_VERSION", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkH5O2CCAY_cjs.COOKIE_VERSION; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkH5O2CCAY_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "FFIDAnalyticsProvider", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkH5O2CCAY_cjs.FFIDAnalyticsProvider; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "FFIDConsentError", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkH5O2CCAY_cjs.FFIDConsentError; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "FFIDCookieBanner", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkH5O2CCAY_cjs.FFIDCookieBanner; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "FFIDCookieLink", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkH5O2CCAY_cjs.FFIDCookieLink; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "FFIDCookieSettings", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkH5O2CCAY_cjs.FFIDCookieSettings; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkH5O2CCAY_cjs.FFID_CONSENT_ERROR_CODES; }
|
|
297
297
|
});
|
|
298
298
|
Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
|
|
299
299
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkH5O2CCAY_cjs.clearConsentDismissalTimestamp; }
|
|
301
301
|
});
|
|
302
302
|
Object.defineProperty(exports, "decodeConsentCookie", {
|
|
303
303
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkH5O2CCAY_cjs.decodeConsentCookie; }
|
|
305
305
|
});
|
|
306
306
|
Object.defineProperty(exports, "encodeConsentCookie", {
|
|
307
307
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkH5O2CCAY_cjs.encodeConsentCookie; }
|
|
309
309
|
});
|
|
310
310
|
Object.defineProperty(exports, "readConsentCookie", {
|
|
311
311
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkH5O2CCAY_cjs.readConsentCookie; }
|
|
313
313
|
});
|
|
314
314
|
Object.defineProperty(exports, "readConsentDismissalTimestamp", {
|
|
315
315
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunkH5O2CCAY_cjs.readConsentDismissalTimestamp; }
|
|
317
317
|
});
|
|
318
318
|
Object.defineProperty(exports, "useFFIDConsent", {
|
|
319
319
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunkH5O2CCAY_cjs.useFFIDConsent; }
|
|
321
321
|
});
|
|
322
322
|
Object.defineProperty(exports, "useFFIDConsentPreferences", {
|
|
323
323
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
324
|
+
get: function () { return chunkH5O2CCAY_cjs.useFFIDConsentPreferences; }
|
|
325
325
|
});
|
|
326
326
|
Object.defineProperty(exports, "writeConsentCookie", {
|
|
327
327
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkH5O2CCAY_cjs.writeConsentCookie; }
|
|
329
329
|
});
|
|
330
330
|
Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
|
|
331
331
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkH5O2CCAY_cjs.writeConsentDismissalTimestamp; }
|
|
333
333
|
});
|
|
334
334
|
exports.FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS;
|
|
335
335
|
exports.FFID_NEWSLETTER_TYPES = FFID_NEWSLETTER_TYPES;
|