@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/database.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamkeel/functions-runtime",
3
- "version": "0.387.1-next.4",
3
+ "version": "0.387.1",
4
4
  "description": "Internal package used by @teamkeel/sdk",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
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
- import { NeonDialect } from "kysely-neon";
8
- import ws from 'ws';
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;