supertokens-website
Advanced tools
Comparing version 3.2.7 to 3.2.8
@@ -148,4 +148,4 @@ "use strict"; | ||
var _1 = require("."); | ||
var constants_1 = require("./constants"); | ||
var handleSessionExp_1 = require("./handleSessionExp"); | ||
var constants_1 = require("./constants"); | ||
function interceptorFunctionRequestFulfilled(config) { | ||
@@ -594,7 +594,3 @@ return __awaiter(this, void 0, void 0, function() { | ||
AuthHttpRequest.sessionPossiblyExists = function() { | ||
return __awaiter(_this, void 0, void 0, function() { | ||
return __generator(this, function(_a) { | ||
return [2 /*return*/, handleSessionExp_1.getIDFromCookie() !== undefined]; | ||
}); | ||
}); | ||
return handleSessionExp_1.getIDFromCookie() !== undefined; | ||
}; | ||
@@ -601,0 +597,0 @@ return AuthHttpRequest; |
@@ -34,2 +34,6 @@ # Changelog | ||
- handling of anti-csrf token | ||
- package testing | ||
- package testing | ||
## [3.2.8] - 2019-12-14 | ||
### Changed | ||
- changes sessionPossiblyExists to be non async. Credit @eweitnauer for finding this bug. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.package_version = "3.2.7"; | ||
exports.package_version = "3.2.8"; | ||
exports.platform_name = "website"; |
@@ -146,4 +146,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var constants_1 = require("./constants"); | ||
var handleSessionExp_1 = require("./handleSessionExp"); | ||
var constants_1 = require("./constants"); | ||
var AntiCsrfToken = /** @class */ (function() { | ||
@@ -504,7 +504,3 @@ function AntiCsrfToken() {} | ||
AuthHttpRequest.sessionPossiblyExists = function() { | ||
return __awaiter(_this, void 0, void 0, function() { | ||
return __generator(this, function(_a) { | ||
return [2 /*return*/, handleSessionExp_1.getIDFromCookie() !== undefined]; | ||
}); | ||
}); | ||
return handleSessionExp_1.getIDFromCookie() !== undefined; | ||
}; | ||
@@ -511,0 +507,0 @@ return AuthHttpRequest; |
{ | ||
"name": "supertokens-website", | ||
"version": "3.2.7", | ||
"version": "3.2.8", | ||
"description": "frontend sdk for website to be used for auth solution.", | ||
@@ -65,2 +65,2 @@ "main": "index.js", | ||
"homepage": "https://github.com/supertokens/supertokens-website#readme" | ||
} | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
0
1
74241
16
1475