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
|
-
|
|
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
|
};
|
package/dist/runtime/wrap-app.js
CHANGED