@btravstack/core 0.15.0 → 0.16.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.d.cts CHANGED
@@ -257,11 +257,15 @@ type Operation = {
257
257
  /**
258
258
  * Whether a tracing observer should open a span (default `true`).
259
259
  *
260
- * `false` is for a component whose spans already come from somewhere better:
261
- * `@btravstack/prisma` says so because `@prisma/instrumentation` traces at the
262
- * ENGINE level — the real SQL, the connection acquisition — all of it below
263
- * what a client-level wrapper can see, so a second span would cost one more
264
- * per query for strictly less information. Counting and timing still happen.
260
+ * `false` is for a component whose spans already come from somewhere better —
261
+ * a vendor tracer reaching below what the contributor can see, where a second
262
+ * span would cost one more per operation for strictly less information.
263
+ * Counting and timing still happen.
264
+ *
265
+ * **No starter here passes `false` today.** `@btravstack/prisma` did, while
266
+ * Prisma 7's engine-level `@prisma/instrumentation` was the better source;
267
+ * Prisma 8 has no engine and ships no tracer, so its middleware is the only
268
+ * span there is and it opens one.
265
269
  *
266
270
  * Whether a span is worth opening is the CONTRIBUTOR's knowledge, which is
267
271
  * why it rides the operation rather than being configured on the observer.
package/dist/index.d.mts CHANGED
@@ -257,11 +257,15 @@ type Operation = {
257
257
  /**
258
258
  * Whether a tracing observer should open a span (default `true`).
259
259
  *
260
- * `false` is for a component whose spans already come from somewhere better:
261
- * `@btravstack/prisma` says so because `@prisma/instrumentation` traces at the
262
- * ENGINE level — the real SQL, the connection acquisition — all of it below
263
- * what a client-level wrapper can see, so a second span would cost one more
264
- * per query for strictly less information. Counting and timing still happen.
260
+ * `false` is for a component whose spans already come from somewhere better —
261
+ * a vendor tracer reaching below what the contributor can see, where a second
262
+ * span would cost one more per operation for strictly less information.
263
+ * Counting and timing still happen.
264
+ *
265
+ * **No starter here passes `false` today.** `@btravstack/prisma` did, while
266
+ * Prisma 7's engine-level `@prisma/instrumentation` was the better source;
267
+ * Prisma 8 has no engine and ships no tracer, so its middleware is the only
268
+ * span there is and it opens one.
265
269
  *
266
270
  * Whether a span is worth opening is the CONTRIBUTOR's knowledge, which is
267
271
  * why it rides the operation rather than being configured on the observer.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@btravstack/core",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "The application kernel: boot a di module into a running process, and stop it without losing work",
5
5
  "keywords": [
6
6
  "application",
@@ -45,8 +45,8 @@
45
45
  "./package.json": "./package.json"
46
46
  },
47
47
  "devDependencies": {
48
- "@btravstack/config": "0.15.0",
49
- "@btravstack/di": "0.15.0",
48
+ "@btravstack/config": "0.16.0",
49
+ "@btravstack/di": "0.16.0",
50
50
  "@btravstack/tsconfig": "0.4.0",
51
51
  "@types/node": "26.4.1",
52
52
  "@unthrown/vitest": "5.8.0",
@@ -57,8 +57,8 @@
57
57
  "vitest": "4.1.11"
58
58
  },
59
59
  "peerDependencies": {
60
- "@btravstack/config": "^0.15.0",
61
- "@btravstack/di": "^0.15.0",
60
+ "@btravstack/config": "^0.16.0",
61
+ "@btravstack/di": "^0.16.0",
62
62
  "unthrown": "^5.0.0"
63
63
  },
64
64
  "engines": {