@wxn0brp/db 0.60.0 → 0.70.0

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/dist/bin.js CHANGED
@@ -17,7 +17,7 @@ const opts = args.map((arg) => {
17
17
  });
18
18
  const db = new Valthera(path);
19
19
  try {
20
- const res = await db[op](...opts);
20
+ const res = await db.c(opts.shift())[op](...opts);
21
21
  console.log(JSON.stringify(res));
22
22
  }
23
23
  catch (e) {
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "0.60.0";
1
+ export const version = "0.70.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wxn0brp/db",
3
- "version": "0.60.0",
3
+ "version": "0.70.0",
4
4
  "description": "A modular, embedded database for developers who want control over their data storage.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,9 +25,9 @@
25
25
  "lightweight"
26
26
  ],
27
27
  "dependencies": {
28
- "@wxn0brp/db-client": "~0.4.1",
29
- "@wxn0brp/db-core": "~0.6.0",
30
- "@wxn0brp/db-storage-dir": "~0.2.1"
28
+ "@wxn0brp/db-client": "~0.4.2",
29
+ "@wxn0brp/db-core": "~0.7.0",
30
+ "@wxn0brp/db-storage-dir": "~0.2.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "*",