@use-tusk/drift-node-sdk 0.1.28 → 0.1.29

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.cjs CHANGED
@@ -26033,7 +26033,10 @@ var FilesystemSpanAdapter = class {
26033
26033
  filePath = path.join(this.baseDirectory, `${isoTimestamp}_trace_${traceId}.jsonl`);
26034
26034
  this.traceFileMap.set(traceId, filePath);
26035
26035
  }
26036
- const jsonLine = JSON.stringify(span) + "\n";
26036
+ const jsonLine = JSON.stringify({
26037
+ ...span,
26038
+ kind: mapOtToPb(span.kind)
26039
+ }) + "\n";
26037
26040
  fs.appendFileSync(filePath, jsonLine, "utf8");
26038
26041
  }
26039
26042
  logger.debug(`Exported ${spans.length} span(s) to trace-specific files in ${this.baseDirectory}`);
@@ -33732,7 +33735,7 @@ var require_src = /* @__PURE__ */ __commonJS({ "node_modules/@opentelemetry/sdk-
33732
33735
  //#endregion
33733
33736
  //#region package.json
33734
33737
  var import_src$1 = /* @__PURE__ */ __toESM(require_src(), 1);
33735
- var version = "0.1.28";
33738
+ var version = "0.1.29";
33736
33739
 
33737
33740
  //#endregion
33738
33741
  //#region src/version.ts