@verified-network/verified-custody 0.1.3 → 0.1.5
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.
- package/README.md +6 -8
- package/dist/main.js +1 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
# Verified
|
|
1
|
+
# Verified Custody
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This react module allows users to create a vault using Mobile/ E-mail as their vault id and gives you a private Key which the users can use to sign all transactions further.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Usage:
|
|
5
|
+
Build:
|
|
8
6
|
- All the components of the module is compiled and available under the dist/ directory.
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
Install:
|
|
12
|
-
- npm install verified-
|
|
10
|
+
- npm install @verified-network/verified-custody
|
|
13
11
|
|
|
14
|
-
The
|
|
12
|
+
The react module exports some constants and helper functions which will be useful when changing UI based on a user's state or any business logic
|
|
15
13
|
|
|
16
14
|
- IS_CUSTODY_SET - (bool) - Returns true when the user's pk is stored in the device and is validated by the users pin.
|
|
17
15
|
- useCustody() - hook - contains vaultInfo and IS_CUSTODY_SET.
|
|
@@ -26,7 +24,7 @@ The Module exports some constants and functions which will be useful when changi
|
|
|
26
24
|
|
|
27
25
|
**< StartCustody />** component is the entry component, which starts from asking the user to enter their phone/email and follows.
|
|
28
26
|
|
|
29
|
-
|
|
27
|
+
Usage:
|
|
30
28
|
|
|
31
29
|
return (
|
|
32
30
|
<>
|