@clerk/react 6.1.3-snapshot.v20260325163812 → 6.1.3

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.
@@ -639,7 +639,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
639
639
  }
640
640
  var SDK_METADATA = {
641
641
  name: "@clerk/react",
642
- version: "6.1.3-snapshot.v20260325163812",
642
+ version: "6.1.3",
643
643
  environment: process.env.NODE_ENV
644
644
  };
645
645
  var _status, _domain, _proxyUrl, _publishableKey, _eventBus, _stateProxy, _instance, _IsomorphicClerk_instances, waitForClerkJS_fn;
@@ -2070,4 +2070,4 @@ export {
2070
2070
  IS_REACT_SHARED_VARIANT_COMPATIBLE,
2071
2071
  ClerkProvider
2072
2072
  };
2073
- //# sourceMappingURL=chunk-ZEKVEL25.mjs.map
2073
+ //# sourceMappingURL=chunk-2PBGOFTN.mjs.map
package/dist/index.d.mts CHANGED
@@ -184,6 +184,10 @@ declare const SignInWithMetamaskButton: {
184
184
 
185
185
  type SignOutButtonProps = {
186
186
  redirectUrl?: string;
187
+ sessionId?: string;
188
+ /**
189
+ * @deprecated Use the `redirectUrl` and `sessionId` props directly instead.
190
+ */
187
191
  signOutOptions?: SignOutOptions;
188
192
  children?: React.ReactNode;
189
193
  };
package/dist/index.d.ts CHANGED
@@ -184,6 +184,10 @@ declare const SignInWithMetamaskButton: {
184
184
 
185
185
  type SignOutButtonProps = {
186
186
  redirectUrl?: string;
187
+ sessionId?: string;
188
+ /**
189
+ * @deprecated Use the `redirectUrl` and `sessionId` props directly instead.
190
+ */
187
191
  signOutOptions?: SignOutOptions;
188
192
  children?: React.ReactNode;
189
193
  };
package/dist/index.js CHANGED
@@ -1669,13 +1669,21 @@ var SignInWithMetamaskButton = withClerk(
1669
1669
  );
1670
1670
 
1671
1671
  // src/components/SignOutButton.tsx
1672
+ var import_deprecated2 = require("@clerk/shared/deprecated");
1672
1673
  var import_react25 = __toESM(require("react"));
1673
1674
  var SignOutButton = withClerk(
1674
1675
  ({ clerk, children, ...props }) => {
1675
- const { redirectUrl = "/", signOutOptions, getContainer, component, ...rest } = props;
1676
+ const { redirectUrl = "/", sessionId, signOutOptions, getContainer, component, ...rest } = props;
1677
+ if (signOutOptions) {
1678
+ (0, import_deprecated2.deprecated)("SignOutButton `signOutOptions`", "Use the `redirectUrl` and `sessionId` props directly instead.");
1679
+ }
1676
1680
  children = normalizeWithDefaultValue(children, "Sign out");
1677
1681
  const child = assertSingleChild(children)("SignOutButton");
1678
- const clickHandler = () => clerk.signOut({ redirectUrl, ...signOutOptions });
1682
+ const clickHandler = () => clerk.signOut({
1683
+ redirectUrl,
1684
+ ...sessionId !== void 0 && { sessionId },
1685
+ ...signOutOptions
1686
+ });
1679
1687
  const wrappedChildClickHandler = async (e) => {
1680
1688
  await safeExecute(child.props.onClick)(e);
1681
1689
  return clickHandler();
@@ -2297,7 +2305,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
2297
2305
  }
2298
2306
  var SDK_METADATA = {
2299
2307
  name: "@clerk/react",
2300
- version: "6.1.3-snapshot.v20260325163812",
2308
+ version: "6.1.3",
2301
2309
  environment: process.env.NODE_ENV
2302
2310
  };
2303
2311
  var _status, _domain, _proxyUrl, _publishableKey, _eventBus, _stateProxy, _instance, _IsomorphicClerk_instances, waitForClerkJS_fn;