@clickhouse/client-web
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -127,3 +127,8 @@ "use strict"; | ||
const headers = (0, client_common_1.withCompressionHeaders)({ | ||
headers: this.defaultHeaders, | ||
headers: params?.auth !== undefined | ||
? { | ||
...this.defaultHeaders, | ||
Authorization: `Basic ${btoa(`${params.auth.username}:${params.auth.password}`)}`, | ||
} | ||
: this.defaultHeaders, | ||
compress_request: false, | ||
@@ -130,0 +135,0 @@ decompress_response: this.params.compression.decompress_response, |
@@ -1,2 +0,2 @@ | ||
declare const _default: "1.0.2"; | ||
declare const _default: "1.1.0"; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = '1.0.2'; | ||
exports.default = '1.1.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://clickhouse.com", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"license": "Apache-2.0", | ||
@@ -24,4 +24,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@clickhouse/client-common": "1.0.2" | ||
"@clickhouse/client-common": "1.1.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
47838
529
+ Added@clickhouse/client-common@1.1.0(transitive)
- Removed@clickhouse/client-common@1.0.2(transitive)