@clerk/chrome-extension 3.0.0-canary.v20251217123455 → 3.0.0-canary.v20251217183612
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/cjs/background/index.js +1 -1
- package/dist/cjs/index.js +16 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +16 -5
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-GY5FZFCH.js → chunk-A6MTCVWR.js} +18 -7
- package/dist/esm/chunk-A6MTCVWR.js.map +1 -0
- package/dist/esm/{chunk-6DWXXOQC.js → chunk-NZJVY5KM.js} +3 -3
- package/dist/esm/{chunk-6DWXXOQC.js.map → chunk-NZJVY5KM.js.map} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/react/index.js +2 -2
- package/dist/types/internal/utils/errors.d.ts +1 -1
- package/package.json +5 -5
- package/dist/esm/chunk-GY5FZFCH.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __export, buildErrorThrower, createDevOrStagingUrlCache, ClerkRuntimeError, parsePublishableKey, createClerkClient, isClerkAPIResponseError } from './chunk-
|
|
1
|
+
import { __export, buildErrorThrower, createDevOrStagingUrlCache, ClerkRuntimeError, parsePublishableKey, createClerkClient, isClerkAPIResponseError } from './chunk-NZJVY5KM.js';
|
|
2
2
|
import React7, { createContext, useContext, useState, useRef, useEffect, createElement, useCallback, useMemo, useSyncExternalStore, useLayoutEffect, useDebugValue } from 'react';
|
|
3
3
|
import { useSyncExternalStore as useSyncExternalStore$1 } from 'use-sync-external-store/shim/index.js';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
@@ -3832,8 +3832,8 @@ function addClerkPrefix(str) {
|
|
|
3832
3832
|
return `clerk.${str.replace(regex, "")}`;
|
|
3833
3833
|
}
|
|
3834
3834
|
|
|
3835
|
-
// ../shared/dist/runtime/versionSelector-
|
|
3836
|
-
var versionSelector = (clerkJSVersion, packageVersion = "6.0.0-canary.
|
|
3835
|
+
// ../shared/dist/runtime/versionSelector-D7BVHjLc.mjs
|
|
3836
|
+
var versionSelector = (clerkJSVersion, packageVersion = "6.0.0-canary.v20251217183612") => {
|
|
3837
3837
|
if (clerkJSVersion) return clerkJSVersion;
|
|
3838
3838
|
const prereleaseTag = getPrereleaseTag(packageVersion);
|
|
3839
3839
|
if (prereleaseTag) {
|
|
@@ -3910,7 +3910,7 @@ var clerkUiScriptUrl = (opts) => {
|
|
|
3910
3910
|
publishableKey,
|
|
3911
3911
|
proxyUrl,
|
|
3912
3912
|
domain
|
|
3913
|
-
})}/npm/@clerk/ui@${versionSelector(clerkUiVersion, "1.0.0-canary.
|
|
3913
|
+
})}/npm/@clerk/ui@${versionSelector(clerkUiVersion, "1.0.0-canary.v20251217183612")}/dist/ui.browser.js`;
|
|
3914
3914
|
};
|
|
3915
3915
|
var buildClerkJsScriptAttributes = (options) => {
|
|
3916
3916
|
const obj = {};
|
|
@@ -4556,7 +4556,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
4556
4556
|
}
|
|
4557
4557
|
var SDK_METADATA = {
|
|
4558
4558
|
name: "@clerk/react",
|
|
4559
|
-
version: "6.0.0-canary.
|
|
4559
|
+
version: "6.0.0-canary.v20251217183612",
|
|
4560
4560
|
environment: process.env.NODE_ENV
|
|
4561
4561
|
};
|
|
4562
4562
|
var _status;
|
|
@@ -5529,6 +5529,17 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
5529
5529
|
this.premountMethodCalls.set("authenticateWithOKXWallet", callback);
|
|
5530
5530
|
}
|
|
5531
5531
|
};
|
|
5532
|
+
this.authenticateWithSolana = async (params) => {
|
|
5533
|
+
const callback = () => {
|
|
5534
|
+
var _a;
|
|
5535
|
+
return (_a = this.clerkjs) == null ? void 0 : _a.authenticateWithSolana(params);
|
|
5536
|
+
};
|
|
5537
|
+
if (this.clerkjs && this.loaded) {
|
|
5538
|
+
return callback();
|
|
5539
|
+
} else {
|
|
5540
|
+
this.premountMethodCalls.set("authenticateWithSolana", callback);
|
|
5541
|
+
}
|
|
5542
|
+
};
|
|
5532
5543
|
this.authenticateWithWeb3 = async (params) => {
|
|
5533
5544
|
const callback = () => {
|
|
5534
5545
|
var _a;
|
|
@@ -5979,5 +5990,5 @@ function ClerkProvider2(props) {
|
|
|
5979
5990
|
var GoogleOneTap2 = () => null;
|
|
5980
5991
|
|
|
5981
5992
|
export { APIKeys, AuthenticateWithRedirectCallback, ClerkDegraded, ClerkFailed, ClerkLoaded, ClerkLoading, ClerkProvider2 as ClerkProvider, CreateOrganization, GoogleOneTap2 as GoogleOneTap, OrganizationList, OrganizationProfile, OrganizationSwitcher, PricingTable, Protect, RedirectToCreateOrganization, RedirectToOrganizationProfile, RedirectToSignIn, RedirectToSignUp, RedirectToUserProfile, SignIn, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUp, SignUpButton, SignedIn, SignedOut, UserAvatar, UserButton, UserProfile, Waitlist, setErrorThrowerOptions, useAuth, useClerk, useEmailLink, useOrganization, useOrganizationList, useReverification, useSession, useSessionList, useSignIn, useSignUp, useUser };
|
|
5982
|
-
//# sourceMappingURL=chunk-
|
|
5983
|
-
//# sourceMappingURL=chunk-
|
|
5993
|
+
//# sourceMappingURL=chunk-A6MTCVWR.js.map
|
|
5994
|
+
//# sourceMappingURL=chunk-A6MTCVWR.js.map
|