@go-to-k/cdkd 0.262.1 → 0.262.2

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/cli.js CHANGED
@@ -1901,7 +1901,7 @@ const FLUSH_INTERVAL_MS = 2e3;
1901
1901
  const FLUSH_EVENT_THRESHOLD = 50;
1902
1902
  /** Build-time cdkd version, with a dev fallback for non-built contexts. */
1903
1903
  function getCdkdVersion() {
1904
- return "0.262.1";
1904
+ return "0.262.2";
1905
1905
  }
1906
1906
  /**
1907
1907
  * Generate a time-sortable unique run id, e.g.
@@ -9785,12 +9785,16 @@ var LambdaEventSourceMappingProvider = class {
9785
9785
  const raw = properties["StartingPositionTimestamp"];
9786
9786
  params.StartingPositionTimestamp = typeof raw === "number" ? /* @__PURE__ */ new Date(raw * 1e3) : raw instanceof Date ? raw : new Date(raw);
9787
9787
  }
9788
- const uuid = (await this.lambdaClient.send(new CreateEventSourceMappingCommand(params))).UUID;
9788
+ const response = await this.lambdaClient.send(new CreateEventSourceMappingCommand(params));
9789
+ const uuid = response.UUID;
9789
9790
  if (!uuid) throw new Error("CreateEventSourceMapping did not return UUID");
9790
9791
  this.logger.debug(`Successfully created event source mapping ${logicalId}: ${uuid}`);
9791
9792
  return {
9792
9793
  physicalId: uuid,
9793
- attributes: { Id: uuid }
9794
+ attributes: {
9795
+ Id: uuid,
9796
+ EventSourceMappingArn: response.EventSourceMappingArn
9797
+ }
9794
9798
  };
9795
9799
  } catch (error) {
9796
9800
  const cause = error instanceof Error ? error : void 0;
@@ -9840,13 +9844,17 @@ var LambdaEventSourceMappingProvider = class {
9840
9844
  if (wasSet("TumblingWindowInSeconds")) updateParams.TumblingWindowInSeconds = 0;
9841
9845
  }
9842
9846
  if (wasSet("MaximumBatchingWindowInSeconds") && KINDS_WITH_ZERO_BATCHING_WINDOW_DEFAULT.has(prevKind)) updateParams.MaximumBatchingWindowInSeconds = 0;
9843
- const eventSourceMappingArn = (await this.lambdaClient.send(new UpdateEventSourceMappingCommand(updateParams))).EventSourceMappingArn;
9847
+ const updateResp = await this.lambdaClient.send(new UpdateEventSourceMappingCommand(updateParams));
9848
+ const eventSourceMappingArn = updateResp.EventSourceMappingArn;
9844
9849
  if (eventSourceMappingArn) await this.applyTagDiff(eventSourceMappingArn, previousProperties["Tags"], properties["Tags"]);
9845
9850
  this.logger.debug(`Successfully updated event source mapping ${logicalId}`);
9846
9851
  return {
9847
9852
  physicalId,
9848
9853
  wasReplaced: false,
9849
- attributes: { Id: physicalId }
9854
+ attributes: {
9855
+ Id: physicalId,
9856
+ EventSourceMappingArn: updateResp.EventSourceMappingArn
9857
+ }
9850
9858
  };
9851
9859
  }
9852
9860
  /**
@@ -62076,7 +62084,7 @@ function createMigrateCommand() {
62076
62084
  */
62077
62085
  function buildProgram() {
62078
62086
  const program = new Command();
62079
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.262.1");
62087
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.262.2");
62080
62088
  program.addCommand(createBootstrapCommand());
62081
62089
  program.addCommand(createSynthCommand());
62082
62090
  program.addCommand(createListCommand());