Skip to content

Commit

Permalink
fix(esm): small lambda esm fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Jan 3, 2025
1 parent fc43163 commit d780b10
Show file tree
Hide file tree
Showing 4 changed files with 5,349 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from '@aws-sdk/client-sagemaker-runtime'; // ES Modules import
import { Agent } from 'http';
import { NodeHttpHandler } from '@smithy/node-http-handler';
import { config } from './config';
import { config } from './config.ts';
import * as Sentry from '@sentry/aws-serverless';
import { ParserResult } from './types';
import { ParserResult } from './types.ts';
import { ConfiguredRetryStrategy } from '@smithy/util-retry';

let _sagemakerClient: SageMakerRuntimeClient;
Expand Down
6 changes: 3 additions & 3 deletions lambdas/user-list-search-indexing/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { handler as itemDeleteHandler } from './itemDelete';
export { handler as itemUpdateHandler } from './itemUpdate';
export { handler as userListImportHandler } from './userListImport';
export { handler as itemDeleteHandler } from './itemDelete.ts';
export { handler as itemUpdateHandler } from './itemUpdate.ts';
export { handler as userListImportHandler } from './userListImport.ts';
1 change: 0 additions & 1 deletion lambdas/user-list-search-kinesis-to-sqs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "tsconfig/lambda.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "dist",
},
"exclude": ["node_modules", "jest.config.js", "jest.setup.js"],
Expand Down
Loading

0 comments on commit d780b10

Please sign in to comment.