@btravstack/storage 0.25.0 → 0.27.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.d.cts +2 -2
- package/dist/s3.d.mts +2 -2
- package/package.json +8 -8
package/dist/s3.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as StorageService, i as StorageBackend } from "./storage-BLJtJ7KF.cjs";
|
|
2
2
|
import { Module, Scope } from "@btravstack/di";
|
|
3
3
|
import { S3Client } from "@aws-sdk/client-s3";
|
|
4
|
-
import { ConfigInvalid,
|
|
4
|
+
import { ConfigInvalid, EnvReading } from "@btravstack/config";
|
|
5
5
|
//#region src/s3.d.ts
|
|
6
6
|
/**
|
|
7
7
|
* The adapter's service over a client and a bucket. A delete of a key nobody
|
|
@@ -15,5 +15,5 @@ export declare const s3StorageBackend: (client: S3Client, bucket: string) => Sto
|
|
|
15
15
|
* only through this subpath, so an application composing the memory adapter
|
|
16
16
|
* installs neither.
|
|
17
17
|
*/
|
|
18
|
-
export declare const s3Storage: () => Module<StorageBackend, ConfigInvalid,
|
|
18
|
+
export declare const s3Storage: () => Module<StorageBackend, ConfigInvalid, EnvReading<"STORAGE_S3_ENDPOINT" | "STORAGE_S3_BUCKET" | "STORAGE_S3_ACCESS_KEY_ID" | "STORAGE_S3_SECRET_ACCESS_KEY", "STORAGE_S3_REGION"> | Scope>;
|
|
19
19
|
//#endregion
|
package/dist/s3.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as StorageService, i as StorageBackend } from "./storage-BLJtJ7KF.mjs";
|
|
2
2
|
import { Module, Scope } from "@btravstack/di";
|
|
3
3
|
import { S3Client } from "@aws-sdk/client-s3";
|
|
4
|
-
import { ConfigInvalid,
|
|
4
|
+
import { ConfigInvalid, EnvReading } from "@btravstack/config";
|
|
5
5
|
//#region src/s3.d.ts
|
|
6
6
|
/**
|
|
7
7
|
* The adapter's service over a client and a bucket. A delete of a key nobody
|
|
@@ -15,5 +15,5 @@ export declare const s3StorageBackend: (client: S3Client, bucket: string) => Sto
|
|
|
15
15
|
* only through this subpath, so an application composing the memory adapter
|
|
16
16
|
* installs neither.
|
|
17
17
|
*/
|
|
18
|
-
export declare const s3Storage: () => Module<StorageBackend, ConfigInvalid,
|
|
18
|
+
export declare const s3Storage: () => Module<StorageBackend, ConfigInvalid, EnvReading<"STORAGE_S3_ENDPOINT" | "STORAGE_S3_BUCKET" | "STORAGE_S3_ACCESS_KEY_ID" | "STORAGE_S3_SECRET_ACCESS_KEY", "STORAGE_S3_REGION"> | Scope>;
|
|
19
19
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@btravstack/storage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.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.
|
|
59
|
-
"@btravstack/core": "0.
|
|
60
|
-
"@btravstack/di": "0.
|
|
58
|
+
"@btravstack/config": "0.27.0",
|
|
59
|
+
"@btravstack/core": "0.27.0",
|
|
60
|
+
"@btravstack/di": "0.27.0",
|
|
61
61
|
"@btravstack/internal-test-infra": "0.0.0",
|
|
62
|
-
"@btravstack/observability": "0.
|
|
62
|
+
"@btravstack/observability": "0.27.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.
|
|
80
|
-
"@btravstack/core": "^0.
|
|
81
|
-
"@btravstack/di": "^0.
|
|
79
|
+
"@btravstack/config": "^0.27.0",
|
|
80
|
+
"@btravstack/core": "^0.27.0",
|
|
81
|
+
"@btravstack/di": "^0.27.0",
|
|
82
82
|
"unthrown": "^5.0.0"
|
|
83
83
|
},
|
|
84
84
|
"peerDependenciesMeta": {
|