New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1 to 0.0.2

2

package.json
{
"name": "react-auth-verification-context",
"version": "0.0.1",
"version": "0.0.2",
"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.",

@@ -5,0 +5,0 @@ "keywords": [

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

`react-auth-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.
`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.
To use `react-auth-context`, you will need to wrap your root component with an AuthProvider component, which provides the authentication state and methods for updating it as props to its children. You can then use the useAuth hook to access the authentication state and methods from within any descendant component.
To use `react-auth-verification-context`, you will need to wrap your root component with an AuthProvider component, which provides the authentication state and methods for updating it as props to its children. You can then use the useAuth hook to access the authentication state and methods from within any descendant component.

@@ -15,4 +15,3 @@ ## Features

- Works in **React** and **React Native**
- `createTheming(defaultTheme)` - factory returns:
- `AuthProvider` - component
- `AuthProvider` - Provider component
- `useAuth` - React Hook

@@ -30,3 +29,3 @@ - `login`

```sh
yarn add react-auth-context
yarn add react-auth-verification-context
```

@@ -37,3 +36,3 @@

```sh
npm install react-auth-context --save
npm install react-auth-verification-context --save
```

@@ -44,3 +43,3 @@

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

@@ -47,0 +46,0 @@ function App() {

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