Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

supertokens-website

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supertokens-website - npm Package Compare versions

Comparing version 3.2.7 to 3.2.8

axios.d.ts

8

axios.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc