@clerk/backend 3.0.0-canary.v20251212200754 → 3.0.0-canary.v20251213231137

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.
@@ -31,7 +31,7 @@ import {
31
31
  // src/constants.ts
32
32
  var API_URL = "https://api.clerk.com";
33
33
  var API_VERSION = "v1";
34
- var USER_AGENT = `${"@clerk/backend"}@${"3.0.0-canary.v20251212200754"}`;
34
+ var USER_AGENT = `${"@clerk/backend"}@${"3.0.0-canary.v20251213231137"}`;
35
35
  var MAX_CACHE_LAST_UPDATED_AT_SECONDS = 5 * 60;
36
36
  var SUPPORTED_BAPI_VERSION = "2025-11-10";
37
37
  var Attributes = {
@@ -4371,7 +4371,8 @@ var ClerkRequest = class extends Request {
4371
4371
  }
4372
4372
  };
4373
4373
  var createClerkRequest = (...args) => {
4374
- return args[0] instanceof ClerkRequest ? args[0] : new ClerkRequest(...args);
4374
+ const isClerkRequest = args[0] && typeof args[0] === "object" && "clerkUrl" in args[0] && "cookies" in args[0];
4375
+ return isClerkRequest ? args[0] : new ClerkRequest(...args);
4375
4376
  };
4376
4377
 
4377
4378
  // src/tokens/cookie.ts
@@ -5697,4 +5698,4 @@ export {
5697
5698
  debugRequestState,
5698
5699
  createAuthenticateRequest
5699
5700
  };
5700
- //# sourceMappingURL=chunk-23TEPQ45.mjs.map
5701
+ //# sourceMappingURL=chunk-7BDIPKYC.mjs.map