@xnestjs/storage 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,7 +16,6 @@ class S3StorageConnection extends storage_connection_js_1.StorageConnection {
|
|
|
16
16
|
const meta = options ? updateMetadata(options?.metadata, options) : {};
|
|
17
17
|
if (typeof source === 'string')
|
|
18
18
|
await this._client.fPutObject(bucketName, objectName, source, meta);
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/await-thenable
|
|
20
19
|
else
|
|
21
20
|
await this._client.putObject(bucketName, objectName, source, undefined, meta);
|
|
22
21
|
}
|
|
@@ -12,7 +12,6 @@ export class S3StorageConnection extends StorageConnection {
|
|
|
12
12
|
const meta = options ? updateMetadata(options?.metadata, options) : {};
|
|
13
13
|
if (typeof source === 'string')
|
|
14
14
|
await this._client.fPutObject(bucketName, objectName, source, meta);
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/await-thenable
|
|
16
15
|
else
|
|
17
16
|
await this._client.putObject(bucketName, objectName, source, undefined, meta);
|
|
18
17
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xnestjs/storage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "NestJS extension library for Storage solutions (S3,GS)",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@nestjs/common": "^10.4.
|
|
8
|
+
"@nestjs/common": "^10.4.15"
|
|
9
9
|
},
|
|
10
10
|
"optionalDependencies": {
|
|
11
|
-
"minio": "^8.0.
|
|
11
|
+
"minio": "^8.0.3"
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
14
|
"exports": {
|