@btravstack/storage 0.17.0 → 0.19.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/dist/s3.cjs CHANGED
@@ -69,7 +69,10 @@ const s3StorageBackend = (client, bucket) => ({
69
69
  Key: key,
70
70
  ContentType: options.contentType,
71
71
  ContentLength: options.contentLength
72
- }), { expiresIn: Math.ceil(options.ttlMs / 1e3) }), (cause) => unavailable("presignedUpload", key, cause))
72
+ }), {
73
+ expiresIn: Math.ceil(options.ttlMs / 1e3),
74
+ signableHeaders: /* @__PURE__ */ new Set(["content-type"])
75
+ }), (cause) => unavailable("presignedUpload", key, cause))
73
76
  });
74
77
  /**
75
78
  * The S3 adapter: one client, built with the scope and destroyed with it, and
package/dist/s3.mjs CHANGED
@@ -68,7 +68,10 @@ const s3StorageBackend = (client, bucket) => ({
68
68
  Key: key,
69
69
  ContentType: options.contentType,
70
70
  ContentLength: options.contentLength
71
- }), { expiresIn: Math.ceil(options.ttlMs / 1e3) }), (cause) => unavailable("presignedUpload", key, cause))
71
+ }), {
72
+ expiresIn: Math.ceil(options.ttlMs / 1e3),
73
+ signableHeaders: /* @__PURE__ */ new Set(["content-type"])
74
+ }), (cause) => unavailable("presignedUpload", key, cause))
72
75
  });
73
76
  /**
74
77
  * The S3 adapter: one client, built with the scope and destroyed with it, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@btravstack/storage",
3
- "version": "0.17.0",
3
+ "version": "0.19.0",
4
4
  "description": "A Storage port for @btravstack/core: an in-memory adapter, an S3-compatible adapter with presigned reads, and a composition that spans, counts and logs every operation",
5
5
  "keywords": [
6
6
  "dependency-injection",
@@ -55,11 +55,11 @@
55
55
  "devDependencies": {
56
56
  "@aws-sdk/client-s3": "3.1146.0",
57
57
  "@aws-sdk/s3-request-presigner": "3.1146.0",
58
- "@btravstack/config": "0.17.0",
59
- "@btravstack/core": "0.17.0",
60
- "@btravstack/di": "0.17.0",
58
+ "@btravstack/config": "0.19.0",
59
+ "@btravstack/core": "0.19.0",
60
+ "@btravstack/di": "0.19.0",
61
61
  "@btravstack/internal-test-infra": "0.0.0",
62
- "@btravstack/observability": "0.17.0",
62
+ "@btravstack/observability": "0.19.0",
63
63
  "@btravstack/tsconfig": "0.4.0",
64
64
  "@opentelemetry/api": "1.9.1",
65
65
  "@opentelemetry/sdk-metrics": "2.11.0",
@@ -76,9 +76,9 @@
76
76
  "peerDependencies": {
77
77
  "@aws-sdk/client-s3": "^3.1000.0",
78
78
  "@aws-sdk/s3-request-presigner": "^3.1000.0",
79
- "@btravstack/config": "^0.17.0",
80
- "@btravstack/core": "^0.17.0",
81
- "@btravstack/di": "^0.17.0",
79
+ "@btravstack/config": "^0.19.0",
80
+ "@btravstack/core": "^0.19.0",
81
+ "@btravstack/di": "^0.19.0",
82
82
  "unthrown": "^5.0.0"
83
83
  },
84
84
  "peerDependenciesMeta": {