@teamkeel/functions-runtime 0.387.1-next.4 → 0.387.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/package.json +1 -1
- package/src/database.js +3 -3
package/package.json
CHANGED
package/src/database.js
CHANGED
|
@@ -4,8 +4,8 @@ const { AuditContextPlugin } = require("./auditing");
|
|
|
4
4
|
const pg = require("pg");
|
|
5
5
|
const { PROTO_ACTION_TYPES } = require("./consts");
|
|
6
6
|
const { withSpan } = require("./tracing");
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const { NeonDialect } = require("kysely-neon");
|
|
8
|
+
const ws = require("ws");
|
|
9
9
|
|
|
10
10
|
// withDatabase is responsible for setting the correct database client in our AsyncLocalStorage
|
|
11
11
|
// so that the the code in a custom function uses the correct client.
|
|
@@ -192,4 +192,4 @@ getDatabaseClient();
|
|
|
192
192
|
|
|
193
193
|
module.exports.getDatabaseClient = getDatabaseClient;
|
|
194
194
|
module.exports.useDatabase = useDatabase;
|
|
195
|
-
module.exports.withDatabase = withDatabase;
|
|
195
|
+
module.exports.withDatabase = withDatabase;
|