better-sqlite3-multiple-ciphers 7.4.6-beta.0 → 7.4.6

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 +9 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,7 +17,7 @@ The fastest and simplest library for SQLite3 in Node.js. This particular fork su
17
17
  ## Current versions
18
18
 
19
19
  - ### Stable
20
- - **better-sqlite3-multiple-ciphers** - [`7.4.5`](https://www.npmjs.com/package/better-sqlite3-multiple-ciphers/v/7.4.5)
20
+ - **better-sqlite3-multiple-ciphers** - [`7.4.6`](https://www.npmjs.com/package/better-sqlite3-multiple-ciphers/v/7.4.6)
21
21
  - **SQLite** - `3.36.0`
22
22
  - **SQLite3 Multiple Ciphers** - `1.3.4`
23
23
 
@@ -63,7 +63,7 @@ npm install better-sqlite3-multiple-ciphers
63
63
  npm install better-sqlite3-multiple-ciphers@beta
64
64
  ```
65
65
 
66
- > You must be using Node.js v10.20.1 or above. Prebuilt binaries are available for Node.js [LTS versions](https://nodejs.org/en/about/releases/) and Electron.
66
+ > You must be using Node.js v10.20.1 or above. Prebuilt binaries are available for Node.js [LTS versions](https://nodejs.org/en/about/releases/) and Electron. If you have trouble installing, check the [troubleshooting guide](./docs/troubleshooting.md).
67
67
 
68
68
  > If you have trouble installing, check the [troubleshooting guide](./docs/troubleshooting.md).
69
69
 
@@ -76,6 +76,13 @@ const row = db.prepare('SELECT * FROM users WHERE id = ?').get(userId);
76
76
  console.log(row.firstName, row.lastName, row.email);
77
77
  ```
78
78
 
79
+ ##### In ES6 module notation:
80
+
81
+ ```js
82
+ import Database from 'better-sqlite3-multiple-ciphers';
83
+ const db = new Database('foobar.db', options);
84
+ ```
85
+
79
86
  ### Encryption
80
87
 
81
88
  A database can be encrypted and decrypted simply using `key` and `rekey` `PRAGMA` statements.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-sqlite3-multiple-ciphers",
3
- "version": "7.4.6-beta.0",
3
+ "version": "7.4.6",
4
4
  "description": "better-sqlite3 with multiple-cipher encryption support",
5
5
  "homepage": "https://github.com/m4heshd/better-sqlite3-multiple-ciphers",
6
6
  "author": "Mahesh Bandara Wijerathna (m4heshd) <m4heshd@gmail.com>",