arvo-core 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,8 +64,8 @@ export declare const exceptionToSpan: (span: Span, level: TelemetryLogLevel, err
64
64
  * telemetryContext,
65
65
  * 'ProcessOrder',
66
66
  * { attributes: { orderId: '12345' } },
67
- * (span, orderId) => {
68
- * span.addEvent('Processing order');
67
+ * (telemetryContext, orderId) => {
68
+ * telemetryContext.span.addEvent('Processing order');
69
69
  * return processOrder(orderId);
70
70
  * },
71
71
  * null,
@@ -78,8 +78,8 @@ export declare const exceptionToSpan: (span: Span, level: TelemetryLogLevel, err
78
78
  * 'OrderService',
79
79
  * 'FetchOrderDetails',
80
80
  * undefined,
81
- * (span, orderId) => {
82
- * span.setAttribute('orderId', orderId);
81
+ * (telemetryContext, orderId) => {
82
+ * telemetryContext.span.setAttribute('orderId', orderId);
83
83
  * return fetchOrderDetails(orderId);
84
84
  * },
85
85
  * null,
@@ -115,8 +115,8 @@ exports.exceptionToSpan = exceptionToSpan;
115
115
  * telemetryContext,
116
116
  * 'ProcessOrder',
117
117
  * { attributes: { orderId: '12345' } },
118
- * (span, orderId) => {
119
- * span.addEvent('Processing order');
118
+ * (telemetryContext, orderId) => {
119
+ * telemetryContext.span.addEvent('Processing order');
120
120
  * return processOrder(orderId);
121
121
  * },
122
122
  * null,
@@ -129,8 +129,8 @@ exports.exceptionToSpan = exceptionToSpan;
129
129
  * 'OrderService',
130
130
  * 'FetchOrderDetails',
131
131
  * undefined,
132
- * (span, orderId) => {
133
- * span.setAttribute('orderId', orderId);
132
+ * (telemetryContext, orderId) => {
133
+ * telemetryContext.span.setAttribute('orderId', orderId);
134
134
  * return fetchOrderDetails(orderId);
135
135
  * },
136
136
  * null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arvo-core",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "This core package contains all the core classes and components of the Arvo Event Driven System",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {