apiro-db 1.0.2 → 1.0.4

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
@@ -28,11 +28,11 @@ npm install apiro-db
28
28
  ## Usage
29
29
 
30
30
  ```js
31
- const { SecureStore } = require("apiro-db");
31
+ import { SecureStore } from "apiro-db";
32
32
 
33
33
  const db = new SecureStore({
34
34
  file: "./data.db",
35
- secret: process.env.DB_SECRET
35
+ secret: 'YOUR_KEY_HERE'
36
36
  });
37
37
 
38
38
  await db.set("coins", 100);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apiro-db",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A lightweight, zero-dependency, encrypted data store for Node.js.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,5 +8,11 @@
8
8
  },
9
9
  "keywords": [],
10
10
  "author": "krispowers",
11
- "license": "ISC"
11
+ "license": "ISC",
12
+ "files": [
13
+ "Readme.md",
14
+ "index.js",
15
+ "lib/",
16
+ "LICENSE"
17
+ ]
12
18
  }
package/.gitattributes DELETED
@@ -1,2 +0,0 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto