foronce 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,12 +1,11 @@
1
- # foronce
1
+ <p text-align="center">
2
+ <img src="https://og.barelyhuman.xyz/generate?fontSize=20&title=foronce&subtitle=The+OTP+Library&fontSizeTwo=8&color=%23a1a1aa&backgroundColor=%2318181b" />
3
+ </p>
2
4
 
3
- - [foronce](#foronce)
4
- - [Usage](#usage)
5
- - [Examples](#examples)
6
- - [One Time Email Validation](#one-time-email-validation)
7
- - [API](#api)
8
-
9
- > TOTP in a few functions
5
+ - [Usage](#usage)
6
+ - [Examples](#examples)
7
+ - [One Time Email Validation](#one-time-email-validation)
8
+ - [API](#api)
10
9
 
11
10
  ## Usage
12
11
 
@@ -21,7 +20,7 @@
21
20
  #### One Time Email Validation
22
21
 
23
22
  ```ts
24
- import { generateTOTPSecret, totp, isTOTPValid } from 'foronce'
23
+ import { generateTOTPSecret, isTOTPValid, totp } from 'foronce'
25
24
 
26
25
  app.post('/login', (req, res) => {
27
26
  const email = req.body.email
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foronce",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "TOTP in a few functions",
5
5
  "repository": "git@github.com:dumbjs/foronce.git",
6
6
  "license": "MIT",