@microsoft/agents-telemetry 1.10.0-beta.7.g65f69dfa27 → 1.10.0-beta.9.g18d68b903e
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/README.md +2 -0
- package/dist/cjs/package.json +3 -3
- package/dist/cjs/src/utils/redact.js +596 -103
- package/dist/cjs/src/utils/redact.js.map +7 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/utils/redact.js +3 -3
- package/dist/esm/src/utils/redact.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -176,6 +176,8 @@ This section covers internal APIs used to instrument SDK components. If you are
|
|
|
176
176
|
|
|
177
177
|
Although this package is published, it primarily serves as a shared telemetry layer for other Agents SDK packages. Some exported TypeScript types intentionally depend on OpenTelemetry packages even though runtime behavior still supports noop fallback when those optional peer dependencies are not installed.
|
|
178
178
|
|
|
179
|
+
The `build:esm` command also bundles the ESM-only `@noble/hashes` dependency into the CommonJS redaction module. Run the complete `npm run build` before consuming the package; TypeScript compilation alone does not produce the final CommonJS artifact. This preserves Node.js 22.0+ and browser support without requiring Node's `require(esm)` feature.
|
|
180
|
+
|
|
179
181
|
### Using trace
|
|
180
182
|
|
|
181
183
|
Use `trace` to create validated spans. Every definition requires a `name` from `SpanNames`, a `record` object for tracking state, and an `end` hook called when the span finishes.
|
package/dist/cjs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@microsoft/agents-telemetry",
|
|
4
|
-
"version": "1.10.0-beta.
|
|
4
|
+
"version": "1.10.0-beta.9.g18d68b903e",
|
|
5
5
|
"homepage": "https://github.com/microsoft/Agents-for-js",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@opentelemetry/api-logs": "0.214.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@microsoft/agents-activity": "1.10.0-beta.
|
|
48
|
-
"@noble/hashes": "
|
|
47
|
+
"@microsoft/agents-activity": "1.10.0-beta.9.g18d68b903e",
|
|
48
|
+
"@noble/hashes": "2.4.0",
|
|
49
49
|
"debug": "4.4.3"
|
|
50
50
|
},
|
|
51
51
|
"license": "MIT",
|