@alepha/bucket-s3 0.15.0 → 0.15.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +23 -23
  2. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -8,34 +8,34 @@ import * as alepha_logger0 from "alepha/logger";
8
8
  //#region src/providers/S3FileStorageProvider.d.ts
9
9
  declare const envSchema: alepha1.TObject<{
10
10
  /**
11
- * Custom S3 endpoint URL for S3-compatible services.
12
- *
13
- * Examples:
14
- * - Cloudflare R2: https://<account-id>.r2.cloudflarestorage.com
15
- * - MinIO: http://localhost:9000
16
- * - DigitalOcean Spaces: https://<region>.digitaloceanspaces.com
17
- *
18
- * Leave empty for AWS S3.
19
- */
11
+ * Custom S3 endpoint URL for S3-compatible services.
12
+ *
13
+ * Examples:
14
+ * - Cloudflare R2: https://<account-id>.r2.cloudflarestorage.com
15
+ * - MinIO: http://localhost:9000
16
+ * - DigitalOcean Spaces: https://<region>.digitaloceanspaces.com
17
+ *
18
+ * Leave empty for AWS S3.
19
+ */
20
20
  S3_ENDPOINT: alepha1.TOptional<alepha1.TString>;
21
21
  /**
22
- * AWS region or "auto" for R2.
23
- *
24
- * @default "us-east-1"
25
- */
22
+ * AWS region or "auto" for R2.
23
+ *
24
+ * @default "us-east-1"
25
+ */
26
26
  S3_REGION: alepha1.TOptional<alepha1.TString>;
27
27
  /**
28
- * Access key ID for S3 authentication.
29
- */
28
+ * Access key ID for S3 authentication.
29
+ */
30
30
  S3_ACCESS_KEY_ID: alepha1.TString;
31
31
  /**
32
- * Secret access key for S3 authentication.
33
- */
32
+ * Secret access key for S3 authentication.
33
+ */
34
34
  S3_SECRET_ACCESS_KEY: alepha1.TString;
35
35
  /**
36
- * Force path-style URLs (required for MinIO and some S3-compatible services).
37
- * Set to "true" to enable.
38
- */
36
+ * Force path-style URLs (required for MinIO and some S3-compatible services).
37
+ * Set to "true" to enable.
38
+ */
39
39
  S3_FORCE_PATH_STYLE: alepha1.TOptional<alepha1.TString>;
40
40
  }>;
41
41
  declare module "alepha" {
@@ -63,9 +63,9 @@ declare class S3FileStorageProvider implements FileStorageProvider {
63
63
  constructor();
64
64
  protected readonly onStart: alepha1.HookPrimitive<"start">;
65
65
  /**
66
- * Convert bucket name to S3-compatible format.
67
- * S3 bucket names must be lowercase, 3-63 characters, no underscores.
68
- */
66
+ * Convert bucket name to S3-compatible format.
67
+ * S3 bucket names must be lowercase, 3-63 characters, no underscores.
68
+ */
69
69
  convertName(name: string): string;
70
70
  protected createId(mimeType: string): string;
71
71
  upload(bucketName: string, file: FileLike, fileId?: string): Promise<string>;
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "minio"
14
14
  ],
15
15
  "author": "Nicolas Foures",
16
- "version": "0.15.0",
16
+ "version": "0.15.1",
17
17
  "type": "module",
18
18
  "engines": {
19
19
  "node": ">=22.0.0"
@@ -26,17 +26,17 @@
26
26
  "src"
27
27
  ],
28
28
  "dependencies": {
29
- "@aws-sdk/client-s3": "^3.971.0"
29
+ "@aws-sdk/client-s3": "^3.975.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@biomejs/biome": "^2.3.11",
33
- "alepha": "0.15.0",
34
- "tsdown": "^0.20.0-beta.3",
32
+ "@biomejs/biome": "^2.3.12",
33
+ "alepha": "0.15.1",
34
+ "tsdown": "^0.20.1",
35
35
  "typescript": "^5.9.3",
36
- "vitest": "^4.0.17"
36
+ "vitest": "^4.0.18"
37
37
  },
38
38
  "peerDependencies": {
39
- "alepha": "0.15.0"
39
+ "alepha": "0.15.1"
40
40
  },
41
41
  "scripts": {
42
42
  "lint": "alepha lint",