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

react-auth-verification-context

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-auth-verification-context - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

package.json
{
"name": "react-auth-verification-context",
"version": "0.0.6",
"version": "0.0.7",
"description": "react-auth-verification-context is a library that provides a way to manage authentication state in a React application. It is implemented using the React context API, which allows you to pass data through the component tree without having to pass props down manually at every level.",

@@ -26,3 +26,3 @@ "keywords": [

"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "tslint -p tsconfig.json",

@@ -29,0 +29,0 @@ "prepare": "npm run build",

@@ -5,2 +5,17 @@ <p align="center">

---
<div style='display: flex'>
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/abgaryanharutyun/react-auth-verification-context/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/abgaryanharutyun/react-auth-verification-context/tree/master)
<div style="width: 10px"></div>
[![codecov](https://codecov.io/gh/abgaryanharutyun/react-auth-verification-context/branch/master/graph/badge.svg?token=YSQ2HFT892)](https://codecov.io/gh/abgaryanharutyun/react-auth-verification-context)
<div style="width: 10px"></div>
[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)
</div>
## About

@@ -40,3 +55,3 @@

```javascript
import { AuthProvider, useAuth } from "react-auth-verification-context";
import { AuthProvider, useAuth } from 'react-auth-verification-context';

@@ -62,3 +77,3 @@ function App() {

} catch (e) {
console.log("error", e);
console.log('error', e);
}

@@ -77,5 +92,3 @@ restoreToken(userAttributes);

) : (
<button onClick={() => login({ name: "John Smit", id: "123" })}>
Login
</button>
<button onClick={() => login({ name: 'John Smit', id: '123' })}>Login</button>
)}

@@ -82,0 +95,0 @@ </div>

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