New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@iad-os/react-ghost-auth

Package Overview
Dependencies
Maintainers
3
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iad-os/react-ghost-auth - npm Package Compare versions

Comparing version 0.1.17 to 0.1.18

17

build/index.es.js

@@ -754,9 +754,8 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';

: () => axios
.post(token_endpoint, queryString.stringify(Object.assign({ grant_type: 'authorization_code', client_id,
redirect_uri,
.post(token_endpoint, queryString.stringify(Object.assign({ grant_type: 'authorization_code', redirect_uri,
code,
code_verifier }, (client_secret && { client_secret }))), {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
code_verifier }, (!client_secret && { client_id }))), {
headers: Object.assign({ 'Content-Type': 'application/x-www-form-urlencoded' }, (client_secret && {
Authorization: `Basic ${window.btoa(`${client_id}:${client_secret}`)}"`,
})),
})

@@ -791,3 +790,7 @@ .then(res => res.data);

: () => axios
.post(token_endpoint, queryString.stringify(Object.assign({ grant_type: 'refresh_token', client_id, refresh_token: getRefreshToken() }, (client_secret && { client_secret }))), {
.post(token_endpoint, queryString.stringify({
grant_type: 'refresh_token',
refresh_token: getRefreshToken(),
client_id,
}), {
headers: {

@@ -794,0 +797,0 @@ 'Content-Type': 'application/x-www-form-urlencoded',

@@ -762,9 +762,8 @@ 'use strict';

: () => axios
.post(token_endpoint, queryString.stringify(Object.assign({ grant_type: 'authorization_code', client_id,
redirect_uri,
.post(token_endpoint, queryString.stringify(Object.assign({ grant_type: 'authorization_code', redirect_uri,
code,
code_verifier }, (client_secret && { client_secret }))), {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
code_verifier }, (!client_secret && { client_id }))), {
headers: Object.assign({ 'Content-Type': 'application/x-www-form-urlencoded' }, (client_secret && {
Authorization: `Basic ${window.btoa(`${client_id}:${client_secret}`)}"`,
})),
})

@@ -799,3 +798,7 @@ .then(res => res.data);

: () => axios
.post(token_endpoint, queryString.stringify(Object.assign({ grant_type: 'refresh_token', client_id, refresh_token: getRefreshToken() }, (client_secret && { client_secret }))), {
.post(token_endpoint, queryString.stringify({
grant_type: 'refresh_token',
refresh_token: getRefreshToken(),
client_id,
}), {
headers: {

@@ -802,0 +805,0 @@ 'Content-Type': 'application/x-www-form-urlencoded',

{
"name": "@iad-os/react-ghost-auth",
"version": "0.1.17",
"version": "0.1.18",
"maintainers": [

@@ -5,0 +5,0 @@ {

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