@lafken/bucket 0.12.13 → 0.12.14
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.
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.client = void 0;
|
|
4
4
|
const client_s3_1 = require("@aws-sdk/client-s3");
|
|
5
|
-
const aws_xray_sdk_1 = require("aws-xray-sdk");
|
|
6
5
|
exports.client = new client_s3_1.S3Client();
|
|
7
|
-
const getClientWithXRay = () => {
|
|
8
|
-
return (0, aws_xray_sdk_1.captureAWSv3Client)(exports.client);
|
|
9
|
-
};
|
|
10
|
-
exports.getClientWithXRay = getClientWithXRay;
|
|
@@ -6,7 +6,7 @@ const client_1 = require("../client/client");
|
|
|
6
6
|
const repository_utils_1 = require("./repository.utils");
|
|
7
7
|
const createRepository = (bucket) => {
|
|
8
8
|
const { name, tracing } = (0, repository_utils_1.getBucketInformation)(bucket);
|
|
9
|
-
const bucketClient =
|
|
9
|
+
const bucketClient = client_1.client;
|
|
10
10
|
return {
|
|
11
11
|
putObject(props) {
|
|
12
12
|
const command = new client_s3_1.PutObjectCommand({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lafken/bucket",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Define S3 buckets using TypeScript decorators - automatic infrastructure generation with Lafken",
|
|
6
6
|
"keywords": [
|
|
@@ -56,9 +56,8 @@
|
|
|
56
56
|
"lib"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"aws-xray-sdk": "^3.12.0",
|
|
60
59
|
"reflect-metadata": "^0.2.2",
|
|
61
|
-
"@lafken/resolver": "0.12.
|
|
60
|
+
"@lafken/resolver": "0.12.14"
|
|
62
61
|
},
|
|
63
62
|
"devDependencies": {
|
|
64
63
|
"@aws-sdk/client-s3": "^3.1062.0",
|
|
@@ -72,13 +71,13 @@
|
|
|
72
71
|
"typescript": "6.0.3",
|
|
73
72
|
"unplugin-swc": "^1.5.9",
|
|
74
73
|
"vitest": "^4.1.8",
|
|
75
|
-
"@lafken/common": "0.12.
|
|
74
|
+
"@lafken/common": "0.12.14"
|
|
76
75
|
},
|
|
77
76
|
"peerDependencies": {
|
|
78
77
|
"@cdktn/provider-aws": ">=23.0.0",
|
|
79
78
|
"cdktn": ">=0.22.0",
|
|
80
79
|
"constructs": "^10.4.5",
|
|
81
|
-
"@lafken/common": "0.12.
|
|
80
|
+
"@lafken/common": "0.12.14"
|
|
82
81
|
},
|
|
83
82
|
"engines": {
|
|
84
83
|
"node": ">=20.19"
|