@pgxsinkit/client 0.2.3 → 0.2.4

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
@@ -8464,7 +8464,11 @@ function createElectionCoordinator(deps, options) {
8464
8464
  }
8465
8465
  onGranted();
8466
8466
  });
8467
- deps.locks.request(lockName, { signal: controller.signal }, callback);
8467
+ deps.locks.request(lockName, { signal: controller.signal }, callback).catch((error) => {
8468
+ if (controller.signal.aborted && error instanceof Error && error.name === "AbortError")
8469
+ return;
8470
+ throw error;
8471
+ });
8468
8472
  }
8469
8473
  function settleGrant() {
8470
8474
  const resolve = grantSettle;
@@ -11507,4 +11511,4 @@ export {
11507
11511
  BRIDGE_CHANNEL
11508
11512
  };
11509
11513
 
11510
- //# debugId=2E0B3932787BD9A964756E2164756E21
11514
+ //# debugId=582CBA608D95429364756E2164756E21