@lunora/storage 1.0.0-alpha.19 → 1.0.0-alpha.20
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/upload.d.mts +2 -2
- package/dist/upload.d.ts +2 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -64,7 +64,7 @@ interface SignedUrlOptions {
|
|
|
64
64
|
/**
|
|
65
65
|
* Pin the `Content-Type` an uploader must send on a `method: "PUT"` URL.
|
|
66
66
|
* Baked into the HMAC canonical so the signature only authorizes a PUT with
|
|
67
|
-
* exactly this content-type; mirrored on the URL as `&
|
|
67
|
+
* exactly this content-type; mirrored on the URL as `&ct=...`. Ignored for
|
|
68
68
|
* `GET` URLs (a download has no request body content-type to pin).
|
|
69
69
|
*/
|
|
70
70
|
contentType?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ interface SignedUrlOptions {
|
|
|
64
64
|
/**
|
|
65
65
|
* Pin the `Content-Type` an uploader must send on a `method: "PUT"` URL.
|
|
66
66
|
* Baked into the HMAC canonical so the signature only authorizes a PUT with
|
|
67
|
-
* exactly this content-type; mirrored on the URL as `&
|
|
67
|
+
* exactly this content-type; mirrored on the URL as `&ct=...`. Ignored for
|
|
68
68
|
* `GET` URLs (a download has no request body content-type to pin).
|
|
69
69
|
*/
|
|
70
70
|
contentType?: string;
|
package/dist/upload.d.mts
CHANGED
|
@@ -84,8 +84,8 @@ interface R2UploadStorageOptions {
|
|
|
84
84
|
bucket: string;
|
|
85
85
|
/**
|
|
86
86
|
* Explicit R2 S3 endpoint. Defaults to
|
|
87
|
-
* `https
|
|
88
|
-
* jurisdiction (e.g.
|
|
87
|
+
* `https://<accountId>.r2.cloudflarestorage.com`. Pass this to pin a
|
|
88
|
+
* jurisdiction (e.g. `<accountId>.eu.r2.cloudflarestorage.com`).
|
|
89
89
|
*/
|
|
90
90
|
endpoint?: string;
|
|
91
91
|
/** Client-side multipart part size (bytes or a size string like `"16MB"`). */
|
package/dist/upload.d.ts
CHANGED
|
@@ -84,8 +84,8 @@ interface R2UploadStorageOptions {
|
|
|
84
84
|
bucket: string;
|
|
85
85
|
/**
|
|
86
86
|
* Explicit R2 S3 endpoint. Defaults to
|
|
87
|
-
* `https
|
|
88
|
-
* jurisdiction (e.g.
|
|
87
|
+
* `https://<accountId>.r2.cloudflarestorage.com`. Pass this to pin a
|
|
88
|
+
* jurisdiction (e.g. `<accountId>.eu.r2.cloudflarestorage.com`).
|
|
89
89
|
*/
|
|
90
90
|
endpoint?: string;
|
|
91
91
|
/** Client-side multipart part size (bytes or a size string like `"16MB"`). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/storage",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20",
|
|
4
4
|
"description": "R2-backed storage for Lunora: typed buckets and signed URLs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@lunora/errors": "1.0.0-alpha.
|
|
54
|
-
"@lunora/platform": "1.0.0-alpha.
|
|
53
|
+
"@lunora/errors": "1.0.0-alpha.14",
|
|
54
|
+
"@lunora/platform": "1.0.0-alpha.6",
|
|
55
55
|
"@visulima/storage": "1.0.5",
|
|
56
56
|
"aws4fetch": "1.0.20"
|
|
57
57
|
},
|