effortless-aws 0.10.0 → 0.10.1

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.
@@ -226,7 +226,9 @@ var buildDeps = (deps) => {
226
226
  if (!tableName) {
227
227
  throw new Error(`Missing environment variable ${ENV_TABLE_PREFIX}${key} for dep "${key}"`);
228
228
  }
229
- result[key] = createTableClient(tableName);
229
+ const depHandler = deps[key];
230
+ const tagField = depHandler?.__spec?.tagField;
231
+ result[key] = createTableClient(tableName, tagField ? { tagField } : void 0);
230
232
  }
231
233
  return result;
232
234
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createHandlerRuntime
3
- } from "../chunk-HINWSFWC.js";
3
+ } from "../chunk-WGORLS4M.js";
4
4
 
5
5
  // src/runtime/wrap-app.ts
6
6
  import { readFileSync, existsSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createHandlerRuntime
3
- } from "../chunk-HINWSFWC.js";
3
+ } from "../chunk-WGORLS4M.js";
4
4
 
5
5
  // src/runtime/wrap-fifo-queue.ts
6
6
  var parseMessages = (rawRecords, schema) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createHandlerRuntime
3
- } from "../chunk-HINWSFWC.js";
3
+ } from "../chunk-WGORLS4M.js";
4
4
 
5
5
  // src/runtime/wrap-http.ts
6
6
  var CONTENT_TYPE_MAP = {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createHandlerRuntime,
3
3
  createTableClient
4
- } from "../chunk-HINWSFWC.js";
4
+ } from "../chunk-WGORLS4M.js";
5
5
 
6
6
  // src/runtime/wrap-table-stream.ts
7
7
  import { unmarshall } from "@aws-sdk/util-dynamodb";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effortless-aws",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Code-first AWS Lambda framework. Export handlers, deploy with one command.",