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

8

build/index.es.js

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

var BASE_PATH = 'x';
var ObeliskAuthClient = /** @class */ (function () {

@@ -325,3 +326,3 @@ function ObeliskAuthClient(config, eventHandler) {

.join('&');
return [2 /*return*/, Promise.resolve(this.config.host + '/auth?' + query)];
return [2 /*return*/, Promise.resolve(this.config.host + BASE_PATH + '/auth?' + query)];
}

@@ -336,2 +337,5 @@ });

var _this = this;
if (!event) {
return;
}
var url = event.url;

@@ -351,3 +355,3 @@ if (url && url.indexOf('#') !== -1) {

query_1.code_verifier = this.loadCodeVerifier();
fetch(this.config.host + "/token", {
fetch("" + this.config.host + BASE_PATH + "/token", {
body: JSON.stringify(query_1),

@@ -354,0 +358,0 @@ mode: 'cors',

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

var BASE_PATH = 'x';
var ObeliskAuthClient = /** @class */ (function () {

@@ -328,3 +329,3 @@ function ObeliskAuthClient(config, eventHandler) {

.join('&');
return [2 /*return*/, Promise.resolve(this.config.host + '/auth?' + query)];
return [2 /*return*/, Promise.resolve(this.config.host + BASE_PATH + '/auth?' + query)];
}

@@ -339,2 +340,5 @@ });

var _this = this;
if (!event) {
return;
}
var url = event.url;

@@ -354,3 +358,3 @@ if (url && url.indexOf('#') !== -1) {

query_1.code_verifier = this.loadCodeVerifier();
fetch(this.config.host + "/token", {
fetch("" + this.config.host + BASE_PATH + "/token", {
body: JSON.stringify(query_1),

@@ -357,0 +361,0 @@ mode: 'cors',

{
"name": "@obelisk/auth",
"version": "1.0.4",
"version": "1.0.5",
"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