@clerk/backend 3.2.14 → 3.3.0-canary.v20260422163501

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.
@@ -194,7 +194,7 @@ var require_dist = __commonJS({
194
194
  // src/constants.ts
195
195
  var API_URL = "https://api.clerk.com";
196
196
  var API_VERSION = "v1";
197
- var USER_AGENT = `${"@clerk/backend"}@${"3.2.14"}`;
197
+ var USER_AGENT = `${"@clerk/backend"}@${"3.3.0-canary.v20260422163501"}`;
198
198
  var MAX_CACHE_LAST_UPDATED_AT_SECONDS = 5 * 60;
199
199
  var SUPPORTED_BAPI_VERSION = "2025-11-10";
200
200
  var Attributes = {
@@ -5043,6 +5043,36 @@ function signedOutInvalidToken() {
5043
5043
  token: null
5044
5044
  });
5045
5045
  }
5046
+ function createBootstrapSignedOutState({
5047
+ signInUrl = "",
5048
+ signUpUrl = "",
5049
+ isSatellite = false,
5050
+ domain = "",
5051
+ proxyUrl = "",
5052
+ reason = AuthErrorReason.SessionTokenAndUATMissing,
5053
+ message = "",
5054
+ headers = new Headers()
5055
+ } = {}) {
5056
+ return withDebugHeaders({
5057
+ status: AuthStatus.SignedOut,
5058
+ reason,
5059
+ message,
5060
+ proxyUrl,
5061
+ publishableKey: "",
5062
+ isSatellite,
5063
+ domain,
5064
+ signInUrl,
5065
+ signUpUrl,
5066
+ afterSignInUrl: "",
5067
+ afterSignUpUrl: "",
5068
+ isSignedIn: false,
5069
+ isAuthenticated: false,
5070
+ tokenType: TokenType.SessionToken,
5071
+ toAuth: () => signedOutAuthObject({ status: AuthStatus.SignedOut, reason, message }),
5072
+ headers,
5073
+ token: null
5074
+ });
5075
+ }
5046
5076
  var withDebugHeaders = (requestState) => {
5047
5077
  const headers = new Headers(requestState.headers || {});
5048
5078
  if (requestState.message) {
@@ -6335,7 +6365,8 @@ export {
6335
6365
  getAuthObjectFromJwt,
6336
6366
  getAuthObjectForAcceptedToken,
6337
6367
  AuthStatus,
6368
+ createBootstrapSignedOutState,
6338
6369
  debugRequestState,
6339
6370
  createAuthenticateRequest
6340
6371
  };
6341
- //# sourceMappingURL=chunk-U7L2P4TH.mjs.map
6372
+ //# sourceMappingURL=chunk-TVLUUU42.mjs.map