@514labs/moose-lib 0.6.264 → 0.6.265

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/dist/index.js CHANGED
@@ -2229,6 +2229,7 @@ var IngestPipeline = class extends TypedBase {
2229
2229
  if (config.table) {
2230
2230
  const tableConfig = typeof config.table === "object" ? {
2231
2231
  ...config.table,
2232
+ lifeCycle: config.table.lifeCycle ?? config.lifeCycle,
2232
2233
  ...config.version && { version: config.version }
2233
2234
  } : {
2234
2235
  lifeCycle: config.lifeCycle,
@@ -2246,7 +2247,10 @@ var IngestPipeline = class extends TypedBase {
2246
2247
  if (config.deadLetterQueue) {
2247
2248
  const streamConfig = {
2248
2249
  destination: void 0,
2249
- ...typeof config.deadLetterQueue === "object" ? config.deadLetterQueue : {},
2250
+ ...typeof config.deadLetterQueue === "object" ? {
2251
+ ...config.deadLetterQueue,
2252
+ lifeCycle: config.deadLetterQueue.lifeCycle ?? config.lifeCycle
2253
+ } : { lifeCycle: config.lifeCycle },
2250
2254
  ...config.version && { version: config.version }
2251
2255
  };
2252
2256
  this.deadLetterQueue = new DeadLetterQueue(
@@ -2259,7 +2263,10 @@ var IngestPipeline = class extends TypedBase {
2259
2263
  const streamConfig = {
2260
2264
  destination: this.table,
2261
2265
  defaultDeadLetterQueue: this.deadLetterQueue,
2262
- ...typeof config.stream === "object" ? config.stream : { lifeCycle: config.lifeCycle },
2266
+ ...typeof config.stream === "object" ? {
2267
+ ...config.stream,
2268
+ lifeCycle: config.stream.lifeCycle ?? config.lifeCycle
2269
+ } : { lifeCycle: config.lifeCycle },
2263
2270
  ...config.version && { version: config.version }
2264
2271
  };
2265
2272
  this.stream = new Stream(