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.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:

2

constants.d.ts

@@ -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 @@ ];

@@ -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": {

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