autotel 6.3.0 → 6.4.1
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/auto.cjs +1 -1
- package/dist/auto.js +1 -1
- package/dist/{canonical-log-line-processor-mKABvGP0.js → canonical-log-line-processor-B0vq_QR6.js} +3 -1
- package/dist/{canonical-log-line-processor-DOjb6Kxy.cjs → canonical-log-line-processor-DxtBGZIi.cjs} +3 -1
- package/dist/correlation-id.cjs +1 -1
- package/dist/correlation-id.js +1 -1
- package/dist/decorators.cjs +1 -1
- package/dist/decorators.d.cts +1 -1
- package/dist/decorators.d.ts +1 -1
- package/dist/decorators.js +1 -1
- package/dist/event.cjs +1 -1
- package/dist/event.js +1 -1
- package/dist/{functional-DCBhFool.js → functional-0o9xSedq.js} +221 -283
- package/dist/functional-AT22vCw6.d.ts +389 -0
- package/dist/functional-e6jw5zQj.d.cts +389 -0
- package/dist/{functional-TbnG2lu7.cjs → functional-qZxRcIBp.cjs} +221 -283
- package/dist/functional.cjs +1 -1
- package/dist/functional.d.cts +2 -432
- package/dist/functional.d.ts +2 -432
- package/dist/functional.js +1 -1
- package/dist/http.cjs +1 -1
- package/dist/http.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{init-BneZ7WJ8.cjs → init-BnxHAi2M.cjs} +19 -10
- package/dist/{init-Qn4gIW1i.js → init-BxfZ3Vbw.js} +19 -10
- package/dist/{init-CfVWN4ND.d.cts → init-Cc7-vvzj.d.cts} +18 -0
- package/dist/{init-C1i2_2zl.d.ts → init-CsODvlau.d.ts} +18 -0
- package/dist/instrumentation.cjs +1 -1
- package/dist/instrumentation.js +1 -1
- package/dist/messaging.cjs +1 -1
- package/dist/messaging.js +1 -1
- package/dist/policy-CbpP4tFH.d.cts +147 -0
- package/dist/policy-CbpP4tFH.d.ts +147 -0
- package/dist/policy.cjs +0 -0
- package/dist/policy.d.cts +2 -0
- package/dist/policy.d.ts +2 -0
- package/dist/policy.js +0 -0
- package/dist/processors.cjs +1 -1
- package/dist/processors.js +1 -1
- package/dist/semantic-helpers.cjs +1 -1
- package/dist/semantic-helpers.js +1 -1
- package/dist/webhook.cjs +1 -1
- package/dist/webhook.js +1 -1
- package/dist/workflow-distributed.cjs +1 -1
- package/dist/workflow-distributed.js +1 -1
- package/dist/workflow.cjs +1 -1
- package/dist/workflow.js +1 -1
- package/dist/yaml-config.cjs +1 -0
- package/dist/yaml-config.d.cts +3 -1
- package/dist/yaml-config.d.ts +3 -1
- package/dist/yaml-config.js +1 -0
- package/package.json +6 -1
package/dist/auto.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
|
|
2
|
-
const require_init = require('./init-
|
|
2
|
+
const require_init = require('./init-BnxHAi2M.cjs');
|
|
3
3
|
const require_yaml_config = require('./yaml-config.cjs');
|
|
4
4
|
let node_module = require("node:module");
|
|
5
5
|
node_module = require_rolldown_runtime.__toESM(node_module, 1);
|
package/dist/auto.js
CHANGED
package/dist/{canonical-log-line-processor-mKABvGP0.js → canonical-log-line-processor-B0vq_QR6.js}
RENAMED
|
@@ -139,18 +139,20 @@ function formatPrettyLogLine(ctx) {
|
|
|
139
139
|
const service = event["service.name"] || event.service || "";
|
|
140
140
|
const method = event["http.request.method"] || "";
|
|
141
141
|
const path = event["http.route"] || event["url.path"] || "";
|
|
142
|
-
const status = event["http.response.status_code"] ||
|
|
142
|
+
const status = event["http.response.status_code"] || "";
|
|
143
143
|
const duration = formatDuration(Number(event.duration_ms ?? 0));
|
|
144
144
|
const levelStr = c(LEVEL_COLORS[level] ?? "", level.toUpperCase().padEnd(5));
|
|
145
145
|
const parts = [c(DIM, timestamp), levelStr];
|
|
146
146
|
if (service) parts.push(c(DIM, `[${service}]`));
|
|
147
147
|
if (method) parts.push(c(BOLD, String(method)));
|
|
148
148
|
if (path) parts.push(String(path));
|
|
149
|
+
if (!method && !path && event.operation) parts.push(c(BOLD, String(event.operation)));
|
|
149
150
|
if (status) {
|
|
150
151
|
const statusNum = Number(status);
|
|
151
152
|
const statusColor = statusNum >= 500 ? RED : statusNum >= 400 ? YELLOW : GREEN;
|
|
152
153
|
parts.push(c(statusColor, String(status)));
|
|
153
154
|
}
|
|
155
|
+
if (Number(event.status_code) === 2 && level !== "error") parts.push(c(RED, "ERROR"));
|
|
154
156
|
parts.push(c(DIM, `in ${duration}`));
|
|
155
157
|
const header = parts.join(" ");
|
|
156
158
|
const tree = groupAttributes(event);
|
package/dist/{canonical-log-line-processor-DOjb6Kxy.cjs → canonical-log-line-processor-DxtBGZIi.cjs}
RENAMED
|
@@ -139,18 +139,20 @@ function formatPrettyLogLine(ctx) {
|
|
|
139
139
|
const service = event["service.name"] || event.service || "";
|
|
140
140
|
const method = event["http.request.method"] || "";
|
|
141
141
|
const path = event["http.route"] || event["url.path"] || "";
|
|
142
|
-
const status = event["http.response.status_code"] ||
|
|
142
|
+
const status = event["http.response.status_code"] || "";
|
|
143
143
|
const duration = formatDuration(Number(event.duration_ms ?? 0));
|
|
144
144
|
const levelStr = c(LEVEL_COLORS[level] ?? "", level.toUpperCase().padEnd(5));
|
|
145
145
|
const parts = [c(DIM, timestamp), levelStr];
|
|
146
146
|
if (service) parts.push(c(DIM, `[${service}]`));
|
|
147
147
|
if (method) parts.push(c(BOLD, String(method)));
|
|
148
148
|
if (path) parts.push(String(path));
|
|
149
|
+
if (!method && !path && event.operation) parts.push(c(BOLD, String(event.operation)));
|
|
149
150
|
if (status) {
|
|
150
151
|
const statusNum = Number(status);
|
|
151
152
|
const statusColor = statusNum >= 500 ? RED : statusNum >= 400 ? YELLOW : GREEN;
|
|
152
153
|
parts.push(c(statusColor, String(status)));
|
|
153
154
|
}
|
|
155
|
+
if (Number(event.status_code) === 2 && level !== "error") parts.push(c(RED, "ERROR"));
|
|
154
156
|
parts.push(c(DIM, `in ${duration}`));
|
|
155
157
|
const header = parts.join(" ");
|
|
156
158
|
const tree = groupAttributes(event);
|
package/dist/correlation-id.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_init = require('./init-
|
|
2
|
+
const require_init = require('./init-BnxHAi2M.cjs');
|
|
3
3
|
|
|
4
4
|
exports.CORRELATION_ID_BAGGAGE_KEY = require_init.CORRELATION_ID_BAGGAGE_KEY;
|
|
5
5
|
exports.generateCorrelationId = require_init.generateCorrelationId;
|
package/dist/correlation-id.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as setCorrelationId, S as runWithCorrelationId, _ as CORRELATION_ID_BAGGAGE_KEY, b as getCorrelationStorage, v as generateCorrelationId, w as setCorrelationIdInBaggage, x as getOrCreateCorrelationId, y as getCorrelationId } from "./init-
|
|
1
|
+
import { C as setCorrelationId, S as runWithCorrelationId, _ as CORRELATION_ID_BAGGAGE_KEY, b as getCorrelationStorage, v as generateCorrelationId, w as setCorrelationIdInBaggage, x as getOrCreateCorrelationId, y as getCorrelationId } from "./init-BxfZ3Vbw.js";
|
|
2
2
|
|
|
3
3
|
export { CORRELATION_ID_BAGGAGE_KEY, generateCorrelationId, getCorrelationId, getCorrelationStorage, getOrCreateCorrelationId, runWithCorrelationId, setCorrelationId, setCorrelationIdInBaggage };
|
package/dist/decorators.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_config = require('./config.cjs');
|
|
3
|
-
const require_init = require('./init-
|
|
3
|
+
const require_init = require('./init-BnxHAi2M.cjs');
|
|
4
4
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
5
5
|
|
|
6
6
|
//#region src/decorators.ts
|
package/dist/decorators.d.cts
CHANGED
package/dist/decorators.d.ts
CHANGED
package/dist/decorators.js
CHANGED
package/dist/event.cjs
CHANGED
package/dist/event.js
CHANGED