@clerk/backend
Advanced tools
Comparing version 0.6.3-staging.0 to 0.6.3-staging.1
@@ -52,2 +52,3 @@ import type { JwtPayload } from '@clerk/types'; | ||
CookieUATMissing = "uat-missing", | ||
SatelliteCookieNeedsSync = "satellite-needs-sync", | ||
CrossOriginReferrer = "cross-origin-referrer", | ||
@@ -58,2 +59,3 @@ CookieAndUATMissing = "cookie-and-uat-missing", | ||
CookieMissing = "cookie-missing", | ||
SatelliteCookieMissing = "satellite-cookie-missing", | ||
CookieOutDated = "cookie-outdated", | ||
@@ -60,0 +62,0 @@ UnexpectedError = "unexpected-error", |
@@ -0,1 +1,2 @@ | ||
import type { DebugRequestSate } from './request'; | ||
export type LoadInterstitialOptions = { | ||
@@ -7,3 +8,3 @@ apiUrl: string; | ||
pkgVersion?: string; | ||
debugData?: any; | ||
debugData?: DebugRequestSate; | ||
isSatellite?: boolean; | ||
@@ -10,0 +11,0 @@ domain?: string; |
@@ -13,2 +13,4 @@ import type { RequestState } from './authStatus'; | ||
export declare function runInterstitialRules<T>(opts: T, rules: InterstitialRule[]): Promise<RequestState>; | ||
export declare const isSatelliteAndNeedsSync: InterstitialRule; | ||
export declare const isSatelliteAlreadySyncedButCookieIsMissing: InterstitialRule; | ||
//# sourceMappingURL=interstitialRule.d.ts.map |
@@ -9,3 +9,3 @@ import type { Jwt, JwtPayload } from '@clerk/types'; | ||
clockSkewInSeconds?: number; | ||
issuer: IssuerResolver; | ||
issuer: IssuerResolver | string | null; | ||
key: JsonWebKey; | ||
@@ -12,0 +12,0 @@ }; |
@@ -14,2 +14,3 @@ import type { RequestState } from './authStatus'; | ||
proxyUrl?: string; | ||
isSynced?: boolean; | ||
} & AuthenticateRequestOptions; | ||
@@ -42,2 +43,3 @@ export type AuthenticateRequestOptions = RequiredVerifyTokenOptions & OptionalVerifyTokenOptions & LoadResourcesOptions & { | ||
}; | ||
export type DebugRequestSate = ReturnType<typeof debugRequestState>; | ||
//# sourceMappingURL=request.d.ts.map |
{ | ||
"name": "@clerk/backend", | ||
"version": "0.6.3-staging.0", | ||
"version": "0.6.3-staging.1", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities", | ||
"dependencies": { | ||
"@clerk/types": "^3.27.1-staging.0", | ||
"@clerk/types": "^3.28.0-staging.0", | ||
"@peculiar/webcrypto": "1.4.1", | ||
@@ -78,3 +78,3 @@ "@types/node": "16.18.6", | ||
}, | ||
"gitHead": "b54af15fd66a1fea97776fbcdb7075466ef16f26" | ||
"gitHead": "bd93323700e6b3a889ec9e8f668f2a2649c2fe31" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
594484
6141
1
140
4