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

@jfront/oauth-context

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jfront/oauth-context - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.1.2](https://github.com/Jepria/jfront-oauth/compare/@jfront/oauth-context@0.1.1...@jfront/oauth-context@0.1.2) (2020-09-07)
### Bug Fixes
* axios default header syntax ([7f182bf](https://github.com/Jepria/jfront-oauth/commit/7f182bfee46c91f9d2037c9d8e8fbf0518da5fc2))
## [0.1.1](https://github.com/Jepria/jfront-oauth/compare/@jfront/oauth-context@0.1.0...@jfront/oauth-context@0.1.1) (2020-09-07)

@@ -8,0 +19,0 @@

2

dist/cjs/OAuthContextProvider.js

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

if (configureAxios && axiosInstance && accessToken) {
axiosInstance.defaults.headers.Authorization = "Bearer " + accessToken;
axiosInstance.defaults.headers["Authorization"] = "Bearer " + accessToken;
axiosInstance.interceptors.response.use(function (response) {

@@ -146,0 +146,0 @@ if (401 === (response == null ? void 0 : response.status)) {

@@ -131,3 +131,3 @@ import React, { useReducer, useEffect } from "react";

if (configureAxios && axiosInstance && accessToken) {
axiosInstance.defaults.headers.Authorization = "Bearer " + accessToken;
axiosInstance.defaults.headers["Authorization"] = "Bearer " + accessToken;
axiosInstance.interceptors.response.use(response => {

@@ -134,0 +134,0 @@ if (401 === (response == null ? void 0 : response.status)) {

{
"name": "@jfront/oauth-context",
"version": "0.1.1",
"version": "0.1.2",
"license": "Apache-2.0",

@@ -40,3 +40,3 @@ "repository": "https://github.com/Jepria/jfront-oauth",

},
"gitHead": "9a0e01d051b18b15ce2734103c0860de5c4cf065"
"gitHead": "b3d8f7cbdda2a88dcff3ebd900ed6c8915dd1fa1"
}

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