fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-09 16:32:32 +02:00
parent ce58b99fc7
commit 963463d40d
2 changed files with 2 additions and 7 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartbucket', name: '@push.rocks/smartbucket',
version: '3.0.12', version: '3.0.13',
description: 'A TypeScript library offering simple and cloud-agnostic object storage with advanced features like bucket creation, file and directory management, and data streaming.' description: 'A TypeScript library offering simple and cloud-agnostic object storage with advanced features like bucket creation, file and directory management, and data streaming.'
} }

View File

@ -241,12 +241,7 @@ export class Bucket {
optionsArg.path, optionsArg.path,
streamIntake, streamIntake,
null, null,
...(optionsArg.nativeMetadata null, // TODO: Add support for custom metadata once proper support is in minio.
? (() => {
const returnObject: any = {};
return returnObject;
})()
: {})
); );
console.log(`Object '${optionsArg.path}' has been successfully stored in bucket '${this.name}'.`); console.log(`Object '${optionsArg.path}' has been successfully stored in bucket '${this.name}'.`);