@feelflow/ffid-sdk 5.0.2 → 5.2.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-Buh84sTc.d.cts → FFIDCookieLink-D37pN-v_.d.cts} +101 -11
- package/dist/{FFIDCookieLink-Buh84sTc.d.ts → FFIDCookieLink-D37pN-v_.d.ts} +101 -11
- package/dist/{chunk-WZ6LF34H.cjs → chunk-4IIVIB2Q.cjs} +1 -1
- package/dist/{chunk-QYKYTZA6.js → chunk-FACWGQHL.js} +1 -1
- package/dist/{chunk-XPSWABVY.cjs → chunk-I3QZJXQQ.cjs} +69 -3
- package/dist/{chunk-ZM53LRXW.js → chunk-KSCAUQLP.js} +67 -5
- package/dist/components/index.cjs +8 -8
- package/dist/components/index.js +1 -1
- package/dist/consent/index.cjs +76 -60
- 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/index.cjs +65 -49
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { createContext, useState, useRef,
|
|
2
|
+
import { createContext, useCallback, useState, useRef, useEffect, useMemo, useContext } from 'react';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
var FFIDConsentCategoryCodeSchema = z.enum([
|
|
@@ -282,6 +282,7 @@ var HOURS_PER_DAY = 24;
|
|
|
282
282
|
var DAYS_PER_YEAR = 365;
|
|
283
283
|
var CONSENT_COOKIE_MAX_AGE_SEC = SECONDS_PER_MINUTE * MINUTES_PER_HOUR * HOURS_PER_DAY * DAYS_PER_YEAR;
|
|
284
284
|
var CONSENT_SESSION_STORAGE_KEY = "ffid_consent_state";
|
|
285
|
+
var CONSENT_DISMISSAL_TIMESTAMP_KEY = "ffid_consent_dismissed_at";
|
|
285
286
|
function hasDocument() {
|
|
286
287
|
return typeof document !== "undefined";
|
|
287
288
|
}
|
|
@@ -372,6 +373,39 @@ function clearConsentSessionMirror() {
|
|
|
372
373
|
} catch {
|
|
373
374
|
}
|
|
374
375
|
}
|
|
376
|
+
function readConsentDismissalTimestamp() {
|
|
377
|
+
if (!hasSessionStorage()) return null;
|
|
378
|
+
try {
|
|
379
|
+
const raw = sessionStorage.getItem(CONSENT_DISMISSAL_TIMESTAMP_KEY);
|
|
380
|
+
if (!raw) return null;
|
|
381
|
+
const parsed = Number(raw);
|
|
382
|
+
const CLOCK_SKEW_GRACE_MS = 6e4;
|
|
383
|
+
if (!Number.isFinite(parsed) || parsed < 0 || parsed > Date.now() + CLOCK_SKEW_GRACE_MS) {
|
|
384
|
+
clearConsentDismissalTimestamp();
|
|
385
|
+
return null;
|
|
386
|
+
}
|
|
387
|
+
return parsed;
|
|
388
|
+
} catch {
|
|
389
|
+
return null;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
function writeConsentDismissalTimestamp(nowMs = Date.now()) {
|
|
393
|
+
if (!Number.isFinite(nowMs) || nowMs < 0) return false;
|
|
394
|
+
if (!hasSessionStorage()) return false;
|
|
395
|
+
try {
|
|
396
|
+
sessionStorage.setItem(CONSENT_DISMISSAL_TIMESTAMP_KEY, String(nowMs));
|
|
397
|
+
return true;
|
|
398
|
+
} catch {
|
|
399
|
+
return false;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
function clearConsentDismissalTimestamp() {
|
|
403
|
+
if (!hasSessionStorage()) return;
|
|
404
|
+
try {
|
|
405
|
+
sessionStorage.removeItem(CONSENT_DISMISSAL_TIMESTAMP_KEY);
|
|
406
|
+
} catch {
|
|
407
|
+
}
|
|
408
|
+
}
|
|
375
409
|
|
|
376
410
|
// src/consent/storage/device-id.ts
|
|
377
411
|
var DEVICE_ID_LOCAL_STORAGE_KEY = "ffid_device_id";
|
|
@@ -1012,6 +1046,8 @@ var DEFAULT_MERGE_WARNING_MESSAGES = {
|
|
|
1012
1046
|
shared_device_detected: "\u3053\u306E\u7AEF\u672B\u306F\u5225\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u3082\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059\u3002Cookie \u8A2D\u5B9A\u306F\u30A2\u30AB\u30A6\u30F3\u30C8\u3054\u3068\u306B\u4FDD\u5B58\u3055\u308C\u3066\u3044\u307E\u3059",
|
|
1013
1047
|
drift_detected: "\u4FDD\u5B58\u3055\u308C\u3066\u3044\u305F\u8A2D\u5B9A\u3068\u7570\u306A\u308B\u9805\u76EE\u304C\u3042\u3063\u305F\u305F\u3081\u3001\u65B0\u3057\u304F\u8A18\u9332\u3055\u308C\u307E\u3057\u305F"
|
|
1014
1048
|
};
|
|
1049
|
+
var DEFAULT_DISMISSAL_COOLDOWN_MINUTES = 30;
|
|
1050
|
+
var MS_PER_MINUTE = 6e4;
|
|
1015
1051
|
function applyChanges(base, changes) {
|
|
1016
1052
|
return {
|
|
1017
1053
|
necessary: true,
|
|
@@ -1030,9 +1066,17 @@ function FFIDAnalyticsProvider({
|
|
|
1030
1066
|
onConsentChange,
|
|
1031
1067
|
onError,
|
|
1032
1068
|
autoShowBanner = true,
|
|
1069
|
+
dismissalCooldownMinutes = DEFAULT_DISMISSAL_COOLDOWN_MINUTES,
|
|
1033
1070
|
fetchImpl,
|
|
1034
1071
|
children
|
|
1035
1072
|
}) {
|
|
1073
|
+
const cooldownMs = Number.isFinite(dismissalCooldownMinutes) && dismissalCooldownMinutes > 0 ? dismissalCooldownMinutes * MS_PER_MINUTE : 0;
|
|
1074
|
+
const isWithinDismissalCooldown = useCallback(() => {
|
|
1075
|
+
if (cooldownMs <= 0) return false;
|
|
1076
|
+
const dismissedAt = readConsentDismissalTimestamp();
|
|
1077
|
+
if (dismissedAt === null) return false;
|
|
1078
|
+
return Date.now() - dismissedAt < cooldownMs;
|
|
1079
|
+
}, [cooldownMs]);
|
|
1036
1080
|
const [state, setState] = useState(
|
|
1037
1081
|
FFID_CONSENT_NOT_DECIDED_STATE
|
|
1038
1082
|
);
|
|
@@ -1143,7 +1187,7 @@ function FFIDAnalyticsProvider({
|
|
|
1143
1187
|
applyCategoriesSideEffects(result.value.categories);
|
|
1144
1188
|
writeConsentSessionMirror(result.value.categories);
|
|
1145
1189
|
setIsLoading(false);
|
|
1146
|
-
if (!result.value.hasDecided && autoShowBanner) {
|
|
1190
|
+
if (!result.value.hasDecided && autoShowBanner && !isWithinDismissalCooldown()) {
|
|
1147
1191
|
setIsBannerOpen(true);
|
|
1148
1192
|
}
|
|
1149
1193
|
if (result.value.needsRenewal && autoShowBanner) {
|
|
@@ -1271,7 +1315,10 @@ function FFIDAnalyticsProvider({
|
|
|
1271
1315
|
persistCategories
|
|
1272
1316
|
]);
|
|
1273
1317
|
const openBanner = useCallback(() => setIsBannerOpen(true), []);
|
|
1274
|
-
const closeBanner = useCallback(() =>
|
|
1318
|
+
const closeBanner = useCallback(() => {
|
|
1319
|
+
if (cooldownMs > 0) writeConsentDismissalTimestamp();
|
|
1320
|
+
setIsBannerOpen(false);
|
|
1321
|
+
}, [cooldownMs]);
|
|
1275
1322
|
const openPreferences = useCallback(async () => {
|
|
1276
1323
|
if (!categoryMetadata) {
|
|
1277
1324
|
const client = clientRef.current;
|
|
@@ -1401,6 +1448,7 @@ function FFIDCookieBanner({
|
|
|
1401
1448
|
acceptAllLabel,
|
|
1402
1449
|
necessaryOnlyLabel,
|
|
1403
1450
|
preferencesLabel,
|
|
1451
|
+
closeLabel,
|
|
1404
1452
|
style
|
|
1405
1453
|
}) {
|
|
1406
1454
|
const {
|
|
@@ -1409,6 +1457,7 @@ function FFIDCookieBanner({
|
|
|
1409
1457
|
acceptAll,
|
|
1410
1458
|
acceptNecessaryOnly,
|
|
1411
1459
|
openPreferences,
|
|
1460
|
+
closeBanner,
|
|
1412
1461
|
error
|
|
1413
1462
|
} = useFFIDConsent();
|
|
1414
1463
|
if (!isBannerOpen && state.hasDecided && !state.needsRenewal) return null;
|
|
@@ -1460,7 +1509,7 @@ function FFIDCookieBanner({
|
|
|
1460
1509
|
void acceptNecessaryOnly();
|
|
1461
1510
|
},
|
|
1462
1511
|
"data-testid": "ffid-cookie-banner-necessary-only",
|
|
1463
|
-
children: necessaryOnlyLabel ?? "\
|
|
1512
|
+
children: necessaryOnlyLabel ?? "\u540C\u610F\u3057\u306A\u3044"
|
|
1464
1513
|
}
|
|
1465
1514
|
),
|
|
1466
1515
|
/* @__PURE__ */ jsx(
|
|
@@ -1475,6 +1524,19 @@ function FFIDCookieBanner({
|
|
|
1475
1524
|
"data-testid": "ffid-cookie-banner-preferences",
|
|
1476
1525
|
children: preferencesLabel ?? "\u8A73\u7D30\u8A2D\u5B9A"
|
|
1477
1526
|
}
|
|
1527
|
+
),
|
|
1528
|
+
/* @__PURE__ */ jsx(
|
|
1529
|
+
"button",
|
|
1530
|
+
{
|
|
1531
|
+
type: "button",
|
|
1532
|
+
className: classNames?.closeButton,
|
|
1533
|
+
style: DEFAULT_BUTTON_STYLE,
|
|
1534
|
+
onClick: () => {
|
|
1535
|
+
closeBanner();
|
|
1536
|
+
},
|
|
1537
|
+
"data-testid": "ffid-cookie-banner-close",
|
|
1538
|
+
children: closeLabel ?? "\u3042\u3068\u3067"
|
|
1539
|
+
}
|
|
1478
1540
|
)
|
|
1479
1541
|
]
|
|
1480
1542
|
}
|
|
@@ -1775,4 +1837,4 @@ function FFIDCookieLink({
|
|
|
1775
1837
|
);
|
|
1776
1838
|
}
|
|
1777
1839
|
|
|
1778
|
-
export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_MAX_AGE_SEC, CONSENT_COOKIE_NAME, 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, clearConsentSessionMirror, clearDeviceId, createConsentClient, createGtagBridge, decodeConsentCookie, deleteConsentCookie, encodeConsentCookie, generateDeviceId, getOrCreateDeviceId, isUuidV7, isValidDeviceId, mapCategoriesToGtagParams, mapConsentWireToState, mapMeWireToState, mapSyncWireToResult, mapWithdrawWireToState, readConsentCookie, readConsentSessionMirror, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentSessionMirror };
|
|
1840
|
+
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 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4IIVIB2Q_cjs = require('../chunk-4IIVIB2Q.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 chunk4IIVIB2Q_cjs.FFIDAnnouncementBadge; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FFIDAnnouncementList", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDAnnouncementList; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "FFIDInquiryForm", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDInquiryForm; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "FFIDLoginButton", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDLoginButton; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDOrganizationSwitcher; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "FFIDSubscriptionBadge", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDSubscriptionBadge; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FFIDUserMenu", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDUserMenu; }
|
|
34
34
|
});
|
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-FACWGQHL.js';
|
package/dist/consent/index.cjs
CHANGED
|
@@ -1,242 +1,258 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkI3QZJXQQ_cjs = require('../chunk-I3QZJXQQ.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 chunkI3QZJXQQ_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 chunkI3QZJXQQ_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 chunkI3QZJXQQ_cjs.CONSENT_COOKIE_NAME; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkI3QZJXQQ_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
|
|
18
22
|
});
|
|
19
23
|
Object.defineProperty(exports, "CONSENT_SESSION_STORAGE_KEY", {
|
|
20
24
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkI3QZJXQQ_cjs.CONSENT_SESSION_STORAGE_KEY; }
|
|
22
26
|
});
|
|
23
27
|
Object.defineProperty(exports, "COOKIE_VERSION", {
|
|
24
28
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkI3QZJXQQ_cjs.COOKIE_VERSION; }
|
|
26
30
|
});
|
|
27
31
|
Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
|
|
28
32
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkI3QZJXQQ_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
|
|
30
34
|
});
|
|
31
35
|
Object.defineProperty(exports, "DEFAULT_MERGE_WARNING_MESSAGES", {
|
|
32
36
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkI3QZJXQQ_cjs.DEFAULT_MERGE_WARNING_MESSAGES; }
|
|
34
38
|
});
|
|
35
39
|
Object.defineProperty(exports, "DEVICE_ID_LOCAL_STORAGE_KEY", {
|
|
36
40
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkI3QZJXQQ_cjs.DEVICE_ID_LOCAL_STORAGE_KEY; }
|
|
38
42
|
});
|
|
39
43
|
Object.defineProperty(exports, "DEVICE_ID_SESSION_STORAGE_KEY", {
|
|
40
44
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkI3QZJXQQ_cjs.DEVICE_ID_SESSION_STORAGE_KEY; }
|
|
42
46
|
});
|
|
43
47
|
Object.defineProperty(exports, "DeviceIdSchema", {
|
|
44
48
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkI3QZJXQQ_cjs.DeviceIdSchema; }
|
|
46
50
|
});
|
|
47
51
|
Object.defineProperty(exports, "FFIDAnalyticsProvider", {
|
|
48
52
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDAnalyticsProvider; }
|
|
50
54
|
});
|
|
51
55
|
Object.defineProperty(exports, "FFIDConsentCategoriesSchema", {
|
|
52
56
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentCategoriesSchema; }
|
|
54
58
|
});
|
|
55
59
|
Object.defineProperty(exports, "FFIDConsentCategoryCodeSchema", {
|
|
56
60
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentCategoryCodeSchema; }
|
|
58
62
|
});
|
|
59
63
|
Object.defineProperty(exports, "FFIDConsentCategoryMetadataSchema", {
|
|
60
64
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentCategoryMetadataSchema; }
|
|
62
66
|
});
|
|
63
67
|
Object.defineProperty(exports, "FFIDConsentContext", {
|
|
64
68
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentContext; }
|
|
66
70
|
});
|
|
67
71
|
Object.defineProperty(exports, "FFIDConsentError", {
|
|
68
72
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentError; }
|
|
70
74
|
});
|
|
71
75
|
Object.defineProperty(exports, "FFIDConsentMergeStrategySchema", {
|
|
72
76
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentMergeStrategySchema; }
|
|
74
78
|
});
|
|
75
79
|
Object.defineProperty(exports, "FFIDConsentMergeWarningSchema", {
|
|
76
80
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentMergeWarningSchema; }
|
|
78
82
|
});
|
|
79
83
|
Object.defineProperty(exports, "FFIDConsentSourceSchema", {
|
|
80
84
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentSourceSchema; }
|
|
82
86
|
});
|
|
83
87
|
Object.defineProperty(exports, "FFIDConsentStateSchema", {
|
|
84
88
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentStateSchema; }
|
|
86
90
|
});
|
|
87
91
|
Object.defineProperty(exports, "FFIDConsentUpdateSchema", {
|
|
88
92
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentUpdateSchema; }
|
|
90
94
|
});
|
|
91
95
|
Object.defineProperty(exports, "FFIDCookieBanner", {
|
|
92
96
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDCookieBanner; }
|
|
94
98
|
});
|
|
95
99
|
Object.defineProperty(exports, "FFIDCookieLink", {
|
|
96
100
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDCookieLink; }
|
|
98
102
|
});
|
|
99
103
|
Object.defineProperty(exports, "FFIDCookiePolicySchema", {
|
|
100
104
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDCookiePolicySchema; }
|
|
102
106
|
});
|
|
103
107
|
Object.defineProperty(exports, "FFIDCookieSettings", {
|
|
104
108
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDCookieSettings; }
|
|
106
110
|
});
|
|
107
111
|
Object.defineProperty(exports, "FFIDInternalConsentSourceSchema", {
|
|
108
112
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDInternalConsentSourceSchema; }
|
|
110
114
|
});
|
|
111
115
|
Object.defineProperty(exports, "FFIDPublicConsentSourceSchema", {
|
|
112
116
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDPublicConsentSourceSchema; }
|
|
114
118
|
});
|
|
115
119
|
Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
|
|
116
120
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFID_CONSENT_ERROR_CODES; }
|
|
118
122
|
});
|
|
119
123
|
Object.defineProperty(exports, "FFID_CONSENT_NOT_DECIDED_STATE", {
|
|
120
124
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFID_CONSENT_NOT_DECIDED_STATE; }
|
|
122
126
|
});
|
|
123
127
|
Object.defineProperty(exports, "GetCategoriesWireSchema", {
|
|
124
128
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkI3QZJXQQ_cjs.GetCategoriesWireSchema; }
|
|
126
130
|
});
|
|
127
131
|
Object.defineProperty(exports, "GetConsentMeWireSchema", {
|
|
128
132
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkI3QZJXQQ_cjs.GetConsentMeWireSchema; }
|
|
130
134
|
});
|
|
131
135
|
Object.defineProperty(exports, "GetDocumentWireSchema", {
|
|
132
136
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkI3QZJXQQ_cjs.GetDocumentWireSchema; }
|
|
134
138
|
});
|
|
135
139
|
Object.defineProperty(exports, "PostConsentRequestSchema", {
|
|
136
140
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkI3QZJXQQ_cjs.PostConsentRequestSchema; }
|
|
138
142
|
});
|
|
139
143
|
Object.defineProperty(exports, "PostConsentWireSchema", {
|
|
140
144
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkI3QZJXQQ_cjs.PostConsentWireSchema; }
|
|
142
146
|
});
|
|
143
147
|
Object.defineProperty(exports, "PostSyncRequestSchema", {
|
|
144
148
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkI3QZJXQQ_cjs.PostSyncRequestSchema; }
|
|
146
150
|
});
|
|
147
151
|
Object.defineProperty(exports, "PostSyncWireSchema", {
|
|
148
152
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkI3QZJXQQ_cjs.PostSyncWireSchema; }
|
|
150
154
|
});
|
|
151
155
|
Object.defineProperty(exports, "PostWithdrawWireSchema", {
|
|
152
156
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkI3QZJXQQ_cjs.PostWithdrawWireSchema; }
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () { return chunkI3QZJXQQ_cjs.clearConsentDismissalTimestamp; }
|
|
154
162
|
});
|
|
155
163
|
Object.defineProperty(exports, "clearConsentSessionMirror", {
|
|
156
164
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkI3QZJXQQ_cjs.clearConsentSessionMirror; }
|
|
158
166
|
});
|
|
159
167
|
Object.defineProperty(exports, "clearDeviceId", {
|
|
160
168
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkI3QZJXQQ_cjs.clearDeviceId; }
|
|
162
170
|
});
|
|
163
171
|
Object.defineProperty(exports, "createConsentClient", {
|
|
164
172
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkI3QZJXQQ_cjs.createConsentClient; }
|
|
166
174
|
});
|
|
167
175
|
Object.defineProperty(exports, "createGtagBridge", {
|
|
168
176
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkI3QZJXQQ_cjs.createGtagBridge; }
|
|
170
178
|
});
|
|
171
179
|
Object.defineProperty(exports, "decodeConsentCookie", {
|
|
172
180
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkI3QZJXQQ_cjs.decodeConsentCookie; }
|
|
174
182
|
});
|
|
175
183
|
Object.defineProperty(exports, "deleteConsentCookie", {
|
|
176
184
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkI3QZJXQQ_cjs.deleteConsentCookie; }
|
|
178
186
|
});
|
|
179
187
|
Object.defineProperty(exports, "encodeConsentCookie", {
|
|
180
188
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkI3QZJXQQ_cjs.encodeConsentCookie; }
|
|
182
190
|
});
|
|
183
191
|
Object.defineProperty(exports, "generateDeviceId", {
|
|
184
192
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkI3QZJXQQ_cjs.generateDeviceId; }
|
|
186
194
|
});
|
|
187
195
|
Object.defineProperty(exports, "getOrCreateDeviceId", {
|
|
188
196
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkI3QZJXQQ_cjs.getOrCreateDeviceId; }
|
|
190
198
|
});
|
|
191
199
|
Object.defineProperty(exports, "isUuidV7", {
|
|
192
200
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkI3QZJXQQ_cjs.isUuidV7; }
|
|
194
202
|
});
|
|
195
203
|
Object.defineProperty(exports, "isValidDeviceId", {
|
|
196
204
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkI3QZJXQQ_cjs.isValidDeviceId; }
|
|
198
206
|
});
|
|
199
207
|
Object.defineProperty(exports, "mapCategoriesToGtagParams", {
|
|
200
208
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkI3QZJXQQ_cjs.mapCategoriesToGtagParams; }
|
|
202
210
|
});
|
|
203
211
|
Object.defineProperty(exports, "mapConsentWireToState", {
|
|
204
212
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkI3QZJXQQ_cjs.mapConsentWireToState; }
|
|
206
214
|
});
|
|
207
215
|
Object.defineProperty(exports, "mapMeWireToState", {
|
|
208
216
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkI3QZJXQQ_cjs.mapMeWireToState; }
|
|
210
218
|
});
|
|
211
219
|
Object.defineProperty(exports, "mapSyncWireToResult", {
|
|
212
220
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkI3QZJXQQ_cjs.mapSyncWireToResult; }
|
|
214
222
|
});
|
|
215
223
|
Object.defineProperty(exports, "mapWithdrawWireToState", {
|
|
216
224
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkI3QZJXQQ_cjs.mapWithdrawWireToState; }
|
|
218
226
|
});
|
|
219
227
|
Object.defineProperty(exports, "readConsentCookie", {
|
|
220
228
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkI3QZJXQQ_cjs.readConsentCookie; }
|
|
230
|
+
});
|
|
231
|
+
Object.defineProperty(exports, "readConsentDismissalTimestamp", {
|
|
232
|
+
enumerable: true,
|
|
233
|
+
get: function () { return chunkI3QZJXQQ_cjs.readConsentDismissalTimestamp; }
|
|
222
234
|
});
|
|
223
235
|
Object.defineProperty(exports, "readConsentSessionMirror", {
|
|
224
236
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkI3QZJXQQ_cjs.readConsentSessionMirror; }
|
|
226
238
|
});
|
|
227
239
|
Object.defineProperty(exports, "useFFIDConsent", {
|
|
228
240
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkI3QZJXQQ_cjs.useFFIDConsent; }
|
|
230
242
|
});
|
|
231
243
|
Object.defineProperty(exports, "useFFIDConsentPreferences", {
|
|
232
244
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkI3QZJXQQ_cjs.useFFIDConsentPreferences; }
|
|
234
246
|
});
|
|
235
247
|
Object.defineProperty(exports, "writeConsentCookie", {
|
|
236
248
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkI3QZJXQQ_cjs.writeConsentCookie; }
|
|
250
|
+
});
|
|
251
|
+
Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
|
|
252
|
+
enumerable: true,
|
|
253
|
+
get: function () { return chunkI3QZJXQQ_cjs.writeConsentDismissalTimestamp; }
|
|
238
254
|
});
|
|
239
255
|
Object.defineProperty(exports, "writeConsentSessionMirror", {
|
|
240
256
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkI3QZJXQQ_cjs.writeConsentSessionMirror; }
|
|
242
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
|
|
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-D37pN-v_.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 FFIDConsentMergeWarningSchema, H as FFIDConsentSource, I as FFIDConsentSourceSchema, J as FFIDConsentStateSchema, K as FFIDConsentUpdateSchema, L as FFIDCookieBanner, M as FFIDCookieBannerClassNames, N as FFIDCookieBannerProps, O as FFIDCookieLink, Q as FFIDCookieLinkProps, R as FFIDCookiePolicySchema, S as FFIDCookieSettings, T as FFIDCookieSettingsClassNames, U as FFIDCookieSettingsProps, V as FFIDInternalConsentSource, W as FFIDInternalConsentSourceSchema, X as FFIDPublicConsentSource, Y as FFIDPublicConsentSourceSchema, Z as FFID_CONSENT_ERROR_CODES, _ as FFID_CONSENT_NOT_DECIDED_STATE, $ as GetCategoriesWire, a0 as GetCategoriesWireSchema, a1 as GetConsentMeWireSchema, a2 as GetDocumentWire, a3 as GetDocumentWireSchema, a4 as GtagBridge, a5 as GtagBridgeOptions, a6 as PostConsentRequest, a7 as PostConsentRequestSchema, a8 as PostConsentWireSchema, a9 as PostSyncRequest, aa as PostSyncRequestSchema, ab as PostSyncWireSchema, ac as PostWithdrawWireSchema, ad as UseFFIDConsentPreferencesReturn, ae as UseFFIDConsentReturn, af as clearConsentDismissalTimestamp, ag as clearConsentSessionMirror, ah as createGtagBridge, ai as decodeConsentCookie, aj as deleteConsentCookie, ak as encodeConsentCookie, al as mapCategoriesToGtagParams, am as readConsentCookie, an as readConsentDismissalTimestamp, ao as readConsentSessionMirror, ap as useFFIDConsent, aq as useFFIDConsentPreferences, ar as writeConsentCookie, as as writeConsentDismissalTimestamp, at as writeConsentSessionMirror } from '../FFIDCookieLink-D37pN-v_.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
|
|
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-D37pN-v_.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 FFIDConsentMergeWarningSchema, H as FFIDConsentSource, I as FFIDConsentSourceSchema, J as FFIDConsentStateSchema, K as FFIDConsentUpdateSchema, L as FFIDCookieBanner, M as FFIDCookieBannerClassNames, N as FFIDCookieBannerProps, O as FFIDCookieLink, Q as FFIDCookieLinkProps, R as FFIDCookiePolicySchema, S as FFIDCookieSettings, T as FFIDCookieSettingsClassNames, U as FFIDCookieSettingsProps, V as FFIDInternalConsentSource, W as FFIDInternalConsentSourceSchema, X as FFIDPublicConsentSource, Y as FFIDPublicConsentSourceSchema, Z as FFID_CONSENT_ERROR_CODES, _ as FFID_CONSENT_NOT_DECIDED_STATE, $ as GetCategoriesWire, a0 as GetCategoriesWireSchema, a1 as GetConsentMeWireSchema, a2 as GetDocumentWire, a3 as GetDocumentWireSchema, a4 as GtagBridge, a5 as GtagBridgeOptions, a6 as PostConsentRequest, a7 as PostConsentRequestSchema, a8 as PostConsentWireSchema, a9 as PostSyncRequest, aa as PostSyncRequestSchema, ab as PostSyncWireSchema, ac as PostWithdrawWireSchema, ad as UseFFIDConsentPreferencesReturn, ae as UseFFIDConsentReturn, af as clearConsentDismissalTimestamp, ag as clearConsentSessionMirror, ah as createGtagBridge, ai as decodeConsentCookie, aj as deleteConsentCookie, ak as encodeConsentCookie, al as mapCategoriesToGtagParams, am as readConsentCookie, an as readConsentDismissalTimestamp, ao as readConsentSessionMirror, ap as useFFIDConsent, aq as useFFIDConsentPreferences, ar as writeConsentCookie, as as writeConsentDismissalTimestamp, at as writeConsentSessionMirror } from '../FFIDCookieLink-D37pN-v_.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_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, clearConsentSessionMirror, clearDeviceId, createConsentClient, createGtagBridge, decodeConsentCookie, deleteConsentCookie, encodeConsentCookie, generateDeviceId, getOrCreateDeviceId, isUuidV7, isValidDeviceId, mapCategoriesToGtagParams, mapConsentWireToState, mapMeWireToState, mapSyncWireToResult, mapWithdrawWireToState, readConsentCookie, readConsentSessionMirror, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, 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-KSCAUQLP.js';
|