@opentelemetry/id-generator-aws-xray
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -31,3 +31,3 @@ "use strict"; | ||
generateTraceId() { | ||
return xray_id_generation_1.generateTraceId(generateRandomBytes); | ||
return (0, xray_id_generation_1.generateTraceId)(generateRandomBytes); | ||
} | ||
@@ -39,3 +39,3 @@ /** | ||
generateSpanId() { | ||
return xray_id_generation_1.generateSpanId(generateRandomBytes); | ||
return (0, xray_id_generation_1.generateSpanId)(generateRandomBytes); | ||
} | ||
@@ -42,0 +42,0 @@ } |
@@ -31,3 +31,3 @@ "use strict"; | ||
generateTraceId() { | ||
return xray_id_generation_1.generateTraceId(generateRandomBytes); | ||
return (0, xray_id_generation_1.generateTraceId)(generateRandomBytes); | ||
} | ||
@@ -39,3 +39,3 @@ /** | ||
generateSpanId() { | ||
return xray_id_generation_1.generateSpanId(generateRandomBytes); | ||
return (0, xray_id_generation_1.generateSpanId)(generateRandomBytes); | ||
} | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "@opentelemetry/id-generator-aws-xray", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "AWS X-Ray ID generator for OpenTelemetry", | ||
@@ -63,3 +63,2 @@ "main": "build/src/index.js", | ||
"@types/webpack-env": "1.16.2", | ||
"gts": "3.1.0", | ||
"karma": "6.3.16", | ||
@@ -73,7 +72,7 @@ "karma-chrome-launcher": "^3.1.1", | ||
"nyc": "15.1.0", | ||
"rimraf": "3.0.2", | ||
"sinon": "14.0.0", | ||
"rimraf": "5.0.0", | ||
"sinon": "15.0.1", | ||
"ts-loader": "8.3.0", | ||
"ts-mocha": "10.0.0", | ||
"typescript": "4.3.5", | ||
"typescript": "4.4.4", | ||
"webpack": "4.46.0" | ||
@@ -85,3 +84,3 @@ }, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/opentelemetry-id-generator-aws-xray#readme", | ||
"gitHead": "bd79bd04cba3f16658caf37d9a5c65e5bd5980f6" | ||
"gitHead": "418b6f6d471b4b38507e8c6ef2916bee31ed2001" | ||
} |
@@ -6,4 +6,2 @@ # AWS OpenTelemetry X-Ray IdGenerator | ||
[component owners](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/.github/component_owners.yml): @willarmiros | ||
The OpenTelemetry IdGenerator for AWS X-Ray generates trace IDs with its first four bytes set to the start time of the | ||
@@ -14,9 +12,13 @@ trace followed by a unique identifier consisting of 12 bytes of randomly generated numbers. OpenTelemetry offers an | ||
Compatible with OpenTelemetry JS API and SDK `1.0+`. | ||
## Status | ||
| Maturity | [Component Owner](../../.github/component_owners.yml) | Compatibility | | ||
| -------------------------------------- | ----------------------------------------------------- | --------------------- | | ||
| [Stable](../../CONTRIBUTING.md#stable) | @carolabadeer | API 1.0+<br/>SDK 1.0+ | | ||
## Installation | ||
` | ||
```bash | ||
npm install --save @opentelemetry/id-generator-aws-xray | ||
` | ||
``` | ||
@@ -23,0 +25,0 @@ ## Usage |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46983
20
61