@feelflow/ffid-sdk 5.24.3 → 5.27.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.
@@ -318,6 +318,12 @@ interface FFIDSubscription {
318
318
  organizationName?: string | null | undefined;
319
319
  }
320
320
  /** OAuth userinfo subscription summary */
321
+ type FFIDSeatAssignmentStatus = 'active' | 'revoking' | 'revoked';
322
+ interface FFIDSeatAssignmentClaim {
323
+ organizationId: string;
324
+ subscriptionId: string;
325
+ status: FFIDSeatAssignmentStatus;
326
+ }
321
327
  interface FFIDOAuthUserInfoSubscription {
322
328
  subscriptionId: string | null;
323
329
  status: FFIDSubscriptionStatus | null;
@@ -335,6 +341,12 @@ interface FFIDOAuthUserInfoSubscription {
335
341
  organizationId: string | null;
336
342
  organizationName?: string | null | undefined;
337
343
  hasSeatAssignment: boolean | null;
344
+ /**
345
+ * Organization/subscription-bound seat claim (#4352). `undefined` means an
346
+ * older FFID omitted the field; `null` means a present claim was malformed.
347
+ * Only `status === 'active'` grants Team access.
348
+ */
349
+ seatAssignment: FFIDSeatAssignmentClaim | null | undefined;
338
350
  /**
339
351
  * Stripe `cancel_at_period_end` (#3464, SDK 5.8.0). `true` while the
340
352
  * subscription is scheduled to terminate at `currentPeriodEnd`. The
@@ -354,6 +366,19 @@ interface FFIDOAuthUserInfoSubscription {
354
366
  * round-trip.
355
367
  */
356
368
  currentPeriodEnd: string | null;
369
+ /**
370
+ * Per-service entitlement codes (e.g. `praxis.pack.<slug>.access`) granting
371
+ * access to one-time / single-pack purchases not encoded in the plan tier
372
+ * (#4333, SDK 5.25.0). Read this list to gate per-pack access; an empty
373
+ * array means "no pack entitlements" (the normal case for Pro / Team tiers
374
+ * that unlock packs via `planCode`).
375
+ *
376
+ * The `normalizeUserinfo` boundary defaults this to `[]` when the server
377
+ * omits it (older FFID pre-#4333) or when the introspect path uses a service
378
+ * API key without `subscription:read`, so consumers always see a plain
379
+ * `readonly string[]` and never branch on an "unknown" sentinel.
380
+ */
381
+ entitlements: readonly string[];
357
382
  }
358
383
  /**
359
384
  * Unified user-identity shape returned by `getSession()` (→ `/oauth/userinfo`)
@@ -811,97 +836,6 @@ interface FFIDAnalyticsConfig {
811
836
  */
812
837
  isActive: boolean;
813
838
  }
814
- /**
815
- * Discriminant for redirect failures that callers need to handle
816
- * programmatically (vs. logging the human-readable `error` string).
817
- *
818
- * - `'redirect_loop_detected'`: `redirectToAuthorize()` detected that the
819
- * same authorize URL (keyed by `baseUrl + client_id + organization_id`)
820
- * has been fired **3 times within 60 seconds**. Caller should surface a
821
- * manual "再度ログインする" UI rather than retry automatically (#2406 / #2411).
822
- *
823
- * - `'state_persistence_failed'`: `redirectToAuthorize()` could not persist
824
- * the OAuth CSRF `state` (storage unavailable / quota). Redirect is aborted
825
- * fail-closed (#4136) — callers should surface a manual retry UI.
826
- *
827
- * Other failure paths (SSR environment, PKCE generation failure, empty
828
- * organizationId) currently return `error` without a `code`. Treat this union
829
- * as forward-extensible and do NOT exhaustively `switch` over it without a
830
- * `default` branch for consumer code that must stay compatible across SDK
831
- * upgrades.
832
- */
833
- type FFIDRedirectErrorCode = 'redirect_loop_detected' | 'state_persistence_failed';
834
- /**
835
- * Result of a redirect operation (redirectToLogin / redirectToAuthorize / redirectToLogout)
836
- *
837
- * Structured return type so callers can inspect failure reasons
838
- * instead of receiving a bare `false`. When `code` is set, branch on it
839
- * for programmatic handling; otherwise log `error` for humans.
840
- *
841
- * `loopDetectionDisabled` (#4119): set to `true` when sessionStorage is
842
- * unavailable (iOS WebKit private mode / eviction) so redirect-loop detection
843
- * ran **fail-open** — the redirect fired, but repeated-redirect protection is
844
- * disabled for this browser session. Callers that need loop protection on
845
- * such browsers should add their own max-retry guard.
846
- */
847
- type FFIDRedirectResult = {
848
- success: true;
849
- loopDetectionDisabled?: boolean;
850
- } | {
851
- success: false;
852
- error: string;
853
- code?: FFIDRedirectErrorCode;
854
- };
855
- /**
856
- * OAuth 2.0 token response from FFID token endpoint
857
- */
858
- interface FFIDOAuthTokenResponse {
859
- access_token: string;
860
- token_type: 'Bearer';
861
- expires_in: number;
862
- refresh_token: string;
863
- }
864
- /**
865
- * RFC 7662 Token Introspection response (raw format from server)
866
- *
867
- * Used internally by verifyAccessToken(). Consumers receive the normalized
868
- * FFIDOAuthUserInfo type instead.
869
- *
870
- * @see https://tools.ietf.org/html/rfc7662
871
- */
872
- interface FFIDTokenIntrospectionResponse {
873
- active: boolean;
874
- sub?: string;
875
- email?: string;
876
- /** Whether the user's email is verified (#3791). Optional for backward compat with older FFID. */
877
- email_verified?: boolean;
878
- name?: string;
879
- picture?: string | null;
880
- company_name?: string | null;
881
- department?: string | null;
882
- position?: string | null;
883
- phone_number?: string | null;
884
- scope?: string | null;
885
- exp?: number;
886
- iat?: number;
887
- iss?: string;
888
- token_type?: 'Bearer';
889
- client_id?: string;
890
- organization_id?: string | null;
891
- organization_name?: string | null;
892
- subscription?: {
893
- subscription_id: string | null;
894
- status: FFIDOAuthUserInfoSubscription['status'];
895
- /** Optional for backward compat with older FFID (< 5.3.0 / #3353). */
896
- effective_status?: FFIDOAuthUserInfoSubscription['effectiveStatus'];
897
- plan_code: string | null;
898
- seat_model: FFIDOAuthUserInfoSubscription['seatModel'];
899
- member_role: FFIDOAuthUserInfoSubscription['memberRole'];
900
- organization_id: string | null;
901
- organization_name?: string | null;
902
- has_seat_assignment?: boolean;
903
- };
904
- }
905
839
 
906
840
  /**
907
841
  * FFID Announcements SDK Type Definitions
@@ -1602,4 +1536,4 @@ interface FFIDInquiryFormPlaceholderContext {
1602
1536
  }
1603
1537
  declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, legalLayout, messagePlaceholder, requireCategorySelection, unstyled, classNames, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
1604
1538
 
1605
- export { type FFIDInquiryFormSubmitData as $, type AnnouncementListResponse as A, type Announcement as B, type AnnouncementStatus as C, type AnnouncementType as D, type EffectiveSubscriptionStatus as E, type FFIDSubscriptionStatus as F, EFFECTIVE_SUBSCRIPTION_STATUSES as G, FFIDAnnouncementBadge as H, FFIDAnnouncementList as I, type FFIDAnnouncementsError as J, type FFIDAnnouncementsErrorCode as K, type ListAnnouncementsOptions as L, type FFIDAnnouncementsServerResponse as M, type FFIDApiResponseMeta as N, type FFIDCacheConfig as O, type FFIDContextValue as P, type FFIDInquiryCategory as Q, type FFIDInquiryCategorySite2026 as R, FFIDInquiryForm as S, type TokenStore as T, type FFIDInquiryFormCategoryItem as U, type FFIDInquiryFormClassNames as V, type FFIDInquiryFormLegalLayout as W, type FFIDInquiryFormOrganization as X, type FFIDInquiryFormPlaceholderContext as Y, type FFIDInquiryFormPrefill as Z, type FFIDInquiryFormProps as _, type FFIDPrompt as a, type FFIDInquiryFormSubmitResult as a0, type FFIDJwtClaims as a1, FFIDLoginButton as a2, type FFIDOAuthTokenResponse as a3, type FFIDOAuthUserInfoMemberRole as a4, FFIDOrganizationSwitcher as a5, type FFIDRedirectErrorCode as a6, type FFIDSeatModel as a7, type FFIDServiceAccessDenialReason as a8, type FFIDServiceAccessFailPolicy as a9, FFIDSubscriptionBadge as aa, type FFIDTokenIntrospectionResponse as ab, FFIDUserMenu as ac, FFID_INQUIRY_CATEGORIES as ad, FFID_INQUIRY_CATEGORIES_SITE_2026 as ae, type TokenData as af, type UseFFIDAnnouncementsOptions as ag, type UseFFIDAnnouncementsReturn as ah, createTokenStore as ai, isFFIDInquiryCategorySite2026 as aj, useFFIDAnnouncements as ak, type FFIDAnnouncementBadgeClassNames as al, type FFIDAnnouncementBadgeProps as am, type FFIDAnnouncementListClassNames as an, type FFIDAnnouncementListProps as ao, type FFIDLoginButtonProps as ap, type FFIDOrganizationSwitcherClassNames as aq, type FFIDOrganizationSwitcherProps as ar, type FFIDSubscriptionBadgeClassNames as as, type FFIDSubscriptionBadgeProps as at, type FFIDUserMenuClassNames as au, type FFIDUserMenuProps as av, type FFIDConfig as b, type FFIDApiResponse as c, type FFIDSessionResponse as d, type FFIDSignOutResult as e, type FFIDRedirectResult as f, type FFIDError as g, type FFIDSubscriptionCheckResponse as h, type FFIDCheckServiceAccessParams as i, type FFIDServiceAccessDecision as j, type FFIDAnalyticsConfig as k, type FFIDVerifyAccessTokenOptions as l, type FFIDOAuthUserInfo as m, type FFIDInquiryCreateParams as n, type FFIDInquiryCreateResponse as o, type FFIDAuthMode as p, type FFIDLogger as q, type FFIDCacheAdapter as r, type FFIDUser as s, type FFIDOrganization as t, type FFIDSubscription as u, type FFIDSubscriptionContextValue as v, type FFIDOAuthUserInfoSubscription as w, type FFIDAnnouncementsClientConfig as x, type FFIDAnnouncementsApiResponse as y, type FFIDAnnouncementsLogger as z };
1539
+ export { type FFIDInquiryFormSubmitResult as $, type AnnouncementListResponse as A, type AnnouncementStatus as B, type AnnouncementType as C, EFFECTIVE_SUBSCRIPTION_STATUSES as D, type EffectiveSubscriptionStatus as E, type FFIDSubscriptionStatus as F, FFIDAnnouncementBadge as G, FFIDAnnouncementList as H, type FFIDAnnouncementsError as I, type FFIDAnnouncementsErrorCode as J, type FFIDAnnouncementsServerResponse as K, type ListAnnouncementsOptions as L, type FFIDApiResponseMeta as M, type FFIDCacheConfig as N, type FFIDContextValue as O, type FFIDInquiryCategory as P, type FFIDInquiryCategorySite2026 as Q, FFIDInquiryForm as R, type FFIDInquiryFormCategoryItem as S, type TokenStore as T, type FFIDInquiryFormClassNames as U, type FFIDInquiryFormLegalLayout as V, type FFIDInquiryFormOrganization as W, type FFIDInquiryFormPlaceholderContext as X, type FFIDInquiryFormPrefill as Y, type FFIDInquiryFormProps as Z, type FFIDInquiryFormSubmitData as _, type FFIDOAuthUserInfoSubscription as a, type FFIDJwtClaims as a0, FFIDLoginButton as a1, type FFIDOAuthUserInfoMemberRole as a2, FFIDOrganizationSwitcher as a3, type FFIDSeatAssignmentClaim as a4, type FFIDSeatAssignmentStatus as a5, type FFIDSeatModel as a6, type FFIDServiceAccessDenialReason as a7, type FFIDServiceAccessFailPolicy as a8, FFIDSubscriptionBadge as a9, FFIDUserMenu as aa, FFID_INQUIRY_CATEGORIES as ab, FFID_INQUIRY_CATEGORIES_SITE_2026 as ac, type TokenData as ad, type UseFFIDAnnouncementsOptions as ae, type UseFFIDAnnouncementsReturn as af, createTokenStore as ag, isFFIDInquiryCategorySite2026 as ah, useFFIDAnnouncements as ai, type FFIDAnnouncementBadgeClassNames as aj, type FFIDAnnouncementBadgeProps as ak, type FFIDAnnouncementListClassNames as al, type FFIDAnnouncementListProps as am, type FFIDLoginButtonProps as an, type FFIDOrganizationSwitcherClassNames as ao, type FFIDOrganizationSwitcherProps as ap, type FFIDSubscriptionBadgeClassNames as aq, type FFIDSubscriptionBadgeProps as ar, type FFIDUserMenuClassNames as as, type FFIDUserMenuProps as at, type FFIDPrompt as b, type FFIDConfig as c, type FFIDApiResponse as d, type FFIDSessionResponse as e, type FFIDSignOutResult as f, type FFIDError as g, type FFIDSubscriptionCheckResponse as h, type FFIDCheckServiceAccessParams as i, type FFIDServiceAccessDecision as j, type FFIDAnalyticsConfig as k, type FFIDVerifyAccessTokenOptions as l, type FFIDOAuthUserInfo as m, type FFIDInquiryCreateParams as n, type FFIDInquiryCreateResponse as o, type FFIDAuthMode as p, type FFIDLogger as q, type FFIDCacheAdapter as r, type FFIDUser as s, type FFIDOrganization as t, type FFIDSubscription as u, type FFIDSubscriptionContextValue as v, type FFIDAnnouncementsClientConfig as w, type FFIDAnnouncementsApiResponse as x, type FFIDAnnouncementsLogger as y, type Announcement as z };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkAMVL7J2G_cjs = require('./chunk-AMVL7J2G.cjs');
3
+ var chunkR4KUHR4S_cjs = require('./chunk-R4KUHR4S.cjs');
4
4
  var chunkH5O2CCAY_cjs = require('./chunk-H5O2CCAY.cjs');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
@@ -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 } = chunkAMVL7J2G_cjs.useFFIDContext();
58
- const { effectiveStatus, isBlocked, isGrace } = chunkAMVL7J2G_cjs.useSubscription();
57
+ const { isLoading, error } = chunkR4KUHR4S_cjs.useFFIDContext();
58
+ const { effectiveStatus, isBlocked, isGrace } = chunkR4KUHR4S_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 } = chunkAMVL7J2G_cjs.useFFIDContext();
79
+ const { isLoading, isAuthenticated, login } = chunkR4KUHR4S_cjs.useFFIDContext();
80
80
  const hasRedirected = react.useRef(false);
81
81
  react.useEffect(() => {
82
82
  if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
@@ -105,155 +105,211 @@ var FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = 1e3;
105
105
 
106
106
  Object.defineProperty(exports, "ACCESS_GRANTING_EFFECTIVE_STATUSES", {
107
107
  enumerable: true,
108
- get: function () { return chunkAMVL7J2G_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
108
+ get: function () { return chunkR4KUHR4S_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
109
109
  });
110
110
  Object.defineProperty(exports, "BLOCKING_EFFECTIVE_STATUSES", {
111
111
  enumerable: true,
112
- get: function () { return chunkAMVL7J2G_cjs.BLOCKING_EFFECTIVE_STATUSES; }
112
+ get: function () { return chunkR4KUHR4S_cjs.BLOCKING_EFFECTIVE_STATUSES; }
113
+ });
114
+ Object.defineProperty(exports, "CATALOG_HASH_PATTERN", {
115
+ enumerable: true,
116
+ get: function () { return chunkR4KUHR4S_cjs.CATALOG_HASH_PATTERN; }
113
117
  });
114
118
  Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
115
119
  enumerable: true,
116
- get: function () { return chunkAMVL7J2G_cjs.DEFAULT_API_BASE_URL; }
120
+ get: function () { return chunkR4KUHR4S_cjs.DEFAULT_API_BASE_URL; }
117
121
  });
118
122
  Object.defineProperty(exports, "DEFAULT_OAUTH_SCOPES", {
119
123
  enumerable: true,
120
- get: function () { return chunkAMVL7J2G_cjs.DEFAULT_OAUTH_SCOPES; }
124
+ get: function () { return chunkR4KUHR4S_cjs.DEFAULT_OAUTH_SCOPES; }
121
125
  });
122
126
  Object.defineProperty(exports, "EFFECTIVE_SUBSCRIPTION_STATUSES", {
123
127
  enumerable: true,
124
- get: function () { return chunkAMVL7J2G_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
128
+ get: function () { return chunkR4KUHR4S_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
125
129
  });
126
130
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
127
131
  enumerable: true,
128
- get: function () { return chunkAMVL7J2G_cjs.FFIDAnnouncementBadge; }
132
+ get: function () { return chunkR4KUHR4S_cjs.FFIDAnnouncementBadge; }
129
133
  });
130
134
  Object.defineProperty(exports, "FFIDAnnouncementList", {
131
135
  enumerable: true,
132
- get: function () { return chunkAMVL7J2G_cjs.FFIDAnnouncementList; }
136
+ get: function () { return chunkR4KUHR4S_cjs.FFIDAnnouncementList; }
137
+ });
138
+ Object.defineProperty(exports, "FFIDCatalogHashError", {
139
+ enumerable: true,
140
+ get: function () { return chunkR4KUHR4S_cjs.FFIDCatalogHashError; }
133
141
  });
134
142
  Object.defineProperty(exports, "FFIDInquiryForm", {
135
143
  enumerable: true,
136
- get: function () { return chunkAMVL7J2G_cjs.FFIDInquiryForm; }
144
+ get: function () { return chunkR4KUHR4S_cjs.FFIDInquiryForm; }
137
145
  });
138
146
  Object.defineProperty(exports, "FFIDLoginButton", {
139
147
  enumerable: true,
140
- get: function () { return chunkAMVL7J2G_cjs.FFIDLoginButton; }
148
+ get: function () { return chunkR4KUHR4S_cjs.FFIDLoginButton; }
141
149
  });
142
150
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
143
151
  enumerable: true,
144
- get: function () { return chunkAMVL7J2G_cjs.FFIDOrganizationSwitcher; }
152
+ get: function () { return chunkR4KUHR4S_cjs.FFIDOrganizationSwitcher; }
145
153
  });
146
154
  Object.defineProperty(exports, "FFIDProvider", {
147
155
  enumerable: true,
148
- get: function () { return chunkAMVL7J2G_cjs.FFIDProvider; }
156
+ get: function () { return chunkR4KUHR4S_cjs.FFIDProvider; }
149
157
  });
150
158
  Object.defineProperty(exports, "FFIDSDKError", {
151
159
  enumerable: true,
152
- get: function () { return chunkAMVL7J2G_cjs.FFIDSDKError; }
160
+ get: function () { return chunkR4KUHR4S_cjs.FFIDSDKError; }
153
161
  });
154
162
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
155
163
  enumerable: true,
156
- get: function () { return chunkAMVL7J2G_cjs.FFIDSubscriptionBadge; }
164
+ get: function () { return chunkR4KUHR4S_cjs.FFIDSubscriptionBadge; }
157
165
  });
158
166
  Object.defineProperty(exports, "FFIDUserMenu", {
159
167
  enumerable: true,
160
- get: function () { return chunkAMVL7J2G_cjs.FFIDUserMenu; }
168
+ get: function () { return chunkR4KUHR4S_cjs.FFIDUserMenu; }
161
169
  });
162
170
  Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
163
171
  enumerable: true,
164
- get: function () { return chunkAMVL7J2G_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
172
+ get: function () { return chunkR4KUHR4S_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
173
+ });
174
+ Object.defineProperty(exports, "FFID_CATALOG_ENVIRONMENTS", {
175
+ enumerable: true,
176
+ get: function () { return chunkR4KUHR4S_cjs.FFID_CATALOG_ENVIRONMENTS; }
177
+ });
178
+ Object.defineProperty(exports, "FFID_CATALOG_PUBLICATION_STATUSES", {
179
+ enumerable: true,
180
+ get: function () { return chunkR4KUHR4S_cjs.FFID_CATALOG_PUBLICATION_STATUSES; }
165
181
  });
166
182
  Object.defineProperty(exports, "FFID_ERROR_CODES", {
167
183
  enumerable: true,
168
- get: function () { return chunkAMVL7J2G_cjs.FFID_ERROR_CODES; }
184
+ get: function () { return chunkR4KUHR4S_cjs.FFID_ERROR_CODES; }
169
185
  });
170
186
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
171
187
  enumerable: true,
172
- get: function () { return chunkAMVL7J2G_cjs.FFID_INQUIRY_CATEGORIES; }
188
+ get: function () { return chunkR4KUHR4S_cjs.FFID_INQUIRY_CATEGORIES; }
173
189
  });
174
190
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES_SITE_2026", {
175
191
  enumerable: true,
176
- get: function () { return chunkAMVL7J2G_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
192
+ get: function () { return chunkR4KUHR4S_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
193
+ });
194
+ Object.defineProperty(exports, "canonicalizeCatalogValue", {
195
+ enumerable: true,
196
+ get: function () { return chunkR4KUHR4S_cjs.canonicalizeCatalogValue; }
177
197
  });
178
198
  Object.defineProperty(exports, "clearState", {
179
199
  enumerable: true,
180
- get: function () { return chunkAMVL7J2G_cjs.cleanupStateStorage; }
200
+ get: function () { return chunkR4KUHR4S_cjs.cleanupStateStorage; }
181
201
  });
182
202
  Object.defineProperty(exports, "computeEffectiveStatusFromSession", {
183
203
  enumerable: true,
184
- get: function () { return chunkAMVL7J2G_cjs.computeEffectiveStatusFromSession; }
204
+ get: function () { return chunkR4KUHR4S_cjs.computeEffectiveStatusFromSession; }
205
+ });
206
+ Object.defineProperty(exports, "computeFFIDCheckoutCopyHash", {
207
+ enumerable: true,
208
+ get: function () { return chunkR4KUHR4S_cjs.computeFFIDCheckoutCopyHash; }
209
+ });
210
+ Object.defineProperty(exports, "computeLegalDisclosureHash", {
211
+ enumerable: true,
212
+ get: function () { return chunkR4KUHR4S_cjs.computeLegalDisclosureHash; }
213
+ });
214
+ Object.defineProperty(exports, "computePaymentConfigurationHash", {
215
+ enumerable: true,
216
+ get: function () { return chunkR4KUHR4S_cjs.computePaymentConfigurationHash; }
217
+ });
218
+ Object.defineProperty(exports, "computePraxisCopyHash", {
219
+ enumerable: true,
220
+ get: function () { return chunkR4KUHR4S_cjs.computePraxisCopyHash; }
221
+ });
222
+ Object.defineProperty(exports, "computeScopeHash", {
223
+ enumerable: true,
224
+ get: function () { return chunkR4KUHR4S_cjs.computeScopeHash; }
225
+ });
226
+ Object.defineProperty(exports, "computeTaxConfigurationHash", {
227
+ enumerable: true,
228
+ get: function () { return chunkR4KUHR4S_cjs.computeTaxConfigurationHash; }
185
229
  });
186
230
  Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
187
231
  enumerable: true,
188
- get: function () { return chunkAMVL7J2G_cjs.createFFIDAnnouncementsClient; }
232
+ get: function () { return chunkR4KUHR4S_cjs.createFFIDAnnouncementsClient; }
189
233
  });
190
234
  Object.defineProperty(exports, "createFFIDClient", {
191
235
  enumerable: true,
192
- get: function () { return chunkAMVL7J2G_cjs.createFFIDClient; }
236
+ get: function () { return chunkR4KUHR4S_cjs.createFFIDClient; }
193
237
  });
194
238
  Object.defineProperty(exports, "createTokenStore", {
195
239
  enumerable: true,
196
- get: function () { return chunkAMVL7J2G_cjs.createTokenStore; }
240
+ get: function () { return chunkR4KUHR4S_cjs.createTokenStore; }
197
241
  });
198
242
  Object.defineProperty(exports, "generateCodeChallenge", {
199
243
  enumerable: true,
200
- get: function () { return chunkAMVL7J2G_cjs.generateCodeChallenge; }
244
+ get: function () { return chunkR4KUHR4S_cjs.generateCodeChallenge; }
201
245
  });
202
246
  Object.defineProperty(exports, "generateCodeVerifier", {
203
247
  enumerable: true,
204
- get: function () { return chunkAMVL7J2G_cjs.generateCodeVerifier; }
248
+ get: function () { return chunkR4KUHR4S_cjs.generateCodeVerifier; }
205
249
  });
206
250
  Object.defineProperty(exports, "handleRedirectCallback", {
207
251
  enumerable: true,
208
- get: function () { return chunkAMVL7J2G_cjs.handleRedirectCallback; }
252
+ get: function () { return chunkR4KUHR4S_cjs.handleRedirectCallback; }
209
253
  });
210
254
  Object.defineProperty(exports, "hasAccessFromUserinfo", {
211
255
  enumerable: true,
212
- get: function () { return chunkAMVL7J2G_cjs.hasAccessFromUserinfo; }
256
+ get: function () { return chunkR4KUHR4S_cjs.hasAccessFromUserinfo; }
257
+ });
258
+ Object.defineProperty(exports, "hashCanonicalJson", {
259
+ enumerable: true,
260
+ get: function () { return chunkR4KUHR4S_cjs.hashCanonicalJson; }
213
261
  });
214
262
  Object.defineProperty(exports, "isBlockedFromUserinfo", {
215
263
  enumerable: true,
216
- get: function () { return chunkAMVL7J2G_cjs.isBlockedFromUserinfo; }
264
+ get: function () { return chunkR4KUHR4S_cjs.isBlockedFromUserinfo; }
217
265
  });
218
266
  Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
219
267
  enumerable: true,
220
- get: function () { return chunkAMVL7J2G_cjs.isFFIDInquiryCategorySite2026; }
268
+ get: function () { return chunkR4KUHR4S_cjs.isFFIDInquiryCategorySite2026; }
221
269
  });
222
270
  Object.defineProperty(exports, "normalizeRedirectUri", {
223
271
  enumerable: true,
224
- get: function () { return chunkAMVL7J2G_cjs.normalizeRedirectUri; }
272
+ get: function () { return chunkR4KUHR4S_cjs.normalizeRedirectUri; }
225
273
  });
226
274
  Object.defineProperty(exports, "retrieveCodeVerifier", {
227
275
  enumerable: true,
228
- get: function () { return chunkAMVL7J2G_cjs.retrieveCodeVerifier; }
276
+ get: function () { return chunkR4KUHR4S_cjs.retrieveCodeVerifier; }
229
277
  });
230
278
  Object.defineProperty(exports, "retrieveState", {
231
279
  enumerable: true,
232
- get: function () { return chunkAMVL7J2G_cjs.retrieveState; }
280
+ get: function () { return chunkR4KUHR4S_cjs.retrieveState; }
281
+ });
282
+ Object.defineProperty(exports, "sha256Hex", {
283
+ enumerable: true,
284
+ get: function () { return chunkR4KUHR4S_cjs.sha256Hex; }
233
285
  });
234
286
  Object.defineProperty(exports, "storeCodeVerifier", {
235
287
  enumerable: true,
236
- get: function () { return chunkAMVL7J2G_cjs.storeCodeVerifier; }
288
+ get: function () { return chunkR4KUHR4S_cjs.storeCodeVerifier; }
237
289
  });
238
290
  Object.defineProperty(exports, "storeState", {
239
291
  enumerable: true,
240
- get: function () { return chunkAMVL7J2G_cjs.storeState; }
292
+ get: function () { return chunkR4KUHR4S_cjs.storeState; }
241
293
  });
242
294
  Object.defineProperty(exports, "useFFID", {
243
295
  enumerable: true,
244
- get: function () { return chunkAMVL7J2G_cjs.useFFID; }
296
+ get: function () { return chunkR4KUHR4S_cjs.useFFID; }
245
297
  });
246
298
  Object.defineProperty(exports, "useFFIDAnnouncements", {
247
299
  enumerable: true,
248
- get: function () { return chunkAMVL7J2G_cjs.useFFIDAnnouncements; }
300
+ get: function () { return chunkR4KUHR4S_cjs.useFFIDAnnouncements; }
249
301
  });
250
302
  Object.defineProperty(exports, "useSubscription", {
251
303
  enumerable: true,
252
- get: function () { return chunkAMVL7J2G_cjs.useSubscription; }
304
+ get: function () { return chunkR4KUHR4S_cjs.useSubscription; }
305
+ });
306
+ Object.defineProperty(exports, "validatePublishedCatalog", {
307
+ enumerable: true,
308
+ get: function () { return chunkR4KUHR4S_cjs.validatePublishedCatalog; }
253
309
  });
254
310
  Object.defineProperty(exports, "withSubscription", {
255
311
  enumerable: true,
256
- get: function () { return chunkAMVL7J2G_cjs.withSubscription; }
312
+ get: function () { return chunkR4KUHR4S_cjs.withSubscription; }
257
313
  });
258
314
  Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
259
315
  enumerable: true,