libves 2.3.0 → 2.3.1
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 +21 -22
- package/libves-2.3.1.tgz +0 -0
- package/package.json +1 -1
- package/libves-2.3.0.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
# libVES
|
|
2
2
|
|
|
3
|
+
### Browser PIN-based e2e encryption at-rest
|
|
4
|
+
## Simple * Safe * Secure
|
|
3
5
|
|
|
4
|
-
Simple, safe and secure e2e encryption for data at-rest.
|
|
5
6
|
|
|
7
|
+
[VESvault.com](https://vesvault.com) | [VES.host](https://ves.host) | [VESlocker.com](https://veslocker.com) | [demo.VES.world](https://demo.ves.world)
|
|
6
8
|
|
|
7
|
-
https://VESvault.com
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
#### Instantiate libVES
|
|
10
11
|
|
|
12
|
+
var VES = new libVES({domain: 'x-myapp'});
|
|
11
13
|
|
|
12
|
-
; Instantiate libVES
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
#### Authorize with VES in the same browser window
|
|
15
16
|
|
|
17
|
+
VES.flow(true).then(....)
|
|
16
18
|
|
|
17
|
-
; Authorize with VES in the same browser window
|
|
18
19
|
|
|
19
|
-
VES
|
|
20
|
+
#### Or, authorize with VES via a popup window
|
|
20
21
|
|
|
22
|
+
VES.delegate().then(....)
|
|
21
23
|
|
|
22
|
-
; Or, authorize in a popup window
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
#### Store an e2e encrypted value
|
|
25
26
|
|
|
27
|
+
VES.putValue('item-id', 'value')
|
|
26
28
|
|
|
27
|
-
; Store an e2e encrypted value
|
|
28
29
|
|
|
29
|
-
VES
|
|
30
|
+
#### Store a value and e2e share with other VES accounts
|
|
30
31
|
|
|
32
|
+
VES.putValue('item-id', 'value', [
|
|
33
|
+
{externalId: 'me@acme.com'},
|
|
34
|
+
{externalId: 'user1@acme.com'},
|
|
35
|
+
{externalId: 'user2@acme.com'}
|
|
36
|
+
])
|
|
31
37
|
|
|
32
|
-
; Store a value and e2e share with other VES accounts
|
|
33
38
|
|
|
34
|
-
|
|
39
|
+
#### Retrieve a previously stored value
|
|
35
40
|
|
|
41
|
+
VES.getValue('item-id').then(function(value) { .... })
|
|
36
42
|
|
|
37
|
-
; Retrieve a previously stored value
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
See https://demo.ves.world
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
Full API Docs:
|
|
44
|
+
### Full API Docs:
|
|
46
45
|
|
|
47
46
|
https://ves.host/docs/libVES
|
package/libves-2.3.1.tgz
ADDED
|
Binary file
|
package/package.json
CHANGED
package/libves-2.3.0.tgz
DELETED
|
Binary file
|