@clickhouse/client-web
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -1,2 +0,2 @@ | ||
import type { DataFormat, InputJSON, InputJSONObjectEachRow, InsertParams, InsertResult, IsSame, QueryParamsWithFormat } from '@clickhouse/client-common'; | ||
import type { DataFormat, ExecParams, ExecResult, InputJSON, InputJSONObjectEachRow, InsertParams, InsertResult, IsSame, QueryParamsWithFormat } from '@clickhouse/client-common'; | ||
import { ClickHouseClient } from '@clickhouse/client-common'; | ||
@@ -9,3 +9,3 @@ import type { WebClickHouseClientConfigOptions } from './config'; | ||
export type QueryResult<Format extends DataFormat> = IsSame<Format, DataFormat> extends true ? ResultSet<unknown> : ResultSet<Format>; | ||
export type WebClickHouseClient = Omit<WebClickHouseClientImpl, 'insert'> & { | ||
export type WebClickHouseClient = Omit<WebClickHouseClientImpl, 'insert' | 'exec'> & { | ||
/** See {@link ClickHouseClient.insert}. | ||
@@ -18,2 +18,6 @@ * | ||
}): Promise<InsertResult>; | ||
/** See {@link ClickHouseClient.exec}. | ||
* | ||
* Custom values are currently not supported in the web versions. */ | ||
exec(params: ExecParams): Promise<ExecResult<ReadableStream>>; | ||
}; | ||
@@ -20,0 +24,0 @@ declare class WebClickHouseClientImpl extends ClickHouseClient<ReadableStream> { |
@@ -1,2 +0,2 @@ | ||
declare const _default: "1.3.0"; | ||
declare const _default: "1.4.0"; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = '1.3.0'; | ||
exports.default = '1.4.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://clickhouse.com", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"license": "Apache-2.0", | ||
@@ -24,4 +24,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@clickhouse/client-common": "1.3.0" | ||
"@clickhouse/client-common": "1.4.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
49705
553
+ Added@clickhouse/client-common@1.4.0(transitive)
- Removed@clickhouse/client-common@1.3.0(transitive)