New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 10.0.10 to 10.0.11

3

CHANGELOG.md

@@ -9,2 +9,5 @@ # Changelog

## [10.0.11] - 2022-04-28
- For electron apps, prod build, we now handle `window.location.hostname` being an empty string.
## [10.0.10] - 2022-04-10

@@ -11,0 +14,0 @@

7

lib/build/utils.js

@@ -212,7 +212,8 @@ "use strict";

}
// for electron apps, the value of of hostname is '' in prod build. Setting it to localhost here results in this value not being used at all which works well.
var defaultSessionScope =
getWindowOrThrow().location.hostname === "" ? "localhost" : getWindowOrThrow().location.hostname;
// See https://github.com/supertokens/supertokens-website/issues/98
var sessionScope = normaliseSessionScopeOrThrowError(
options !== undefined && options.sessionScope !== undefined
? options.sessionScope
: getWindowOrThrow().location.hostname
options !== undefined && options.sessionScope !== undefined ? options.sessionScope : defaultSessionScope
);

@@ -219,0 +220,0 @@ var sessionExpiredStatusCode = 401;

@@ -1,2 +0,2 @@

export declare const package_version = "10.0.10";
export declare const package_version = "10.0.11";
export declare const supported_fdi: string[];

@@ -17,3 +17,3 @@ "use strict";

*/
exports.package_version = "10.0.10";
exports.package_version = "10.0.11";
exports.supported_fdi = ["1.8", "1.9", "1.10", "1.11", "1.12", "1.13"];
{
"name": "supertokens-website",
"version": "10.0.10",
"version": "10.0.11",
"description": "frontend sdk for website to be used for auth solution.",

@@ -5,0 +5,0 @@ "main": "index.js",

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