@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.js CHANGED
@@ -7797,7 +7797,7 @@ var SpanUtils = class SpanUtils {
7797
7797
  }
7798
7798
  }
7799
7799
  const span = tracer.startSpan(options.name, {
7800
- kind: options.kind || import_src$35.SpanKind.CLIENT,
7800
+ kind: options.kind ?? import_src$35.SpanKind.CLIENT,
7801
7801
  attributes: options.attributes || {}
7802
7802
  }, parentContext);
7803
7803
  const spanContext = span.spanContext();
@@ -25948,7 +25948,7 @@ var SpanTransformer = class SpanTransformer {
25948
25948
  packageName,
25949
25949
  instrumentationName,
25950
25950
  submoduleName: submoduleName || "",
25951
- packageType: attributes[TdSpanAttributes.PACKAGE_TYPE] || void 0,
25951
+ packageType: attributes[TdSpanAttributes.PACKAGE_TYPE] ?? void 0,
25952
25952
  environment,
25953
25953
  inputValue: inputData,
25954
25954
  outputValue: outputData,
@@ -26442,7 +26442,7 @@ var ApiSpanAdapter = class {
26442
26442
  packageName: cleanSpan.packageName,
26443
26443
  instrumentationName: cleanSpan.instrumentationName,
26444
26444
  submoduleName: cleanSpan.submoduleName,
26445
- packageType: cleanSpan.packageType || PackageType.UNSPECIFIED,
26445
+ packageType: cleanSpan.packageType ?? PackageType.UNSPECIFIED,
26446
26446
  environment: this.environment,
26447
26447
  inputValue: toStruct(cleanSpan.inputValue),
26448
26448
  outputValue: toStruct(cleanSpan.outputValue),
@@ -33724,7 +33724,7 @@ var require_src = /* @__PURE__ */ __commonJS({ "node_modules/@opentelemetry/sdk-
33724
33724
  //#endregion
33725
33725
  //#region package.json
33726
33726
  var import_src$1 = /* @__PURE__ */ __toESM(require_src(), 1);
33727
- var version = "0.1.29";
33727
+ var version = "0.1.30";
33728
33728
 
33729
33729
  //#endregion
33730
33730
  //#region src/version.ts