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 1.0.5 to 1.0.6

4

package.json
{
"name": "supertokens-website",
"version": "1.0.5",
"version": "1.0.6",
"description": "frontend sdk for website to be used for auth solution.",
"main": "index.js",
"dependencies": {
"axios": "0.18.0",
"axios": "0.19.0",
"browser-tabs-lock": "^1.1.4"

@@ -9,0 +9,0 @@ },

@@ -5,7 +5,7 @@ ![SuperTokens banner](https://raw.githubusercontent.com/supertokens/supertokens-logo/master/images/Artboard%20%E2%80%93%2027%402x.png)

This is a library written in TypeScript that implements the **frontend part of user session management for websites**. You can use this to make http(s) API calls to your backend that require an authenticated user.
This library implements the **frontend part of user session management for websites**. You can use this to make http(s) API calls to your backend that require an authenticated user.
Features:
- When you make an API call, and if the access token has expired, this library will automatically take care of refreshing the token for you. After successfully refreshing it, it will call your API with the new token again and return its response.
- Takes care of race conditions mentioned in the footer of this blog post. <TODO blog post link>
- Takes care of race conditions mentioned in the footer of [this blog post](https://medium.com/@supertokens.io/91f27eeef460).

@@ -12,0 +12,0 @@ ## Installation

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