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

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
@@ -7808,7 +7808,7 @@ var SpanUtils = class SpanUtils {
7808
7808
  }
7809
7809
  }
7810
7810
  const span = tracer.startSpan(options.name, {
7811
- kind: options.kind || import_src$35.SpanKind.CLIENT,
7811
+ kind: options.kind ?? import_src$35.SpanKind.CLIENT,
7812
7812
  attributes: options.attributes || {}
7813
7813
  }, parentContext);
7814
7814
  const spanContext = span.spanContext();
@@ -25959,7 +25959,7 @@ var SpanTransformer = class SpanTransformer {
25959
25959
  packageName,
25960
25960
  instrumentationName,
25961
25961
  submoduleName: submoduleName || "",
25962
- packageType: attributes[TdSpanAttributes.PACKAGE_TYPE] || void 0,
25962
+ packageType: attributes[TdSpanAttributes.PACKAGE_TYPE] ?? void 0,
25963
25963
  environment,
25964
25964
  inputValue: inputData,
25965
25965
  outputValue: outputData,
@@ -26453,7 +26453,7 @@ var ApiSpanAdapter = class {
26453
26453
  packageName: cleanSpan.packageName,
26454
26454
  instrumentationName: cleanSpan.instrumentationName,
26455
26455
  submoduleName: cleanSpan.submoduleName,
26456
- packageType: cleanSpan.packageType || PackageType.UNSPECIFIED,
26456
+ packageType: cleanSpan.packageType ?? PackageType.UNSPECIFIED,
26457
26457
  environment: this.environment,
26458
26458
  inputValue: toStruct(cleanSpan.inputValue),
26459
26459
  outputValue: toStruct(cleanSpan.outputValue),
@@ -33735,7 +33735,7 @@ var require_src = /* @__PURE__ */ __commonJS({ "node_modules/@opentelemetry/sdk-
33735
33735
  //#endregion
33736
33736
  //#region package.json
33737
33737
  var import_src$1 = /* @__PURE__ */ __toESM(require_src(), 1);
33738
- var version = "0.1.29";
33738
+ var version = "0.1.30";
33739
33739
 
33740
33740
  //#endregion
33741
33741
  //#region src/version.ts