@swydo/byol 3.1.0 → 3.1.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 3.1.2 (2025-01-25)
7
+
8
+ **Note:** Version bump only for package @swydo/byol
9
+
10
+
11
+
12
+
13
+
14
+ ## 3.1.1 (2025-01-10)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **byol:** convert timeout to ms ([02e6a7a](https://github.com/Swydo/byol/commit/02e6a7a89a823deb911bff9defe996549f6aea6b))
20
+
21
+
22
+
23
+
24
+
6
25
  # 3.1.0 (2025-01-10)
7
26
 
8
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swydo/byol",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "Bring Your Own Lambda",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -22,10 +22,10 @@
22
22
  "yaml-cfn": "^0.3.1"
23
23
  },
24
24
  "devDependencies": {
25
- "aws-xray-sdk-core": "3.10.2"
25
+ "aws-xray-sdk-core": "3.10.3"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "aws-xray-sdk-core": "^3.0.0"
29
29
  },
30
- "gitHead": "43c81136c882976986246bddd4ac52825fa277c5"
30
+ "gitHead": "d25f8196d540a1a53be55505619dbc9308774a1a"
31
31
  }
@@ -81,12 +81,12 @@ async function callHandler({
81
81
  const absoluteIndexPath = path.join(process.cwd(), indexPath);
82
82
 
83
83
  const { [handlerName]: handler } = await import(absoluteIndexPath);
84
- const executionTimeOut = new Date() + timeOut;
84
+ const executionTimeOut = new Date().getTime() + (timeOut * 1000);
85
85
 
86
86
  const awsContext = {
87
87
  awsRequestId: generateRequestId(),
88
88
  getRemainingTimeInMillis() {
89
- return executionTimeOut - new Date();
89
+ return executionTimeOut - new Date().getTime();
90
90
  },
91
91
  };
92
92