@ampless/backend 1.0.0-beta.73 → 1.0.0-beta.75
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.js +11 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -31,9 +31,19 @@ function defineAmplessBackend(opts) {
|
|
|
31
31
|
cfnBucket.corsConfiguration = {
|
|
32
32
|
corsRules: [
|
|
33
33
|
{
|
|
34
|
-
allowedMethods: ["GET", "HEAD"],
|
|
34
|
+
allowedMethods: ["GET", "HEAD", "PUT", "POST", "DELETE"],
|
|
35
35
|
allowedOrigins: ["*"],
|
|
36
36
|
allowedHeaders: ["*"],
|
|
37
|
+
// multipart upload completion reads part ETags from response
|
|
38
|
+
// headers; expose them so the Amplify Storage SDK can assemble
|
|
39
|
+
// the final object. The other headers are standard AWS request
|
|
40
|
+
// tracing that SDKs may also read.
|
|
41
|
+
exposedHeaders: [
|
|
42
|
+
"ETag",
|
|
43
|
+
"x-amz-server-side-encryption",
|
|
44
|
+
"x-amz-request-id",
|
|
45
|
+
"x-amz-id-2"
|
|
46
|
+
],
|
|
37
47
|
maxAge: 3e3
|
|
38
48
|
}
|
|
39
49
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/backend",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.75",
|
|
4
4
|
"description": "Amplify Gen 2 backend factories for ampless: auth, data, storage, event processors, API key renewer",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"@smithy/protocol-http": "^5.4.4",
|
|
70
70
|
"@smithy/signature-v4": "^5.4.4",
|
|
71
71
|
"fflate": "^0.8.3",
|
|
72
|
-
"@ampless/mcp-server": "1.0.0-beta.
|
|
73
|
-
"ampless": "1.0.0-beta.
|
|
72
|
+
"@ampless/mcp-server": "1.0.0-beta.58",
|
|
73
|
+
"ampless": "1.0.0-beta.52"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@aws-amplify/backend": "^1",
|