Skip to content

Commit 4df6082

Browse files
committed
file extensions
1 parent 478f474 commit 4df6082

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77

8-
## [0.2.12] 2023-09-04
8+
## [0.2.13] 2023-09-04
99

1010
- add cjs to extension for otel extension so it loads in all node environments
1111
-

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@baselime/lambda-node-opentelemetry",
3-
"version": "0.2.12",
3+
"version": "0.2.13",
44
"description": "OpenTelemetry auto tracer for Node.JS based AWS Lambda functions",
55
"types": "index.d.ts",
66
"main": "index.js",
@@ -11,7 +11,7 @@
1111
"opentelemetry"
1212
],
1313
"files": [
14-
"lambda-wrapper.js",
14+
"lambda-wrapper.cjs",
1515
"index.js",
1616
"index.d.ts"
1717
],
@@ -23,7 +23,7 @@
2323
"build:cjs": "esbuild src/handler.cjs --bundle --minify --platform=node --target=node18 --outfile=dist/handler.cjs --metafile=meta.json --format=cjs",
2424
"distribute": "mkdir -p layer-dir/nodejs/node_modules/@baselime/lambda-node-opentelemetry && cp -r dist/* layer-dir/nodejs/node_modules/@baselime/lambda-node-opentelemetry && cp -r dist/* .",
2525
"build:tracer": "esbuild src/lambda-wrapper.ts --bundle --minify --platform=node --target=node18 --format=cjs --outfile=dist/lambda-wrapper.cjs --metafile=meta.json",
26-
"build:wrapper": "esbuild src/index.ts --bundle --minify --platform=node --target=node18 --format=cjs --outfile=dist/index.cjs --metafile=meta.json",
26+
"build:wrapper": "esbuild src/index.ts --bundle --minify --platform=node --target=node18 --format=cjs --outfile=dist/index.js --metafile=meta.json",
2727
"build": "npm run build:handler && npm run build:tracer && npm run build:wrapper && npm run tsc && npm run distribute",
2828
"deploy": "sst deploy",
2929
"deploy:uat": "npm run build && npx tsx multi-region-deploy.ts uat",

0 commit comments

Comments
 (0)