@lmnr-ai/lmnr 0.8.14 → 0.8.15
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/cli/worker/index.cjs +2 -2
- package/dist/cli/worker/index.mjs +2 -2
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/{decorators-BCp6igVU.cjs → decorators-3eymlrhN.cjs} +6 -4
- package/dist/decorators-3eymlrhN.cjs.map +1 -0
- package/dist/{decorators-aXz5dwp6.mjs → decorators-wqpLlF8r.mjs} +6 -4
- package/dist/decorators-wqpLlF8r.mjs.map +1 -0
- package/dist/{dist-EINn4znP.cjs → dist-Cb-MUllF.cjs} +3 -3
- package/dist/{dist-EINn4znP.cjs.map → dist-Cb-MUllF.cjs.map} +1 -1
- package/dist/{dist-COYSvnG7.mjs → dist-D2Hc4Ga3.mjs} +3 -3
- package/dist/{dist-COYSvnG7.mjs.map → dist-D2Hc4Ga3.mjs.map} +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +5 -5
- package/dist/decorators-BCp6igVU.cjs.map +0 -1
- package/dist/decorators-aXz5dwp6.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require('../../chunk-BrXtsOCC.cjs');
|
|
2
|
-
require('../../dist-
|
|
2
|
+
require('../../dist-Cb-MUllF.cjs');
|
|
3
3
|
require('../../utils-T0X7Cm0l.cjs');
|
|
4
|
-
const require_decorators = require('../../decorators-
|
|
4
|
+
const require_decorators = require('../../decorators-3eymlrhN.cjs');
|
|
5
5
|
const require_cli_worker_build = require('./build.cjs');
|
|
6
6
|
let readline = require("readline");
|
|
7
7
|
readline = require_chunk.__toESM(readline);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../dist-
|
|
1
|
+
import "../../dist-D2Hc4Ga3.mjs";
|
|
2
2
|
import "../../utils-CB2ySBpN.mjs";
|
|
3
|
-
import { l as Laminar, p as consumeStreamResult } from "../../decorators-
|
|
3
|
+
import { l as Laminar, p as consumeStreamResult } from "../../decorators-wqpLlF8r.mjs";
|
|
4
4
|
import { buildFile, loadModule, selectRolloutFunction } from "./build.mjs";
|
|
5
5
|
import * as readline from "readline";
|
|
6
6
|
|
package/dist/cli.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const require_chunk = require('./chunk-BrXtsOCC.cjs');
|
|
3
|
-
const require_dist = require('./dist-
|
|
3
|
+
const require_dist = require('./dist-Cb-MUllF.cjs');
|
|
4
4
|
const require_utils = require('./utils-T0X7Cm0l.cjs');
|
|
5
5
|
const require_proxy_to_lmnr_cli = require('./proxy-to-lmnr-cli-CJG5N8gb.cjs');
|
|
6
6
|
let path = require("path");
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { n as __require, r as __toESM, t as __commonJSMin } from "./chunk-Bxrnaw5U.mjs";
|
|
3
|
-
import { n as version, t as LaminarClient } from "./dist-
|
|
3
|
+
import { n as version, t as LaminarClient } from "./dist-D2Hc4Ga3.mjs";
|
|
4
4
|
import { i as getDirname, s as initializeLogger } from "./utils-CB2ySBpN.mjs";
|
|
5
5
|
import { t as proxyToLmnrCli } from "./proxy-to-lmnr-cli-CdCqjYUJ.mjs";
|
|
6
6
|
import * as path from "path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-BrXtsOCC.cjs');
|
|
2
|
-
const require_dist = require('./dist-
|
|
2
|
+
const require_dist = require('./dist-Cb-MUllF.cjs');
|
|
3
3
|
const require_utils = require('./utils-T0X7Cm0l.cjs');
|
|
4
4
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
5
5
|
let _opentelemetry_context_async_hooks = require("@opentelemetry/context-async-hooks");
|
|
@@ -29,6 +29,7 @@ let _opentelemetry_exporter_trace_otlp_grpc = require("@opentelemetry/exporter-t
|
|
|
29
29
|
let _opentelemetry_exporter_trace_otlp_proto = require("@opentelemetry/exporter-trace-otlp-proto");
|
|
30
30
|
|
|
31
31
|
//#region src/opentelemetry-lib/tracing/compat.ts
|
|
32
|
+
const logger$13 = require_utils.initializeLogger();
|
|
32
33
|
const makeSpanOtelV2Compatible = (span) => {
|
|
33
34
|
const spanAny = span;
|
|
34
35
|
if (spanAny.instrumentationScope && !spanAny.instrumentationLibrary) Object.assign(span, { instrumentationLibrary: spanAny.instrumentationScope });
|
|
@@ -73,8 +74,9 @@ const createResource = (attributes) => {
|
|
|
73
74
|
if (resources.resourceFromAttributes) return resources.resourceFromAttributes(attributes);
|
|
74
75
|
if (resources.Resource) return new resources.Resource(attributes);
|
|
75
76
|
throw new Error("Unable to create Resource: neither v1 nor v2 API found");
|
|
76
|
-
} catch
|
|
77
|
-
|
|
77
|
+
} catch {
|
|
78
|
+
logger$13.debug("Laminar failed to @opentelemetry/resources, continuing without it");
|
|
79
|
+
return;
|
|
78
80
|
}
|
|
79
81
|
};
|
|
80
82
|
|
|
@@ -5108,4 +5110,4 @@ Object.defineProperty(exports, 'withTracingLevel', {
|
|
|
5108
5110
|
return withTracingLevel;
|
|
5109
5111
|
}
|
|
5110
5112
|
});
|
|
5111
|
-
//# sourceMappingURL=decorators-
|
|
5113
|
+
//# sourceMappingURL=decorators-3eymlrhN.cjs.map
|