@opentelemetry/context-zone-peer-dep
Advanced tools
Comparing version 1.27.0 to 1.28.0
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.27.0"; | ||
export declare const VERSION = "1.28.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '1.27.0'; | ||
export var VERSION = '1.28.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.27.0"; | ||
export declare const VERSION = "1.28.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '1.27.0'; | ||
export const VERSION = '1.28.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.27.0"; | ||
export declare const VERSION = "1.28.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.27.0'; | ||
exports.VERSION = '1.28.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/context-zone-peer-dep", | ||
"version": "1.27.0", | ||
"version": "1.28.0", | ||
"description": "OpenTelemetry Context Zone with peer dependency for zone.js", | ||
@@ -56,6 +56,6 @@ "main": "build/src/index.js", | ||
"devDependencies": { | ||
"@babel/core": "7.25.2", | ||
"@babel/preset-env": "7.25.4", | ||
"@babel/core": "7.26.0", | ||
"@babel/preset-env": "7.26.0", | ||
"@opentelemetry/api": ">=1.0.0 <1.10.0", | ||
"@types/mocha": "10.0.8", | ||
"@types/mocha": "10.0.9", | ||
"@types/node": "18.6.5", | ||
@@ -75,3 +75,3 @@ "@types/sinon": "17.0.3", | ||
"lerna": "6.6.2", | ||
"mocha": "10.7.3", | ||
"mocha": "10.8.2", | ||
"nyc": "15.1.0", | ||
@@ -81,3 +81,3 @@ "sinon": "15.1.2", | ||
"typescript": "4.4.4", | ||
"webpack": "5.94.0", | ||
"webpack": "5.96.1", | ||
"webpack-cli": "5.1.4", | ||
@@ -92,3 +92,3 @@ "zone.js": "0.13.3" | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-context-zone-peer-dep", | ||
"gitHead": "eb3ca4fb07ee31c62093f5fcec56575573c902ce" | ||
"gitHead": "4b1ad3fda0cde58907e30fab25c3c767546708e5" | ||
} |
@@ -30,4 +30,5 @@ # OpenTelemetry Context Zone Peer Dependency | ||
const providerWithZone = new WebTracerProvider(); | ||
providerWithZone.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter())); | ||
const providerWithZone = new WebTracerProvider({ | ||
spanProcessors: [new SimpleSpanProcessor(new ConsoleSpanExporter())] | ||
}); | ||
providerWithZone.register({ | ||
@@ -34,0 +35,0 @@ contextManager: new ZoneContextManager() |
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
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
76
119115