@transitive-sdk/clickhouse 0.3.5 → 0.3.6

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -54,7 +54,7 @@ class ClickHouse {
54
54
 
55
55
  const {hostname, port} = URL.parse(_url);
56
56
  const interval = 200;
57
- await waitPort({ host: hostname, port: port || 80, interval }, 10000);
57
+ await waitPort({ host: hostname, port: Number(port || 80), interval }, 10000);
58
58
  await new Promise(done => setTimeout(done, 200));
59
59
 
60
60
  // console.debug(`Creating ClickHouse client for URL: ${_url}, DB: ${_dbName}, User: ${_user}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transitive-sdk/clickhouse",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "A tiny ClickHouse utility class for use in the Transitive framework.",
5
5
  "homepage": "https://transitiverobotics.com",
6
6
  "repository": {