@feelflow/ffid-sdk 5.9.0 → 5.10.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.
@@ -898,6 +898,11 @@ declare function useFFIDConsentPreferences(): UseFFIDConsentPreferencesReturn;
898
898
  * was removed in v5.2.1 (#3289) because it overrode `setIsBannerOpen(false)`
899
899
  * for fresh visitors and silently kept the banner mounted on "あとで" click.
900
900
  *
901
+ * Consent submissions close the banner OPTIMISTICALLY (#3614): the provider
902
+ * flips `isBannerOpen=false` before the POST settles, so the click feels
903
+ * instant. On a failed POST the provider re-opens the banner with `error`
904
+ * set, which this component renders as the retry surface.
905
+ *
901
906
  * Four buttons (spec §6.2):
902
907
  * 1. "すべて同意" (Accept all)
903
908
  * 2. "同意しない" (Necessary only — `necessary=true` is enforced by ePrivacy
@@ -898,6 +898,11 @@ declare function useFFIDConsentPreferences(): UseFFIDConsentPreferencesReturn;
898
898
  * was removed in v5.2.1 (#3289) because it overrode `setIsBannerOpen(false)`
899
899
  * for fresh visitors and silently kept the banner mounted on "あとで" click.
900
900
  *
901
+ * Consent submissions close the banner OPTIMISTICALLY (#3614): the provider
902
+ * flips `isBannerOpen=false` before the POST settles, so the click feels
903
+ * instant. On a failed POST the provider re-opens the banner with `error`
904
+ * set, which this component renders as the retry surface.
905
+ *
901
906
  * Four buttons (spec §6.2):
902
907
  * 1. "すべて同意" (Accept all)
903
908
  * 2. "同意しない" (Necessary only — `necessary=true` is enforced by ePrivacy
@@ -869,7 +869,7 @@ function createProfileMethods(deps) {
869
869
  }
870
870
 
871
871
  // src/client/version-check.ts
872
- var SDK_VERSION = "5.9.0";
872
+ var SDK_VERSION = "5.10.0";
873
873
  var SDK_USER_AGENT = `FFID-SDK/${SDK_VERSION} (TypeScript)`;
874
874
  var SDK_VERSION_HEADER = "X-FFID-SDK-Version";
875
875
  function sdkHeaders() {
@@ -798,6 +798,7 @@ function createConsentClient(opts) {
798
798
  };
799
799
  if (reqOpts.body !== void 0) init.body = JSON.stringify(reqOpts.body);
800
800
  if (reqOpts.signal) init.signal = reqOpts.signal;
801
+ if (reqOpts.keepalive && !reqOpts.signal) init.keepalive = true;
801
802
  let res;
802
803
  for (let attempt = 0; attempt <= maxAutoRetry429; attempt++) {
803
804
  const fetched = await performFetch(url, init);
@@ -879,6 +880,10 @@ function createConsentClient(opts) {
879
880
  source,
880
881
  cookie_policy_version: cookiePolicyVersion
881
882
  },
883
+ // The banner closes before this POST settles (optimistic close,
884
+ // #3614) — keepalive keeps the audit-trail write alive across a
885
+ // quick page navigation.
886
+ keepalive: true,
882
887
  ...signal ? { signal } : {}
883
888
  },
884
889
  (json) => {
@@ -1215,6 +1220,16 @@ function FFIDAnalyticsProvider({
1215
1220
  cancelled = true;
1216
1221
  };
1217
1222
  }, []);
1223
+ useEffect(() => {
1224
+ if (!isBannerOpen || policy !== null) return;
1225
+ let cancelled = false;
1226
+ void clientRef.current.getDocument().then((result) => {
1227
+ if (!cancelled && result.ok) setPolicy(result.value);
1228
+ });
1229
+ return () => {
1230
+ cancelled = true;
1231
+ };
1232
+ }, [isBannerOpen, policy]);
1218
1233
  const ensurePolicyVersion = useCallback(async () => {
1219
1234
  if (policy) return { ok: true, version: policy.version };
1220
1235
  const client = clientRef.current;
@@ -1229,18 +1244,38 @@ function FFIDAnalyticsProvider({
1229
1244
  }, [onError, policy]);
1230
1245
  const submitFromBanner = useCallback(
1231
1246
  async (cats) => {
1232
- const version = await ensurePolicyVersion();
1233
- if (!version.ok) return { ok: false, error: version.error };
1234
- const client = clientRef.current;
1235
- const result = await client.submit(cats, "banner", version.version);
1236
- if (!result.ok && result.error.code === "cookie_consent_policy_outdated") {
1237
- setPolicy(null);
1247
+ setIsBannerOpen(false);
1248
+ let recordedOk = false;
1249
+ try {
1250
+ const version = await ensurePolicyVersion();
1251
+ if (!version.ok) {
1252
+ setIsBannerOpen(true);
1253
+ return { ok: false, error: version.error };
1254
+ }
1255
+ const client = clientRef.current;
1256
+ const result = await client.submit(cats, "banner", version.version);
1257
+ if (!result.ok && result.error.code === "cookie_consent_policy_outdated") {
1258
+ setPolicy(null);
1259
+ }
1260
+ recordedOk = result.ok;
1261
+ handleResult(result);
1262
+ if (!result.ok) setIsBannerOpen(true);
1263
+ return result;
1264
+ } catch (err) {
1265
+ if (!recordedOk) {
1266
+ const escapeError = err instanceof FFIDConsentError ? err : new FFIDConsentError(
1267
+ "cookie_consent_capture_failed",
1268
+ DEFAULT_CONSENT_ERROR_MESSAGES.cookie_consent_capture_failed,
1269
+ { cause: err }
1270
+ );
1271
+ setError(escapeError);
1272
+ setIsBannerOpen(true);
1273
+ onError?.(escapeError);
1274
+ }
1275
+ throw err;
1238
1276
  }
1239
- handleResult(result);
1240
- if (result.ok) setIsBannerOpen(false);
1241
- return result;
1242
1277
  },
1243
- [ensurePolicyVersion, handleResult]
1278
+ [ensurePolicyVersion, handleResult, onError]
1244
1279
  );
1245
1280
  const acceptAll = useCallback(
1246
1281
  () => submitFromBanner({
@@ -1486,16 +1521,13 @@ function FFIDCookieBanner({
1486
1521
  error
1487
1522
  } = useFFIDConsent();
1488
1523
  const [pendingAction, setPendingAction] = useState(null);
1489
- const isSubmitting = pendingAction !== null;
1524
+ const isOpeningPreferences = pendingAction !== null;
1490
1525
  const runBannerSubmit = async (action, submit) => {
1491
- if (isSubmitting) return;
1492
- setPendingAction(action);
1526
+ if (isOpeningPreferences) return;
1493
1527
  try {
1494
- const result = await submit();
1495
- if (!result.ok) setPendingAction(null);
1528
+ await submit();
1496
1529
  } catch (err) {
1497
1530
  console.error(`[FFIDCookieBanner] ${action} action failed`, err);
1498
- setPendingAction(null);
1499
1531
  }
1500
1532
  };
1501
1533
  const handleAcceptAll = () => runBannerSubmit("accept-all", acceptAll);
@@ -1503,7 +1535,7 @@ function FFIDCookieBanner({
1503
1535
  await runBannerSubmit("necessary-only", acceptNecessaryOnly);
1504
1536
  };
1505
1537
  const handleOpenPreferences = async () => {
1506
- if (isSubmitting) return;
1538
+ if (isOpeningPreferences) return;
1507
1539
  setPendingAction("preferences");
1508
1540
  try {
1509
1541
  await openPreferences();
@@ -1520,7 +1552,7 @@ function FFIDCookieBanner({
1520
1552
  role: "dialog",
1521
1553
  "aria-modal": "false",
1522
1554
  "aria-label": "Cookie \u540C\u610F",
1523
- "aria-busy": isSubmitting,
1555
+ "aria-busy": isOpeningPreferences,
1524
1556
  className: className ?? classNames?.root,
1525
1557
  style: style ?? DEFAULT_STYLE,
1526
1558
  "data-testid": "ffid-cookie-banner",
@@ -1547,15 +1579,15 @@ function FFIDCookieBanner({
1547
1579
  className: classNames?.primaryButton,
1548
1580
  style: {
1549
1581
  ...DEFAULT_PRIMARY_STYLE,
1550
- cursor: isSubmitting ? "wait" : DEFAULT_PRIMARY_STYLE.cursor
1582
+ cursor: isOpeningPreferences ? "wait" : DEFAULT_PRIMARY_STYLE.cursor
1551
1583
  },
1552
- disabled: isSubmitting,
1553
- "aria-disabled": isSubmitting,
1584
+ disabled: isOpeningPreferences,
1585
+ "aria-disabled": isOpeningPreferences,
1554
1586
  onClick: () => {
1555
1587
  void handleAcceptAll();
1556
1588
  },
1557
1589
  "data-testid": "ffid-cookie-banner-accept-all",
1558
- children: pendingAction === "accept-all" ? "\u4FDD\u5B58\u4E2D..." : acceptAllLabel ?? "\u3059\u3079\u3066\u540C\u610F"
1590
+ children: acceptAllLabel ?? "\u3059\u3079\u3066\u540C\u610F"
1559
1591
  }
1560
1592
  ),
1561
1593
  /* @__PURE__ */ jsx(
@@ -1565,15 +1597,15 @@ function FFIDCookieBanner({
1565
1597
  className: classNames?.secondaryButton,
1566
1598
  style: {
1567
1599
  ...DEFAULT_BUTTON_STYLE,
1568
- cursor: isSubmitting ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1600
+ cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1569
1601
  },
1570
- disabled: isSubmitting,
1571
- "aria-disabled": isSubmitting,
1602
+ disabled: isOpeningPreferences,
1603
+ "aria-disabled": isOpeningPreferences,
1572
1604
  onClick: () => {
1573
1605
  void handleAcceptNecessaryOnly();
1574
1606
  },
1575
1607
  "data-testid": "ffid-cookie-banner-necessary-only",
1576
- children: pendingAction === "necessary-only" ? "\u4FDD\u5B58\u4E2D..." : necessaryOnlyLabel ?? "\u540C\u610F\u3057\u306A\u3044"
1608
+ children: necessaryOnlyLabel ?? "\u540C\u610F\u3057\u306A\u3044"
1577
1609
  }
1578
1610
  ),
1579
1611
  /* @__PURE__ */ jsx(
@@ -1583,10 +1615,10 @@ function FFIDCookieBanner({
1583
1615
  className: classNames?.linkButton,
1584
1616
  style: {
1585
1617
  ...DEFAULT_BUTTON_STYLE,
1586
- cursor: isSubmitting ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1618
+ cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1587
1619
  },
1588
- disabled: isSubmitting,
1589
- "aria-disabled": isSubmitting,
1620
+ disabled: isOpeningPreferences,
1621
+ "aria-disabled": isOpeningPreferences,
1590
1622
  onClick: () => {
1591
1623
  void handleOpenPreferences();
1592
1624
  },
@@ -1601,10 +1633,10 @@ function FFIDCookieBanner({
1601
1633
  className: classNames?.closeButton,
1602
1634
  style: {
1603
1635
  ...DEFAULT_BUTTON_STYLE,
1604
- cursor: isSubmitting ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1636
+ cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1605
1637
  },
1606
- disabled: isSubmitting,
1607
- "aria-disabled": isSubmitting,
1638
+ disabled: isOpeningPreferences,
1639
+ "aria-disabled": isOpeningPreferences,
1608
1640
  onClick: () => {
1609
1641
  closeBanner();
1610
1642
  },
@@ -867,7 +867,7 @@ function createProfileMethods(deps) {
867
867
  }
868
868
 
869
869
  // src/client/version-check.ts
870
- var SDK_VERSION = "5.9.0";
870
+ var SDK_VERSION = "5.10.0";
871
871
  var SDK_USER_AGENT = `FFID-SDK/${SDK_VERSION} (TypeScript)`;
872
872
  var SDK_VERSION_HEADER = "X-FFID-SDK-Version";
873
873
  function sdkHeaders() {
@@ -800,6 +800,7 @@ function createConsentClient(opts) {
800
800
  };
801
801
  if (reqOpts.body !== void 0) init.body = JSON.stringify(reqOpts.body);
802
802
  if (reqOpts.signal) init.signal = reqOpts.signal;
803
+ if (reqOpts.keepalive && !reqOpts.signal) init.keepalive = true;
803
804
  let res;
804
805
  for (let attempt = 0; attempt <= maxAutoRetry429; attempt++) {
805
806
  const fetched = await performFetch(url, init);
@@ -881,6 +882,10 @@ function createConsentClient(opts) {
881
882
  source,
882
883
  cookie_policy_version: cookiePolicyVersion
883
884
  },
885
+ // The banner closes before this POST settles (optimistic close,
886
+ // #3614) — keepalive keeps the audit-trail write alive across a
887
+ // quick page navigation.
888
+ keepalive: true,
884
889
  ...signal ? { signal } : {}
885
890
  },
886
891
  (json) => {
@@ -1217,6 +1222,16 @@ function FFIDAnalyticsProvider({
1217
1222
  cancelled = true;
1218
1223
  };
1219
1224
  }, []);
1225
+ react.useEffect(() => {
1226
+ if (!isBannerOpen || policy !== null) return;
1227
+ let cancelled = false;
1228
+ void clientRef.current.getDocument().then((result) => {
1229
+ if (!cancelled && result.ok) setPolicy(result.value);
1230
+ });
1231
+ return () => {
1232
+ cancelled = true;
1233
+ };
1234
+ }, [isBannerOpen, policy]);
1220
1235
  const ensurePolicyVersion = react.useCallback(async () => {
1221
1236
  if (policy) return { ok: true, version: policy.version };
1222
1237
  const client = clientRef.current;
@@ -1231,18 +1246,38 @@ function FFIDAnalyticsProvider({
1231
1246
  }, [onError, policy]);
1232
1247
  const submitFromBanner = react.useCallback(
1233
1248
  async (cats) => {
1234
- const version = await ensurePolicyVersion();
1235
- if (!version.ok) return { ok: false, error: version.error };
1236
- const client = clientRef.current;
1237
- const result = await client.submit(cats, "banner", version.version);
1238
- if (!result.ok && result.error.code === "cookie_consent_policy_outdated") {
1239
- setPolicy(null);
1249
+ setIsBannerOpen(false);
1250
+ let recordedOk = false;
1251
+ try {
1252
+ const version = await ensurePolicyVersion();
1253
+ if (!version.ok) {
1254
+ setIsBannerOpen(true);
1255
+ return { ok: false, error: version.error };
1256
+ }
1257
+ const client = clientRef.current;
1258
+ const result = await client.submit(cats, "banner", version.version);
1259
+ if (!result.ok && result.error.code === "cookie_consent_policy_outdated") {
1260
+ setPolicy(null);
1261
+ }
1262
+ recordedOk = result.ok;
1263
+ handleResult(result);
1264
+ if (!result.ok) setIsBannerOpen(true);
1265
+ return result;
1266
+ } catch (err) {
1267
+ if (!recordedOk) {
1268
+ const escapeError = err instanceof FFIDConsentError ? err : new FFIDConsentError(
1269
+ "cookie_consent_capture_failed",
1270
+ DEFAULT_CONSENT_ERROR_MESSAGES.cookie_consent_capture_failed,
1271
+ { cause: err }
1272
+ );
1273
+ setError(escapeError);
1274
+ setIsBannerOpen(true);
1275
+ onError?.(escapeError);
1276
+ }
1277
+ throw err;
1240
1278
  }
1241
- handleResult(result);
1242
- if (result.ok) setIsBannerOpen(false);
1243
- return result;
1244
1279
  },
1245
- [ensurePolicyVersion, handleResult]
1280
+ [ensurePolicyVersion, handleResult, onError]
1246
1281
  );
1247
1282
  const acceptAll = react.useCallback(
1248
1283
  () => submitFromBanner({
@@ -1488,16 +1523,13 @@ function FFIDCookieBanner({
1488
1523
  error
1489
1524
  } = useFFIDConsent();
1490
1525
  const [pendingAction, setPendingAction] = react.useState(null);
1491
- const isSubmitting = pendingAction !== null;
1526
+ const isOpeningPreferences = pendingAction !== null;
1492
1527
  const runBannerSubmit = async (action, submit) => {
1493
- if (isSubmitting) return;
1494
- setPendingAction(action);
1528
+ if (isOpeningPreferences) return;
1495
1529
  try {
1496
- const result = await submit();
1497
- if (!result.ok) setPendingAction(null);
1530
+ await submit();
1498
1531
  } catch (err) {
1499
1532
  console.error(`[FFIDCookieBanner] ${action} action failed`, err);
1500
- setPendingAction(null);
1501
1533
  }
1502
1534
  };
1503
1535
  const handleAcceptAll = () => runBannerSubmit("accept-all", acceptAll);
@@ -1505,7 +1537,7 @@ function FFIDCookieBanner({
1505
1537
  await runBannerSubmit("necessary-only", acceptNecessaryOnly);
1506
1538
  };
1507
1539
  const handleOpenPreferences = async () => {
1508
- if (isSubmitting) return;
1540
+ if (isOpeningPreferences) return;
1509
1541
  setPendingAction("preferences");
1510
1542
  try {
1511
1543
  await openPreferences();
@@ -1522,7 +1554,7 @@ function FFIDCookieBanner({
1522
1554
  role: "dialog",
1523
1555
  "aria-modal": "false",
1524
1556
  "aria-label": "Cookie \u540C\u610F",
1525
- "aria-busy": isSubmitting,
1557
+ "aria-busy": isOpeningPreferences,
1526
1558
  className: className ?? classNames?.root,
1527
1559
  style: style ?? DEFAULT_STYLE,
1528
1560
  "data-testid": "ffid-cookie-banner",
@@ -1549,15 +1581,15 @@ function FFIDCookieBanner({
1549
1581
  className: classNames?.primaryButton,
1550
1582
  style: {
1551
1583
  ...DEFAULT_PRIMARY_STYLE,
1552
- cursor: isSubmitting ? "wait" : DEFAULT_PRIMARY_STYLE.cursor
1584
+ cursor: isOpeningPreferences ? "wait" : DEFAULT_PRIMARY_STYLE.cursor
1553
1585
  },
1554
- disabled: isSubmitting,
1555
- "aria-disabled": isSubmitting,
1586
+ disabled: isOpeningPreferences,
1587
+ "aria-disabled": isOpeningPreferences,
1556
1588
  onClick: () => {
1557
1589
  void handleAcceptAll();
1558
1590
  },
1559
1591
  "data-testid": "ffid-cookie-banner-accept-all",
1560
- children: pendingAction === "accept-all" ? "\u4FDD\u5B58\u4E2D..." : acceptAllLabel ?? "\u3059\u3079\u3066\u540C\u610F"
1592
+ children: acceptAllLabel ?? "\u3059\u3079\u3066\u540C\u610F"
1561
1593
  }
1562
1594
  ),
1563
1595
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1567,15 +1599,15 @@ function FFIDCookieBanner({
1567
1599
  className: classNames?.secondaryButton,
1568
1600
  style: {
1569
1601
  ...DEFAULT_BUTTON_STYLE,
1570
- cursor: isSubmitting ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1602
+ cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1571
1603
  },
1572
- disabled: isSubmitting,
1573
- "aria-disabled": isSubmitting,
1604
+ disabled: isOpeningPreferences,
1605
+ "aria-disabled": isOpeningPreferences,
1574
1606
  onClick: () => {
1575
1607
  void handleAcceptNecessaryOnly();
1576
1608
  },
1577
1609
  "data-testid": "ffid-cookie-banner-necessary-only",
1578
- children: pendingAction === "necessary-only" ? "\u4FDD\u5B58\u4E2D..." : necessaryOnlyLabel ?? "\u540C\u610F\u3057\u306A\u3044"
1610
+ children: necessaryOnlyLabel ?? "\u540C\u610F\u3057\u306A\u3044"
1579
1611
  }
1580
1612
  ),
1581
1613
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1585,10 +1617,10 @@ function FFIDCookieBanner({
1585
1617
  className: classNames?.linkButton,
1586
1618
  style: {
1587
1619
  ...DEFAULT_BUTTON_STYLE,
1588
- cursor: isSubmitting ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1620
+ cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1589
1621
  },
1590
- disabled: isSubmitting,
1591
- "aria-disabled": isSubmitting,
1622
+ disabled: isOpeningPreferences,
1623
+ "aria-disabled": isOpeningPreferences,
1592
1624
  onClick: () => {
1593
1625
  void handleOpenPreferences();
1594
1626
  },
@@ -1603,10 +1635,10 @@ function FFIDCookieBanner({
1603
1635
  className: classNames?.closeButton,
1604
1636
  style: {
1605
1637
  ...DEFAULT_BUTTON_STYLE,
1606
- cursor: isSubmitting ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1638
+ cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
1607
1639
  },
1608
- disabled: isSubmitting,
1609
- "aria-disabled": isSubmitting,
1640
+ disabled: isOpeningPreferences,
1641
+ "aria-disabled": isOpeningPreferences,
1610
1642
  onClick: () => {
1611
1643
  closeBanner();
1612
1644
  },
@@ -1,34 +1,34 @@
1
1
  'use strict';
2
2
 
3
- var chunkA6MOPB7D_cjs = require('../chunk-A6MOPB7D.cjs');
3
+ var chunkIZSL6DI7_cjs = require('../chunk-IZSL6DI7.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
8
8
  enumerable: true,
9
- get: function () { return chunkA6MOPB7D_cjs.FFIDAnnouncementBadge; }
9
+ get: function () { return chunkIZSL6DI7_cjs.FFIDAnnouncementBadge; }
10
10
  });
11
11
  Object.defineProperty(exports, "FFIDAnnouncementList", {
12
12
  enumerable: true,
13
- get: function () { return chunkA6MOPB7D_cjs.FFIDAnnouncementList; }
13
+ get: function () { return chunkIZSL6DI7_cjs.FFIDAnnouncementList; }
14
14
  });
15
15
  Object.defineProperty(exports, "FFIDInquiryForm", {
16
16
  enumerable: true,
17
- get: function () { return chunkA6MOPB7D_cjs.FFIDInquiryForm; }
17
+ get: function () { return chunkIZSL6DI7_cjs.FFIDInquiryForm; }
18
18
  });
19
19
  Object.defineProperty(exports, "FFIDLoginButton", {
20
20
  enumerable: true,
21
- get: function () { return chunkA6MOPB7D_cjs.FFIDLoginButton; }
21
+ get: function () { return chunkIZSL6DI7_cjs.FFIDLoginButton; }
22
22
  });
23
23
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
24
24
  enumerable: true,
25
- get: function () { return chunkA6MOPB7D_cjs.FFIDOrganizationSwitcher; }
25
+ get: function () { return chunkIZSL6DI7_cjs.FFIDOrganizationSwitcher; }
26
26
  });
27
27
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
28
28
  enumerable: true,
29
- get: function () { return chunkA6MOPB7D_cjs.FFIDSubscriptionBadge; }
29
+ get: function () { return chunkIZSL6DI7_cjs.FFIDSubscriptionBadge; }
30
30
  });
31
31
  Object.defineProperty(exports, "FFIDUserMenu", {
32
32
  enumerable: true,
33
- get: function () { return chunkA6MOPB7D_cjs.FFIDUserMenu; }
33
+ get: function () { return chunkIZSL6DI7_cjs.FFIDUserMenu; }
34
34
  });
@@ -1 +1 @@
1
- export { FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDSubscriptionBadge, FFIDUserMenu } from '../chunk-KENJXMSG.js';
1
+ export { FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDSubscriptionBadge, FFIDUserMenu } from '../chunk-OJ3OJTIE.js';
@@ -1,258 +1,258 @@
1
1
  'use strict';
2
2
 
3
- var chunkQ5SZVLNB_cjs = require('../chunk-Q5SZVLNB.cjs');
3
+ var chunkR5WSZMUL_cjs = require('../chunk-R5WSZMUL.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
8
8
  enumerable: true,
9
- get: function () { return chunkQ5SZVLNB_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
9
+ get: function () { return chunkR5WSZMUL_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
10
10
  });
11
11
  Object.defineProperty(exports, "CONSENT_COOKIE_MAX_AGE_SEC", {
12
12
  enumerable: true,
13
- get: function () { return chunkQ5SZVLNB_cjs.CONSENT_COOKIE_MAX_AGE_SEC; }
13
+ get: function () { return chunkR5WSZMUL_cjs.CONSENT_COOKIE_MAX_AGE_SEC; }
14
14
  });
15
15
  Object.defineProperty(exports, "CONSENT_COOKIE_NAME", {
16
16
  enumerable: true,
17
- get: function () { return chunkQ5SZVLNB_cjs.CONSENT_COOKIE_NAME; }
17
+ get: function () { return chunkR5WSZMUL_cjs.CONSENT_COOKIE_NAME; }
18
18
  });
19
19
  Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
20
20
  enumerable: true,
21
- get: function () { return chunkQ5SZVLNB_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
21
+ get: function () { return chunkR5WSZMUL_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
22
22
  });
23
23
  Object.defineProperty(exports, "CONSENT_SESSION_STORAGE_KEY", {
24
24
  enumerable: true,
25
- get: function () { return chunkQ5SZVLNB_cjs.CONSENT_SESSION_STORAGE_KEY; }
25
+ get: function () { return chunkR5WSZMUL_cjs.CONSENT_SESSION_STORAGE_KEY; }
26
26
  });
27
27
  Object.defineProperty(exports, "COOKIE_VERSION", {
28
28
  enumerable: true,
29
- get: function () { return chunkQ5SZVLNB_cjs.COOKIE_VERSION; }
29
+ get: function () { return chunkR5WSZMUL_cjs.COOKIE_VERSION; }
30
30
  });
31
31
  Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
32
32
  enumerable: true,
33
- get: function () { return chunkQ5SZVLNB_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
33
+ get: function () { return chunkR5WSZMUL_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
34
34
  });
35
35
  Object.defineProperty(exports, "DEFAULT_MERGE_WARNING_MESSAGES", {
36
36
  enumerable: true,
37
- get: function () { return chunkQ5SZVLNB_cjs.DEFAULT_MERGE_WARNING_MESSAGES; }
37
+ get: function () { return chunkR5WSZMUL_cjs.DEFAULT_MERGE_WARNING_MESSAGES; }
38
38
  });
39
39
  Object.defineProperty(exports, "DEVICE_ID_LOCAL_STORAGE_KEY", {
40
40
  enumerable: true,
41
- get: function () { return chunkQ5SZVLNB_cjs.DEVICE_ID_LOCAL_STORAGE_KEY; }
41
+ get: function () { return chunkR5WSZMUL_cjs.DEVICE_ID_LOCAL_STORAGE_KEY; }
42
42
  });
43
43
  Object.defineProperty(exports, "DEVICE_ID_SESSION_STORAGE_KEY", {
44
44
  enumerable: true,
45
- get: function () { return chunkQ5SZVLNB_cjs.DEVICE_ID_SESSION_STORAGE_KEY; }
45
+ get: function () { return chunkR5WSZMUL_cjs.DEVICE_ID_SESSION_STORAGE_KEY; }
46
46
  });
47
47
  Object.defineProperty(exports, "DeviceIdSchema", {
48
48
  enumerable: true,
49
- get: function () { return chunkQ5SZVLNB_cjs.DeviceIdSchema; }
49
+ get: function () { return chunkR5WSZMUL_cjs.DeviceIdSchema; }
50
50
  });
51
51
  Object.defineProperty(exports, "FFIDAnalyticsProvider", {
52
52
  enumerable: true,
53
- get: function () { return chunkQ5SZVLNB_cjs.FFIDAnalyticsProvider; }
53
+ get: function () { return chunkR5WSZMUL_cjs.FFIDAnalyticsProvider; }
54
54
  });
55
55
  Object.defineProperty(exports, "FFIDConsentCategoriesSchema", {
56
56
  enumerable: true,
57
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentCategoriesSchema; }
57
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentCategoriesSchema; }
58
58
  });
59
59
  Object.defineProperty(exports, "FFIDConsentCategoryCodeSchema", {
60
60
  enumerable: true,
61
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentCategoryCodeSchema; }
61
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentCategoryCodeSchema; }
62
62
  });
63
63
  Object.defineProperty(exports, "FFIDConsentCategoryMetadataSchema", {
64
64
  enumerable: true,
65
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentCategoryMetadataSchema; }
65
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentCategoryMetadataSchema; }
66
66
  });
67
67
  Object.defineProperty(exports, "FFIDConsentContext", {
68
68
  enumerable: true,
69
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentContext; }
69
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentContext; }
70
70
  });
71
71
  Object.defineProperty(exports, "FFIDConsentError", {
72
72
  enumerable: true,
73
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentError; }
73
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentError; }
74
74
  });
75
75
  Object.defineProperty(exports, "FFIDConsentMergeStrategySchema", {
76
76
  enumerable: true,
77
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentMergeStrategySchema; }
77
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentMergeStrategySchema; }
78
78
  });
79
79
  Object.defineProperty(exports, "FFIDConsentMergeWarningSchema", {
80
80
  enumerable: true,
81
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentMergeWarningSchema; }
81
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentMergeWarningSchema; }
82
82
  });
83
83
  Object.defineProperty(exports, "FFIDConsentSourceSchema", {
84
84
  enumerable: true,
85
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentSourceSchema; }
85
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentSourceSchema; }
86
86
  });
87
87
  Object.defineProperty(exports, "FFIDConsentStateSchema", {
88
88
  enumerable: true,
89
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentStateSchema; }
89
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentStateSchema; }
90
90
  });
91
91
  Object.defineProperty(exports, "FFIDConsentUpdateSchema", {
92
92
  enumerable: true,
93
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentUpdateSchema; }
93
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentUpdateSchema; }
94
94
  });
95
95
  Object.defineProperty(exports, "FFIDCookieBanner", {
96
96
  enumerable: true,
97
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieBanner; }
97
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieBanner; }
98
98
  });
99
99
  Object.defineProperty(exports, "FFIDCookieLink", {
100
100
  enumerable: true,
101
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieLink; }
101
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieLink; }
102
102
  });
103
103
  Object.defineProperty(exports, "FFIDCookiePolicySchema", {
104
104
  enumerable: true,
105
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookiePolicySchema; }
105
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookiePolicySchema; }
106
106
  });
107
107
  Object.defineProperty(exports, "FFIDCookieSettings", {
108
108
  enumerable: true,
109
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieSettings; }
109
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieSettings; }
110
110
  });
111
111
  Object.defineProperty(exports, "FFIDInternalConsentSourceSchema", {
112
112
  enumerable: true,
113
- get: function () { return chunkQ5SZVLNB_cjs.FFIDInternalConsentSourceSchema; }
113
+ get: function () { return chunkR5WSZMUL_cjs.FFIDInternalConsentSourceSchema; }
114
114
  });
115
115
  Object.defineProperty(exports, "FFIDPublicConsentSourceSchema", {
116
116
  enumerable: true,
117
- get: function () { return chunkQ5SZVLNB_cjs.FFIDPublicConsentSourceSchema; }
117
+ get: function () { return chunkR5WSZMUL_cjs.FFIDPublicConsentSourceSchema; }
118
118
  });
119
119
  Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
120
120
  enumerable: true,
121
- get: function () { return chunkQ5SZVLNB_cjs.FFID_CONSENT_ERROR_CODES; }
121
+ get: function () { return chunkR5WSZMUL_cjs.FFID_CONSENT_ERROR_CODES; }
122
122
  });
123
123
  Object.defineProperty(exports, "FFID_CONSENT_NOT_DECIDED_STATE", {
124
124
  enumerable: true,
125
- get: function () { return chunkQ5SZVLNB_cjs.FFID_CONSENT_NOT_DECIDED_STATE; }
125
+ get: function () { return chunkR5WSZMUL_cjs.FFID_CONSENT_NOT_DECIDED_STATE; }
126
126
  });
127
127
  Object.defineProperty(exports, "GetCategoriesWireSchema", {
128
128
  enumerable: true,
129
- get: function () { return chunkQ5SZVLNB_cjs.GetCategoriesWireSchema; }
129
+ get: function () { return chunkR5WSZMUL_cjs.GetCategoriesWireSchema; }
130
130
  });
131
131
  Object.defineProperty(exports, "GetConsentMeWireSchema", {
132
132
  enumerable: true,
133
- get: function () { return chunkQ5SZVLNB_cjs.GetConsentMeWireSchema; }
133
+ get: function () { return chunkR5WSZMUL_cjs.GetConsentMeWireSchema; }
134
134
  });
135
135
  Object.defineProperty(exports, "GetDocumentWireSchema", {
136
136
  enumerable: true,
137
- get: function () { return chunkQ5SZVLNB_cjs.GetDocumentWireSchema; }
137
+ get: function () { return chunkR5WSZMUL_cjs.GetDocumentWireSchema; }
138
138
  });
139
139
  Object.defineProperty(exports, "PostConsentRequestSchema", {
140
140
  enumerable: true,
141
- get: function () { return chunkQ5SZVLNB_cjs.PostConsentRequestSchema; }
141
+ get: function () { return chunkR5WSZMUL_cjs.PostConsentRequestSchema; }
142
142
  });
143
143
  Object.defineProperty(exports, "PostConsentWireSchema", {
144
144
  enumerable: true,
145
- get: function () { return chunkQ5SZVLNB_cjs.PostConsentWireSchema; }
145
+ get: function () { return chunkR5WSZMUL_cjs.PostConsentWireSchema; }
146
146
  });
147
147
  Object.defineProperty(exports, "PostSyncRequestSchema", {
148
148
  enumerable: true,
149
- get: function () { return chunkQ5SZVLNB_cjs.PostSyncRequestSchema; }
149
+ get: function () { return chunkR5WSZMUL_cjs.PostSyncRequestSchema; }
150
150
  });
151
151
  Object.defineProperty(exports, "PostSyncWireSchema", {
152
152
  enumerable: true,
153
- get: function () { return chunkQ5SZVLNB_cjs.PostSyncWireSchema; }
153
+ get: function () { return chunkR5WSZMUL_cjs.PostSyncWireSchema; }
154
154
  });
155
155
  Object.defineProperty(exports, "PostWithdrawWireSchema", {
156
156
  enumerable: true,
157
- get: function () { return chunkQ5SZVLNB_cjs.PostWithdrawWireSchema; }
157
+ get: function () { return chunkR5WSZMUL_cjs.PostWithdrawWireSchema; }
158
158
  });
159
159
  Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
160
160
  enumerable: true,
161
- get: function () { return chunkQ5SZVLNB_cjs.clearConsentDismissalTimestamp; }
161
+ get: function () { return chunkR5WSZMUL_cjs.clearConsentDismissalTimestamp; }
162
162
  });
163
163
  Object.defineProperty(exports, "clearConsentSessionMirror", {
164
164
  enumerable: true,
165
- get: function () { return chunkQ5SZVLNB_cjs.clearConsentSessionMirror; }
165
+ get: function () { return chunkR5WSZMUL_cjs.clearConsentSessionMirror; }
166
166
  });
167
167
  Object.defineProperty(exports, "clearDeviceId", {
168
168
  enumerable: true,
169
- get: function () { return chunkQ5SZVLNB_cjs.clearDeviceId; }
169
+ get: function () { return chunkR5WSZMUL_cjs.clearDeviceId; }
170
170
  });
171
171
  Object.defineProperty(exports, "createConsentClient", {
172
172
  enumerable: true,
173
- get: function () { return chunkQ5SZVLNB_cjs.createConsentClient; }
173
+ get: function () { return chunkR5WSZMUL_cjs.createConsentClient; }
174
174
  });
175
175
  Object.defineProperty(exports, "createGtagBridge", {
176
176
  enumerable: true,
177
- get: function () { return chunkQ5SZVLNB_cjs.createGtagBridge; }
177
+ get: function () { return chunkR5WSZMUL_cjs.createGtagBridge; }
178
178
  });
179
179
  Object.defineProperty(exports, "decodeConsentCookie", {
180
180
  enumerable: true,
181
- get: function () { return chunkQ5SZVLNB_cjs.decodeConsentCookie; }
181
+ get: function () { return chunkR5WSZMUL_cjs.decodeConsentCookie; }
182
182
  });
183
183
  Object.defineProperty(exports, "deleteConsentCookie", {
184
184
  enumerable: true,
185
- get: function () { return chunkQ5SZVLNB_cjs.deleteConsentCookie; }
185
+ get: function () { return chunkR5WSZMUL_cjs.deleteConsentCookie; }
186
186
  });
187
187
  Object.defineProperty(exports, "encodeConsentCookie", {
188
188
  enumerable: true,
189
- get: function () { return chunkQ5SZVLNB_cjs.encodeConsentCookie; }
189
+ get: function () { return chunkR5WSZMUL_cjs.encodeConsentCookie; }
190
190
  });
191
191
  Object.defineProperty(exports, "generateDeviceId", {
192
192
  enumerable: true,
193
- get: function () { return chunkQ5SZVLNB_cjs.generateDeviceId; }
193
+ get: function () { return chunkR5WSZMUL_cjs.generateDeviceId; }
194
194
  });
195
195
  Object.defineProperty(exports, "getOrCreateDeviceId", {
196
196
  enumerable: true,
197
- get: function () { return chunkQ5SZVLNB_cjs.getOrCreateDeviceId; }
197
+ get: function () { return chunkR5WSZMUL_cjs.getOrCreateDeviceId; }
198
198
  });
199
199
  Object.defineProperty(exports, "isUuidV7", {
200
200
  enumerable: true,
201
- get: function () { return chunkQ5SZVLNB_cjs.isUuidV7; }
201
+ get: function () { return chunkR5WSZMUL_cjs.isUuidV7; }
202
202
  });
203
203
  Object.defineProperty(exports, "isValidDeviceId", {
204
204
  enumerable: true,
205
- get: function () { return chunkQ5SZVLNB_cjs.isValidDeviceId; }
205
+ get: function () { return chunkR5WSZMUL_cjs.isValidDeviceId; }
206
206
  });
207
207
  Object.defineProperty(exports, "mapCategoriesToGtagParams", {
208
208
  enumerable: true,
209
- get: function () { return chunkQ5SZVLNB_cjs.mapCategoriesToGtagParams; }
209
+ get: function () { return chunkR5WSZMUL_cjs.mapCategoriesToGtagParams; }
210
210
  });
211
211
  Object.defineProperty(exports, "mapConsentWireToState", {
212
212
  enumerable: true,
213
- get: function () { return chunkQ5SZVLNB_cjs.mapConsentWireToState; }
213
+ get: function () { return chunkR5WSZMUL_cjs.mapConsentWireToState; }
214
214
  });
215
215
  Object.defineProperty(exports, "mapMeWireToState", {
216
216
  enumerable: true,
217
- get: function () { return chunkQ5SZVLNB_cjs.mapMeWireToState; }
217
+ get: function () { return chunkR5WSZMUL_cjs.mapMeWireToState; }
218
218
  });
219
219
  Object.defineProperty(exports, "mapSyncWireToResult", {
220
220
  enumerable: true,
221
- get: function () { return chunkQ5SZVLNB_cjs.mapSyncWireToResult; }
221
+ get: function () { return chunkR5WSZMUL_cjs.mapSyncWireToResult; }
222
222
  });
223
223
  Object.defineProperty(exports, "mapWithdrawWireToState", {
224
224
  enumerable: true,
225
- get: function () { return chunkQ5SZVLNB_cjs.mapWithdrawWireToState; }
225
+ get: function () { return chunkR5WSZMUL_cjs.mapWithdrawWireToState; }
226
226
  });
227
227
  Object.defineProperty(exports, "readConsentCookie", {
228
228
  enumerable: true,
229
- get: function () { return chunkQ5SZVLNB_cjs.readConsentCookie; }
229
+ get: function () { return chunkR5WSZMUL_cjs.readConsentCookie; }
230
230
  });
231
231
  Object.defineProperty(exports, "readConsentDismissalTimestamp", {
232
232
  enumerable: true,
233
- get: function () { return chunkQ5SZVLNB_cjs.readConsentDismissalTimestamp; }
233
+ get: function () { return chunkR5WSZMUL_cjs.readConsentDismissalTimestamp; }
234
234
  });
235
235
  Object.defineProperty(exports, "readConsentSessionMirror", {
236
236
  enumerable: true,
237
- get: function () { return chunkQ5SZVLNB_cjs.readConsentSessionMirror; }
237
+ get: function () { return chunkR5WSZMUL_cjs.readConsentSessionMirror; }
238
238
  });
239
239
  Object.defineProperty(exports, "useFFIDConsent", {
240
240
  enumerable: true,
241
- get: function () { return chunkQ5SZVLNB_cjs.useFFIDConsent; }
241
+ get: function () { return chunkR5WSZMUL_cjs.useFFIDConsent; }
242
242
  });
243
243
  Object.defineProperty(exports, "useFFIDConsentPreferences", {
244
244
  enumerable: true,
245
- get: function () { return chunkQ5SZVLNB_cjs.useFFIDConsentPreferences; }
245
+ get: function () { return chunkR5WSZMUL_cjs.useFFIDConsentPreferences; }
246
246
  });
247
247
  Object.defineProperty(exports, "writeConsentCookie", {
248
248
  enumerable: true,
249
- get: function () { return chunkQ5SZVLNB_cjs.writeConsentCookie; }
249
+ get: function () { return chunkR5WSZMUL_cjs.writeConsentCookie; }
250
250
  });
251
251
  Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
252
252
  enumerable: true,
253
- get: function () { return chunkQ5SZVLNB_cjs.writeConsentDismissalTimestamp; }
253
+ get: function () { return chunkR5WSZMUL_cjs.writeConsentDismissalTimestamp; }
254
254
  });
255
255
  Object.defineProperty(exports, "writeConsentSessionMirror", {
256
256
  enumerable: true,
257
- get: function () { return chunkQ5SZVLNB_cjs.writeConsentSessionMirror; }
257
+ get: function () { return chunkR5WSZMUL_cjs.writeConsentSessionMirror; }
258
258
  });
@@ -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-CE01gYc4.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-CE01gYc4.cjs';
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-D1WwE_ZO.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-D1WwE_ZO.cjs';
3
3
  import 'react';
4
4
  import 'zod';
5
5
 
@@ -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-CE01gYc4.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-CE01gYc4.js';
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-D1WwE_ZO.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-D1WwE_ZO.js';
3
3
  import 'react';
4
4
  import 'zod';
5
5
 
@@ -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-KJ7FUNA6.js';
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-M4N2PUX6.js';
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkA6MOPB7D_cjs = require('./chunk-A6MOPB7D.cjs');
4
- var chunkQ5SZVLNB_cjs = require('./chunk-Q5SZVLNB.cjs');
3
+ var chunkIZSL6DI7_cjs = require('./chunk-IZSL6DI7.cjs');
4
+ var chunkR5WSZMUL_cjs = require('./chunk-R5WSZMUL.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 } = chunkA6MOPB7D_cjs.useFFIDContext();
58
- const { effectiveStatus, isBlocked, isGrace } = chunkA6MOPB7D_cjs.useSubscription();
57
+ const { isLoading, error } = chunkIZSL6DI7_cjs.useFFIDContext();
58
+ const { effectiveStatus, isBlocked, isGrace } = chunkIZSL6DI7_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 } = chunkA6MOPB7D_cjs.useFFIDContext();
79
+ const { isLoading, isAuthenticated, login } = chunkIZSL6DI7_cjs.useFFIDContext();
80
80
  const hasRedirected = react.useRef(false);
81
81
  react.useEffect(() => {
82
82
  if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
@@ -105,211 +105,211 @@ 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 chunkA6MOPB7D_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
108
+ get: function () { return chunkIZSL6DI7_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
109
109
  });
110
110
  Object.defineProperty(exports, "BLOCKING_EFFECTIVE_STATUSES", {
111
111
  enumerable: true,
112
- get: function () { return chunkA6MOPB7D_cjs.BLOCKING_EFFECTIVE_STATUSES; }
112
+ get: function () { return chunkIZSL6DI7_cjs.BLOCKING_EFFECTIVE_STATUSES; }
113
113
  });
114
114
  Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
115
115
  enumerable: true,
116
- get: function () { return chunkA6MOPB7D_cjs.DEFAULT_API_BASE_URL; }
116
+ get: function () { return chunkIZSL6DI7_cjs.DEFAULT_API_BASE_URL; }
117
117
  });
118
118
  Object.defineProperty(exports, "DEFAULT_OAUTH_SCOPES", {
119
119
  enumerable: true,
120
- get: function () { return chunkA6MOPB7D_cjs.DEFAULT_OAUTH_SCOPES; }
120
+ get: function () { return chunkIZSL6DI7_cjs.DEFAULT_OAUTH_SCOPES; }
121
121
  });
122
122
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
123
123
  enumerable: true,
124
- get: function () { return chunkA6MOPB7D_cjs.FFIDAnnouncementBadge; }
124
+ get: function () { return chunkIZSL6DI7_cjs.FFIDAnnouncementBadge; }
125
125
  });
126
126
  Object.defineProperty(exports, "FFIDAnnouncementList", {
127
127
  enumerable: true,
128
- get: function () { return chunkA6MOPB7D_cjs.FFIDAnnouncementList; }
128
+ get: function () { return chunkIZSL6DI7_cjs.FFIDAnnouncementList; }
129
129
  });
130
130
  Object.defineProperty(exports, "FFIDInquiryForm", {
131
131
  enumerable: true,
132
- get: function () { return chunkA6MOPB7D_cjs.FFIDInquiryForm; }
132
+ get: function () { return chunkIZSL6DI7_cjs.FFIDInquiryForm; }
133
133
  });
134
134
  Object.defineProperty(exports, "FFIDLoginButton", {
135
135
  enumerable: true,
136
- get: function () { return chunkA6MOPB7D_cjs.FFIDLoginButton; }
136
+ get: function () { return chunkIZSL6DI7_cjs.FFIDLoginButton; }
137
137
  });
138
138
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
139
139
  enumerable: true,
140
- get: function () { return chunkA6MOPB7D_cjs.FFIDOrganizationSwitcher; }
140
+ get: function () { return chunkIZSL6DI7_cjs.FFIDOrganizationSwitcher; }
141
141
  });
142
142
  Object.defineProperty(exports, "FFIDProvider", {
143
143
  enumerable: true,
144
- get: function () { return chunkA6MOPB7D_cjs.FFIDProvider; }
144
+ get: function () { return chunkIZSL6DI7_cjs.FFIDProvider; }
145
145
  });
146
146
  Object.defineProperty(exports, "FFIDSDKError", {
147
147
  enumerable: true,
148
- get: function () { return chunkA6MOPB7D_cjs.FFIDSDKError; }
148
+ get: function () { return chunkIZSL6DI7_cjs.FFIDSDKError; }
149
149
  });
150
150
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
151
151
  enumerable: true,
152
- get: function () { return chunkA6MOPB7D_cjs.FFIDSubscriptionBadge; }
152
+ get: function () { return chunkIZSL6DI7_cjs.FFIDSubscriptionBadge; }
153
153
  });
154
154
  Object.defineProperty(exports, "FFIDUserMenu", {
155
155
  enumerable: true,
156
- get: function () { return chunkA6MOPB7D_cjs.FFIDUserMenu; }
156
+ get: function () { return chunkIZSL6DI7_cjs.FFIDUserMenu; }
157
157
  });
158
158
  Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
159
159
  enumerable: true,
160
- get: function () { return chunkA6MOPB7D_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
160
+ get: function () { return chunkIZSL6DI7_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
161
161
  });
162
162
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
163
163
  enumerable: true,
164
- get: function () { return chunkA6MOPB7D_cjs.FFID_INQUIRY_CATEGORIES; }
164
+ get: function () { return chunkIZSL6DI7_cjs.FFID_INQUIRY_CATEGORIES; }
165
165
  });
166
166
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES_SITE_2026", {
167
167
  enumerable: true,
168
- get: function () { return chunkA6MOPB7D_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
168
+ get: function () { return chunkIZSL6DI7_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
169
169
  });
170
170
  Object.defineProperty(exports, "computeEffectiveStatusFromSession", {
171
171
  enumerable: true,
172
- get: function () { return chunkA6MOPB7D_cjs.computeEffectiveStatusFromSession; }
172
+ get: function () { return chunkIZSL6DI7_cjs.computeEffectiveStatusFromSession; }
173
173
  });
174
174
  Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
175
175
  enumerable: true,
176
- get: function () { return chunkA6MOPB7D_cjs.createFFIDAnnouncementsClient; }
176
+ get: function () { return chunkIZSL6DI7_cjs.createFFIDAnnouncementsClient; }
177
177
  });
178
178
  Object.defineProperty(exports, "createFFIDClient", {
179
179
  enumerable: true,
180
- get: function () { return chunkA6MOPB7D_cjs.createFFIDClient; }
180
+ get: function () { return chunkIZSL6DI7_cjs.createFFIDClient; }
181
181
  });
182
182
  Object.defineProperty(exports, "createTokenStore", {
183
183
  enumerable: true,
184
- get: function () { return chunkA6MOPB7D_cjs.createTokenStore; }
184
+ get: function () { return chunkIZSL6DI7_cjs.createTokenStore; }
185
185
  });
186
186
  Object.defineProperty(exports, "generateCodeChallenge", {
187
187
  enumerable: true,
188
- get: function () { return chunkA6MOPB7D_cjs.generateCodeChallenge; }
188
+ get: function () { return chunkIZSL6DI7_cjs.generateCodeChallenge; }
189
189
  });
190
190
  Object.defineProperty(exports, "generateCodeVerifier", {
191
191
  enumerable: true,
192
- get: function () { return chunkA6MOPB7D_cjs.generateCodeVerifier; }
192
+ get: function () { return chunkIZSL6DI7_cjs.generateCodeVerifier; }
193
193
  });
194
194
  Object.defineProperty(exports, "hasAccessFromUserinfo", {
195
195
  enumerable: true,
196
- get: function () { return chunkA6MOPB7D_cjs.hasAccessFromUserinfo; }
196
+ get: function () { return chunkIZSL6DI7_cjs.hasAccessFromUserinfo; }
197
197
  });
198
198
  Object.defineProperty(exports, "isBlockedFromUserinfo", {
199
199
  enumerable: true,
200
- get: function () { return chunkA6MOPB7D_cjs.isBlockedFromUserinfo; }
200
+ get: function () { return chunkIZSL6DI7_cjs.isBlockedFromUserinfo; }
201
201
  });
202
202
  Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
203
203
  enumerable: true,
204
- get: function () { return chunkA6MOPB7D_cjs.isFFIDInquiryCategorySite2026; }
204
+ get: function () { return chunkIZSL6DI7_cjs.isFFIDInquiryCategorySite2026; }
205
205
  });
206
206
  Object.defineProperty(exports, "normalizeRedirectUri", {
207
207
  enumerable: true,
208
- get: function () { return chunkA6MOPB7D_cjs.normalizeRedirectUri; }
208
+ get: function () { return chunkIZSL6DI7_cjs.normalizeRedirectUri; }
209
209
  });
210
210
  Object.defineProperty(exports, "retrieveCodeVerifier", {
211
211
  enumerable: true,
212
- get: function () { return chunkA6MOPB7D_cjs.retrieveCodeVerifier; }
212
+ get: function () { return chunkIZSL6DI7_cjs.retrieveCodeVerifier; }
213
213
  });
214
214
  Object.defineProperty(exports, "storeCodeVerifier", {
215
215
  enumerable: true,
216
- get: function () { return chunkA6MOPB7D_cjs.storeCodeVerifier; }
216
+ get: function () { return chunkIZSL6DI7_cjs.storeCodeVerifier; }
217
217
  });
218
218
  Object.defineProperty(exports, "useFFID", {
219
219
  enumerable: true,
220
- get: function () { return chunkA6MOPB7D_cjs.useFFID; }
220
+ get: function () { return chunkIZSL6DI7_cjs.useFFID; }
221
221
  });
222
222
  Object.defineProperty(exports, "useFFIDAnnouncements", {
223
223
  enumerable: true,
224
- get: function () { return chunkA6MOPB7D_cjs.useFFIDAnnouncements; }
224
+ get: function () { return chunkIZSL6DI7_cjs.useFFIDAnnouncements; }
225
225
  });
226
226
  Object.defineProperty(exports, "useSubscription", {
227
227
  enumerable: true,
228
- get: function () { return chunkA6MOPB7D_cjs.useSubscription; }
228
+ get: function () { return chunkIZSL6DI7_cjs.useSubscription; }
229
229
  });
230
230
  Object.defineProperty(exports, "withSubscription", {
231
231
  enumerable: true,
232
- get: function () { return chunkA6MOPB7D_cjs.withSubscription; }
232
+ get: function () { return chunkIZSL6DI7_cjs.withSubscription; }
233
233
  });
234
234
  Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
235
235
  enumerable: true,
236
- get: function () { return chunkQ5SZVLNB_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
236
+ get: function () { return chunkR5WSZMUL_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
237
237
  });
238
238
  Object.defineProperty(exports, "CONSENT_COOKIE_NAME", {
239
239
  enumerable: true,
240
- get: function () { return chunkQ5SZVLNB_cjs.CONSENT_COOKIE_NAME; }
240
+ get: function () { return chunkR5WSZMUL_cjs.CONSENT_COOKIE_NAME; }
241
241
  });
242
242
  Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
243
243
  enumerable: true,
244
- get: function () { return chunkQ5SZVLNB_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
244
+ get: function () { return chunkR5WSZMUL_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
245
245
  });
246
246
  Object.defineProperty(exports, "COOKIE_VERSION", {
247
247
  enumerable: true,
248
- get: function () { return chunkQ5SZVLNB_cjs.COOKIE_VERSION; }
248
+ get: function () { return chunkR5WSZMUL_cjs.COOKIE_VERSION; }
249
249
  });
250
250
  Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
251
251
  enumerable: true,
252
- get: function () { return chunkQ5SZVLNB_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
252
+ get: function () { return chunkR5WSZMUL_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
253
253
  });
254
254
  Object.defineProperty(exports, "FFIDAnalyticsProvider", {
255
255
  enumerable: true,
256
- get: function () { return chunkQ5SZVLNB_cjs.FFIDAnalyticsProvider; }
256
+ get: function () { return chunkR5WSZMUL_cjs.FFIDAnalyticsProvider; }
257
257
  });
258
258
  Object.defineProperty(exports, "FFIDConsentError", {
259
259
  enumerable: true,
260
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentError; }
260
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentError; }
261
261
  });
262
262
  Object.defineProperty(exports, "FFIDCookieBanner", {
263
263
  enumerable: true,
264
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieBanner; }
264
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieBanner; }
265
265
  });
266
266
  Object.defineProperty(exports, "FFIDCookieLink", {
267
267
  enumerable: true,
268
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieLink; }
268
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieLink; }
269
269
  });
270
270
  Object.defineProperty(exports, "FFIDCookieSettings", {
271
271
  enumerable: true,
272
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieSettings; }
272
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieSettings; }
273
273
  });
274
274
  Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
275
275
  enumerable: true,
276
- get: function () { return chunkQ5SZVLNB_cjs.FFID_CONSENT_ERROR_CODES; }
276
+ get: function () { return chunkR5WSZMUL_cjs.FFID_CONSENT_ERROR_CODES; }
277
277
  });
278
278
  Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
279
279
  enumerable: true,
280
- get: function () { return chunkQ5SZVLNB_cjs.clearConsentDismissalTimestamp; }
280
+ get: function () { return chunkR5WSZMUL_cjs.clearConsentDismissalTimestamp; }
281
281
  });
282
282
  Object.defineProperty(exports, "decodeConsentCookie", {
283
283
  enumerable: true,
284
- get: function () { return chunkQ5SZVLNB_cjs.decodeConsentCookie; }
284
+ get: function () { return chunkR5WSZMUL_cjs.decodeConsentCookie; }
285
285
  });
286
286
  Object.defineProperty(exports, "encodeConsentCookie", {
287
287
  enumerable: true,
288
- get: function () { return chunkQ5SZVLNB_cjs.encodeConsentCookie; }
288
+ get: function () { return chunkR5WSZMUL_cjs.encodeConsentCookie; }
289
289
  });
290
290
  Object.defineProperty(exports, "readConsentCookie", {
291
291
  enumerable: true,
292
- get: function () { return chunkQ5SZVLNB_cjs.readConsentCookie; }
292
+ get: function () { return chunkR5WSZMUL_cjs.readConsentCookie; }
293
293
  });
294
294
  Object.defineProperty(exports, "readConsentDismissalTimestamp", {
295
295
  enumerable: true,
296
- get: function () { return chunkQ5SZVLNB_cjs.readConsentDismissalTimestamp; }
296
+ get: function () { return chunkR5WSZMUL_cjs.readConsentDismissalTimestamp; }
297
297
  });
298
298
  Object.defineProperty(exports, "useFFIDConsent", {
299
299
  enumerable: true,
300
- get: function () { return chunkQ5SZVLNB_cjs.useFFIDConsent; }
300
+ get: function () { return chunkR5WSZMUL_cjs.useFFIDConsent; }
301
301
  });
302
302
  Object.defineProperty(exports, "useFFIDConsentPreferences", {
303
303
  enumerable: true,
304
- get: function () { return chunkQ5SZVLNB_cjs.useFFIDConsentPreferences; }
304
+ get: function () { return chunkR5WSZMUL_cjs.useFFIDConsentPreferences; }
305
305
  });
306
306
  Object.defineProperty(exports, "writeConsentCookie", {
307
307
  enumerable: true,
308
- get: function () { return chunkQ5SZVLNB_cjs.writeConsentCookie; }
308
+ get: function () { return chunkR5WSZMUL_cjs.writeConsentCookie; }
309
309
  });
310
310
  Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
311
311
  enumerable: true,
312
- get: function () { return chunkQ5SZVLNB_cjs.writeConsentDismissalTimestamp; }
312
+ get: function () { return chunkR5WSZMUL_cjs.writeConsentDismissalTimestamp; }
313
313
  });
314
314
  exports.FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS;
315
315
  exports.FFID_NEWSLETTER_TYPES = FFID_NEWSLETTER_TYPES;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { F as FFIDSubscriptionStatus, a as FFIDConfig, b as FFIDApiResponse, c as FFIDSessionResponse, d as FFIDRedirectResult, e as FFIDError, f as FFIDSubscriptionCheckResponse, g as FFIDCheckServiceAccessParams, h as FFIDServiceAccessDecision, i as FFIDProfileCallOptions, j as FFIDUserProfile, k as FFIDUpdateUserProfileRequest, l as FFIDAnalyticsConfig, m as FFIDCreateCheckoutParams, n as FFIDCheckoutSessionResponse, o as FFIDCreatePortalParams, p as FFIDPortalSessionResponse, q as FFIDVerifyAccessTokenOptions, r as FFIDOAuthUserInfo, s as FFIDInquiryCreateParams, t as FFIDInquiryCreateResponse, u as FFIDAuthMode, v as FFIDLogger, w as FFIDCacheAdapter, x as FFIDUser, y as FFIDOrganization, z as FFIDSubscription, A as FFIDSubscriptionContextValue, E as EffectiveSubscriptionStatus, B as FFIDOAuthUserInfoSubscription, C as FFIDAnnouncementsClientConfig, L as ListAnnouncementsOptions, D as FFIDAnnouncementsApiResponse, G as AnnouncementListResponse, H as FFIDAnnouncementsLogger } from './index-DSvX4q8E.cjs';
2
2
  export { I as Announcement, J as AnnouncementStatus, K as AnnouncementType, M as FFIDAnnouncementBadge, N as FFIDAnnouncementList, O as FFIDAnnouncementsError, P as FFIDAnnouncementsErrorCode, Q as FFIDAnnouncementsServerResponse, R as FFIDCacheConfig, S as FFIDContextValue, T as FFIDInquiryCategory, U as FFIDInquiryCategorySite2026, V as FFIDInquiryForm, W as FFIDInquiryFormCategoryItem, X as FFIDInquiryFormClassNames, Y as FFIDInquiryFormLegalLayout, Z as FFIDInquiryFormOrganization, _ as FFIDInquiryFormPlaceholderContext, $ as FFIDInquiryFormPrefill, a0 as FFIDInquiryFormProps, a1 as FFIDInquiryFormSubmitData, a2 as FFIDInquiryFormSubmitResult, a3 as FFIDJwtClaims, a4 as FFIDLoginButton, a5 as FFIDOAuthTokenResponse, a6 as FFIDOAuthUserInfoMemberRole, a7 as FFIDOrganizationSwitcher, a8 as FFIDRedirectErrorCode, a9 as FFIDSeatModel, aa as FFIDServiceAccessDenialReason, ab as FFIDServiceAccessFailPolicy, ac as FFIDSubscriptionBadge, ad as FFIDTokenIntrospectionResponse, ae as FFIDUserMenu, af as FFID_INQUIRY_CATEGORIES, ag as FFID_INQUIRY_CATEGORIES_SITE_2026, ah as UseFFIDAnnouncementsOptions, ai as UseFFIDAnnouncementsReturn, aj as isFFIDInquiryCategorySite2026, ak as useFFIDAnnouncements } from './index-DSvX4q8E.cjs';
3
- export { A as ALL_DENIED_EXCEPT_NECESSARY, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, c as FFIDConsentCategories, r as FFIDConsentCategoryCode, e as FFIDConsentCategoryMetadata, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, F as FFIDConsentResult, I as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, f as FFIDCookiePolicy, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, _ as FFID_CONSENT_ERROR_CODES, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, aj as decodeConsentCookie, al as encodeConsentCookie, an as readConsentCookie, ao as readConsentDismissalTimestamp, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp } from './FFIDCookieLink-CE01gYc4.cjs';
3
+ export { A as ALL_DENIED_EXCEPT_NECESSARY, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, c as FFIDConsentCategories, r as FFIDConsentCategoryCode, e as FFIDConsentCategoryMetadata, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, F as FFIDConsentResult, I as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, f as FFIDCookiePolicy, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, _ as FFID_CONSENT_ERROR_CODES, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, aj as decodeConsentCookie, al as encodeConsentCookie, an as readConsentCookie, ao as readConsentDismissalTimestamp, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp } from './FFIDCookieLink-D1WwE_ZO.cjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { ReactNode, ComponentType, FC } from 'react';
6
6
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { F as FFIDSubscriptionStatus, a as FFIDConfig, b as FFIDApiResponse, c as FFIDSessionResponse, d as FFIDRedirectResult, e as FFIDError, f as FFIDSubscriptionCheckResponse, g as FFIDCheckServiceAccessParams, h as FFIDServiceAccessDecision, i as FFIDProfileCallOptions, j as FFIDUserProfile, k as FFIDUpdateUserProfileRequest, l as FFIDAnalyticsConfig, m as FFIDCreateCheckoutParams, n as FFIDCheckoutSessionResponse, o as FFIDCreatePortalParams, p as FFIDPortalSessionResponse, q as FFIDVerifyAccessTokenOptions, r as FFIDOAuthUserInfo, s as FFIDInquiryCreateParams, t as FFIDInquiryCreateResponse, u as FFIDAuthMode, v as FFIDLogger, w as FFIDCacheAdapter, x as FFIDUser, y as FFIDOrganization, z as FFIDSubscription, A as FFIDSubscriptionContextValue, E as EffectiveSubscriptionStatus, B as FFIDOAuthUserInfoSubscription, C as FFIDAnnouncementsClientConfig, L as ListAnnouncementsOptions, D as FFIDAnnouncementsApiResponse, G as AnnouncementListResponse, H as FFIDAnnouncementsLogger } from './index-DSvX4q8E.js';
2
2
  export { I as Announcement, J as AnnouncementStatus, K as AnnouncementType, M as FFIDAnnouncementBadge, N as FFIDAnnouncementList, O as FFIDAnnouncementsError, P as FFIDAnnouncementsErrorCode, Q as FFIDAnnouncementsServerResponse, R as FFIDCacheConfig, S as FFIDContextValue, T as FFIDInquiryCategory, U as FFIDInquiryCategorySite2026, V as FFIDInquiryForm, W as FFIDInquiryFormCategoryItem, X as FFIDInquiryFormClassNames, Y as FFIDInquiryFormLegalLayout, Z as FFIDInquiryFormOrganization, _ as FFIDInquiryFormPlaceholderContext, $ as FFIDInquiryFormPrefill, a0 as FFIDInquiryFormProps, a1 as FFIDInquiryFormSubmitData, a2 as FFIDInquiryFormSubmitResult, a3 as FFIDJwtClaims, a4 as FFIDLoginButton, a5 as FFIDOAuthTokenResponse, a6 as FFIDOAuthUserInfoMemberRole, a7 as FFIDOrganizationSwitcher, a8 as FFIDRedirectErrorCode, a9 as FFIDSeatModel, aa as FFIDServiceAccessDenialReason, ab as FFIDServiceAccessFailPolicy, ac as FFIDSubscriptionBadge, ad as FFIDTokenIntrospectionResponse, ae as FFIDUserMenu, af as FFID_INQUIRY_CATEGORIES, ag as FFID_INQUIRY_CATEGORIES_SITE_2026, ah as UseFFIDAnnouncementsOptions, ai as UseFFIDAnnouncementsReturn, aj as isFFIDInquiryCategorySite2026, ak as useFFIDAnnouncements } from './index-DSvX4q8E.js';
3
- export { A as ALL_DENIED_EXCEPT_NECESSARY, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, c as FFIDConsentCategories, r as FFIDConsentCategoryCode, e as FFIDConsentCategoryMetadata, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, F as FFIDConsentResult, I as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, f as FFIDCookiePolicy, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, _ as FFID_CONSENT_ERROR_CODES, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, aj as decodeConsentCookie, al as encodeConsentCookie, an as readConsentCookie, ao as readConsentDismissalTimestamp, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp } from './FFIDCookieLink-CE01gYc4.js';
3
+ export { A as ALL_DENIED_EXCEPT_NECESSARY, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, c as FFIDConsentCategories, r as FFIDConsentCategoryCode, e as FFIDConsentCategoryMetadata, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, F as FFIDConsentResult, I as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, f as FFIDCookiePolicy, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, _ as FFID_CONSENT_ERROR_CODES, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, aj as decodeConsentCookie, al as encodeConsentCookie, an as readConsentCookie, ao as readConsentDismissalTimestamp, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp } from './FFIDCookieLink-D1WwE_ZO.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { ReactNode, ComponentType, FC } from 'react';
6
6
  import 'zod';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { useFFIDContext, useSubscription } from './chunk-KENJXMSG.js';
2
- export { ACCESS_GRANTING_EFFECTIVE_STATUSES, BLOCKING_EFFECTIVE_STATUSES, DEFAULT_API_BASE_URL, DEFAULT_OAUTH_SCOPES, FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDProvider, FFIDSDKError, FFIDSubscriptionBadge, FFIDUserMenu, FFID_ANNOUNCEMENTS_ERROR_CODES, FFID_INQUIRY_CATEGORIES, FFID_INQUIRY_CATEGORIES_SITE_2026, computeEffectiveStatusFromSession, createFFIDAnnouncementsClient, createFFIDClient, createTokenStore, generateCodeChallenge, generateCodeVerifier, hasAccessFromUserinfo, isBlockedFromUserinfo, isFFIDInquiryCategorySite2026, normalizeRedirectUri, retrieveCodeVerifier, storeCodeVerifier, useFFID, useFFIDAnnouncements, useSubscription, withSubscription } from './chunk-KENJXMSG.js';
3
- export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, FFIDAnalyticsProvider, FFIDConsentError, FFIDCookieBanner, FFIDCookieLink, FFIDCookieSettings, FFID_CONSENT_ERROR_CODES, clearConsentDismissalTimestamp, decodeConsentCookie, encodeConsentCookie, readConsentCookie, readConsentDismissalTimestamp, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentDismissalTimestamp } from './chunk-KJ7FUNA6.js';
1
+ import { useFFIDContext, useSubscription } from './chunk-OJ3OJTIE.js';
2
+ export { ACCESS_GRANTING_EFFECTIVE_STATUSES, BLOCKING_EFFECTIVE_STATUSES, DEFAULT_API_BASE_URL, DEFAULT_OAUTH_SCOPES, FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDProvider, FFIDSDKError, FFIDSubscriptionBadge, FFIDUserMenu, FFID_ANNOUNCEMENTS_ERROR_CODES, FFID_INQUIRY_CATEGORIES, FFID_INQUIRY_CATEGORIES_SITE_2026, computeEffectiveStatusFromSession, createFFIDAnnouncementsClient, createFFIDClient, createTokenStore, generateCodeChallenge, generateCodeVerifier, hasAccessFromUserinfo, isBlockedFromUserinfo, isFFIDInquiryCategorySite2026, normalizeRedirectUri, retrieveCodeVerifier, storeCodeVerifier, useFFID, useFFIDAnnouncements, useSubscription, withSubscription } from './chunk-OJ3OJTIE.js';
3
+ export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, FFIDAnalyticsProvider, FFIDConsentError, FFIDCookieBanner, FFIDCookieLink, FFIDCookieSettings, FFID_CONSENT_ERROR_CODES, clearConsentDismissalTimestamp, decodeConsentCookie, encodeConsentCookie, readConsentCookie, readConsentDismissalTimestamp, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentDismissalTimestamp } from './chunk-M4N2PUX6.js';
4
4
  import { useEffect, useRef } from 'react';
5
5
  import { jsx, Fragment } from 'react/jsx-runtime';
6
6
 
@@ -864,7 +864,7 @@ function createProfileMethods(deps) {
864
864
  }
865
865
 
866
866
  // src/client/version-check.ts
867
- var SDK_VERSION = "5.9.0";
867
+ var SDK_VERSION = "5.10.0";
868
868
  var SDK_USER_AGENT = `FFID-SDK/${SDK_VERSION} (TypeScript)`;
869
869
  var SDK_VERSION_HEADER = "X-FFID-SDK-Version";
870
870
  function sdkHeaders() {
@@ -863,7 +863,7 @@ function createProfileMethods(deps) {
863
863
  }
864
864
 
865
865
  // src/client/version-check.ts
866
- var SDK_VERSION = "5.9.0";
866
+ var SDK_VERSION = "5.10.0";
867
867
  var SDK_USER_AGENT = `FFID-SDK/${SDK_VERSION} (TypeScript)`;
868
868
  var SDK_VERSION_HEADER = "X-FFID-SDK-Version";
869
869
  function sdkHeaders() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feelflow/ffid-sdk",
3
- "version": "5.9.0",
3
+ "version": "5.10.0",
4
4
  "description": "FeelFlow ID Platform SDK for React/Next.js applications",
5
5
  "keywords": [
6
6
  "feelflow",