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

axios-jwt

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-jwt - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

dist/index.d.ts

@@ -1,2 +0,2 @@

import { AxiosInstance, AxiosRequestConfig } from 'axios';
import type { AxiosInstance, AxiosRequestConfig } from 'axios';
export declare const STORAGE_KEY: string;

@@ -3,0 +3,0 @@ declare type Token = string;

{
"name": "axios-jwt",
"version": "2.1.0",
"version": "2.1.1",
"description": "Axios interceptor to store, use, and refresh tokens for authentication.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,3 +0,5 @@

import axios, { AxiosInstance, AxiosRequestConfig } from 'axios'
import jwtDecode, { JwtPayload } from 'jwt-decode'
import axios from 'axios'
import type { AxiosInstance, AxiosRequestConfig } from 'axios'
import jwtDecode from 'jwt-decode'
import type { JwtPayload } from 'jwt-decode'
import Storage from './storage'

@@ -4,0 +6,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