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

axios-oauth-client

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-oauth-client - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

9

dist/index.d.ts

@@ -9,9 +9,2 @@ declare function authorizationCode(axios: any, url: any, client_id: any, client_secret: any, redirect_uri: any, code?: any, scope?: any): (code?: any, scope?: any) => any;

declare namespace _default {
export { authorizationCode };
export { clientCredentials };
export { ownerCredentials };
export { refreshToken };
}
export { _default as default };
export { authorizationCode, clientCredentials, ownerCredentials, refreshToken };

6

package.json
{
"name": "axios-oauth-client",
"version": "2.1.0",
"version": "2.2.0",
"description": "OAuth 2.0 client utils for axios",

@@ -29,5 +29,3 @@ "author": "Jonathon Hill <jhill9693@gmail.com>",

"require": "./dist/index.cjs",
"types": {
".": "./dist/index.d.ts"
}
"types": "./dist/index.d.ts"
}

@@ -34,0 +32,0 @@ },

@@ -25,4 +25,4 @@ # axios-oauth-client

import axios from 'axios'
import oauth from 'axios-oauth-client'
const getAuthorizationCode = oauth.authorizationCode(
import { authorizationCode } from 'axios-oauth-client'
const getAuthorizationCode = authorizationCode(
axios.create(),

@@ -43,4 +43,4 @@ 'https://oauth.com/2.0/token', // OAuth 2.0 token endpoint

import axios from 'axios'
import oauth from 'axios-oauth-client'
const getOwnerCredentials = oauth.ownerCredentials(
import { ownerCredentials } from 'axios-oauth-client'
const getOwnerCredentials = ownerCredentials(
axios.create(),

@@ -60,4 +60,4 @@ 'https://oauth.com/2.0/token', // OAuth 2.0 token endpoint

import axios from 'axios'
import oauth from 'axios-oauth-client'
const getClientCredentials = oauth.clientCredentials(
import { clientCredentials } from 'axios-oauth-client'
const getClientCredentials = clientCredentials(
axios.create(),

@@ -77,4 +77,4 @@ 'https://oauth.com/2.0/token',

import axios from 'axios'
import oauth from 'axios-oauth-client'
const getRefreshToken = oauth.refreshToken(
import { refreshToken } from 'axios-oauth-client'
const getRefreshToken = refreshToken(
axios.create(),

@@ -81,0 +81,0 @@ 'https://oauth.com/2.0/token',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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