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

react-oauth2-code-pkce

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-oauth2-code-pkce - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

dist/authentication.d.ts

2

AuthContext.jsx

@@ -8,3 +8,3 @@ import React, { useEffect, useState } from 'react'

export const AuthProvider = ({ children }) => {
const AuthProvider = ({ children }) => {
const [refreshToken, setRefreshToken] = useLocalStorage('refreshToken', null)

@@ -11,0 +11,0 @@ const [token, setToken] = useLocalStorage('token', null)

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

// @ts-ignore
import { useState } from 'react'

@@ -2,0 +3,0 @@

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

// @ts-ignore
export { AuthProvider } from "./AuthContext"
{
"name": "react-oauth2-code-pkce",
"version": "0.0.3",
"version": "0.0.4",
"description": "Plug-and-play react package for OAuth2 Authorization Code flow with PKCE",
"main": "index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {

@@ -13,3 +14,4 @@ "@types/react": "^17.0.11",

"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "yarn run start"
},

@@ -16,0 +18,0 @@ "repository": {

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