rian 0.0.2-alpha.11 → 0.0.2-alpha.12

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts CHANGED
@@ -126,7 +126,7 @@ interface Scope {
126
126
  set_context(context: Context): void;
127
127
  end(): void;
128
128
  }
129
- interface Tracer {
129
+ interface Tracer extends Pick<Scope, 'traceparent'> {
130
130
  /**
131
131
  * @borrows {@link Scope.fork}
132
132
  */
package/index.js CHANGED
@@ -106,6 +106,7 @@ const create = (name, options) => {
106
106
  ? tctx__namespace.parse(options.traceparent)
107
107
  : undefined);
108
108
  return {
109
+ traceparent: root.traceparent,
109
110
  span: root.fork.bind(root),
110
111
  measure: root.measure.bind(root),
111
112
  async end() {
package/index.mjs CHANGED
@@ -84,6 +84,7 @@ const create = (name, options) => {
84
84
  ? tctx.parse(options.traceparent)
85
85
  : undefined);
86
86
  return {
87
+ traceparent: root.traceparent,
87
88
  span: root.fork.bind(root),
88
89
  measure: root.measure.bind(root),
89
90
  async end() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rian",
3
- "version": "0.0.2-alpha.11",
3
+ "version": "0.0.2-alpha.12",
4
4
  "description": "A tracer for the edge",
5
5
  "keywords": [
6
6
  "TODO"