Skip to content

Commit c4bbf20

Browse files
authored
fix: change clickhouse client back to web version (#1736)
1 parent 1060acb commit c4bbf20

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

packages/ts-moose-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": "tsup"
1818
},
1919
"dependencies": {
20-
"@clickhouse/client": "1.5.0",
20+
"@clickhouse/client-web": "1.5.0",
2121
"fastq": "1.17.1",
2222
"kafkajs": "2.2.4",
2323
"ts-patch": "~3.2.0"

packages/ts-moose-lib/src/commons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createClient } from "@clickhouse/client";
1+
import { createClient } from "@clickhouse/client-web";
22
import fs from "node:fs";
33
import path from "node:path";
44
import http from "http";

packages/ts-moose-lib/src/consumption-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @returns 'FLoat', 'Int', 'Bool', 'String'
99
*/
1010

11-
import { ClickHouseClient } from "@clickhouse/client";
11+
import { ClickHouseClient } from "@clickhouse/client-web";
1212

1313
export const mapToClickHouseType = (value: Value) => {
1414
if (typeof value === "number") {

pnpm-lock.yaml

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)