@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
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk4IIVIB2Q_cjs = require('./chunk-4IIVIB2Q.cjs');
|
|
4
|
+
var chunkI3QZJXQQ_cjs = require('./chunk-I3QZJXQQ.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 } = chunk4IIVIB2Q_cjs.useFFIDContext();
|
|
58
|
+
const { effectiveStatus, isBlocked, isGrace } = chunk4IIVIB2Q_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 } = chunk4IIVIB2Q_cjs.useFFIDContext();
|
|
80
80
|
const hasRedirected = react.useRef(false);
|
|
81
81
|
react.useEffect(() => {
|
|
82
82
|
if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
|
|
@@ -105,179 +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 chunk4IIVIB2Q_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 chunk4IIVIB2Q_cjs.DEFAULT_OAUTH_SCOPES; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "FFIDAnnouncementBadge", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDAnnouncementBadge; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "FFIDAnnouncementList", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDAnnouncementList; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "FFIDInquiryForm", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDInquiryForm; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "FFIDLoginButton", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDLoginButton; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDOrganizationSwitcher; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "FFIDProvider", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDProvider; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "FFIDSDKError", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDSDKError; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "FFIDSubscriptionBadge", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunk4IIVIB2Q_cjs.FFIDSubscriptionBadge; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "FFIDUserMenu", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunk4IIVIB2Q_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 chunk4IIVIB2Q_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 chunk4IIVIB2Q_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 chunk4IIVIB2Q_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 chunk4IIVIB2Q_cjs.computeEffectiveStatusFromSession; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunk4IIVIB2Q_cjs.createFFIDAnnouncementsClient; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "createFFIDClient", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunk4IIVIB2Q_cjs.createFFIDClient; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "createTokenStore", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunk4IIVIB2Q_cjs.createTokenStore; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "generateCodeChallenge", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunk4IIVIB2Q_cjs.generateCodeChallenge; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "generateCodeVerifier", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunk4IIVIB2Q_cjs.generateCodeVerifier; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunk4IIVIB2Q_cjs.isFFIDInquiryCategorySite2026; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "normalizeRedirectUri", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunk4IIVIB2Q_cjs.normalizeRedirectUri; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "retrieveCodeVerifier", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunk4IIVIB2Q_cjs.retrieveCodeVerifier; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "storeCodeVerifier", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunk4IIVIB2Q_cjs.storeCodeVerifier; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "useFFID", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunk4IIVIB2Q_cjs.useFFID; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "useFFIDAnnouncements", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunk4IIVIB2Q_cjs.useFFIDAnnouncements; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "useSubscription", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunk4IIVIB2Q_cjs.useSubscription; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "withSubscription", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunk4IIVIB2Q_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 chunkI3QZJXQQ_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 chunkI3QZJXQQ_cjs.CONSENT_COOKIE_NAME; }
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function () { return chunkI3QZJXQQ_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
|
|
225
229
|
});
|
|
226
230
|
Object.defineProperty(exports, "COOKIE_VERSION", {
|
|
227
231
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkI3QZJXQQ_cjs.COOKIE_VERSION; }
|
|
229
233
|
});
|
|
230
234
|
Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
|
|
231
235
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkI3QZJXQQ_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
|
|
233
237
|
});
|
|
234
238
|
Object.defineProperty(exports, "FFIDAnalyticsProvider", {
|
|
235
239
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDAnalyticsProvider; }
|
|
237
241
|
});
|
|
238
242
|
Object.defineProperty(exports, "FFIDConsentError", {
|
|
239
243
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDConsentError; }
|
|
241
245
|
});
|
|
242
246
|
Object.defineProperty(exports, "FFIDCookieBanner", {
|
|
243
247
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDCookieBanner; }
|
|
245
249
|
});
|
|
246
250
|
Object.defineProperty(exports, "FFIDCookieLink", {
|
|
247
251
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDCookieLink; }
|
|
249
253
|
});
|
|
250
254
|
Object.defineProperty(exports, "FFIDCookieSettings", {
|
|
251
255
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFIDCookieSettings; }
|
|
253
257
|
});
|
|
254
258
|
Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
|
|
255
259
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkI3QZJXQQ_cjs.FFID_CONSENT_ERROR_CODES; }
|
|
261
|
+
});
|
|
262
|
+
Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
|
|
263
|
+
enumerable: true,
|
|
264
|
+
get: function () { return chunkI3QZJXQQ_cjs.clearConsentDismissalTimestamp; }
|
|
257
265
|
});
|
|
258
266
|
Object.defineProperty(exports, "decodeConsentCookie", {
|
|
259
267
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkI3QZJXQQ_cjs.decodeConsentCookie; }
|
|
261
269
|
});
|
|
262
270
|
Object.defineProperty(exports, "encodeConsentCookie", {
|
|
263
271
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkI3QZJXQQ_cjs.encodeConsentCookie; }
|
|
265
273
|
});
|
|
266
274
|
Object.defineProperty(exports, "readConsentCookie", {
|
|
267
275
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkI3QZJXQQ_cjs.readConsentCookie; }
|
|
277
|
+
});
|
|
278
|
+
Object.defineProperty(exports, "readConsentDismissalTimestamp", {
|
|
279
|
+
enumerable: true,
|
|
280
|
+
get: function () { return chunkI3QZJXQQ_cjs.readConsentDismissalTimestamp; }
|
|
269
281
|
});
|
|
270
282
|
Object.defineProperty(exports, "useFFIDConsent", {
|
|
271
283
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkI3QZJXQQ_cjs.useFFIDConsent; }
|
|
273
285
|
});
|
|
274
286
|
Object.defineProperty(exports, "useFFIDConsentPreferences", {
|
|
275
287
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkI3QZJXQQ_cjs.useFFIDConsentPreferences; }
|
|
277
289
|
});
|
|
278
290
|
Object.defineProperty(exports, "writeConsentCookie", {
|
|
279
291
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkI3QZJXQQ_cjs.writeConsentCookie; }
|
|
293
|
+
});
|
|
294
|
+
Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
|
|
295
|
+
enumerable: true,
|
|
296
|
+
get: function () { return chunkI3QZJXQQ_cjs.writeConsentDismissalTimestamp; }
|
|
281
297
|
});
|
|
282
298
|
exports.FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS;
|
|
283
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,
|
|
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-D37pN-v_.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,
|
|
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-D37pN-v_.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, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, FFIDAnalyticsProvider, FFIDConsentError, FFIDCookieBanner, FFIDCookieLink, FFIDCookieSettings, FFID_CONSENT_ERROR_CODES, decodeConsentCookie, encodeConsentCookie, readConsentCookie, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie } from './chunk-
|
|
1
|
+
import { useFFIDContext, useSubscription } from './chunk-FACWGQHL.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-FACWGQHL.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-KSCAUQLP.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.0
|
|
838
|
+
var SDK_VERSION = "5.2.0";
|
|
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.0
|
|
837
|
+
var SDK_VERSION = "5.2.0";
|
|
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() {
|