presto-client
Advanced tools
Comparing version 0.11.1 to 0.11.2
@@ -41,3 +41,3 @@ const { URL } = require('url') ; | ||
this.user = args.user || process.env.USER; | ||
// HTTP Authorization header | ||
@@ -50,3 +50,3 @@ if (args.custom_auth && args.basic_auth) | ||
} else if (args.basic_auth) { | ||
this.authorization = 'Basic ' + new Buffer(client.basic_auth.user + ':' + client.basic_auth.password).toString('base64'); | ||
this.authorization = 'Basic ' + new Buffer(args.basic_auth.user + ':' + args.basic_auth.password).toString('base64'); | ||
} | ||
@@ -58,3 +58,3 @@ | ||
this.schema = args.schema; | ||
this.source = args.source || 'nodejs-client'; | ||
@@ -61,0 +61,0 @@ |
{ | ||
"name": "presto-client", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"description": "Distributed query engine Presto/Trino client library for node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -176,2 +176,4 @@ # presto-client-node | ||
* 0.11.2: | ||
* fix pregression for basic_auth feature | ||
* 0.11.1: | ||
@@ -178,0 +180,0 @@ * fix a critical bug around the code for authorization |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24984
234