rian 0.0.2-alpha.4 → 0.0.2-alpha.8

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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +2 -2
package/index.js CHANGED
@@ -26,7 +26,7 @@ const create = (name, options) => {
26
26
  const spans = new Set();
27
27
  const promises = [];
28
28
  const scope = (name, parent) => {
29
- const me = parent ? parent.child() : tracecontext.make_traceparent();
29
+ const me = parent ? parent.child() : tracecontext.make_traceparent(true);
30
30
  const attributes = {};
31
31
  const start = Date.now();
32
32
  let ended = false;
package/index.mjs CHANGED
@@ -24,7 +24,7 @@ const create = (name, options) => {
24
24
  const spans = new Set();
25
25
  const promises = [];
26
26
  const scope = (name, parent) => {
27
- const me = parent ? parent.child() : make_traceparent();
27
+ const me = parent ? parent.child() : make_traceparent(true);
28
28
  const attributes = {};
29
29
  const start = Date.now();
30
30
  let ended = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rian",
3
- "version": "0.0.2-alpha.4",
3
+ "version": "0.0.2-alpha.8",
4
4
  "description": "A tracer for the edge",
5
5
  "keywords": [
6
6
  "TODO"
@@ -34,6 +34,6 @@
34
34
  "*.d.ts"
35
35
  ],
36
36
  "dependencies": {
37
- "tctx": "^0.0.6"
37
+ "tctx": "^0.0.9"
38
38
  }
39
39
  }