react-oauth2-code-pkce
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29765
19
583