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

@obelisk/auth

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@obelisk/auth - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

7

build/index.es.js

@@ -437,2 +437,3 @@ var AuthEventType;

body: JSON.stringify(query_1),
// credentials: 'include',
mode: 'cors',

@@ -462,7 +463,7 @@ headers: {

ObeliskAuthClient.prototype.pushCodeVerifier = function (verifier) {
sessionStorage.setItem(KEY_CODE_VERIFIER, verifier);
localStorage.setItem(KEY_CODE_VERIFIER, verifier);
};
ObeliskAuthClient.prototype.popCodeVerifier = function () {
var verifier = sessionStorage.getItem(KEY_CODE_VERIFIER);
sessionStorage.removeItem(KEY_CODE_VERIFIER);
var verifier = localStorage.getItem(KEY_CODE_VERIFIER);
localStorage.removeItem(KEY_CODE_VERIFIER);
return verifier;

@@ -469,0 +470,0 @@ };

@@ -440,2 +440,3 @@ 'use strict';

body: JSON.stringify(query_1),
// credentials: 'include',
mode: 'cors',

@@ -465,7 +466,7 @@ headers: {

ObeliskAuthClient.prototype.pushCodeVerifier = function (verifier) {
sessionStorage.setItem(KEY_CODE_VERIFIER, verifier);
localStorage.setItem(KEY_CODE_VERIFIER, verifier);
};
ObeliskAuthClient.prototype.popCodeVerifier = function () {
var verifier = sessionStorage.getItem(KEY_CODE_VERIFIER);
sessionStorage.removeItem(KEY_CODE_VERIFIER);
var verifier = localStorage.getItem(KEY_CODE_VERIFIER);
localStorage.removeItem(KEY_CODE_VERIFIER);
return verifier;

@@ -472,0 +473,0 @@ };

{
"name": "@obelisk/auth",
"version": "3.4.0",
"version": "3.5.0",
"description": "",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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