sol-auth 1.0.6 → 1.0.7

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 +11 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,19 +8,22 @@ Just import and use it in your project.
8
8
 
9
9
  # Install
10
10
  ---
11
- ``` npm i sol-auth
11
+ ```
12
+ npm i sol-auth
12
13
  ```
13
14
  # Uses
14
15
  ---
15
16
 
16
17
  Import the package
17
18
 
18
- ``` const auth = require("sol-auth");
19
+ ```
20
+ const auth = require("sol-auth");
19
21
  ```
20
22
 
21
23
  SignIn Option
22
24
 
23
- ``` auth.signIn({
25
+ ```
26
+ auth.signIn({
24
27
  username: username,
25
28
  password: pass,
26
29
  salt: salt
@@ -29,7 +32,8 @@ SignIn Option
29
32
 
30
33
  LogIn Option
31
34
 
32
- ``` auth.logIn({
35
+ ```
36
+ auth.logIn({
33
37
  username: username,
34
38
  password: password,
35
39
  hashPassword: hashPassword
@@ -38,7 +42,8 @@ LogIn Option
38
42
 
39
43
  LogIn with JWT Token
40
44
 
41
- ``` auth.logIn({
45
+ ```
46
+ auth.logIn({
42
47
  username: username,
43
48
  password: password ,
44
49
  hashPassword: hashPassword ,
@@ -46,7 +51,7 @@ LogIn with JWT Token
46
51
  });
47
52
  ```
48
53
 
49
- Examples
54
+ # Examples
50
55
 
51
56
  ```
52
57
  const signInFunction = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sol-auth",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",