@settlemint/sdk-minio 2.3.2-main23cb35be → 2.3.2-main3c010da3

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.
package/README.md CHANGED
@@ -54,7 +54,7 @@ The SettleMint MinIO SDK provides a simple way to interact with MinIO object sto
54
54
 
55
55
  > **createPresignedUploadUrl**(`client`, `fileName`, `path`, `bucket`, `expirySeconds`): `Promise`\<`string`\>
56
56
 
57
- Defined in: [sdk/minio/src/helpers/functions.ts:243](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/minio/src/helpers/functions.ts#L243)
57
+ Defined in: [sdk/minio/src/helpers/functions.ts:261](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/minio/src/helpers/functions.ts#L261)
58
58
 
59
59
  Creates a presigned upload URL for direct browser uploads
60
60
 
@@ -157,7 +157,7 @@ client.listBuckets();
157
157
 
158
158
  > **deleteFile**(`client`, `fileId`, `bucket`): `Promise`\<`boolean`\>
159
159
 
160
- Defined in: [sdk/minio/src/helpers/functions.ts:196](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/minio/src/helpers/functions.ts#L196)
160
+ Defined in: [sdk/minio/src/helpers/functions.ts:214](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/minio/src/helpers/functions.ts#L214)
161
161
 
162
162
  Deletes a file from storage
163
163
 
@@ -199,7 +199,7 @@ await deleteFile(client, "documents/report.pdf");
199
199
 
200
200
  > **getFileById**(`client`, `fileId`, `bucket`): `Promise`\<[`FileMetadata`](#filemetadata)\>
201
201
 
202
- Defined in: [sdk/minio/src/helpers/functions.ts:123](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/minio/src/helpers/functions.ts#L123)
202
+ Defined in: [sdk/minio/src/helpers/functions.ts:141](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/minio/src/helpers/functions.ts#L141)
203
203
 
204
204
  Gets a single file by its object name
205
205
 
@@ -283,7 +283,7 @@ const files = await getFilesList(client, "documents/");
283
283
 
284
284
  > **uploadFile**(`client`, `buffer`, `objectName`, `contentType`, `bucket`): `Promise`\<[`FileMetadata`](#filemetadata)\>
285
285
 
286
- Defined in: [sdk/minio/src/helpers/functions.ts:293](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/minio/src/helpers/functions.ts#L293)
286
+ Defined in: [sdk/minio/src/helpers/functions.ts:311](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/minio/src/helpers/functions.ts#L311)
287
287
 
288
288
  Uploads a buffer directly to storage
289
289