@clerk/shared 4.32.0-snapshot.v20260904162929 → 4.32.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/_chunks/{error-C-B61RHn.js → error-CdWUgmMd.js} +4 -4
- package/dist/_chunks/error-CdWUgmMd.js.map +1 -0
- package/dist/_chunks/{error-CYyD2kei.mjs → error-wrUdW78M.mjs} +4 -4
- package/dist/_chunks/error-wrUdW78M.mjs.map +1 -0
- package/dist/error.js +1 -1
- package/dist/error.mjs +1 -1
- package/dist/errors/errorThrower.d.mts +3 -3
- package/dist/errors/errorThrower.d.ts +3 -3
- package/dist/errors/errorThrower.js +3 -3
- package/dist/internal/clerk-js/componentGuards.d.mts +2 -1
- package/dist/internal/clerk-js/componentGuards.d.ts +2 -1
- package/dist/internal/clerk-js/componentGuards.js +4 -0
- package/dist/internal/clerk-js/componentGuards.js.map +1 -1
- package/dist/internal/clerk-js/componentGuards.mjs +4 -1
- package/dist/internal/clerk-js/componentGuards.mjs.map +1 -1
- package/dist/internal/clerk-js/passkeys.js +1 -1
- package/dist/internal/clerk-js/passkeys.mjs +1 -1
- package/dist/internal/clerk-js/protectCheck.js +1 -1
- package/dist/internal/clerk-js/protectCheck.mjs +1 -1
- package/dist/internal/clerk-js/warnings.d.mts +3 -2
- package/dist/internal/clerk-js/warnings.d.ts +3 -2
- package/dist/internal/clerk-js/warnings.js +2 -1
- package/dist/internal/clerk-js/warnings.js.map +1 -1
- package/dist/internal/clerk-js/warnings.mjs +2 -1
- package/dist/internal/clerk-js/warnings.mjs.map +1 -1
- package/dist/internal/clerk-js/web3.js +1 -1
- package/dist/internal/clerk-js/web3.mjs +1 -1
- package/dist/keys.d.mts +1 -6
- package/dist/keys.d.ts +1 -6
- package/dist/keys.js +2 -8
- package/dist/keys.js.map +1 -1
- package/dist/keys.mjs +3 -8
- package/dist/keys.mjs.map +1 -1
- package/dist/loadClerkJsScript.js +2 -2
- package/dist/loadClerkJsScript.js.map +1 -1
- package/dist/loadClerkJsScript.mjs +2 -2
- package/dist/loadClerkJsScript.mjs.map +1 -1
- package/dist/react/hooks/index.d.mts +2 -0
- package/dist/react/hooks/index.d.ts +2 -0
- package/dist/react/hooks/index.js +2 -0
- package/dist/react/hooks/useClerk.d.mts +1 -1
- package/dist/react/hooks/useClerk.d.ts +1 -1
- package/dist/react/hooks/useClerk.js +1 -1
- package/dist/react/hooks/useOAuthDeviceVerification.types.d.mts +31 -2
- package/dist/react/hooks/useOAuthDeviceVerification.types.d.ts +31 -2
- package/dist/react/hooks/useOrganization.d.mts +1 -1
- package/dist/react/hooks/useOrganization.d.ts +1 -1
- package/dist/react/hooks/useOrganizationDirectorySync.d.mts +27 -0
- package/dist/react/hooks/useOrganizationDirectorySync.d.ts +27 -0
- package/dist/react/hooks/useOrganizationDirectorySync.js +89 -0
- package/dist/react/hooks/useOrganizationDirectorySync.shared.js +49 -0
- package/dist/react/hooks/useOrganizationDirectorySyncUsers.d.mts +53 -0
- package/dist/react/hooks/useOrganizationDirectorySyncUsers.d.ts +53 -0
- package/dist/react/hooks/useOrganizationDirectorySyncUsers.js +71 -0
- package/dist/react/hooks/useOrganizationEnterpriseConnectionTestRuns.js +7 -5
- package/dist/react/hooks/useOrganizationList.d.mts +1 -1
- package/dist/react/hooks/useOrganizationList.d.ts +1 -1
- package/dist/react/hooks/useReverification.d.mts +1 -1
- package/dist/react/hooks/useReverification.d.ts +1 -1
- package/dist/react/index.d.mts +3 -1
- package/dist/react/index.d.ts +3 -1
- package/dist/react/index.js +199 -8
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +198 -9
- package/dist/react/index.mjs.map +1 -1
- package/dist/react/stable-keys.js +5 -1
- package/dist/types/billing.d.mts +1 -1
- package/dist/types/billing.d.ts +1 -1
- package/dist/types/clerk.d.mts +19 -3
- package/dist/types/clerk.d.ts +19 -3
- package/dist/types/directorySync.d.mts +123 -0
- package/dist/types/directorySync.d.ts +123 -0
- package/dist/types/elementIds.d.mts +2 -2
- package/dist/types/elementIds.d.ts +2 -2
- package/dist/types/hooks.d.mts +11 -11
- package/dist/types/hooks.d.ts +11 -11
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/localization.d.mts +108 -0
- package/dist/types/localization.d.ts +108 -0
- package/dist/types/oauthApplication.d.mts +76 -3
- package/dist/types/oauthApplication.d.ts +76 -3
- package/dist/types/organization.d.mts +11 -1
- package/dist/types/organization.d.ts +11 -1
- package/dist/types/organizationDomain.d.mts +3 -3
- package/dist/types/organizationDomain.d.ts +3 -3
- package/dist/types/signIn.d.mts +2 -0
- package/dist/types/signIn.d.ts +2 -0
- package/dist/types/signInFuture.d.mts +19 -7
- package/dist/types/signInFuture.d.ts +19 -7
- package/dist/types/signUpFuture.d.mts +5 -5
- package/dist/types/signUpFuture.d.ts +5 -5
- package/dist/types/user.d.mts +1 -1
- package/dist/types/user.d.ts +1 -1
- package/dist/types/userSettings.d.mts +2 -1
- package/dist/types/userSettings.d.ts +2 -1
- package/dist/versionSelector.js +1 -1
- package/dist/versionSelector.js.map +1 -1
- package/dist/versionSelector.mjs +1 -1
- package/dist/versionSelector.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/_chunks/error-C-B61RHn.js.map +0 -1
- package/dist/_chunks/error-CYyD2kei.mjs.map +0 -1
package/dist/react/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { isReverificationHint, reverificationError } from "../authorization-erro
|
|
|
2
2
|
import { validateReverificationConfig } from "../authorization.mjs";
|
|
3
3
|
import { deriveFromSsrInitialState } from "../deriveState.mjs";
|
|
4
4
|
import { t as ClerkRuntimeError } from "../_chunks/clerkRuntimeError-DlesLWqO.mjs";
|
|
5
|
-
import { C as isClerkAPIResponseError } from "../_chunks/error-
|
|
5
|
+
import { C as isClerkAPIResponseError } from "../_chunks/error-wrUdW78M.mjs";
|
|
6
6
|
import { logger } from "../logger.mjs";
|
|
7
7
|
import { getCurrentOrganizationMembership } from "../organization.mjs";
|
|
8
8
|
import { a as eventMethodCalled } from "../_chunks/telemetry-9C6N5ppw.mjs";
|
|
@@ -157,6 +157,8 @@ const ENTERPRISE_CONNECTION_TEST_RUNS_KEY = "enterpriseConnectionTestRuns";
|
|
|
157
157
|
const ORGANIZATION_ENTERPRISE_CONNECTIONS_KEY = "organizationEnterpriseConnections";
|
|
158
158
|
const ORGANIZATION_ENTERPRISE_CONNECTION_TEST_RUNS_KEY = "organizationEnterpriseConnectionTestRuns";
|
|
159
159
|
const ORGANIZATION_DOMAINS_KEY = "organizationDomains";
|
|
160
|
+
const ORGANIZATION_DIRECTORY_SYNC_KEY = "organizationDirectorySync";
|
|
161
|
+
const ORGANIZATION_DIRECTORY_SYNC_USERS_KEY = "organizationDirectorySyncUsers";
|
|
160
162
|
const CREDIT_HISTORY_KEY = "billing-credit-history";
|
|
161
163
|
const INTERNAL_STABLE_KEYS = {
|
|
162
164
|
PAYMENT_ATTEMPT_KEY,
|
|
@@ -167,7 +169,9 @@ const INTERNAL_STABLE_KEYS = {
|
|
|
167
169
|
ENTERPRISE_CONNECTION_TEST_RUNS_KEY,
|
|
168
170
|
ORGANIZATION_ENTERPRISE_CONNECTIONS_KEY,
|
|
169
171
|
ORGANIZATION_ENTERPRISE_CONNECTION_TEST_RUNS_KEY,
|
|
170
|
-
ORGANIZATION_DOMAINS_KEY
|
|
172
|
+
ORGANIZATION_DOMAINS_KEY,
|
|
173
|
+
ORGANIZATION_DIRECTORY_SYNC_KEY,
|
|
174
|
+
ORGANIZATION_DIRECTORY_SYNC_USERS_KEY
|
|
171
175
|
};
|
|
172
176
|
|
|
173
177
|
//#endregion
|
|
@@ -1077,7 +1081,7 @@ function useSessionBase() {
|
|
|
1077
1081
|
*
|
|
1078
1082
|
* @example
|
|
1079
1083
|
*
|
|
1080
|
-
* The following example uses the `useClerk()` hook to access the `clerk` object. The `clerk` object is used to call the [`openSignIn()`](https://clerk.com/docs/reference/objects/clerk#
|
|
1084
|
+
* The following example uses the `useClerk()` hook to access the `clerk` object. The `clerk` object is used to call the [`openSignIn()`](https://clerk.com/docs/reference/objects/clerk#opensignin) method to open the sign-in modal.
|
|
1081
1085
|
*
|
|
1082
1086
|
* <Tabs items='React,Next.js'>
|
|
1083
1087
|
* <Tab>
|
|
@@ -3177,6 +3181,189 @@ function useOrganizationDomains(params = {}) {
|
|
|
3177
3181
|
};
|
|
3178
3182
|
}
|
|
3179
3183
|
|
|
3184
|
+
//#endregion
|
|
3185
|
+
//#region src/react/hooks/useOrganizationDirectorySync.shared.ts
|
|
3186
|
+
/**
|
|
3187
|
+
* @internal
|
|
3188
|
+
*/
|
|
3189
|
+
function useOrganizationDirectorySyncCacheKeys(params) {
|
|
3190
|
+
const { organizationId, enterpriseConnectionId } = params;
|
|
3191
|
+
return useMemo(() => {
|
|
3192
|
+
return createCacheKeys({
|
|
3193
|
+
stablePrefix: INTERNAL_STABLE_KEYS.ORGANIZATION_DIRECTORY_SYNC_KEY,
|
|
3194
|
+
authenticated: Boolean(organizationId),
|
|
3195
|
+
tracked: {
|
|
3196
|
+
organizationId: organizationId ?? null,
|
|
3197
|
+
enterpriseConnectionId: enterpriseConnectionId ?? null
|
|
3198
|
+
},
|
|
3199
|
+
untracked: { args: {} }
|
|
3200
|
+
});
|
|
3201
|
+
}, [organizationId, enterpriseConnectionId]);
|
|
3202
|
+
}
|
|
3203
|
+
/**
|
|
3204
|
+
* @internal
|
|
3205
|
+
*/
|
|
3206
|
+
function useOrganizationDirectorySyncUsersCacheKeys(params) {
|
|
3207
|
+
const { organizationId, enterpriseConnectionId, directoryId, args } = params;
|
|
3208
|
+
return useMemo(() => {
|
|
3209
|
+
return createCacheKeys({
|
|
3210
|
+
stablePrefix: INTERNAL_STABLE_KEYS.ORGANIZATION_DIRECTORY_SYNC_USERS_KEY,
|
|
3211
|
+
authenticated: Boolean(organizationId),
|
|
3212
|
+
tracked: {
|
|
3213
|
+
organizationId: organizationId ?? null,
|
|
3214
|
+
enterpriseConnectionId: enterpriseConnectionId ?? null,
|
|
3215
|
+
directoryId: directoryId ?? null
|
|
3216
|
+
},
|
|
3217
|
+
untracked: { args }
|
|
3218
|
+
});
|
|
3219
|
+
}, [
|
|
3220
|
+
organizationId,
|
|
3221
|
+
enterpriseConnectionId,
|
|
3222
|
+
directoryId,
|
|
3223
|
+
JSON.stringify(args)
|
|
3224
|
+
]);
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
//#endregion
|
|
3228
|
+
//#region src/react/hooks/useOrganizationDirectorySync.tsx
|
|
3229
|
+
/**
|
|
3230
|
+
* The Directory Sync directory bound to an enterprise connection of the active organization.
|
|
3231
|
+
*
|
|
3232
|
+
* @internal
|
|
3233
|
+
*/
|
|
3234
|
+
function useOrganizationDirectorySync(params) {
|
|
3235
|
+
const { enterpriseConnectionId, enabled = true } = params;
|
|
3236
|
+
const clerk = useClerkInstanceContext();
|
|
3237
|
+
const organization = useOrganizationBase();
|
|
3238
|
+
const [queryClient] = useClerkQueryClient();
|
|
3239
|
+
const { queryKey, invalidationKey, stableKey, authenticated } = useOrganizationDirectorySyncCacheKeys({
|
|
3240
|
+
organizationId: organization?.id ?? null,
|
|
3241
|
+
enterpriseConnectionId
|
|
3242
|
+
});
|
|
3243
|
+
const queryEnabled = enabled && clerk.loaded && Boolean(organization) && Boolean(enterpriseConnectionId);
|
|
3244
|
+
useClearQueriesOnSignOut({
|
|
3245
|
+
isSignedOut: organization === null,
|
|
3246
|
+
authenticated,
|
|
3247
|
+
stableKeys: stableKey
|
|
3248
|
+
});
|
|
3249
|
+
const query = useClerkQuery({
|
|
3250
|
+
queryKey,
|
|
3251
|
+
queryFn: async () => {
|
|
3252
|
+
if (!enterpriseConnectionId) throw new Error("enterpriseConnectionId is required to fetch the directory");
|
|
3253
|
+
try {
|
|
3254
|
+
return await organization?.getDirectorySync(enterpriseConnectionId) ?? null;
|
|
3255
|
+
} catch (err) {
|
|
3256
|
+
if (isClerkAPIResponseError(err) && err.status === 404) return null;
|
|
3257
|
+
throw err;
|
|
3258
|
+
}
|
|
3259
|
+
},
|
|
3260
|
+
enabled: queryEnabled
|
|
3261
|
+
});
|
|
3262
|
+
const revalidate = useCallback(() => queryClient.invalidateQueries({ queryKey: invalidationKey }), [queryClient, invalidationKey]);
|
|
3263
|
+
const createDirectorySync = useCallback(async (createParams) => {
|
|
3264
|
+
if (!enterpriseConnectionId) return;
|
|
3265
|
+
const created = await organization?.createDirectorySync(enterpriseConnectionId, createParams);
|
|
3266
|
+
await revalidate();
|
|
3267
|
+
return created;
|
|
3268
|
+
}, [
|
|
3269
|
+
organization,
|
|
3270
|
+
enterpriseConnectionId,
|
|
3271
|
+
revalidate
|
|
3272
|
+
]);
|
|
3273
|
+
const directory = query.data;
|
|
3274
|
+
const updateDirectorySync = useCallback(async (updateParams) => {
|
|
3275
|
+
if (!directory) return;
|
|
3276
|
+
const updated = await directory.update(updateParams);
|
|
3277
|
+
await revalidate();
|
|
3278
|
+
return updated;
|
|
3279
|
+
}, [directory, revalidate]);
|
|
3280
|
+
const rotateDirectorySyncToken = useCallback(async () => {
|
|
3281
|
+
if (!directory) return;
|
|
3282
|
+
const rotated = await directory.rotateToken();
|
|
3283
|
+
await revalidate();
|
|
3284
|
+
return rotated;
|
|
3285
|
+
}, [directory, revalidate]);
|
|
3286
|
+
const deleteDirectorySync = useCallback(async () => {
|
|
3287
|
+
if (!directory) return;
|
|
3288
|
+
const deleted = await directory.delete();
|
|
3289
|
+
await revalidate();
|
|
3290
|
+
return deleted;
|
|
3291
|
+
}, [directory, revalidate]);
|
|
3292
|
+
return {
|
|
3293
|
+
data: query.data,
|
|
3294
|
+
error: query.error ?? null,
|
|
3295
|
+
isLoading: query.isLoading,
|
|
3296
|
+
isFetching: query.isFetching,
|
|
3297
|
+
createDirectorySync,
|
|
3298
|
+
updateDirectorySync,
|
|
3299
|
+
rotateDirectorySyncToken,
|
|
3300
|
+
deleteDirectorySync,
|
|
3301
|
+
revalidate
|
|
3302
|
+
};
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
//#endregion
|
|
3306
|
+
//#region src/react/hooks/useOrganizationDirectorySyncUsers.tsx
|
|
3307
|
+
const DEFAULT_POLL_INTERVAL_MS$1 = 2e3;
|
|
3308
|
+
/**
|
|
3309
|
+
* The users provisioned into an enterprise connection's Directory Sync
|
|
3310
|
+
* directory, most recently touched first. Polling is opt-in via `poll`, which
|
|
3311
|
+
* lets the setup flow use the list as a live activity feed.
|
|
3312
|
+
*
|
|
3313
|
+
* @internal
|
|
3314
|
+
*/
|
|
3315
|
+
function useOrganizationDirectorySyncUsers(params) {
|
|
3316
|
+
const { directory, params: fetchParams = {
|
|
3317
|
+
initialPage: 1,
|
|
3318
|
+
pageSize: 10
|
|
3319
|
+
}, poll = false, pollIntervalMs = DEFAULT_POLL_INTERVAL_MS$1, enabled = true, keepPreviousData = true } = params;
|
|
3320
|
+
const clerk = useClerkInstanceContext();
|
|
3321
|
+
const organization = useOrganizationBase();
|
|
3322
|
+
const [queryClient] = useClerkQueryClient();
|
|
3323
|
+
const enterpriseConnectionId = directory?.enterpriseConnectionId ?? null;
|
|
3324
|
+
const directoryId = directory?.id ?? null;
|
|
3325
|
+
const { queryKey, invalidationKey, stableKey, authenticated } = useOrganizationDirectorySyncUsersCacheKeys({
|
|
3326
|
+
organizationId: organization?.id ?? null,
|
|
3327
|
+
enterpriseConnectionId,
|
|
3328
|
+
directoryId,
|
|
3329
|
+
args: fetchParams
|
|
3330
|
+
});
|
|
3331
|
+
useClearQueriesOnSignOut({
|
|
3332
|
+
isSignedOut: organization === null,
|
|
3333
|
+
authenticated,
|
|
3334
|
+
stableKeys: stableKey
|
|
3335
|
+
});
|
|
3336
|
+
const queryEnabled = enabled && clerk.loaded && Boolean(organization) && Boolean(directory);
|
|
3337
|
+
const currentTracked = queryKey[2];
|
|
3338
|
+
const query = useClerkQuery({
|
|
3339
|
+
queryKey,
|
|
3340
|
+
queryFn: () => {
|
|
3341
|
+
if (!directory) throw new Error("directory is required to fetch directory users");
|
|
3342
|
+
return directory.getUsers(fetchParams);
|
|
3343
|
+
},
|
|
3344
|
+
refetchInterval: () => poll ? pollIntervalMs : false,
|
|
3345
|
+
enabled: queryEnabled,
|
|
3346
|
+
refetchIntervalInBackground: false,
|
|
3347
|
+
placeholderData: keepPreviousData ? (previousData, previousQuery) => {
|
|
3348
|
+
const previousTracked = previousQuery?.queryKey[2];
|
|
3349
|
+
return Boolean(currentTracked.organizationId) && Boolean(currentTracked.directoryId) && previousTracked?.organizationId === currentTracked.organizationId && previousTracked?.directoryId === currentTracked.directoryId ? previousData : void 0;
|
|
3350
|
+
} : void 0
|
|
3351
|
+
});
|
|
3352
|
+
const revalidate = useCallback(async () => {
|
|
3353
|
+
await queryClient.invalidateQueries({ queryKey: invalidationKey });
|
|
3354
|
+
}, [queryClient, invalidationKey]);
|
|
3355
|
+
const isPolling = queryEnabled && poll;
|
|
3356
|
+
return {
|
|
3357
|
+
data: queryEnabled ? query.data?.data : void 0,
|
|
3358
|
+
totalCount: queryEnabled ? query.data?.total_count : void 0,
|
|
3359
|
+
error: query.error ?? null,
|
|
3360
|
+
isLoading: query.isLoading,
|
|
3361
|
+
isFetching: query.isFetching,
|
|
3362
|
+
isPolling,
|
|
3363
|
+
revalidate
|
|
3364
|
+
};
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3180
3367
|
//#endregion
|
|
3181
3368
|
//#region src/react/hooks/useOrganizationEnterpriseConnectionTestRuns.shared.ts
|
|
3182
3369
|
/**
|
|
@@ -3228,9 +3415,10 @@ function useOrganizationEnterpriseConnectionTestRuns(params) {
|
|
|
3228
3415
|
stableKeys: stableKey
|
|
3229
3416
|
});
|
|
3230
3417
|
const queryEnabled = enabled && clerk.loaded && Boolean(organization) && Boolean(enterpriseConnectionId);
|
|
3231
|
-
const [
|
|
3418
|
+
const [pollingConnectionId, setPollingConnectionId] = useState(null);
|
|
3419
|
+
const shouldPoll = pollingConnectionId !== null && pollingConnectionId === enterpriseConnectionId;
|
|
3232
3420
|
useEffect(() => {
|
|
3233
|
-
|
|
3421
|
+
setPollingConnectionId((current) => current !== null && current !== enterpriseConnectionId ? null : current);
|
|
3234
3422
|
}, [enterpriseConnectionId]);
|
|
3235
3423
|
const query = useClerkQuery({
|
|
3236
3424
|
queryKey,
|
|
@@ -3248,10 +3436,10 @@ function useOrganizationEnterpriseConnectionTestRuns(params) {
|
|
|
3248
3436
|
});
|
|
3249
3437
|
const hasRows = (query.data?.data?.length ?? 0) > 0;
|
|
3250
3438
|
useEffect(() => {
|
|
3251
|
-
if (shouldPoll && hasRows)
|
|
3439
|
+
if (shouldPoll && hasRows) setPollingConnectionId(null);
|
|
3252
3440
|
}, [shouldPoll, hasRows]);
|
|
3253
3441
|
const revalidate = useCallback(async (options) => {
|
|
3254
|
-
if ((options?.armPolling ?? true) && !hasRows)
|
|
3442
|
+
if ((options?.armPolling ?? true) && !hasRows) setPollingConnectionId(enterpriseConnectionId);
|
|
3255
3443
|
if (options?.exact) await queryClient.invalidateQueries({
|
|
3256
3444
|
queryKey,
|
|
3257
3445
|
exact: true
|
|
@@ -3266,7 +3454,8 @@ function useOrganizationEnterpriseConnectionTestRuns(params) {
|
|
|
3266
3454
|
queryClient,
|
|
3267
3455
|
invalidationKey,
|
|
3268
3456
|
queryKey,
|
|
3269
|
-
hasRows
|
|
3457
|
+
hasRows,
|
|
3458
|
+
enterpriseConnectionId
|
|
3270
3459
|
]);
|
|
3271
3460
|
const isPolling = queryEnabled && shouldPoll && !hasRows;
|
|
3272
3461
|
return {
|
|
@@ -3858,5 +4047,5 @@ const usePortalRoot = () => {
|
|
|
3858
4047
|
};
|
|
3859
4048
|
|
|
3860
4049
|
//#endregion
|
|
3861
|
-
export { ClerkContextProvider, ClerkInstanceContext, InitialStateProvider, OptionsContext, UNSAFE_PortalProvider, __createClerkTestQueryClient, __experimental_CheckoutProvider, PaymentElement as __experimental_PaymentElement, PaymentElementProvider as __experimental_PaymentElementProvider, useCheckout as __experimental_useCheckout, usePaymentAttempts as __experimental_usePaymentAttempts, usePaymentElement as __experimental_usePaymentElement, usePaymentMethods as __experimental_usePaymentMethods, usePlans as __experimental_usePlans, useStatements as __experimental_useStatements, useSubscription as __experimental_useSubscription, useClientBase as __internal_useClientBase, __internal_useCreditBalanceQuery, __internal_useCreditHistoryQuery, useOrganizationBase as __internal_useOrganizationBase, useOrganizationDomains as __internal_useOrganizationDomains, useOrganizationEnterpriseConnectionTestRuns as __internal_useOrganizationEnterpriseConnectionTestRuns, useOrganizationEnterpriseConnections as __internal_useOrganizationEnterpriseConnections, usePaymentAttemptQuery as __internal_usePaymentAttemptQuery, __internal_usePlanDetailsQuery, useSessionBase as __internal_useSessionBase, useStatementQuery as __internal_useStatementQuery, useUserBase as __internal_useUserBase, useUserEnterpriseConnections as __internal_useUserEnterpriseConnections, __resetClerkQueryClientForTest, __setClerkQueryClientForTest, assertContextExists, createContextAndHook, getClerkQueryClient, isDeeplyEqual, useAPIKeys, useAssertWrappedByClerkProvider, useAttemptToEnableOrganizations, useClerk, useClerkInstanceContext, useDeepEqualMemo, useInitialStateContext, useOAuthConsent, useOAuthDeviceVerification, useOptionsContext, useOrganization, useOrganizationCreationDefaults, useOrganizationList, usePortalRoot, useReverification, useSafeLayoutEffect, useSession, useSessionList, useUser };
|
|
4050
|
+
export { ClerkContextProvider, ClerkInstanceContext, InitialStateProvider, OptionsContext, UNSAFE_PortalProvider, __createClerkTestQueryClient, __experimental_CheckoutProvider, PaymentElement as __experimental_PaymentElement, PaymentElementProvider as __experimental_PaymentElementProvider, useCheckout as __experimental_useCheckout, usePaymentAttempts as __experimental_usePaymentAttempts, usePaymentElement as __experimental_usePaymentElement, usePaymentMethods as __experimental_usePaymentMethods, usePlans as __experimental_usePlans, useStatements as __experimental_useStatements, useSubscription as __experimental_useSubscription, useClientBase as __internal_useClientBase, __internal_useCreditBalanceQuery, __internal_useCreditHistoryQuery, useOrganizationBase as __internal_useOrganizationBase, useOrganizationDirectorySync as __internal_useOrganizationDirectorySync, useOrganizationDirectorySyncUsers as __internal_useOrganizationDirectorySyncUsers, useOrganizationDomains as __internal_useOrganizationDomains, useOrganizationEnterpriseConnectionTestRuns as __internal_useOrganizationEnterpriseConnectionTestRuns, useOrganizationEnterpriseConnections as __internal_useOrganizationEnterpriseConnections, usePaymentAttemptQuery as __internal_usePaymentAttemptQuery, __internal_usePlanDetailsQuery, useSessionBase as __internal_useSessionBase, useStatementQuery as __internal_useStatementQuery, useUserBase as __internal_useUserBase, useUserEnterpriseConnections as __internal_useUserEnterpriseConnections, __resetClerkQueryClientForTest, __setClerkQueryClientForTest, assertContextExists, createContextAndHook, getClerkQueryClient, isDeeplyEqual, useAPIKeys, useAssertWrappedByClerkProvider, useAttemptToEnableOrganizations, useClerk, useClerkInstanceContext, useDeepEqualMemo, useInitialStateContext, useOAuthConsent, useOAuthDeviceVerification, useOptionsContext, useOrganization, useOrganizationCreationDefaults, useOrganizationList, usePortalRoot, useReverification, useSafeLayoutEffect, useSession, useSessionList, useUser };
|
|
3862
4051
|
//# sourceMappingURL=index.mjs.map
|