@decryption/vault 0.4.0 → 0.4.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.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -8,6 +8,9 @@
8
8
  <a href="https://github.com/constructive-io/decryption/actions/workflows/ci.yml">
9
9
  <img height="20" src="https://github.com/constructive-io/decryption/actions/workflows/ci.yml/badge.svg" />
10
10
  </a>
11
+ <a href="https://github.com/constructive-io/decryption/blob/main/LICENSE">
12
+ <img height="20" alt="MIT license" src="https://img.shields.io/badge/license-MIT-blue.svg" />
13
+ </a>
11
14
  <a href="https://www.npmjs.com/package/@decryption/vault"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/decryption?filename=packages%2Fvault%2Fpackage.json"/></a>
12
15
  </p>
13
16
 
@@ -17,6 +20,14 @@ deploys the `dcrypt-vault` pgpm module through `@pgpmjs/pglite-adapter`, and
17
20
  persists the entire database as a single `@decryption/core` envelope around a
18
21
  gzipped pgdata tarball — the file on disk leaks nothing, not even item titles.
19
22
 
23
+ ## Installation
24
+
25
+ ```bash
26
+ npm install @decryption/vault
27
+ ```
28
+
29
+ ## Usage
30
+
20
31
  ```ts
21
32
  import { Vault } from '@decryption/vault';
22
33
 
@@ -31,6 +42,16 @@ await vault.setField(item.id, 'password', 'password', 's3cret');
31
42
  await vault.lock(); // saves, closes, zeroes key material
32
43
  ```
33
44
 
45
+ ## Credits
46
+
47
+ **🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
48
+
49
+ ## Disclaimer
50
+
51
+ AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
52
+
53
+ No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
54
+
34
55
  ---
35
56
 
36
57
  ## Development
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decryption/vault",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Passphrase-locked local vault: an in-memory PGlite database deployed from pgpm modules, persisted as one encrypted snapshot",
5
5
  "author": "Constructive <developers@constructive.io>",
6
6
  "main": "index.js",
@@ -38,7 +38,7 @@
38
38
  "local-first"
39
39
  ],
40
40
  "dependencies": {
41
- "@decryption/core": "0.5.0",
41
+ "@decryption/core": "0.5.1",
42
42
  "@decryption/hashes": "0.4.0",
43
43
  "@electric-sql/pglite": "^0.5.4",
44
44
  "@pgpmjs/core": "^6.34.0",
@@ -49,5 +49,5 @@
49
49
  "devDependencies": {
50
50
  "makage": "0.3.0"
51
51
  },
52
- "gitHead": "9f301de50e0b3f40746c6d23ba5ab8d343869efe"
52
+ "gitHead": "d29d5f2e516edf049a285b30f868360d3b996db0"
53
53
  }