@514labs/moose-lib 0.6.271-ci-2-g0eebe1cc → 0.6.271-ci-1-g61aaafe0
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/browserCompatible.js +2 -4
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +2 -4
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.js +2 -4
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +2 -4
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1021,8 +1021,7 @@ var OlapTable = class extends TypedBase {
|
|
|
1021
1021
|
* @private
|
|
1022
1022
|
*/
|
|
1023
1023
|
createConfigHash(clickhouseConfig) {
|
|
1024
|
-
const
|
|
1025
|
-
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${effectiveDatabase}:${clickhouseConfig.useSSL}`;
|
|
1024
|
+
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${clickhouseConfig.database}:${clickhouseConfig.useSSL}`;
|
|
1026
1025
|
return (0, import_node_crypto.createHash)("sha256").update(configString).digest("hex").substring(0, 16);
|
|
1027
1026
|
}
|
|
1028
1027
|
/**
|
|
@@ -1047,11 +1046,10 @@ var OlapTable = class extends TypedBase {
|
|
|
1047
1046
|
} catch (error) {
|
|
1048
1047
|
}
|
|
1049
1048
|
}
|
|
1050
|
-
const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
|
|
1051
1049
|
const client = getClickhouseClient2({
|
|
1052
1050
|
username: clickhouseConfig.username,
|
|
1053
1051
|
password: clickhouseConfig.password,
|
|
1054
|
-
database:
|
|
1052
|
+
database: clickhouseConfig.database,
|
|
1055
1053
|
useSSL: clickhouseConfig.useSSL ? "true" : "false",
|
|
1056
1054
|
host: clickhouseConfig.host,
|
|
1057
1055
|
port: clickhouseConfig.port
|