@wrongstack/governance 0.317.2 → 0.318.0

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
@@ -3947,7 +3947,10 @@ var SqliteVerificationLedger = class {
3947
3947
  this.#db.exec("COMMIT");
3948
3948
  return deepFreeze2({ recorded: true, snapshot });
3949
3949
  } catch (error) {
3950
- this.#db.exec("ROLLBACK");
3950
+ try {
3951
+ this.#db.exec("ROLLBACK");
3952
+ } catch {
3953
+ }
3951
3954
  throw error;
3952
3955
  }
3953
3956
  }
@@ -4049,7 +4052,10 @@ var SqliteVerificationLedger = class {
4049
4052
  credential: { leaseId, secret }
4050
4053
  });
4051
4054
  } catch (error) {
4052
- this.#db.exec("ROLLBACK");
4055
+ try {
4056
+ this.#db.exec("ROLLBACK");
4057
+ } catch {
4058
+ }
4053
4059
  throw error;
4054
4060
  }
4055
4061
  }
@@ -4321,7 +4327,10 @@ var SqliteVerificationLedger = class {
4321
4327
  }
4322
4328
  });
4323
4329
  } catch (error) {
4324
- this.#db.exec("ROLLBACK");
4330
+ try {
4331
+ this.#db.exec("ROLLBACK");
4332
+ } catch {
4333
+ }
4325
4334
  throw error;
4326
4335
  }
4327
4336
  }
@@ -2441,7 +2441,10 @@ var SqliteVerificationLedger = class {
2441
2441
  this.#db.exec("COMMIT");
2442
2442
  return deepFreeze2({ recorded: true, snapshot });
2443
2443
  } catch (error) {
2444
- this.#db.exec("ROLLBACK");
2444
+ try {
2445
+ this.#db.exec("ROLLBACK");
2446
+ } catch {
2447
+ }
2445
2448
  throw error;
2446
2449
  }
2447
2450
  }
@@ -2543,7 +2546,10 @@ var SqliteVerificationLedger = class {
2543
2546
  credential: { leaseId, secret }
2544
2547
  });
2545
2548
  } catch (error) {
2546
- this.#db.exec("ROLLBACK");
2549
+ try {
2550
+ this.#db.exec("ROLLBACK");
2551
+ } catch {
2552
+ }
2547
2553
  throw error;
2548
2554
  }
2549
2555
  }
@@ -2815,7 +2821,10 @@ var SqliteVerificationLedger = class {
2815
2821
  }
2816
2822
  });
2817
2823
  } catch (error) {
2818
- this.#db.exec("ROLLBACK");
2824
+ try {
2825
+ this.#db.exec("ROLLBACK");
2826
+ } catch {
2827
+ }
2819
2828
  throw error;
2820
2829
  }
2821
2830
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/governance",
3
- "version": "0.317.2",
3
+ "version": "0.318.0",
4
4
  "license": "MIT",
5
5
  "description": "Deterministic workflow contracts and transition policy for WrongStack orchestration.",
6
6
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "README.md"
28
28
  ],
29
29
  "dependencies": {
30
- "@wrongstack/persistence": "0.317.2"
30
+ "@wrongstack/persistence": "0.318.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^26.2.0",