@feelflow/ffid-sdk 5.2.0 → 5.2.1
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-D37pN-v_.d.cts → FFIDCookieLink-DY60yHYu.d.cts} +8 -1
- package/dist/{FFIDCookieLink-D37pN-v_.d.ts → FFIDCookieLink-DY60yHYu.d.ts} +8 -1
- package/dist/{chunk-FACWGQHL.js → chunk-GBQGMXBM.js} +1 -1
- package/dist/{chunk-KSCAUQLP.js → chunk-UWU2757V.js} +1 -2
- package/dist/{chunk-I3QZJXQQ.cjs → chunk-W2FNRQKT.cjs} +1 -2
- package/dist/{chunk-4IIVIB2Q.cjs → chunk-Z4D37JR3.cjs} +1 -1
- package/dist/components/index.cjs +8 -8
- 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/index.cjs +53 -53
- 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
|
@@ -851,7 +851,14 @@ declare function useFFIDConsentPreferences(): UseFFIDConsentPreferencesReturn;
|
|
|
851
851
|
/**
|
|
852
852
|
* `<FFIDCookieBanner>` — bottom-sheet consent banner.
|
|
853
853
|
*
|
|
854
|
-
*
|
|
854
|
+
* Rendering is gated solely by `isBannerOpen` from the consent context (see
|
|
855
|
+
* `FFIDAnalyticsProvider`). The provider's bootstrap effect flips it to
|
|
856
|
+
* `true` for fresh visitors / policy-version renewal, and the banner's own
|
|
857
|
+
* buttons (or any consumer calling `closeBanner()` / `openBanner()`) flip
|
|
858
|
+
* it back. The earlier `hasDecided=false || needsRenewal=true` fallback
|
|
859
|
+
* was removed in v5.2.1 (#3289) because it overrode `setIsBannerOpen(false)`
|
|
860
|
+
* for fresh visitors and silently kept the banner mounted on "あとで" click.
|
|
861
|
+
*
|
|
855
862
|
* Four buttons (spec §6.2):
|
|
856
863
|
* 1. "すべて同意" (Accept all)
|
|
857
864
|
* 2. "同意しない" (Necessary only — `necessary=true` is enforced by ePrivacy
|
|
@@ -851,7 +851,14 @@ declare function useFFIDConsentPreferences(): UseFFIDConsentPreferencesReturn;
|
|
|
851
851
|
/**
|
|
852
852
|
* `<FFIDCookieBanner>` — bottom-sheet consent banner.
|
|
853
853
|
*
|
|
854
|
-
*
|
|
854
|
+
* Rendering is gated solely by `isBannerOpen` from the consent context (see
|
|
855
|
+
* `FFIDAnalyticsProvider`). The provider's bootstrap effect flips it to
|
|
856
|
+
* `true` for fresh visitors / policy-version renewal, and the banner's own
|
|
857
|
+
* buttons (or any consumer calling `closeBanner()` / `openBanner()`) flip
|
|
858
|
+
* it back. The earlier `hasDecided=false || needsRenewal=true` fallback
|
|
859
|
+
* was removed in v5.2.1 (#3289) because it overrode `setIsBannerOpen(false)`
|
|
860
|
+
* for fresh visitors and silently kept the banner mounted on "あとで" click.
|
|
861
|
+
*
|
|
855
862
|
* Four buttons (spec §6.2):
|
|
856
863
|
* 1. "すべて同意" (Accept all)
|
|
857
864
|
* 2. "同意しない" (Necessary only — `necessary=true` is enforced by ePrivacy
|
|
@@ -838,7 +838,7 @@ function createProfileMethods(deps) {
|
|
|
838
838
|
}
|
|
839
839
|
|
|
840
840
|
// src/client/version-check.ts
|
|
841
|
-
var SDK_VERSION = "5.2.
|
|
841
|
+
var SDK_VERSION = "5.2.1";
|
|
842
842
|
var SDK_USER_AGENT = `FFID-SDK/${SDK_VERSION} (TypeScript)`;
|
|
843
843
|
var SDK_VERSION_HEADER = "X-FFID-SDK-Version";
|
|
844
844
|
function sdkHeaders() {
|
|
@@ -1452,7 +1452,6 @@ function FFIDCookieBanner({
|
|
|
1452
1452
|
style
|
|
1453
1453
|
}) {
|
|
1454
1454
|
const {
|
|
1455
|
-
state,
|
|
1456
1455
|
isBannerOpen,
|
|
1457
1456
|
acceptAll,
|
|
1458
1457
|
acceptNecessaryOnly,
|
|
@@ -1460,7 +1459,7 @@ function FFIDCookieBanner({
|
|
|
1460
1459
|
closeBanner,
|
|
1461
1460
|
error
|
|
1462
1461
|
} = useFFIDConsent();
|
|
1463
|
-
if (!isBannerOpen
|
|
1462
|
+
if (!isBannerOpen) return null;
|
|
1464
1463
|
return /* @__PURE__ */ jsxs(
|
|
1465
1464
|
"div",
|
|
1466
1465
|
{
|
|
@@ -1454,7 +1454,6 @@ function FFIDCookieBanner({
|
|
|
1454
1454
|
style
|
|
1455
1455
|
}) {
|
|
1456
1456
|
const {
|
|
1457
|
-
state,
|
|
1458
1457
|
isBannerOpen,
|
|
1459
1458
|
acceptAll,
|
|
1460
1459
|
acceptNecessaryOnly,
|
|
@@ -1462,7 +1461,7 @@ function FFIDCookieBanner({
|
|
|
1462
1461
|
closeBanner,
|
|
1463
1462
|
error
|
|
1464
1463
|
} = useFFIDConsent();
|
|
1465
|
-
if (!isBannerOpen
|
|
1464
|
+
if (!isBannerOpen) return null;
|
|
1466
1465
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1467
1466
|
"div",
|
|
1468
1467
|
{
|
|
@@ -840,7 +840,7 @@ function createProfileMethods(deps) {
|
|
|
840
840
|
}
|
|
841
841
|
|
|
842
842
|
// src/client/version-check.ts
|
|
843
|
-
var SDK_VERSION = "5.2.
|
|
843
|
+
var SDK_VERSION = "5.2.1";
|
|
844
844
|
var SDK_USER_AGENT = `FFID-SDK/${SDK_VERSION} (TypeScript)`;
|
|
845
845
|
var SDK_VERSION_HEADER = "X-FFID-SDK-Version";
|
|
846
846
|
function sdkHeaders() {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZ4D37JR3_cjs = require('../chunk-Z4D37JR3.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 chunkZ4D37JR3_cjs.FFIDAnnouncementBadge; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FFIDAnnouncementList", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDAnnouncementList; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "FFIDInquiryForm", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDInquiryForm; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "FFIDLoginButton", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDLoginButton; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDOrganizationSwitcher; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "FFIDSubscriptionBadge", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDSubscriptionBadge; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FFIDUserMenu", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZ4D37JR3_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-GBQGMXBM.js';
|
package/dist/consent/index.cjs
CHANGED
|
@@ -1,258 +1,258 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkW2FNRQKT_cjs = require('../chunk-W2FNRQKT.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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_cjs.DeviceIdSchema; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FFIDAnalyticsProvider", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDAnalyticsProvider; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "FFIDConsentCategoriesSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentCategoriesSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "FFIDConsentCategoryCodeSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentCategoryCodeSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "FFIDConsentCategoryMetadataSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentCategoryMetadataSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "FFIDConsentContext", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentContext; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "FFIDConsentError", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentError; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "FFIDConsentMergeStrategySchema", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentMergeStrategySchema; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "FFIDConsentMergeWarningSchema", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentMergeWarningSchema; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "FFIDConsentSourceSchema", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentSourceSchema; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "FFIDConsentStateSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentStateSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "FFIDConsentUpdateSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentUpdateSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "FFIDCookieBanner", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDCookieBanner; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "FFIDCookieLink", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDCookieLink; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "FFIDCookiePolicySchema", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDCookiePolicySchema; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "FFIDCookieSettings", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDCookieSettings; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "FFIDInternalConsentSourceSchema", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDInternalConsentSourceSchema; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "FFIDPublicConsentSourceSchema", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_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 chunkW2FNRQKT_cjs.GetCategoriesWireSchema; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "GetConsentMeWireSchema", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkW2FNRQKT_cjs.GetConsentMeWireSchema; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "GetDocumentWireSchema", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkW2FNRQKT_cjs.GetDocumentWireSchema; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "PostConsentRequestSchema", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkW2FNRQKT_cjs.PostConsentRequestSchema; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "PostConsentWireSchema", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkW2FNRQKT_cjs.PostConsentWireSchema; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "PostSyncRequestSchema", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkW2FNRQKT_cjs.PostSyncRequestSchema; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "PostSyncWireSchema", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkW2FNRQKT_cjs.PostSyncWireSchema; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "PostWithdrawWireSchema", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkW2FNRQKT_cjs.PostWithdrawWireSchema; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkW2FNRQKT_cjs.clearConsentDismissalTimestamp; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "clearConsentSessionMirror", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkW2FNRQKT_cjs.clearConsentSessionMirror; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "clearDeviceId", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkW2FNRQKT_cjs.clearDeviceId; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "createConsentClient", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkW2FNRQKT_cjs.createConsentClient; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "createGtagBridge", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkW2FNRQKT_cjs.createGtagBridge; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "decodeConsentCookie", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkW2FNRQKT_cjs.decodeConsentCookie; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "deleteConsentCookie", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkW2FNRQKT_cjs.deleteConsentCookie; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "encodeConsentCookie", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkW2FNRQKT_cjs.encodeConsentCookie; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "generateDeviceId", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkW2FNRQKT_cjs.generateDeviceId; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "getOrCreateDeviceId", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkW2FNRQKT_cjs.getOrCreateDeviceId; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "isUuidV7", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkW2FNRQKT_cjs.isUuidV7; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "isValidDeviceId", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkW2FNRQKT_cjs.isValidDeviceId; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "mapCategoriesToGtagParams", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkW2FNRQKT_cjs.mapCategoriesToGtagParams; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "mapConsentWireToState", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkW2FNRQKT_cjs.mapConsentWireToState; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "mapMeWireToState", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkW2FNRQKT_cjs.mapMeWireToState; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "mapSyncWireToResult", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkW2FNRQKT_cjs.mapSyncWireToResult; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "mapWithdrawWireToState", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkW2FNRQKT_cjs.mapWithdrawWireToState; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "readConsentCookie", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkW2FNRQKT_cjs.readConsentCookie; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "readConsentDismissalTimestamp", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkW2FNRQKT_cjs.readConsentDismissalTimestamp; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "readConsentSessionMirror", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkW2FNRQKT_cjs.readConsentSessionMirror; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "useFFIDConsent", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkW2FNRQKT_cjs.useFFIDConsent; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "useFFIDConsentPreferences", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkW2FNRQKT_cjs.useFFIDConsentPreferences; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "writeConsentCookie", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkW2FNRQKT_cjs.writeConsentCookie; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkW2FNRQKT_cjs.writeConsentDismissalTimestamp; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "writeConsentSessionMirror", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkW2FNRQKT_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 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-
|
|
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-DY60yHYu.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-DY60yHYu.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 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-
|
|
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-DY60yHYu.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-DY60yHYu.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-UWU2757V.js';
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkZ4D37JR3_cjs = require('./chunk-Z4D37JR3.cjs');
|
|
4
|
+
var chunkW2FNRQKT_cjs = require('./chunk-W2FNRQKT.cjs');
|
|
5
5
|
var react = require('react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
|
|
@@ -54,8 +54,8 @@ function defaultRedirect(url) {
|
|
|
54
54
|
}
|
|
55
55
|
function useRequireActiveSubscription(options) {
|
|
56
56
|
const { redirectTo, allowGrace = true, onRedirect } = options;
|
|
57
|
-
const { isLoading, error } =
|
|
58
|
-
const { effectiveStatus, isBlocked, isGrace } =
|
|
57
|
+
const { isLoading, error } = chunkZ4D37JR3_cjs.useFFIDContext();
|
|
58
|
+
const { effectiveStatus, isBlocked, isGrace } = chunkZ4D37JR3_cjs.useSubscription();
|
|
59
59
|
const hasFetchError = error !== null && effectiveStatus === null;
|
|
60
60
|
const shouldRedirect = !isLoading && !hasFetchError && (isBlocked || !allowGrace && isGrace || effectiveStatus === null);
|
|
61
61
|
react.useEffect(() => {
|
|
@@ -76,7 +76,7 @@ function useRequireActiveSubscription(options) {
|
|
|
76
76
|
}
|
|
77
77
|
function withFFIDAuth(Component, options = {}) {
|
|
78
78
|
const WrappedComponent = (props) => {
|
|
79
|
-
const { isLoading, isAuthenticated, login } =
|
|
79
|
+
const { isLoading, isAuthenticated, login } = chunkZ4D37JR3_cjs.useFFIDContext();
|
|
80
80
|
const hasRedirected = react.useRef(false);
|
|
81
81
|
react.useEffect(() => {
|
|
82
82
|
if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
|
|
@@ -105,195 +105,195 @@ var FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = 1e3;
|
|
|
105
105
|
|
|
106
106
|
Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkZ4D37JR3_cjs.DEFAULT_API_BASE_URL; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "DEFAULT_OAUTH_SCOPES", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkZ4D37JR3_cjs.DEFAULT_OAUTH_SCOPES; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "FFIDAnnouncementBadge", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDAnnouncementBadge; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "FFIDAnnouncementList", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDAnnouncementList; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "FFIDInquiryForm", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDInquiryForm; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "FFIDLoginButton", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDLoginButton; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDOrganizationSwitcher; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "FFIDProvider", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDProvider; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "FFIDSDKError", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDSDKError; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "FFIDSubscriptionBadge", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDSubscriptionBadge; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "FFIDUserMenu", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkZ4D37JR3_cjs.FFIDUserMenu; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkZ4D37JR3_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkZ4D37JR3_cjs.FFID_INQUIRY_CATEGORIES; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES_SITE_2026", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkZ4D37JR3_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "computeEffectiveStatusFromSession", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkZ4D37JR3_cjs.computeEffectiveStatusFromSession; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkZ4D37JR3_cjs.createFFIDAnnouncementsClient; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "createFFIDClient", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkZ4D37JR3_cjs.createFFIDClient; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "createTokenStore", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkZ4D37JR3_cjs.createTokenStore; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "generateCodeChallenge", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkZ4D37JR3_cjs.generateCodeChallenge; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "generateCodeVerifier", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkZ4D37JR3_cjs.generateCodeVerifier; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkZ4D37JR3_cjs.isFFIDInquiryCategorySite2026; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "normalizeRedirectUri", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkZ4D37JR3_cjs.normalizeRedirectUri; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "retrieveCodeVerifier", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkZ4D37JR3_cjs.retrieveCodeVerifier; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "storeCodeVerifier", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkZ4D37JR3_cjs.storeCodeVerifier; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "useFFID", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkZ4D37JR3_cjs.useFFID; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "useFFIDAnnouncements", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkZ4D37JR3_cjs.useFFIDAnnouncements; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "useSubscription", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkZ4D37JR3_cjs.useSubscription; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "withSubscription", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkZ4D37JR3_cjs.withSubscription; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkW2FNRQKT_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "CONSENT_COOKIE_NAME", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkW2FNRQKT_cjs.CONSENT_COOKIE_NAME; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkW2FNRQKT_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "COOKIE_VERSION", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkW2FNRQKT_cjs.COOKIE_VERSION; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkW2FNRQKT_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "FFIDAnalyticsProvider", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDAnalyticsProvider; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "FFIDConsentError", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDConsentError; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "FFIDCookieBanner", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDCookieBanner; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "FFIDCookieLink", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDCookieLink; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "FFIDCookieSettings", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkW2FNRQKT_cjs.FFIDCookieSettings; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkW2FNRQKT_cjs.FFID_CONSENT_ERROR_CODES; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkW2FNRQKT_cjs.clearConsentDismissalTimestamp; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "decodeConsentCookie", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkW2FNRQKT_cjs.decodeConsentCookie; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "encodeConsentCookie", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkW2FNRQKT_cjs.encodeConsentCookie; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "readConsentCookie", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkW2FNRQKT_cjs.readConsentCookie; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "readConsentDismissalTimestamp", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkW2FNRQKT_cjs.readConsentDismissalTimestamp; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "useFFIDConsent", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkW2FNRQKT_cjs.useFFIDConsent; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "useFFIDConsentPreferences", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkW2FNRQKT_cjs.useFFIDConsentPreferences; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "writeConsentCookie", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkW2FNRQKT_cjs.writeConsentCookie; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkW2FNRQKT_cjs.writeConsentDismissalTimestamp; }
|
|
297
297
|
});
|
|
298
298
|
exports.FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS;
|
|
299
299
|
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 FFIDListMembersResponse, j as FFIDAddMemberParams, k as FFIDAddMemberResponse, l as FFIDAddMemberRequest, m as FFIDMemberRole, n as FFIDUpdateMemberRoleResponse, o as FFIDRemoveMemberResponse, p as FFIDProfileCallOptions, q as FFIDUserProfile, r as FFIDUpdateUserProfileRequest, s as FFIDAnalyticsConfig, t as FFIDCreateCheckoutParams, u as FFIDCheckoutSessionResponse, v as FFIDCreatePortalParams, w as FFIDPortalSessionResponse, x as FFIDVerifyAccessTokenOptions, y as FFIDOAuthUserInfo, z as FFIDInquiryCreateParams, A as FFIDInquiryCreateResponse, B as FFIDAuthMode, C as FFIDLogger, D as FFIDCacheAdapter, E as FFIDUser, G as FFIDOrganization, H as FFIDSubscription, I as FFIDSubscriptionContextValue, J as EffectiveSubscriptionStatus, K as FFIDAnnouncementsClientConfig, L as ListAnnouncementsOptions, M as FFIDAnnouncementsApiResponse, N as AnnouncementListResponse, O as FFIDAnnouncementsLogger } from './index-CInGR4I9.cjs';
|
|
2
2
|
export { P as Announcement, Q as AnnouncementStatus, R as AnnouncementType, S as FFIDAnnouncementBadge, T as FFIDAnnouncementList, U as FFIDAnnouncementsError, V as FFIDAnnouncementsErrorCode, W as FFIDAnnouncementsServerResponse, X as FFIDAssignableMemberRole, Y as FFIDCacheConfig, Z as FFIDContextValue, _ as FFIDInquiryCategory, $ as FFIDInquiryCategorySite2026, a0 as FFIDInquiryForm, a1 as FFIDInquiryFormCategoryItem, a2 as FFIDInquiryFormClassNames, a3 as FFIDInquiryFormLegalLayout, a4 as FFIDInquiryFormOrganization, a5 as FFIDInquiryFormPlaceholderContext, a6 as FFIDInquiryFormPrefill, a7 as FFIDInquiryFormProps, a8 as FFIDInquiryFormSubmitData, a9 as FFIDInquiryFormSubmitResult, aa as FFIDJwtClaims, ab as FFIDLoginButton, ac as FFIDMemberStatus, ad as FFIDOAuthTokenResponse, ae as FFIDOAuthUserInfoMemberRole, af as FFIDOAuthUserInfoSubscription, ag as FFIDOrganizationMember, ah as FFIDOrganizationSwitcher, ai as FFIDRedirectErrorCode, aj as FFIDSeatModel, ak as FFIDServiceAccessDenialReason, al as FFIDServiceAccessFailPolicy, am as FFIDSubscriptionBadge, an as FFIDTokenIntrospectionResponse, ao as FFIDUserMenu, ap as FFID_INQUIRY_CATEGORIES, aq as FFID_INQUIRY_CATEGORIES_SITE_2026, ar as UseFFIDAnnouncementsOptions, as as UseFFIDAnnouncementsReturn, at as isFFIDInquiryCategorySite2026, au as useFFIDAnnouncements } from './index-CInGR4I9.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, F as FFIDConsentResult, H as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, L as FFIDCookieBanner, M as FFIDCookieBannerClassNames, N as FFIDCookieBannerProps, O as FFIDCookieLink, Q as FFIDCookieLinkProps, f as FFIDCookiePolicy, S as FFIDCookieSettings, T as FFIDCookieSettingsClassNames, U as FFIDCookieSettingsProps, Z as FFID_CONSENT_ERROR_CODES, ad as UseFFIDConsentPreferencesReturn, ae as UseFFIDConsentReturn, af as clearConsentDismissalTimestamp, ai as decodeConsentCookie, ak as encodeConsentCookie, am as readConsentCookie, an as readConsentDismissalTimestamp, ap as useFFIDConsent, aq as useFFIDConsentPreferences, ar as writeConsentCookie, as as writeConsentDismissalTimestamp } from './FFIDCookieLink-
|
|
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, F as FFIDConsentResult, H as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, L as FFIDCookieBanner, M as FFIDCookieBannerClassNames, N as FFIDCookieBannerProps, O as FFIDCookieLink, Q as FFIDCookieLinkProps, f as FFIDCookiePolicy, S as FFIDCookieSettings, T as FFIDCookieSettingsClassNames, U as FFIDCookieSettingsProps, Z as FFID_CONSENT_ERROR_CODES, ad as UseFFIDConsentPreferencesReturn, ae as UseFFIDConsentReturn, af as clearConsentDismissalTimestamp, ai as decodeConsentCookie, ak as encodeConsentCookie, am as readConsentCookie, an as readConsentDismissalTimestamp, ap as useFFIDConsent, aq as useFFIDConsentPreferences, ar as writeConsentCookie, as as writeConsentDismissalTimestamp } from './FFIDCookieLink-DY60yHYu.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 FFIDListMembersResponse, j as FFIDAddMemberParams, k as FFIDAddMemberResponse, l as FFIDAddMemberRequest, m as FFIDMemberRole, n as FFIDUpdateMemberRoleResponse, o as FFIDRemoveMemberResponse, p as FFIDProfileCallOptions, q as FFIDUserProfile, r as FFIDUpdateUserProfileRequest, s as FFIDAnalyticsConfig, t as FFIDCreateCheckoutParams, u as FFIDCheckoutSessionResponse, v as FFIDCreatePortalParams, w as FFIDPortalSessionResponse, x as FFIDVerifyAccessTokenOptions, y as FFIDOAuthUserInfo, z as FFIDInquiryCreateParams, A as FFIDInquiryCreateResponse, B as FFIDAuthMode, C as FFIDLogger, D as FFIDCacheAdapter, E as FFIDUser, G as FFIDOrganization, H as FFIDSubscription, I as FFIDSubscriptionContextValue, J as EffectiveSubscriptionStatus, K as FFIDAnnouncementsClientConfig, L as ListAnnouncementsOptions, M as FFIDAnnouncementsApiResponse, N as AnnouncementListResponse, O as FFIDAnnouncementsLogger } from './index-CInGR4I9.js';
|
|
2
2
|
export { P as Announcement, Q as AnnouncementStatus, R as AnnouncementType, S as FFIDAnnouncementBadge, T as FFIDAnnouncementList, U as FFIDAnnouncementsError, V as FFIDAnnouncementsErrorCode, W as FFIDAnnouncementsServerResponse, X as FFIDAssignableMemberRole, Y as FFIDCacheConfig, Z as FFIDContextValue, _ as FFIDInquiryCategory, $ as FFIDInquiryCategorySite2026, a0 as FFIDInquiryForm, a1 as FFIDInquiryFormCategoryItem, a2 as FFIDInquiryFormClassNames, a3 as FFIDInquiryFormLegalLayout, a4 as FFIDInquiryFormOrganization, a5 as FFIDInquiryFormPlaceholderContext, a6 as FFIDInquiryFormPrefill, a7 as FFIDInquiryFormProps, a8 as FFIDInquiryFormSubmitData, a9 as FFIDInquiryFormSubmitResult, aa as FFIDJwtClaims, ab as FFIDLoginButton, ac as FFIDMemberStatus, ad as FFIDOAuthTokenResponse, ae as FFIDOAuthUserInfoMemberRole, af as FFIDOAuthUserInfoSubscription, ag as FFIDOrganizationMember, ah as FFIDOrganizationSwitcher, ai as FFIDRedirectErrorCode, aj as FFIDSeatModel, ak as FFIDServiceAccessDenialReason, al as FFIDServiceAccessFailPolicy, am as FFIDSubscriptionBadge, an as FFIDTokenIntrospectionResponse, ao as FFIDUserMenu, ap as FFID_INQUIRY_CATEGORIES, aq as FFID_INQUIRY_CATEGORIES_SITE_2026, ar as UseFFIDAnnouncementsOptions, as as UseFFIDAnnouncementsReturn, at as isFFIDInquiryCategorySite2026, au as useFFIDAnnouncements } from './index-CInGR4I9.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, F as FFIDConsentResult, H as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, L as FFIDCookieBanner, M as FFIDCookieBannerClassNames, N as FFIDCookieBannerProps, O as FFIDCookieLink, Q as FFIDCookieLinkProps, f as FFIDCookiePolicy, S as FFIDCookieSettings, T as FFIDCookieSettingsClassNames, U as FFIDCookieSettingsProps, Z as FFID_CONSENT_ERROR_CODES, ad as UseFFIDConsentPreferencesReturn, ae as UseFFIDConsentReturn, af as clearConsentDismissalTimestamp, ai as decodeConsentCookie, ak as encodeConsentCookie, am as readConsentCookie, an as readConsentDismissalTimestamp, ap as useFFIDConsent, aq as useFFIDConsentPreferences, ar as writeConsentCookie, as as writeConsentDismissalTimestamp } from './FFIDCookieLink-
|
|
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, F as FFIDConsentResult, H as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, L as FFIDCookieBanner, M as FFIDCookieBannerClassNames, N as FFIDCookieBannerProps, O as FFIDCookieLink, Q as FFIDCookieLinkProps, f as FFIDCookiePolicy, S as FFIDCookieSettings, T as FFIDCookieSettingsClassNames, U as FFIDCookieSettingsProps, Z as FFID_CONSENT_ERROR_CODES, ad as UseFFIDConsentPreferencesReturn, ae as UseFFIDConsentReturn, af as clearConsentDismissalTimestamp, ai as decodeConsentCookie, ak as encodeConsentCookie, am as readConsentCookie, an as readConsentDismissalTimestamp, ap as useFFIDConsent, aq as useFFIDConsentPreferences, ar as writeConsentCookie, as as writeConsentDismissalTimestamp } from './FFIDCookieLink-DY60yHYu.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-
|
|
2
|
-
export { 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, isFFIDInquiryCategorySite2026, normalizeRedirectUri, retrieveCodeVerifier, storeCodeVerifier, useFFID, useFFIDAnnouncements, useSubscription, withSubscription } from './chunk-
|
|
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-
|
|
1
|
+
import { useFFIDContext, useSubscription } from './chunk-GBQGMXBM.js';
|
|
2
|
+
export { 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, isFFIDInquiryCategorySite2026, normalizeRedirectUri, retrieveCodeVerifier, storeCodeVerifier, useFFID, useFFIDAnnouncements, useSubscription, withSubscription } from './chunk-GBQGMXBM.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-UWU2757V.js';
|
|
4
4
|
import { useEffect, useRef } from 'react';
|
|
5
5
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
|
package/dist/server/index.cjs
CHANGED
|
@@ -835,7 +835,7 @@ function createProfileMethods(deps) {
|
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
// src/client/version-check.ts
|
|
838
|
-
var SDK_VERSION = "5.2.
|
|
838
|
+
var SDK_VERSION = "5.2.1";
|
|
839
839
|
var SDK_USER_AGENT = `FFID-SDK/${SDK_VERSION} (TypeScript)`;
|
|
840
840
|
var SDK_VERSION_HEADER = "X-FFID-SDK-Version";
|
|
841
841
|
function sdkHeaders() {
|
package/dist/server/index.js
CHANGED
|
@@ -834,7 +834,7 @@ function createProfileMethods(deps) {
|
|
|
834
834
|
}
|
|
835
835
|
|
|
836
836
|
// src/client/version-check.ts
|
|
837
|
-
var SDK_VERSION = "5.2.
|
|
837
|
+
var SDK_VERSION = "5.2.1";
|
|
838
838
|
var SDK_USER_AGENT = `FFID-SDK/${SDK_VERSION} (TypeScript)`;
|
|
839
839
|
var SDK_VERSION_HEADER = "X-FFID-SDK-Version";
|
|
840
840
|
function sdkHeaders() {
|