@constructive-io/bucket-provisioner 0.5.0 → 0.7.0

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/cors.d.ts CHANGED
@@ -12,7 +12,7 @@ import type { CorsRule } from './types';
12
12
  * This allows:
13
13
  * - PUT: for presigned uploads from the browser
14
14
  * - GET: for presigned downloads and public file access
15
- * - HEAD: for confirmUpload verification and cache headers
15
+ * - HEAD: for cache headers and object existence checks
16
16
  *
17
17
  * @param allowedOrigins - Domains allowed to make cross-origin requests.
18
18
  * Use specific domains in production (e.g., ["https://app.example.com"]).
package/cors.js CHANGED
@@ -15,7 +15,7 @@ exports.buildPrivateCorsRules = buildPrivateCorsRules;
15
15
  * This allows:
16
16
  * - PUT: for presigned uploads from the browser
17
17
  * - GET: for presigned downloads and public file access
18
- * - HEAD: for confirmUpload verification and cache headers
18
+ * - HEAD: for cache headers and object existence checks
19
19
  *
20
20
  * @param allowedOrigins - Domains allowed to make cross-origin requests.
21
21
  * Use specific domains in production (e.g., ["https://app.example.com"]).
package/esm/cors.d.ts CHANGED
@@ -12,7 +12,7 @@ import type { CorsRule } from './types';
12
12
  * This allows:
13
13
  * - PUT: for presigned uploads from the browser
14
14
  * - GET: for presigned downloads and public file access
15
- * - HEAD: for confirmUpload verification and cache headers
15
+ * - HEAD: for cache headers and object existence checks
16
16
  *
17
17
  * @param allowedOrigins - Domains allowed to make cross-origin requests.
18
18
  * Use specific domains in production (e.g., ["https://app.example.com"]).
package/esm/cors.js CHANGED
@@ -11,7 +11,7 @@
11
11
  * This allows:
12
12
  * - PUT: for presigned uploads from the browser
13
13
  * - GET: for presigned downloads and public file access
14
- * - HEAD: for confirmUpload verification and cache headers
14
+ * - HEAD: for cache headers and object existence checks
15
15
  *
16
16
  * @param allowedOrigins - Domains allowed to make cross-origin requests.
17
17
  * Use specific domains in production (e.g., ["https://app.example.com"]).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/bucket-provisioner",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "S3-compatible bucket provisioning library — create buckets, configure privacy policies, CORS, and access controls",
6
6
  "main": "index.js",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@aws-sdk/client-s3": "^3.1009.0",
33
- "@constructive-io/s3-utils": "^2.12.1"
33
+ "@constructive-io/s3-utils": "^2.13.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "makage": "^0.3.0"
@@ -44,5 +44,5 @@
44
44
  "storage",
45
45
  "constructive"
46
46
  ],
47
- "gitHead": "4ec54068fedd13e6145808b8059121f4a1b3891d"
47
+ "gitHead": "fb12131bc72ca66e2eb554e15c49e35dc5b362ac"
48
48
  }