@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.mjs CHANGED
@@ -2125,6 +2125,7 @@ var IngestPipeline = class extends TypedBase {
2125
2125
  if (config.table) {
2126
2126
  const tableConfig = typeof config.table === "object" ? {
2127
2127
  ...config.table,
2128
+ lifeCycle: config.table.lifeCycle ?? config.lifeCycle,
2128
2129
  ...config.version && { version: config.version }
2129
2130
  } : {
2130
2131
  lifeCycle: config.lifeCycle,
@@ -2142,7 +2143,10 @@ var IngestPipeline = class extends TypedBase {
2142
2143
  if (config.deadLetterQueue) {
2143
2144
  const streamConfig = {
2144
2145
  destination: void 0,
2145
- ...typeof config.deadLetterQueue === "object" ? config.deadLetterQueue : {},
2146
+ ...typeof config.deadLetterQueue === "object" ? {
2147
+ ...config.deadLetterQueue,
2148
+ lifeCycle: config.deadLetterQueue.lifeCycle ?? config.lifeCycle
2149
+ } : { lifeCycle: config.lifeCycle },
2146
2150
  ...config.version && { version: config.version }
2147
2151
  };
2148
2152
  this.deadLetterQueue = new DeadLetterQueue(
@@ -2155,7 +2159,10 @@ var IngestPipeline = class extends TypedBase {
2155
2159
  const streamConfig = {
2156
2160
  destination: this.table,
2157
2161
  defaultDeadLetterQueue: this.deadLetterQueue,
2158
- ...typeof config.stream === "object" ? config.stream : { lifeCycle: config.lifeCycle },
2162
+ ...typeof config.stream === "object" ? {
2163
+ ...config.stream,
2164
+ lifeCycle: config.stream.lifeCycle ?? config.lifeCycle
2165
+ } : { lifeCycle: config.lifeCycle },
2159
2166
  ...config.version && { version: config.version }
2160
2167
  };
2161
2168
  this.stream = new Stream(