ueberdb2 4.2.74 → 4.2.76
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/index.js +4 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -334931,10 +334931,12 @@ function constructUrl(protocol, host, replaceProtocols) {
|
|
|
334931
334931
|
* @param params - Parameters for the message.
|
|
334932
334932
|
*/
|
|
334933
334933
|
send(method, params) {
|
|
334934
|
-
return new Promise((resolve) => {
|
|
334934
|
+
return new Promise((resolve, reject) => {
|
|
334935
334935
|
if (!this.socket)
|
|
334936
334936
|
throw new NoActiveSocket();
|
|
334937
|
-
this.socket
|
|
334937
|
+
this.socket
|
|
334938
|
+
.send(method, params ?? [], (r) => resolve(r))
|
|
334939
|
+
.catch((e) => reject(e));
|
|
334938
334940
|
});
|
|
334939
334941
|
}
|
|
334940
334942
|
/**
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
29
29
|
"@rollup/plugin-terser": "^0.4.4",
|
|
30
30
|
"@types/async": "^3.2.24",
|
|
31
|
-
"@types/better-sqlite3": "^7.6.
|
|
31
|
+
"@types/better-sqlite3": "^7.6.10",
|
|
32
32
|
"@types/mssql": "^9.1.5",
|
|
33
33
|
"@types/node": "^20.12.7",
|
|
34
34
|
"@types/pg": "^8.11.5",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
54
54
|
"semver": "^7.6.0",
|
|
55
55
|
"simple-git": "^3.24.0",
|
|
56
|
-
"surrealdb.js": "^0.11.
|
|
57
|
-
"typescript": "^5.4.
|
|
58
|
-
"vitest": "^1.
|
|
56
|
+
"surrealdb.js": "^0.11.1",
|
|
57
|
+
"typescript": "^5.4.5",
|
|
58
|
+
"vitest": "^1.5.2",
|
|
59
59
|
"wtfnode": "^0.9.2",
|
|
60
60
|
"rollup": "^4.16.4"
|
|
61
61
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"url": "https://github.com/ether/ueberDB.git"
|
|
65
65
|
},
|
|
66
66
|
"main": "./dist/index.js",
|
|
67
|
-
"version": "4.2.
|
|
67
|
+
"version": "4.2.76",
|
|
68
68
|
"bugs": {
|
|
69
69
|
"url": "https://github.com/ether/ueberDB/issues"
|
|
70
70
|
},
|