@lark-apaas/observable 1.0.3-alpha.3 → 1.0.3-alpha.5
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 +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -8844,7 +8844,7 @@ __name(hrTimeToNanosNumber, "hrTimeToNanosNumber");
|
|
|
8844
8844
|
|
|
8845
8845
|
// package.json
|
|
8846
8846
|
var package_default = {
|
|
8847
|
-
version: "1.0.3-alpha.
|
|
8847
|
+
version: "1.0.3-alpha.4"};
|
|
8848
8848
|
|
|
8849
8849
|
// src/const.ts
|
|
8850
8850
|
var AppEnv = /* @__PURE__ */ (function(AppEnv2) {
|
|
@@ -8962,7 +8962,12 @@ var CustomTraceExporter = class {
|
|
|
8962
8962
|
app_env: isDev ? AppEnv.Dev : AppEnv.Prod
|
|
8963
8963
|
};
|
|
8964
8964
|
const finalSpans = spans.filter((span) => !(span.attributes ?? {})[TraceDropToken]);
|
|
8965
|
-
if (!finalSpans.length)
|
|
8965
|
+
if (!finalSpans.length) {
|
|
8966
|
+
resultCallback({
|
|
8967
|
+
code: core.ExportResultCode.SUCCESS
|
|
8968
|
+
});
|
|
8969
|
+
return;
|
|
8970
|
+
}
|
|
8966
8971
|
const otlpLikeStructure = {
|
|
8967
8972
|
resource: {
|
|
8968
8973
|
attributes: {
|