@settlemint/sdk-minio 2.3.8-mainb7108730 → 2.3.8-mainee93349a

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/dist/minio.d.cts CHANGED
@@ -3,9 +3,6 @@ import { z } from "zod/v4";
3
3
  import { Buffer } from "node:buffer";
4
4
 
5
5
  //#region src/helpers/client-options.schema.d.ts
6
- /**
7
- * Schema for validating server client options for the MinIO client.
8
- */
9
6
  /**
10
7
  * Schema for validating server client options for the MinIO client.
11
8
  */
@@ -18,7 +15,6 @@ declare const ServerClientOptionsSchema: z.ZodObject<{
18
15
  * Type definition for server client options derived from the ServerClientOptionsSchema.
19
16
  */
20
17
  type ServerClientOptions = z.infer<typeof ServerClientOptionsSchema>;
21
-
22
18
  //#endregion
23
19
  //#region src/helpers/schema.d.ts
24
20
  /**
@@ -77,7 +73,6 @@ interface FileMetadata {
77
73
  * Default bucket name to use for file storage when none is specified.
78
74
  */
79
75
  declare const DEFAULT_BUCKET = "uploads";
80
-
81
76
  //#endregion
82
77
  //#region src/helpers/functions.d.ts
83
78
  /**
@@ -203,7 +198,6 @@ declare function createPresignedUploadUrl(client: Client$1, fileName: string, pa
203
198
  * const uploadedFile = await uploadFile(client, buffer, "documents/hello.txt", "text/plain");
204
199
  */
205
200
  declare function uploadFile(client: Client$1, buffer: Buffer, objectName: string, contentType: string, bucket?: string): Promise<FileMetadata>;
206
-
207
201
  //#endregion
208
202
  //#region src/minio.d.ts
209
203
  /**
@@ -226,7 +220,6 @@ declare function uploadFile(client: Client$1, buffer: Buffer, objectName: string
226
220
  declare function createServerMinioClient(options: ServerClientOptions): {
227
221
  client: Client$1;
228
222
  };
229
-
230
223
  //#endregion
231
224
  export { Client, DEFAULT_BUCKET, FileMetadata, ItemBucketMetadata, createPresignedUploadUrl, createServerMinioClient, deleteFile, getFileById, getFilesList, uploadFile };
232
225
  //# sourceMappingURL=minio.d.cts.map
package/dist/minio.d.ts CHANGED
@@ -3,9 +3,6 @@ import { z } from "zod/v4";
3
3
  import { Buffer } from "node:buffer";
4
4
 
5
5
  //#region src/helpers/client-options.schema.d.ts
6
- /**
7
- * Schema for validating server client options for the MinIO client.
8
- */
9
6
  /**
10
7
  * Schema for validating server client options for the MinIO client.
11
8
  */
@@ -18,7 +15,6 @@ declare const ServerClientOptionsSchema: z.ZodObject<{
18
15
  * Type definition for server client options derived from the ServerClientOptionsSchema.
19
16
  */
20
17
  type ServerClientOptions = z.infer<typeof ServerClientOptionsSchema>;
21
-
22
18
  //#endregion
23
19
  //#region src/helpers/schema.d.ts
24
20
  /**
@@ -77,7 +73,6 @@ interface FileMetadata {
77
73
  * Default bucket name to use for file storage when none is specified.
78
74
  */
79
75
  declare const DEFAULT_BUCKET = "uploads";
80
-
81
76
  //#endregion
82
77
  //#region src/helpers/functions.d.ts
83
78
  /**
@@ -203,7 +198,6 @@ declare function createPresignedUploadUrl(client: Client$1, fileName: string, pa
203
198
  * const uploadedFile = await uploadFile(client, buffer, "documents/hello.txt", "text/plain");
204
199
  */
205
200
  declare function uploadFile(client: Client$1, buffer: Buffer, objectName: string, contentType: string, bucket?: string): Promise<FileMetadata>;
206
-
207
201
  //#endregion
208
202
  //#region src/minio.d.ts
209
203
  /**
@@ -226,7 +220,6 @@ declare function uploadFile(client: Client$1, buffer: Buffer, objectName: string
226
220
  declare function createServerMinioClient(options: ServerClientOptions): {
227
221
  client: Client$1;
228
222
  };
229
-
230
223
  //#endregion
231
224
  export { Client, DEFAULT_BUCKET, FileMetadata, ItemBucketMetadata, createPresignedUploadUrl, createServerMinioClient, deleteFile, getFileById, getFilesList, uploadFile };
232
225
  //# sourceMappingURL=minio.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@settlemint/sdk-minio",
3
3
  "description": "MinIO integration module for SettleMint SDK, providing S3-compatible object storage capabilities",
4
- "version": "2.3.8-mainb7108730",
4
+ "version": "2.3.8-mainee93349a",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "FSL-1.1-MIT",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "devDependencies": {},
53
53
  "dependencies": {
54
- "@settlemint/sdk-utils": "2.3.8-mainb7108730",
54
+ "@settlemint/sdk-utils": "2.3.8-mainee93349a",
55
55
  "minio": "^8",
56
56
  "zod": "^3.25.0"
57
57
  },