supertokens-node
Advanced tools
Comparing version 16.7.4 to 16.7.5
@@ -272,2 +272,3 @@ "use strict"; | ||
disableAntiCsrf, | ||
config.useDynamicAccessTokenSigningKey, | ||
userContext | ||
@@ -274,0 +275,0 @@ ); |
@@ -61,2 +61,3 @@ // @ts-nocheck | ||
disableAntiCsrf: boolean, | ||
useDynamicAccessTokenSigningKey: boolean, | ||
userContext: any | ||
@@ -63,0 +64,0 @@ ): Promise<CreateOrRefreshAPIResponse>; |
@@ -289,3 +289,10 @@ "use strict"; | ||
*/ | ||
async function refreshSession(helpers, refreshToken, antiCsrfToken, disableAntiCsrf, userContext) { | ||
async function refreshSession( | ||
helpers, | ||
refreshToken, | ||
antiCsrfToken, | ||
disableAntiCsrf, | ||
useDynamicAccessTokenSigningKey, | ||
userContext | ||
) { | ||
let requestBody = { | ||
@@ -295,2 +302,3 @@ refreshToken, | ||
enableAntiCsrf: !disableAntiCsrf && helpers.config.antiCsrfFunctionOrString === "VIA_TOKEN", | ||
useDynamicSigningKey: useDynamicAccessTokenSigningKey, | ||
}; | ||
@@ -297,0 +305,0 @@ if ( |
// @ts-nocheck | ||
export declare const version = "16.7.4"; | ||
export declare const version = "16.7.5"; | ||
export declare const cdiSupported: string[]; | ||
export declare const dashboardVersion = "0.10"; |
@@ -18,5 +18,5 @@ "use strict"; | ||
*/ | ||
exports.version = "16.7.4"; | ||
exports.version = "16.7.5"; | ||
exports.cdiSupported = ["4.0"]; | ||
// Note: The actual script import for dashboard uses v{DASHBOARD_VERSION} | ||
exports.dashboardVersion = "0.10"; |
{ | ||
"name": "supertokens-node", | ||
"version": "16.7.4", | ||
"version": "16.7.5", | ||
"description": "NodeJS driver for SuperTokens core", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
1737992
38581