spd-lib 1.0.3 → 1.0.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/package.json +2 -2
- package/readme.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spd-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "SPD or Secure Packaged Data is a compress PQC protected file format to sotre sensitive data localy",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "ALS-OPSS",
|
|
22
22
|
"license": "ISC",
|
|
23
|
-
"
|
|
23
|
+
"dependencies": {
|
|
24
24
|
"crypto": "^1.0.1",
|
|
25
25
|
"fs": "^0.0.1-security",
|
|
26
26
|
"libsodium-wrappers": "^0.7.13"
|
package/readme.md
CHANGED
|
@@ -8,13 +8,13 @@ Secure Packaged Data (SPD) is a Node.js package for securely storing and retriev
|
|
|
8
8
|
You can install SPD via npm:
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
npm install spd-
|
|
11
|
+
npm install spd-lib
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
16
|
```javascript
|
|
17
|
-
const SPD = require('spd-
|
|
17
|
+
const { SPD, sodium } = require('spd-lib');
|
|
18
18
|
|
|
19
19
|
// Example usage
|
|
20
20
|
(async () => {
|