toridb 1.0.1 → 1.0.2

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 +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,7 +20,8 @@ npm install toridb
20
20
  const { ToriDB } = require('toridb');
21
21
 
22
22
  // Initialize client (use environment variables for sensitive data!)
23
- const db = new ToriDB(process.env.TORIDB_URI || "db://127.0.0.1:8569");
23
+ // Format: db://user:pass+host:port
24
+ const db = new ToriDB(process.env.TORIDB_URI || "db://default:secret+127.0.0.1:8569");
24
25
 
25
26
  async function main() {
26
27
  await db.connect();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toridb",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "ToriDB Client",
5
5
  "main": "/dist/toridb.esm.js",
6
6
  "scripts": {