@cosmicdrift/kumiko-bundled-features 0.215.4 → 0.215.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-bundled-features",
3
- "version": "0.215.4",
3
+ "version": "0.215.5",
4
4
  "description": "Built-in features — tenant, user, auth, delivery. The stuff you'd rewrite anyway, already typed.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -126,12 +126,12 @@
126
126
  "./step-dispatcher": "./src/step-dispatcher/index.ts"
127
127
  },
128
128
  "dependencies": {
129
- "@cosmicdrift/kumiko-dispatcher-live": "0.215.4",
130
- "@cosmicdrift/kumiko-framework": "0.215.4",
131
- "@cosmicdrift/kumiko-headless": "0.215.4",
132
- "@cosmicdrift/kumiko-renderer": "0.215.4",
133
- "@cosmicdrift/kumiko-renderer-web": "0.215.4",
134
- "@cosmicdrift/kumiko-types": "0.215.4",
129
+ "@cosmicdrift/kumiko-dispatcher-live": "0.215.5",
130
+ "@cosmicdrift/kumiko-framework": "0.215.5",
131
+ "@cosmicdrift/kumiko-headless": "0.215.5",
132
+ "@cosmicdrift/kumiko-renderer": "0.215.5",
133
+ "@cosmicdrift/kumiko-renderer-web": "0.215.5",
134
+ "@cosmicdrift/kumiko-types": "0.215.5",
135
135
  "@mollie/api-client": "^4.5.0",
136
136
  "@node-rs/argon2": "^2.0.2",
137
137
  "@types/mailparser": "^3.4.6",
@@ -160,6 +160,6 @@
160
160
  "devDependencies": {
161
161
  "@testing-library/user-event": "^14.6.1",
162
162
  "@types/qrcode": "^1.5.5",
163
- "@cosmicdrift/kumiko-locale-de": "0.215.4"
163
+ "@cosmicdrift/kumiko-locale-de": "0.215.5"
164
164
  }
165
165
  }
@@ -266,7 +266,9 @@ export function createJobRunLogger(opts: JobRunLoggerOptions): JobRunLoggerCallb
266
266
  // worker). The row already has started_at from onJobStart.
267
267
  const row = await fetchOne<{ startedAt: Temporal.Instant }>(db, jobRunsTable, { id: runId });
268
268
  const now = Temporal.Now.instant();
269
- const duration = row ? Number(now.since(row.startedAt).total({ unit: "millisecond" })) : 0;
269
+ const duration = row
270
+ ? Math.round(Number(now.since(row.startedAt).total({ unit: "millisecond" })))
271
+ : 0;
270
272
  const payload = runFailedSchema.parse({
271
273
  duration,
272
274
  finishedAt: now.toString(),
@@ -519,7 +519,7 @@ async function runInSubTransaction(
519
519
  begin?: (f: (tx: DbRunner) => Promise<void>) => Promise<void>;
520
520
  savepoint?: (f: (tx: DbRunner) => Promise<void>) => Promise<void>;
521
521
  };
522
- // savepoint-FIRST — empirisch (Bun 1.3.14) sind die Flächen NICHT
522
+ // savepoint-FIRST — empirisch (Bun 1.4.0) sind die Flächen NICHT
523
523
  // mutually exclusive: eine TransactionSql exposed begin UND savepoint,
524
524
  // nur die Top-Level-Connection hat ausschließlich begin. begin-first
525
525
  // wählte im Tx-Fall das nested BEGIN (Prod-Incident-Klasse, s. Header);