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 CHANGED
@@ -1,47 +1,46 @@
1
- ## libVES
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
- https://VES.host
10
+ #### Instantiate libVES
10
11
 
12
+ var VES = new libVES({domain: 'x-myapp'});
11
13
 
12
- ; Instantiate libVES
13
14
 
14
- var VES = new libVES({domain: 'x-myapp'});
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.flow(true).then(....)
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
- VES.delegate().then(....)
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.putValue('item-id', 'value')
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
- VES.putValue('item-id', 'value', [{externalId: 'me@acme.com'}, {externalId: 'user1@acme.com'}, {externalId: 'user2@acme.com'}])
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
- VES.getValue('item-id').then(function(value) { .... })
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
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libves",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Simple, safe and secure end-to-end encryption at-rest",
5
5
  "main": "libVES.node.js",
6
6
  "scripts": {
package/libves-2.3.0.tgz DELETED
Binary file