supertokens-website
Advanced tools
Comparing version 3.2.8 to 3.2.9
27
axios.js
@@ -148,3 +148,2 @@ "use strict"; | ||
var _1 = require("."); | ||
var constants_1 = require("./constants"); | ||
var handleSessionExp_1 = require("./handleSessionExp"); | ||
@@ -174,15 +173,2 @@ function interceptorFunctionRequestFulfilled(config) { | ||
} | ||
// Add package info to headers | ||
configWithAntiCsrf = __assign({}, configWithAntiCsrf, { | ||
headers: | ||
configWithAntiCsrf === undefined | ||
? { | ||
"supertokens-sdk-name": constants_1.platform_name, | ||
"supertokens-sdk-version": constants_1.package_version | ||
} | ||
: __assign({}, configWithAntiCsrf.headers, { | ||
"supertokens-sdk-name": constants_1.platform_name, | ||
"supertokens-sdk-version": constants_1.package_version | ||
}) | ||
}); | ||
return [2 /*return*/, configWithAntiCsrf]; | ||
@@ -278,15 +264,2 @@ }); | ||
} | ||
// Add package info to headers | ||
configWithAntiCsrf = __assign({}, configWithAntiCsrf, { | ||
headers: | ||
configWithAntiCsrf === undefined | ||
? { | ||
"supertokens-sdk-name": constants_1.platform_name, | ||
"supertokens-sdk-version": constants_1.package_version | ||
} | ||
: __assign({}, configWithAntiCsrf.headers, { | ||
"supertokens-sdk-name": constants_1.platform_name, | ||
"supertokens-sdk-version": constants_1.package_version | ||
}) | ||
}); | ||
_b.label = 4; | ||
@@ -293,0 +266,0 @@ case 4: |
@@ -1,2 +0,2 @@ | ||
export declare const package_version = "3.2.8"; | ||
export declare const package_version = "3.2.9"; | ||
export declare const platform_name = "website"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.package_version = "3.2.8"; | ||
exports.package_version = "3.2.9"; | ||
exports.platform_name = "website"; |
@@ -133,3 +133,2 @@ "use strict"; | ||
var _1 = require("./"); | ||
var constants_1 = require("./constants"); | ||
var ID_COOKIE_NAME = "sIdRefreshToken"; | ||
@@ -168,7 +167,3 @@ /** | ||
method: "post", | ||
credentials: "include", | ||
headers: { | ||
"supertokens-sdk-name": constants_1.platform_name, | ||
"supertokens-sdk-version": constants_1.package_version | ||
} | ||
credentials: "include" | ||
}) | ||
@@ -175,0 +170,0 @@ ]; |
14
index.js
@@ -146,3 +146,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var constants_1 = require("./constants"); | ||
var handleSessionExp_1 = require("./handleSessionExp"); | ||
@@ -328,15 +327,2 @@ var AntiCsrfToken = /** @class */ (function() { | ||
} | ||
// Add package info to headers | ||
configWithAntiCsrf = __assign({}, configWithAntiCsrf, { | ||
headers: | ||
configWithAntiCsrf === undefined | ||
? { | ||
"supertokens-sdk-name": constants_1.platform_name, | ||
"supertokens-sdk-version": constants_1.package_version | ||
} | ||
: __assign({}, configWithAntiCsrf.headers, { | ||
"supertokens-sdk-name": constants_1.platform_name, | ||
"supertokens-sdk-version": constants_1.package_version | ||
}) | ||
}); | ||
_a.label = 4; | ||
@@ -343,0 +329,0 @@ case 4: |
{ | ||
"name": "supertokens-website", | ||
"version": "3.2.8", | ||
"version": "3.2.9", | ||
"description": "frontend sdk for website to be used for auth solution.", | ||
"main": "index.js", | ||
"dependencies": { | ||
"browser-tabs-lock": "^1.1.4" | ||
"browser-tabs-lock": "^1.2.0" | ||
}, | ||
@@ -9,0 +9,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71490
1429
Updatedbrowser-tabs-lock@^1.2.0