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