fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-06 00:25:39 +02:00
parent 6743dc35e7
commit 68b2baadae
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiclient.xyz/docker',
version: '1.1.2',
version: '1.1.3',
description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.'
}

View File

@ -14,7 +14,7 @@ export class DockerImageStore {
}
// Method to store tar stream
public async storeImage(imageName: string, tarStream: NodeJS.ReadableStream): Promise<void> {
public async storeImage(imageName: string, tarStream: plugins.smartstream.stream.Readable): Promise<void> {
const imagePath = plugins.path.join(this.options.dirPath, `${imageName}.tar`);
// Create a write stream to store the tar file