@malloydata/db-postgres 0.0.338 → 0.0.340

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.
@@ -83,11 +83,10 @@ class PostgresConnection extends connection_1.BaseConnection {
83
83
  return true;
84
84
  }
85
85
  getDigest() {
86
- var _a;
87
86
  // If configReader is an object (not a function), use its properties
88
87
  if (typeof this.configReader !== 'function') {
89
88
  const { host, port, username, databaseName, connectionString } = this.configReader;
90
- return (0, malloy_1.makeDigest)('postgres', host !== null && host !== void 0 ? host : '', String(port !== null && port !== void 0 ? port : ''), username !== null && username !== void 0 ? username : '', databaseName !== null && databaseName !== void 0 ? databaseName : '', connectionString !== null && connectionString !== void 0 ? connectionString : '', (_a = this.setupSQL) !== null && _a !== void 0 ? _a : '');
89
+ return (0, malloy_1.makeDigest)('postgres', host, port !== undefined ? String(port) : undefined, username, databaseName, connectionString, this.setupSQL);
91
90
  }
92
91
  // Fall back to connection name if config is async
93
92
  return (0, malloy_1.makeDigest)('postgres', this.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-postgres",
3
- "version": "0.0.338",
3
+ "version": "0.0.340",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "dependencies": {
25
- "@malloydata/malloy": "0.0.338",
25
+ "@malloydata/malloy": "0.0.340",
26
26
  "@types/pg": "^8.6.1",
27
27
  "pg": "^8.7.1",
28
28
  "pg-query-stream": "4.2.3"