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

@obelisk/client

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@obelisk/client - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

8

lib/obelisk-client.js

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

if (queryString !== null) {
params += '&state=' + encodeURIComponent(btoa(queryString));
params += '&state=' + btoa(unescape(encodeURIComponent(queryString)));
}

@@ -111,3 +111,3 @@ params += '&nonce=' + encodeURIComponent(this.generateNonce());

const cred = { clientId, clientSecret };
sessionStorage.setItem(this.CRED_KEY, btoa(JSON.stringify(cred)));
sessionStorage.setItem(this.CRED_KEY, btoa(unescape(encodeURIComponent(JSON.stringify(cred)))));
}

@@ -119,3 +119,3 @@ loadClientCredentials() {

}
return JSON.parse(atob(cred));
return JSON.parse(decodeURIComponent(escape(atob(cred))));
}

@@ -401,3 +401,3 @@ /**

if (history.pushState) {
const newurl = window.location.protocol + "//" + window.location.host + window.location.pathname + atob(hasState);
const newurl = window.location.protocol + "//" + window.location.host + window.location.pathname + decodeURIComponent(escape(atob(decodeURIComponent(hasState))));
window.history.pushState({ path: newurl }, '', newurl);

@@ -404,0 +404,0 @@ }

{
"name": "@obelisk/client",
"version": "2.6.0",
"version": "2.6.1",
"description": "Typescript client to interact with Obelisk on a higher level than the regular ReST API calls.",

@@ -5,0 +5,0 @@ "keywords": [

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