@wxn0brp/db 0.41.0 → 0.41.1
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/LICENSE +1 -1
- package/dist/autoCreate.js +1 -3
- package/dist/version.js +1 -1
- package/package.json +4 -4
package/LICENSE
CHANGED
package/dist/autoCreate.js
CHANGED
|
@@ -10,9 +10,7 @@ import Valthera from "./valthera.js";
|
|
|
10
10
|
* @returns A new instance of DataBaseRemote or DataBase.
|
|
11
11
|
*/
|
|
12
12
|
export function ValtheraAutoCreate(cfg) {
|
|
13
|
-
if (typeof cfg === "object")
|
|
14
|
-
return new ValtheraRemote(cfg);
|
|
15
|
-
if (cfg.startsWith("http"))
|
|
13
|
+
if (typeof cfg === "object" || cfg.startsWith("http"))
|
|
16
14
|
return new ValtheraRemote(cfg);
|
|
17
15
|
return new Valthera(cfg);
|
|
18
16
|
}
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "0.41.
|
|
1
|
+
export const version = "0.41.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wxn0brp/db",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.1",
|
|
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.2.
|
|
29
|
-
"@wxn0brp/db-core": ">=0.
|
|
30
|
-
"@wxn0brp/db-storage-dir": ">=0.1.
|
|
28
|
+
"@wxn0brp/db-client": ">=0.2.5",
|
|
29
|
+
"@wxn0brp/db-core": ">=0.4.0",
|
|
30
|
+
"@wxn0brp/db-storage-dir": ">=0.1.5"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "*",
|