@lafken/dynamo 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_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const aws_xray_sdk_1 = require("aws-xray-sdk");
|
|
6
5
|
exports.client = new client_dynamodb_1.DynamoDBClient();
|
|
7
|
-
const getClientWithXRay = () => {
|
|
8
|
-
return (0, aws_xray_sdk_1.captureAWSv3Client)(exports.client);
|
|
9
|
-
};
|
|
10
|
-
exports.getClientWithXRay = getClientWithXRay;
|
|
@@ -19,7 +19,7 @@ const repository_utils_1 = require("./repository.utils");
|
|
|
19
19
|
const createRepository = (model) => {
|
|
20
20
|
const { modelProps, partitionKey, sortKey, fields } = (0, repository_utils_1.getModelInformation)(model);
|
|
21
21
|
const queryBuilderProps = {
|
|
22
|
-
client:
|
|
22
|
+
client: client_1.client,
|
|
23
23
|
fields,
|
|
24
24
|
modelProps,
|
|
25
25
|
partitionKey,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lafken/dynamo",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Define DynamoDB tables using TypeScript decorators - type-safe, declarative infrastructure with Lafken",
|
|
6
6
|
"keywords": [
|
|
@@ -58,9 +58,8 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@aws-sdk/client-dynamodb": "^3.1062.0",
|
|
60
60
|
"@aws-sdk/util-dynamodb": "^3.996.2",
|
|
61
|
-
"aws-xray-sdk": "^3.12.0",
|
|
62
61
|
"reflect-metadata": "^0.2.2",
|
|
63
|
-
"@lafken/resolver": "0.12.
|
|
62
|
+
"@lafken/resolver": "0.12.14"
|
|
64
63
|
},
|
|
65
64
|
"devDependencies": {
|
|
66
65
|
"@cdktn/provider-aws": "^24.4.0",
|
|
@@ -74,13 +73,13 @@
|
|
|
74
73
|
"typescript": "6.0.3",
|
|
75
74
|
"unplugin-swc": "^1.5.9",
|
|
76
75
|
"vitest": "^4.1.8",
|
|
77
|
-
"@lafken/common": "0.12.
|
|
76
|
+
"@lafken/common": "0.12.14"
|
|
78
77
|
},
|
|
79
78
|
"peerDependencies": {
|
|
80
79
|
"@cdktn/provider-aws": ">=23.0.0",
|
|
81
80
|
"cdktn": ">=0.22.0",
|
|
82
81
|
"constructs": "^10.4.5",
|
|
83
|
-
"@lafken/common": "0.12.
|
|
82
|
+
"@lafken/common": "0.12.14"
|
|
84
83
|
},
|
|
85
84
|
"engines": {
|
|
86
85
|
"node": ">=20.19"
|