Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/core-tracing

Package Overview
Dependencies
Maintainers
2
Versions
283
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-tracing - npm Package Compare versions

Comparing version 1.1.3-alpha.20240924.1 to 1.1.3-alpha.20240925.5

19

dist/browser/interfaces.d.ts

@@ -23,4 +23,19 @@ /**

*
* ```ts
* const myOperationResult = await tracingClient.withSpan("myClassName.myOperationName", options, (updatedOptions) => myOperation(updatedOptions));
* ```ts snippet:with_span_example
* import { createTracingClient } from "@azure/core-tracing";
*
* const tracingClient = createTracingClient({
* namespace: "test.namespace",
* packageName: "test-package",
* packageVersion: "1.0.0",
* });
* const options = {};
* const myOperationResult = await tracingClient.withSpan(
* "myClassName.myOperationName",
* options,
* (updatedOptions) => {
* // Do something with the updated options.
* return "myOperationResult";
* },
* );
* ```

@@ -27,0 +42,0 @@ * @param name - The name of the span. By convention this should be `${className}.${methodName}`.

@@ -23,4 +23,19 @@ /**

*
* ```ts
* const myOperationResult = await tracingClient.withSpan("myClassName.myOperationName", options, (updatedOptions) => myOperation(updatedOptions));
* ```ts snippet:with_span_example
* import { createTracingClient } from "@azure/core-tracing";
*
* const tracingClient = createTracingClient({
* namespace: "test.namespace",
* packageName: "test-package",
* packageVersion: "1.0.0",
* });
* const options = {};
* const myOperationResult = await tracingClient.withSpan(
* "myClassName.myOperationName",
* options,
* (updatedOptions) => {
* // Do something with the updated options.
* return "myOperationResult";
* },
* );
* ```

@@ -27,0 +42,0 @@ * @param name - The name of the span. By convention this should be `${className}.${methodName}`.

@@ -136,4 +136,19 @@ /**

*
* ```ts
* const myOperationResult = await tracingClient.withSpan("myClassName.myOperationName", options, (updatedOptions) => myOperation(updatedOptions));
* ```ts snippet:with_span_example
* import { createTracingClient } from "@azure/core-tracing";
*
* const tracingClient = createTracingClient({
* namespace: "test.namespace",
* packageName: "test-package",
* packageVersion: "1.0.0",
* });
* const options = {};
* const myOperationResult = await tracingClient.withSpan(
* "myClassName.myOperationName",
* options,
* (updatedOptions) => {
* // Do something with the updated options.
* return "myOperationResult";
* },
* );
* ```

@@ -140,0 +155,0 @@ * @param name - The name of the span. By convention this should be `${className}.${methodName}`.

@@ -23,4 +23,19 @@ /**

*
* ```ts
* const myOperationResult = await tracingClient.withSpan("myClassName.myOperationName", options, (updatedOptions) => myOperation(updatedOptions));
* ```ts snippet:with_span_example
* import { createTracingClient } from "@azure/core-tracing";
*
* const tracingClient = createTracingClient({
* namespace: "test.namespace",
* packageName: "test-package",
* packageVersion: "1.0.0",
* });
* const options = {};
* const myOperationResult = await tracingClient.withSpan(
* "myClassName.myOperationName",
* options,
* (updatedOptions) => {
* // Do something with the updated options.
* return "myOperationResult";
* },
* );
* ```

@@ -27,0 +42,0 @@ * @param name - The name of the span. By convention this should be `${className}.${methodName}`.

@@ -23,4 +23,19 @@ /**

*
* ```ts
* const myOperationResult = await tracingClient.withSpan("myClassName.myOperationName", options, (updatedOptions) => myOperation(updatedOptions));
* ```ts snippet:with_span_example
* import { createTracingClient } from "@azure/core-tracing";
*
* const tracingClient = createTracingClient({
* namespace: "test.namespace",
* packageName: "test-package",
* packageVersion: "1.0.0",
* });
* const options = {};
* const myOperationResult = await tracingClient.withSpan(
* "myClassName.myOperationName",
* options,
* (updatedOptions) => {
* // Do something with the updated options.
* return "myOperationResult";
* },
* );
* ```

@@ -27,0 +42,0 @@ * @param name - The name of the span. By convention this should be `${className}.${methodName}`.

15

package.json
{
"name": "@azure/core-tracing",
"version": "1.1.3-alpha.20240924.1",
"version": "1.1.3-alpha.20240925.5",
"description": "Provides low-level interfaces and helper methods for tracing in Azure SDK",

@@ -56,7 +56,7 @@ "sdk-type": "client",

"build:test": "echo skipped. actual commands inlined in browser test scripts",
"build": "npm run clean && tshy && dev-tool run extract-api",
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
"clean": "rimraf --glob dist dist-* temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "tshy && dev-tool run extract-api",
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"samples-dev/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",

@@ -70,7 +70,8 @@ "integration-test:browser": "echo skipped",

"test:browser": "npm run clean && npm run unit-test:browser && npm run integration-test:browser",
"test:node": "npm run clean && tshy && npm run unit-test:node && npm run integration-test:node",
"test": "npm run clean && tshy && npm run unit-test:node && dev-tool run build-test && npm run unit-test:browser && npm run integration-test",
"unit-test:browser": "npm run clean && tshy && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser",
"test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node",
"test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run build-test && npm run unit-test:browser && npm run integration-test",
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser",
"unit-test:node": "dev-tool run test:vitest --no-test-proxy",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"update-snippets": "dev-tool run update-snippets"
},

@@ -77,0 +78,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc