@aws/durable-execution-sdk-js 1.1.0 → 1.1.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/index.mjs CHANGED
@@ -3550,6 +3550,11 @@ class CheckpointManager {
3550
3550
  else {
3551
3551
  // Queue is empty and processing is done - notify all waiting promises
3552
3552
  this.notifyQueueCompletion();
3553
+ // Re-evaluate termination now that the queue is empty, unless
3554
+ // a termination cooldown is already in progress.
3555
+ if (!this.terminationTimer) {
3556
+ this.checkAndTerminate();
3557
+ }
3553
3558
  }
3554
3559
  }
3555
3560
  }
@@ -4240,7 +4245,7 @@ const createDefaultLogger = (executionContext) => {
4240
4245
  * SDK metadata injected by Rollup at build time from package.json.
4241
4246
  *
4242
4247
  * At build time, Rollup replaces "@aws/durable-execution-sdk-js" and
4243
- * "1.1.0" with actual values from package.json.
4248
+ * "1.1.2" with actual values from package.json.
4244
4249
  *
4245
4250
  * Defaults are provided for test environments where Rollup doesn't run
4246
4251
  * and process.env values are undefined.
@@ -4248,7 +4253,7 @@ const createDefaultLogger = (executionContext) => {
4248
4253
  * @internal
4249
4254
  */
4250
4255
  const SDK_NAME = "@aws/durable-execution-sdk-js";
4251
- const SDK_VERSION = "1.1.0";
4256
+ const SDK_VERSION = "1.1.2";
4252
4257
 
4253
4258
  let defaultLambdaClient;
4254
4259
  /**