@feelflow/ffid-sdk 5.9.0 → 5.12.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-CE01gYc4.d.cts → FFIDCookieLink-D1WwE_ZO.d.cts} +5 -0
- package/dist/{FFIDCookieLink-CE01gYc4.d.ts → FFIDCookieLink-D1WwE_ZO.d.ts} +5 -0
- package/dist/{chunk-A6MOPB7D.cjs → chunk-AOJDV3UO.cjs} +88 -3
- package/dist/{chunk-KENJXMSG.js → chunk-KB2JG64Z.js} +88 -4
- package/dist/{chunk-KJ7FUNA6.js → chunk-M4N2PUX6.js} +64 -32
- package/dist/{chunk-Q5SZVLNB.cjs → chunk-R5WSZMUL.cjs} +64 -32
- 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-gboJROw0.d.ts → ffid-client-5IprSUVR.d.ts} +169 -42
- package/dist/{ffid-client-DRjzfAaS.d.cts → ffid-client-Dx4oc4Cw.d.cts} +169 -42
- package/dist/{index-DSvX4q8E.d.cts → index-DqsWKU16.d.cts} +11 -43
- package/dist/{index-DSvX4q8E.d.ts → index-DqsWKU16.d.ts} +11 -43
- package/dist/index.cjs +61 -57
- package/dist/index.d.cts +172 -4
- package/dist/index.d.ts +172 -4
- package/dist/index.js +3 -3
- package/dist/server/index.cjs +78 -3
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +78 -3
- package/dist/server/test/index.d.cts +2 -2
- package/dist/server/test/index.d.ts +2 -2
- package/dist/{types-BYdtyO_2.d.cts → types-BeVl-z12.d.cts} +10 -1
- package/dist/{types-BYdtyO_2.d.ts → types-BeVl-z12.d.ts} +10 -1
- package/dist/webhooks/index.d.cts +1 -1
- package/dist/webhooks/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
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
|
|
1526
|
+
const isOpeningPreferences = pendingAction !== null;
|
|
1492
1527
|
const runBannerSubmit = async (action, submit) => {
|
|
1493
|
-
if (
|
|
1494
|
-
setPendingAction(action);
|
|
1528
|
+
if (isOpeningPreferences) return;
|
|
1495
1529
|
try {
|
|
1496
|
-
|
|
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 (
|
|
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":
|
|
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:
|
|
1584
|
+
cursor: isOpeningPreferences ? "wait" : DEFAULT_PRIMARY_STYLE.cursor
|
|
1553
1585
|
},
|
|
1554
|
-
disabled:
|
|
1555
|
-
"aria-disabled":
|
|
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:
|
|
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:
|
|
1602
|
+
cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
|
|
1571
1603
|
},
|
|
1572
|
-
disabled:
|
|
1573
|
-
"aria-disabled":
|
|
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:
|
|
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:
|
|
1620
|
+
cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
|
|
1589
1621
|
},
|
|
1590
|
-
disabled:
|
|
1591
|
-
"aria-disabled":
|
|
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:
|
|
1638
|
+
cursor: isOpeningPreferences ? "wait" : DEFAULT_BUTTON_STYLE.cursor
|
|
1607
1639
|
},
|
|
1608
|
-
disabled:
|
|
1609
|
-
"aria-disabled":
|
|
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
|
|
3
|
+
var chunkAOJDV3UO_cjs = require('../chunk-AOJDV3UO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "FFIDAnnouncementBadge", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkAOJDV3UO_cjs.FFIDAnnouncementBadge; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FFIDAnnouncementList", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAOJDV3UO_cjs.FFIDAnnouncementList; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "FFIDInquiryForm", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkAOJDV3UO_cjs.FFIDInquiryForm; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "FFIDLoginButton", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkAOJDV3UO_cjs.FFIDLoginButton; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkAOJDV3UO_cjs.FFIDOrganizationSwitcher; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "FFIDSubscriptionBadge", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkAOJDV3UO_cjs.FFIDSubscriptionBadge; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FFIDUserMenu", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkAOJDV3UO_cjs.FFIDUserMenu; }
|
|
34
34
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { I as FFIDAnnouncementBadge, ai as FFIDAnnouncementBadgeClassNames, aj as FFIDAnnouncementBadgeProps, J as FFIDAnnouncementList, ak as FFIDAnnouncementListClassNames, al as FFIDAnnouncementListProps, S as FFIDInquiryForm, T as FFIDInquiryFormCategoryItem, U as FFIDInquiryFormClassNames, V as FFIDInquiryFormLegalLayout, W as FFIDInquiryFormOrganization, X as FFIDInquiryFormPlaceholderContext, Y as FFIDInquiryFormPrefill, Z as FFIDInquiryFormProps, _ as FFIDInquiryFormSubmitData, $ as FFIDInquiryFormSubmitResult, a1 as FFIDLoginButton, am as FFIDLoginButtonProps, a4 as FFIDOrganizationSwitcher, an as FFIDOrganizationSwitcherClassNames, ao as FFIDOrganizationSwitcherProps, a9 as FFIDSubscriptionBadge, ap as FFIDSubscriptionBadgeClassNames, aq as FFIDSubscriptionBadgeProps, ab as FFIDUserMenu, ar as FFIDUserMenuClassNames, as as FFIDUserMenuProps } from '../index-DqsWKU16.cjs';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { I as FFIDAnnouncementBadge, ai as FFIDAnnouncementBadgeClassNames, aj as FFIDAnnouncementBadgeProps, J as FFIDAnnouncementList, ak as FFIDAnnouncementListClassNames, al as FFIDAnnouncementListProps, S as FFIDInquiryForm, T as FFIDInquiryFormCategoryItem, U as FFIDInquiryFormClassNames, V as FFIDInquiryFormLegalLayout, W as FFIDInquiryFormOrganization, X as FFIDInquiryFormPlaceholderContext, Y as FFIDInquiryFormPrefill, Z as FFIDInquiryFormProps, _ as FFIDInquiryFormSubmitData, $ as FFIDInquiryFormSubmitResult, a1 as FFIDLoginButton, am as FFIDLoginButtonProps, a4 as FFIDOrganizationSwitcher, an as FFIDOrganizationSwitcherClassNames, ao as FFIDOrganizationSwitcherProps, a9 as FFIDSubscriptionBadge, ap as FFIDSubscriptionBadgeClassNames, aq as FFIDSubscriptionBadgeProps, ab as FFIDUserMenu, ar as FFIDUserMenuClassNames, as as FFIDUserMenuProps } from '../index-DqsWKU16.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDSubscriptionBadge, FFIDUserMenu } from '../chunk-
|
|
1
|
+
export { FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDSubscriptionBadge, FFIDUserMenu } from '../chunk-KB2JG64Z.js';
|
package/dist/consent/index.cjs
CHANGED
|
@@ -1,258 +1,258 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
49
|
+
get: function () { return chunkR5WSZMUL_cjs.DeviceIdSchema; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FFIDAnalyticsProvider", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDAnalyticsProvider; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "FFIDConsentCategoriesSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentCategoriesSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "FFIDConsentCategoryCodeSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentCategoryCodeSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "FFIDConsentCategoryMetadataSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentCategoryMetadataSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "FFIDConsentContext", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentContext; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "FFIDConsentError", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentError; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "FFIDConsentMergeStrategySchema", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentMergeStrategySchema; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "FFIDConsentMergeWarningSchema", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentMergeWarningSchema; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "FFIDConsentSourceSchema", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentSourceSchema; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "FFIDConsentStateSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentStateSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "FFIDConsentUpdateSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDConsentUpdateSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "FFIDCookieBanner", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDCookieBanner; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "FFIDCookieLink", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDCookieLink; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "FFIDCookiePolicySchema", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDCookiePolicySchema; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "FFIDCookieSettings", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDCookieSettings; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "FFIDInternalConsentSourceSchema", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkR5WSZMUL_cjs.FFIDInternalConsentSourceSchema; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "FFIDPublicConsentSourceSchema", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
129
|
+
get: function () { return chunkR5WSZMUL_cjs.GetCategoriesWireSchema; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "GetConsentMeWireSchema", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkR5WSZMUL_cjs.GetConsentMeWireSchema; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "GetDocumentWireSchema", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkR5WSZMUL_cjs.GetDocumentWireSchema; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "PostConsentRequestSchema", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkR5WSZMUL_cjs.PostConsentRequestSchema; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "PostConsentWireSchema", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkR5WSZMUL_cjs.PostConsentWireSchema; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "PostSyncRequestSchema", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkR5WSZMUL_cjs.PostSyncRequestSchema; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "PostSyncWireSchema", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkR5WSZMUL_cjs.PostSyncWireSchema; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "PostWithdrawWireSchema", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkR5WSZMUL_cjs.PostWithdrawWireSchema; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkR5WSZMUL_cjs.clearConsentDismissalTimestamp; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "clearConsentSessionMirror", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkR5WSZMUL_cjs.clearConsentSessionMirror; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "clearDeviceId", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkR5WSZMUL_cjs.clearDeviceId; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "createConsentClient", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkR5WSZMUL_cjs.createConsentClient; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "createGtagBridge", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkR5WSZMUL_cjs.createGtagBridge; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "decodeConsentCookie", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkR5WSZMUL_cjs.decodeConsentCookie; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "deleteConsentCookie", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkR5WSZMUL_cjs.deleteConsentCookie; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "encodeConsentCookie", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkR5WSZMUL_cjs.encodeConsentCookie; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "generateDeviceId", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkR5WSZMUL_cjs.generateDeviceId; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "getOrCreateDeviceId", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkR5WSZMUL_cjs.getOrCreateDeviceId; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "isUuidV7", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkR5WSZMUL_cjs.isUuidV7; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "isValidDeviceId", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkR5WSZMUL_cjs.isValidDeviceId; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "mapCategoriesToGtagParams", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkR5WSZMUL_cjs.mapCategoriesToGtagParams; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "mapConsentWireToState", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkR5WSZMUL_cjs.mapConsentWireToState; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "mapMeWireToState", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkR5WSZMUL_cjs.mapMeWireToState; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "mapSyncWireToResult", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkR5WSZMUL_cjs.mapSyncWireToResult; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "mapWithdrawWireToState", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkR5WSZMUL_cjs.mapWithdrawWireToState; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "readConsentCookie", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkR5WSZMUL_cjs.readConsentCookie; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "readConsentDismissalTimestamp", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkR5WSZMUL_cjs.readConsentDismissalTimestamp; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "readConsentSessionMirror", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkR5WSZMUL_cjs.readConsentSessionMirror; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "useFFIDConsent", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkR5WSZMUL_cjs.useFFIDConsent; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "useFFIDConsentPreferences", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkR5WSZMUL_cjs.useFFIDConsentPreferences; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "writeConsentCookie", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkR5WSZMUL_cjs.writeConsentCookie; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkR5WSZMUL_cjs.writeConsentDismissalTimestamp; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "writeConsentSessionMirror", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkR5WSZMUL_cjs.writeConsentSessionMirror; }
|
|
258
258
|
});
|
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-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
|
|
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-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
|
|
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-M4N2PUX6.js';
|