@feelflow/ffid-sdk 12.2.2 → 13.0.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.
@@ -1,3 +1,4 @@
1
+ import { CREDENTIAL_REDIRECT_INIT, isRedirectResponse, credentialRedirectMessage } from './chunk-IQSXIOPK.js';
1
2
  import { z } from 'zod';
2
3
  import { createContext, useCallback, useState, useRef, useEffect, useMemo, useContext } from 'react';
3
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -766,9 +767,9 @@ function createConsentClient(opts) {
766
767
  return headers;
767
768
  }
768
769
  async function performFetch(url, init) {
770
+ let res;
769
771
  try {
770
- const res = await fetchImpl(url, init);
771
- return { res };
772
+ res = await fetchImpl(url, init);
772
773
  } catch (cause) {
773
774
  if (isAbortError(cause)) {
774
775
  return {
@@ -787,6 +788,14 @@ function createConsentClient(opts) {
787
788
  )
788
789
  };
789
790
  }
791
+ if (isRedirectResponse(res)) {
792
+ return {
793
+ err: new FFIDConsentError("cookie_consent_api_unreachable", credentialRedirectMessage(res), {
794
+ httpStatus: res.status
795
+ })
796
+ };
797
+ }
798
+ return { res };
790
799
  }
791
800
  async function request(reqOpts, parseFn) {
792
801
  const url = `${baseUrl}${reqOpts.path}`;
@@ -807,6 +816,7 @@ function createConsentClient(opts) {
807
816
  }
808
817
  const init = {
809
818
  method: reqOpts.method,
819
+ ...CREDENTIAL_REDIRECT_INIT,
810
820
  headers,
811
821
  credentials: "include"
812
822
  };
@@ -1,34 +1,35 @@
1
1
  'use strict';
2
2
 
3
- var chunk4UCL6JN6_cjs = require('../chunk-4UCL6JN6.cjs');
3
+ var chunkIA6JV3TN_cjs = require('../chunk-IA6JV3TN.cjs');
4
+ require('../chunk-5FNSZ5WN.cjs');
4
5
 
5
6
 
6
7
 
7
8
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
8
9
  enumerable: true,
9
- get: function () { return chunk4UCL6JN6_cjs.FFIDAnnouncementBadge; }
10
+ get: function () { return chunkIA6JV3TN_cjs.FFIDAnnouncementBadge; }
10
11
  });
11
12
  Object.defineProperty(exports, "FFIDAnnouncementList", {
12
13
  enumerable: true,
13
- get: function () { return chunk4UCL6JN6_cjs.FFIDAnnouncementList; }
14
+ get: function () { return chunkIA6JV3TN_cjs.FFIDAnnouncementList; }
14
15
  });
15
16
  Object.defineProperty(exports, "FFIDInquiryForm", {
16
17
  enumerable: true,
17
- get: function () { return chunk4UCL6JN6_cjs.FFIDInquiryForm; }
18
+ get: function () { return chunkIA6JV3TN_cjs.FFIDInquiryForm; }
18
19
  });
19
20
  Object.defineProperty(exports, "FFIDLoginButton", {
20
21
  enumerable: true,
21
- get: function () { return chunk4UCL6JN6_cjs.FFIDLoginButton; }
22
+ get: function () { return chunkIA6JV3TN_cjs.FFIDLoginButton; }
22
23
  });
23
24
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
24
25
  enumerable: true,
25
- get: function () { return chunk4UCL6JN6_cjs.FFIDOrganizationSwitcher; }
26
+ get: function () { return chunkIA6JV3TN_cjs.FFIDOrganizationSwitcher; }
26
27
  });
27
28
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
28
29
  enumerable: true,
29
- get: function () { return chunk4UCL6JN6_cjs.FFIDSubscriptionBadge; }
30
+ get: function () { return chunkIA6JV3TN_cjs.FFIDSubscriptionBadge; }
30
31
  });
31
32
  Object.defineProperty(exports, "FFIDUserMenu", {
32
33
  enumerable: true,
33
- get: function () { return chunk4UCL6JN6_cjs.FFIDUserMenu; }
34
+ get: function () { return chunkIA6JV3TN_cjs.FFIDUserMenu; }
34
35
  });
@@ -1 +1,2 @@
1
- export { FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDSubscriptionBadge, FFIDUserMenu } from '../chunk-OQCNCKJ4.js';
1
+ export { FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDSubscriptionBadge, FFIDUserMenu } from '../chunk-TSFGRZLQ.js';
2
+ import '../chunk-IQSXIOPK.js';
@@ -1,254 +1,255 @@
1
1
  'use strict';
2
2
 
3
- var chunkRZCQ22GH_cjs = require('../chunk-RZCQ22GH.cjs');
3
+ var chunkLX4RRB44_cjs = require('../chunk-LX4RRB44.cjs');
4
+ require('../chunk-5FNSZ5WN.cjs');
4
5
 
5
6
 
6
7
 
7
8
  Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
8
9
  enumerable: true,
9
- get: function () { return chunkRZCQ22GH_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
10
+ get: function () { return chunkLX4RRB44_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
10
11
  });
11
12
  Object.defineProperty(exports, "CONSENT_COOKIE_MAX_AGE_SEC", {
12
13
  enumerable: true,
13
- get: function () { return chunkRZCQ22GH_cjs.CONSENT_COOKIE_MAX_AGE_SEC; }
14
+ get: function () { return chunkLX4RRB44_cjs.CONSENT_COOKIE_MAX_AGE_SEC; }
14
15
  });
15
16
  Object.defineProperty(exports, "CONSENT_COOKIE_NAME", {
16
17
  enumerable: true,
17
- get: function () { return chunkRZCQ22GH_cjs.CONSENT_COOKIE_NAME; }
18
+ get: function () { return chunkLX4RRB44_cjs.CONSENT_COOKIE_NAME; }
18
19
  });
19
20
  Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
20
21
  enumerable: true,
21
- get: function () { return chunkRZCQ22GH_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
22
+ get: function () { return chunkLX4RRB44_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
22
23
  });
23
24
  Object.defineProperty(exports, "CONSENT_SESSION_STORAGE_KEY", {
24
25
  enumerable: true,
25
- get: function () { return chunkRZCQ22GH_cjs.CONSENT_SESSION_STORAGE_KEY; }
26
+ get: function () { return chunkLX4RRB44_cjs.CONSENT_SESSION_STORAGE_KEY; }
26
27
  });
27
28
  Object.defineProperty(exports, "COOKIE_VERSION", {
28
29
  enumerable: true,
29
- get: function () { return chunkRZCQ22GH_cjs.COOKIE_VERSION; }
30
+ get: function () { return chunkLX4RRB44_cjs.COOKIE_VERSION; }
30
31
  });
31
32
  Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
32
33
  enumerable: true,
33
- get: function () { return chunkRZCQ22GH_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
34
+ get: function () { return chunkLX4RRB44_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
34
35
  });
35
36
  Object.defineProperty(exports, "DEVICE_ID_LOCAL_STORAGE_KEY", {
36
37
  enumerable: true,
37
- get: function () { return chunkRZCQ22GH_cjs.DEVICE_ID_LOCAL_STORAGE_KEY; }
38
+ get: function () { return chunkLX4RRB44_cjs.DEVICE_ID_LOCAL_STORAGE_KEY; }
38
39
  });
39
40
  Object.defineProperty(exports, "DEVICE_ID_SESSION_STORAGE_KEY", {
40
41
  enumerable: true,
41
- get: function () { return chunkRZCQ22GH_cjs.DEVICE_ID_SESSION_STORAGE_KEY; }
42
+ get: function () { return chunkLX4RRB44_cjs.DEVICE_ID_SESSION_STORAGE_KEY; }
42
43
  });
43
44
  Object.defineProperty(exports, "DeviceIdSchema", {
44
45
  enumerable: true,
45
- get: function () { return chunkRZCQ22GH_cjs.DeviceIdSchema; }
46
+ get: function () { return chunkLX4RRB44_cjs.DeviceIdSchema; }
46
47
  });
47
48
  Object.defineProperty(exports, "FFIDAnalyticsProvider", {
48
49
  enumerable: true,
49
- get: function () { return chunkRZCQ22GH_cjs.FFIDAnalyticsProvider; }
50
+ get: function () { return chunkLX4RRB44_cjs.FFIDAnalyticsProvider; }
50
51
  });
51
52
  Object.defineProperty(exports, "FFIDConsentCategoriesSchema", {
52
53
  enumerable: true,
53
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentCategoriesSchema; }
54
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentCategoriesSchema; }
54
55
  });
55
56
  Object.defineProperty(exports, "FFIDConsentCategoryCodeSchema", {
56
57
  enumerable: true,
57
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentCategoryCodeSchema; }
58
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentCategoryCodeSchema; }
58
59
  });
59
60
  Object.defineProperty(exports, "FFIDConsentCategoryMetadataSchema", {
60
61
  enumerable: true,
61
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentCategoryMetadataSchema; }
62
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentCategoryMetadataSchema; }
62
63
  });
63
64
  Object.defineProperty(exports, "FFIDConsentContext", {
64
65
  enumerable: true,
65
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentContext; }
66
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentContext; }
66
67
  });
67
68
  Object.defineProperty(exports, "FFIDConsentError", {
68
69
  enumerable: true,
69
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentError; }
70
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentError; }
70
71
  });
71
72
  Object.defineProperty(exports, "FFIDConsentMergeStrategySchema", {
72
73
  enumerable: true,
73
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentMergeStrategySchema; }
74
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentMergeStrategySchema; }
74
75
  });
75
76
  Object.defineProperty(exports, "FFIDConsentMergeWarningSchema", {
76
77
  enumerable: true,
77
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentMergeWarningSchema; }
78
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentMergeWarningSchema; }
78
79
  });
79
80
  Object.defineProperty(exports, "FFIDConsentSourceSchema", {
80
81
  enumerable: true,
81
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentSourceSchema; }
82
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentSourceSchema; }
82
83
  });
83
84
  Object.defineProperty(exports, "FFIDConsentStateSchema", {
84
85
  enumerable: true,
85
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentStateSchema; }
86
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentStateSchema; }
86
87
  });
87
88
  Object.defineProperty(exports, "FFIDConsentUpdateSchema", {
88
89
  enumerable: true,
89
- get: function () { return chunkRZCQ22GH_cjs.FFIDConsentUpdateSchema; }
90
+ get: function () { return chunkLX4RRB44_cjs.FFIDConsentUpdateSchema; }
90
91
  });
91
92
  Object.defineProperty(exports, "FFIDCookieBanner", {
92
93
  enumerable: true,
93
- get: function () { return chunkRZCQ22GH_cjs.FFIDCookieBanner; }
94
+ get: function () { return chunkLX4RRB44_cjs.FFIDCookieBanner; }
94
95
  });
95
96
  Object.defineProperty(exports, "FFIDCookieLink", {
96
97
  enumerable: true,
97
- get: function () { return chunkRZCQ22GH_cjs.FFIDCookieLink; }
98
+ get: function () { return chunkLX4RRB44_cjs.FFIDCookieLink; }
98
99
  });
99
100
  Object.defineProperty(exports, "FFIDCookiePolicySchema", {
100
101
  enumerable: true,
101
- get: function () { return chunkRZCQ22GH_cjs.FFIDCookiePolicySchema; }
102
+ get: function () { return chunkLX4RRB44_cjs.FFIDCookiePolicySchema; }
102
103
  });
103
104
  Object.defineProperty(exports, "FFIDCookieSettings", {
104
105
  enumerable: true,
105
- get: function () { return chunkRZCQ22GH_cjs.FFIDCookieSettings; }
106
+ get: function () { return chunkLX4RRB44_cjs.FFIDCookieSettings; }
106
107
  });
107
108
  Object.defineProperty(exports, "FFIDInternalConsentSourceSchema", {
108
109
  enumerable: true,
109
- get: function () { return chunkRZCQ22GH_cjs.FFIDInternalConsentSourceSchema; }
110
+ get: function () { return chunkLX4RRB44_cjs.FFIDInternalConsentSourceSchema; }
110
111
  });
111
112
  Object.defineProperty(exports, "FFIDPublicConsentSourceSchema", {
112
113
  enumerable: true,
113
- get: function () { return chunkRZCQ22GH_cjs.FFIDPublicConsentSourceSchema; }
114
+ get: function () { return chunkLX4RRB44_cjs.FFIDPublicConsentSourceSchema; }
114
115
  });
115
116
  Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
116
117
  enumerable: true,
117
- get: function () { return chunkRZCQ22GH_cjs.FFID_CONSENT_ERROR_CODES; }
118
+ get: function () { return chunkLX4RRB44_cjs.FFID_CONSENT_ERROR_CODES; }
118
119
  });
119
120
  Object.defineProperty(exports, "FFID_CONSENT_NOT_DECIDED_STATE", {
120
121
  enumerable: true,
121
- get: function () { return chunkRZCQ22GH_cjs.FFID_CONSENT_NOT_DECIDED_STATE; }
122
+ get: function () { return chunkLX4RRB44_cjs.FFID_CONSENT_NOT_DECIDED_STATE; }
122
123
  });
123
124
  Object.defineProperty(exports, "GetCategoriesWireSchema", {
124
125
  enumerable: true,
125
- get: function () { return chunkRZCQ22GH_cjs.GetCategoriesWireSchema; }
126
+ get: function () { return chunkLX4RRB44_cjs.GetCategoriesWireSchema; }
126
127
  });
127
128
  Object.defineProperty(exports, "GetConsentMeWireSchema", {
128
129
  enumerable: true,
129
- get: function () { return chunkRZCQ22GH_cjs.GetConsentMeWireSchema; }
130
+ get: function () { return chunkLX4RRB44_cjs.GetConsentMeWireSchema; }
130
131
  });
131
132
  Object.defineProperty(exports, "GetDocumentWireSchema", {
132
133
  enumerable: true,
133
- get: function () { return chunkRZCQ22GH_cjs.GetDocumentWireSchema; }
134
+ get: function () { return chunkLX4RRB44_cjs.GetDocumentWireSchema; }
134
135
  });
135
136
  Object.defineProperty(exports, "PostConsentRequestSchema", {
136
137
  enumerable: true,
137
- get: function () { return chunkRZCQ22GH_cjs.PostConsentRequestSchema; }
138
+ get: function () { return chunkLX4RRB44_cjs.PostConsentRequestSchema; }
138
139
  });
139
140
  Object.defineProperty(exports, "PostConsentWireSchema", {
140
141
  enumerable: true,
141
- get: function () { return chunkRZCQ22GH_cjs.PostConsentWireSchema; }
142
+ get: function () { return chunkLX4RRB44_cjs.PostConsentWireSchema; }
142
143
  });
143
144
  Object.defineProperty(exports, "PostSyncRequestSchema", {
144
145
  enumerable: true,
145
- get: function () { return chunkRZCQ22GH_cjs.PostSyncRequestSchema; }
146
+ get: function () { return chunkLX4RRB44_cjs.PostSyncRequestSchema; }
146
147
  });
147
148
  Object.defineProperty(exports, "PostSyncWireSchema", {
148
149
  enumerable: true,
149
- get: function () { return chunkRZCQ22GH_cjs.PostSyncWireSchema; }
150
+ get: function () { return chunkLX4RRB44_cjs.PostSyncWireSchema; }
150
151
  });
151
152
  Object.defineProperty(exports, "PostWithdrawWireSchema", {
152
153
  enumerable: true,
153
- get: function () { return chunkRZCQ22GH_cjs.PostWithdrawWireSchema; }
154
+ get: function () { return chunkLX4RRB44_cjs.PostWithdrawWireSchema; }
154
155
  });
155
156
  Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
156
157
  enumerable: true,
157
- get: function () { return chunkRZCQ22GH_cjs.clearConsentDismissalTimestamp; }
158
+ get: function () { return chunkLX4RRB44_cjs.clearConsentDismissalTimestamp; }
158
159
  });
159
160
  Object.defineProperty(exports, "clearConsentSessionMirror", {
160
161
  enumerable: true,
161
- get: function () { return chunkRZCQ22GH_cjs.clearConsentSessionMirror; }
162
+ get: function () { return chunkLX4RRB44_cjs.clearConsentSessionMirror; }
162
163
  });
163
164
  Object.defineProperty(exports, "clearDeviceId", {
164
165
  enumerable: true,
165
- get: function () { return chunkRZCQ22GH_cjs.clearDeviceId; }
166
+ get: function () { return chunkLX4RRB44_cjs.clearDeviceId; }
166
167
  });
167
168
  Object.defineProperty(exports, "createConsentClient", {
168
169
  enumerable: true,
169
- get: function () { return chunkRZCQ22GH_cjs.createConsentClient; }
170
+ get: function () { return chunkLX4RRB44_cjs.createConsentClient; }
170
171
  });
171
172
  Object.defineProperty(exports, "createGtagBridge", {
172
173
  enumerable: true,
173
- get: function () { return chunkRZCQ22GH_cjs.createGtagBridge; }
174
+ get: function () { return chunkLX4RRB44_cjs.createGtagBridge; }
174
175
  });
175
176
  Object.defineProperty(exports, "decodeConsentCookie", {
176
177
  enumerable: true,
177
- get: function () { return chunkRZCQ22GH_cjs.decodeConsentCookie; }
178
+ get: function () { return chunkLX4RRB44_cjs.decodeConsentCookie; }
178
179
  });
179
180
  Object.defineProperty(exports, "deleteConsentCookie", {
180
181
  enumerable: true,
181
- get: function () { return chunkRZCQ22GH_cjs.deleteConsentCookie; }
182
+ get: function () { return chunkLX4RRB44_cjs.deleteConsentCookie; }
182
183
  });
183
184
  Object.defineProperty(exports, "encodeConsentCookie", {
184
185
  enumerable: true,
185
- get: function () { return chunkRZCQ22GH_cjs.encodeConsentCookie; }
186
+ get: function () { return chunkLX4RRB44_cjs.encodeConsentCookie; }
186
187
  });
187
188
  Object.defineProperty(exports, "generateDeviceId", {
188
189
  enumerable: true,
189
- get: function () { return chunkRZCQ22GH_cjs.generateDeviceId; }
190
+ get: function () { return chunkLX4RRB44_cjs.generateDeviceId; }
190
191
  });
191
192
  Object.defineProperty(exports, "getOrCreateDeviceId", {
192
193
  enumerable: true,
193
- get: function () { return chunkRZCQ22GH_cjs.getOrCreateDeviceId; }
194
+ get: function () { return chunkLX4RRB44_cjs.getOrCreateDeviceId; }
194
195
  });
195
196
  Object.defineProperty(exports, "isUuidV7", {
196
197
  enumerable: true,
197
- get: function () { return chunkRZCQ22GH_cjs.isUuidV7; }
198
+ get: function () { return chunkLX4RRB44_cjs.isUuidV7; }
198
199
  });
199
200
  Object.defineProperty(exports, "isValidDeviceId", {
200
201
  enumerable: true,
201
- get: function () { return chunkRZCQ22GH_cjs.isValidDeviceId; }
202
+ get: function () { return chunkLX4RRB44_cjs.isValidDeviceId; }
202
203
  });
203
204
  Object.defineProperty(exports, "mapCategoriesToGtagParams", {
204
205
  enumerable: true,
205
- get: function () { return chunkRZCQ22GH_cjs.mapCategoriesToGtagParams; }
206
+ get: function () { return chunkLX4RRB44_cjs.mapCategoriesToGtagParams; }
206
207
  });
207
208
  Object.defineProperty(exports, "mapConsentWireToState", {
208
209
  enumerable: true,
209
- get: function () { return chunkRZCQ22GH_cjs.mapConsentWireToState; }
210
+ get: function () { return chunkLX4RRB44_cjs.mapConsentWireToState; }
210
211
  });
211
212
  Object.defineProperty(exports, "mapMeWireToState", {
212
213
  enumerable: true,
213
- get: function () { return chunkRZCQ22GH_cjs.mapMeWireToState; }
214
+ get: function () { return chunkLX4RRB44_cjs.mapMeWireToState; }
214
215
  });
215
216
  Object.defineProperty(exports, "mapSyncWireToResult", {
216
217
  enumerable: true,
217
- get: function () { return chunkRZCQ22GH_cjs.mapSyncWireToResult; }
218
+ get: function () { return chunkLX4RRB44_cjs.mapSyncWireToResult; }
218
219
  });
219
220
  Object.defineProperty(exports, "mapWithdrawWireToState", {
220
221
  enumerable: true,
221
- get: function () { return chunkRZCQ22GH_cjs.mapWithdrawWireToState; }
222
+ get: function () { return chunkLX4RRB44_cjs.mapWithdrawWireToState; }
222
223
  });
223
224
  Object.defineProperty(exports, "readConsentCookie", {
224
225
  enumerable: true,
225
- get: function () { return chunkRZCQ22GH_cjs.readConsentCookie; }
226
+ get: function () { return chunkLX4RRB44_cjs.readConsentCookie; }
226
227
  });
227
228
  Object.defineProperty(exports, "readConsentDismissalTimestamp", {
228
229
  enumerable: true,
229
- get: function () { return chunkRZCQ22GH_cjs.readConsentDismissalTimestamp; }
230
+ get: function () { return chunkLX4RRB44_cjs.readConsentDismissalTimestamp; }
230
231
  });
231
232
  Object.defineProperty(exports, "readConsentSessionMirror", {
232
233
  enumerable: true,
233
- get: function () { return chunkRZCQ22GH_cjs.readConsentSessionMirror; }
234
+ get: function () { return chunkLX4RRB44_cjs.readConsentSessionMirror; }
234
235
  });
235
236
  Object.defineProperty(exports, "useFFIDConsent", {
236
237
  enumerable: true,
237
- get: function () { return chunkRZCQ22GH_cjs.useFFIDConsent; }
238
+ get: function () { return chunkLX4RRB44_cjs.useFFIDConsent; }
238
239
  });
239
240
  Object.defineProperty(exports, "useFFIDConsentPreferences", {
240
241
  enumerable: true,
241
- get: function () { return chunkRZCQ22GH_cjs.useFFIDConsentPreferences; }
242
+ get: function () { return chunkLX4RRB44_cjs.useFFIDConsentPreferences; }
242
243
  });
243
244
  Object.defineProperty(exports, "writeConsentCookie", {
244
245
  enumerable: true,
245
- get: function () { return chunkRZCQ22GH_cjs.writeConsentCookie; }
246
+ get: function () { return chunkLX4RRB44_cjs.writeConsentCookie; }
246
247
  });
247
248
  Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
248
249
  enumerable: true,
249
- get: function () { return chunkRZCQ22GH_cjs.writeConsentDismissalTimestamp; }
250
+ get: function () { return chunkLX4RRB44_cjs.writeConsentDismissalTimestamp; }
250
251
  });
251
252
  Object.defineProperty(exports, "writeConsentSessionMirror", {
252
253
  enumerable: true,
253
- get: function () { return chunkRZCQ22GH_cjs.writeConsentSessionMirror; }
254
+ get: function () { return chunkLX4RRB44_cjs.writeConsentSessionMirror; }
254
255
  });
@@ -1 +1,2 @@
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, 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-S2AEBJRX.js';
1
+ export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_MAX_AGE_SEC, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, CONSENT_SESSION_STORAGE_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, 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-ZIJ5SM4O.js';
2
+ import '../chunk-IQSXIOPK.js';
@@ -2866,16 +2866,16 @@ declare function createFFIDClient(config: FFIDConfig): {
2866
2866
  cancelSubscription: (params: FFIDCancelSubscriptionParams) => Promise<FFIDApiResponse<FFIDCancelSubscriptionResponse>>;
2867
2867
  cancelPendingDowngrade: (subscriptionId: string) => Promise<FFIDApiResponse<FFIDCancelPendingDowngradeResponse>>;
2868
2868
  previewPlanChange: (params: FFIDPreviewPlanChangeParams) => Promise<FFIDApiResponse<FFIDPlanChangePreviewResponse>>;
2869
- /** @deprecated 10.0.0: per_seat (praxis) only; removed in 11.0.0 */
2869
+ /** @deprecated 10.0.0: per_seat (praxis) only; kept while per_seat contracts exist */
2870
2870
  previewSeatChange: (params: FFIDPreviewSeatChangeParams) => Promise<FFIDApiResponse<FFIDSeatChangePreviewResponse>>;
2871
2871
  verifyAccessToken: (accessToken: string, options?: FFIDVerifyAccessTokenOptions) => Promise<FFIDApiResponse<FFIDOAuthUserInfo>>;
2872
2872
  getSubscribeUrl: (options?: ContractWizardSubscribeOptions) => string;
2873
2873
  redirectToSubscribe: (options?: ContractWizardSubscribeOptions) => FFIDRedirectResult;
2874
2874
  getChangePlanUrl: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => string;
2875
2875
  redirectToChangePlan: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => FFIDRedirectResult;
2876
- /** @deprecated 10.0.0: per_seat (praxis) only; removed in 11.0.0 */
2876
+ /** @deprecated 10.0.0: per_seat (praxis) only; kept while per_seat contracts exist */
2877
2877
  getChangeSeatsUrl: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => string;
2878
- /** @deprecated 10.0.0: per_seat (praxis) only; removed in 11.0.0 */
2878
+ /** @deprecated 10.0.0: per_seat (praxis) only; kept while per_seat contracts exist */
2879
2879
  redirectToChangeSeats: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => FFIDRedirectResult;
2880
2880
  getRecoverPaymentUrl: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => string;
2881
2881
  redirectToRecoverPayment: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => FFIDRedirectResult;
@@ -2866,16 +2866,16 @@ declare function createFFIDClient(config: FFIDConfig): {
2866
2866
  cancelSubscription: (params: FFIDCancelSubscriptionParams) => Promise<FFIDApiResponse<FFIDCancelSubscriptionResponse>>;
2867
2867
  cancelPendingDowngrade: (subscriptionId: string) => Promise<FFIDApiResponse<FFIDCancelPendingDowngradeResponse>>;
2868
2868
  previewPlanChange: (params: FFIDPreviewPlanChangeParams) => Promise<FFIDApiResponse<FFIDPlanChangePreviewResponse>>;
2869
- /** @deprecated 10.0.0: per_seat (praxis) only; removed in 11.0.0 */
2869
+ /** @deprecated 10.0.0: per_seat (praxis) only; kept while per_seat contracts exist */
2870
2870
  previewSeatChange: (params: FFIDPreviewSeatChangeParams) => Promise<FFIDApiResponse<FFIDSeatChangePreviewResponse>>;
2871
2871
  verifyAccessToken: (accessToken: string, options?: FFIDVerifyAccessTokenOptions) => Promise<FFIDApiResponse<FFIDOAuthUserInfo>>;
2872
2872
  getSubscribeUrl: (options?: ContractWizardSubscribeOptions) => string;
2873
2873
  redirectToSubscribe: (options?: ContractWizardSubscribeOptions) => FFIDRedirectResult;
2874
2874
  getChangePlanUrl: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => string;
2875
2875
  redirectToChangePlan: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => FFIDRedirectResult;
2876
- /** @deprecated 10.0.0: per_seat (praxis) only; removed in 11.0.0 */
2876
+ /** @deprecated 10.0.0: per_seat (praxis) only; kept while per_seat contracts exist */
2877
2877
  getChangeSeatsUrl: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => string;
2878
- /** @deprecated 10.0.0: per_seat (praxis) only; removed in 11.0.0 */
2878
+ /** @deprecated 10.0.0: per_seat (praxis) only; kept while per_seat contracts exist */
2879
2879
  redirectToChangeSeats: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => FFIDRedirectResult;
2880
2880
  getRecoverPaymentUrl: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => string;
2881
2881
  redirectToRecoverPayment: (subscriptionId: string, options?: ContractWizardSubscriptionOptions) => FFIDRedirectResult;