node-docker-api
Advanced tools
Comparing version 1.1.17 to 1.1.18
@@ -249,5 +249,6 @@ 'use strict'; | ||
* @param {Object} opts Query params in the request (optional) | ||
* @param {Object} auth Registry Auth Config, see linked engine documentation for details (optional) | ||
* @return {Promise} Promise return the resulting stream | ||
*/ | ||
build(file, opts) { | ||
build(file, opts, auth) { | ||
const call = { | ||
@@ -259,2 +260,3 @@ path: '/build?', | ||
isStream: true, | ||
registryconfig: auth, | ||
statusCodes: { | ||
@@ -261,0 +263,0 @@ 200: true, |
{ | ||
"name": "node-docker-api", | ||
"version": "1.1.17", | ||
"version": "1.1.18", | ||
"description": "Docker Remote API driver for node", | ||
@@ -5,0 +5,0 @@ "main": "./lib/docker", |
@@ -268,5 +268,6 @@ 'use strict' | ||
* @param {Object} opts Query params in the request (optional) | ||
* @param {Object} auth Registry Auth Config, see linked engine documentation for details (optional) | ||
* @return {Promise} Promise return the resulting stream | ||
*/ | ||
build (file: fs.ReadStream, opts?: Object): Promise<Object> { | ||
build (file: fs.ReadStream, opts?: Object, auth?: Object): Promise<Object> { | ||
const call = { | ||
@@ -278,2 +279,3 @@ path: '/build?', | ||
isStream: true, | ||
registryconfig: auth, | ||
statusCodes: { | ||
@@ -280,0 +282,0 @@ 200: true, |
Sorry, the diff of this file is not supported yet
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
1402967
8792