@clerk/react 6.0.0-snapshot.v20251204175016 → 6.0.0-snapshot.v20251211120550
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/{chunk-2XN2S2YH.mjs → chunk-4F7CSI4T.mjs} +2 -2
- package/dist/{chunk-PS5BRRRD.mjs → chunk-J32KHXBI.mjs} +1 -1
- package/dist/{chunk-PS5BRRRD.mjs.map → chunk-J32KHXBI.mjs.map} +1 -1
- package/dist/{chunk-ZXC453V5.mjs → chunk-YKGYOPLG.mjs} +27 -5
- package/dist/chunk-YKGYOPLG.mjs.map +1 -0
- package/dist/experimental.d.mts +4 -4
- package/dist/experimental.d.ts +4 -4
- package/dist/experimental.js +25 -2
- package/dist/experimental.js.map +1 -1
- package/dist/experimental.mjs +4 -2
- package/dist/experimental.mjs.map +1 -1
- package/dist/index.d.mts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +44 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -4
- package/dist/index.mjs.map +1 -1
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js.map +1 -1
- package/dist/internal.mjs +2 -2
- package/dist/{types-Bjumu7Zt.d.mts → types-C7pBea4d.d.mts} +2 -2
- package/dist/{types-Bjumu7Zt.d.ts → types-C7pBea4d.d.ts} +2 -2
- package/dist/{useAuth-C6dUCIl3.d.mts → useAuth-CWdoLXfj.d.mts} +2 -2
- package/dist/{useAuth-hGxwSzMQ.d.ts → useAuth-D6F79Q4u.d.ts} +2 -2
- package/package.json +4 -4
- package/dist/chunk-ZXC453V5.mjs.map +0 -1
- /package/dist/{chunk-2XN2S2YH.mjs.map → chunk-4F7CSI4T.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
RedirectToUserProfile,
|
|
14
14
|
SignedIn,
|
|
15
15
|
SignedOut
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4F7CSI4T.mjs";
|
|
17
17
|
import {
|
|
18
18
|
APIKeys,
|
|
19
19
|
CreateOrganization,
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
SignIn,
|
|
26
26
|
SignUp,
|
|
27
27
|
TaskChooseOrganization,
|
|
28
|
+
TaskResetPassword,
|
|
28
29
|
UserAvatar,
|
|
29
30
|
UserButton,
|
|
30
31
|
UserProfile,
|
|
@@ -34,7 +35,7 @@ import {
|
|
|
34
35
|
normalizeWithDefaultValue,
|
|
35
36
|
safeExecute,
|
|
36
37
|
withMaxAllowedInstancesGuard
|
|
37
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-YKGYOPLG.mjs";
|
|
38
39
|
import {
|
|
39
40
|
AuthContext,
|
|
40
41
|
__experimental_CheckoutProvider,
|
|
@@ -56,7 +57,7 @@ import {
|
|
|
56
57
|
useSignUp,
|
|
57
58
|
useUser,
|
|
58
59
|
withClerk
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-J32KHXBI.mjs";
|
|
60
61
|
import {
|
|
61
62
|
IsomorphicClerkContext,
|
|
62
63
|
errorThrower,
|
|
@@ -585,7 +586,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
585
586
|
}
|
|
586
587
|
var SDK_METADATA = {
|
|
587
588
|
name: "@clerk/react",
|
|
588
|
-
version: "6.0.0-snapshot.
|
|
589
|
+
version: "6.0.0-snapshot.v20251211120550",
|
|
589
590
|
environment: process.env.NODE_ENV
|
|
590
591
|
};
|
|
591
592
|
var _status, _domain, _proxyUrl, _publishableKey, _eventBus, _stateProxy, _instance, _IsomorphicClerk_instances, waitForClerkJS_fn;
|
|
@@ -620,6 +621,7 @@ var _IsomorphicClerk = class _IsomorphicClerk {
|
|
|
620
621
|
this.premountAPIKeysNodes = /* @__PURE__ */ new Map();
|
|
621
622
|
this.premountOAuthConsentNodes = /* @__PURE__ */ new Map();
|
|
622
623
|
this.premountTaskChooseOrganizationNodes = /* @__PURE__ */ new Map();
|
|
624
|
+
this.premountTaskResetPasswordNodes = /* @__PURE__ */ new Map();
|
|
623
625
|
// A separate Map of `addListener` method calls to handle multiple listeners.
|
|
624
626
|
this.premountAddListenerCalls = /* @__PURE__ */ new Map();
|
|
625
627
|
this.loadedListeners = [];
|
|
@@ -905,6 +907,9 @@ var _IsomorphicClerk = class _IsomorphicClerk {
|
|
|
905
907
|
this.premountTaskChooseOrganizationNodes.forEach((props, node) => {
|
|
906
908
|
clerkjs.mountTaskChooseOrganization(node, props);
|
|
907
909
|
});
|
|
910
|
+
this.premountTaskResetPasswordNodes.forEach((props, node) => {
|
|
911
|
+
clerkjs.mountTaskResetPassword(node, props);
|
|
912
|
+
});
|
|
908
913
|
if (typeof this.clerkjs.status === "undefined") {
|
|
909
914
|
__privateGet(this, _eventBus).emit(clerkEvents.Status, "ready");
|
|
910
915
|
}
|
|
@@ -1306,6 +1311,20 @@ var _IsomorphicClerk = class _IsomorphicClerk {
|
|
|
1306
1311
|
this.premountTaskChooseOrganizationNodes.delete(node);
|
|
1307
1312
|
}
|
|
1308
1313
|
};
|
|
1314
|
+
this.mountTaskResetPassword = (node, props) => {
|
|
1315
|
+
if (this.clerkjs && this.loaded) {
|
|
1316
|
+
this.clerkjs.mountTaskResetPassword(node, props);
|
|
1317
|
+
} else {
|
|
1318
|
+
this.premountTaskResetPasswordNodes.set(node, props);
|
|
1319
|
+
}
|
|
1320
|
+
};
|
|
1321
|
+
this.unmountTaskResetPassword = (node) => {
|
|
1322
|
+
if (this.clerkjs && this.loaded) {
|
|
1323
|
+
this.clerkjs.unmountTaskResetPassword(node);
|
|
1324
|
+
} else {
|
|
1325
|
+
this.premountTaskResetPasswordNodes.delete(node);
|
|
1326
|
+
}
|
|
1327
|
+
};
|
|
1309
1328
|
this.addListener = (listener) => {
|
|
1310
1329
|
if (this.clerkjs) {
|
|
1311
1330
|
return this.clerkjs.addListener(listener);
|
|
@@ -2011,6 +2030,7 @@ export {
|
|
|
2011
2030
|
SignedIn,
|
|
2012
2031
|
SignedOut,
|
|
2013
2032
|
TaskChooseOrganization,
|
|
2033
|
+
TaskResetPassword,
|
|
2014
2034
|
UserAvatar,
|
|
2015
2035
|
UserButton,
|
|
2016
2036
|
UserProfile,
|