@wix/monitoring-types 0.10.0 → 0.12.0
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/build/index.d.mts +22 -2
- package/build/index.d.ts +22 -2
- package/package.json +3 -3
package/build/index.d.mts
CHANGED
|
@@ -174,6 +174,26 @@ interface AppMonitoringSentryConfig {
|
|
|
174
174
|
dsn: string;
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Represents the Panorama configuration for app's monitoring.
|
|
179
|
+
*/
|
|
180
|
+
interface AppMonitoringPanoramaConfig {
|
|
181
|
+
/**
|
|
182
|
+
* The type of monitoring provider.
|
|
183
|
+
*/
|
|
184
|
+
type: 'PANORAMA';
|
|
185
|
+
/**
|
|
186
|
+
* The options for the Panorama monitoring provider.
|
|
187
|
+
*/
|
|
188
|
+
panoramaOptions: {
|
|
189
|
+
sentry: {
|
|
190
|
+
/**
|
|
191
|
+
* The Data Source Name (DSN) for Sentry.
|
|
192
|
+
*/
|
|
193
|
+
dsn: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}
|
|
177
197
|
interface AppMonitoringUnknownConfig {
|
|
178
198
|
type: 'UNKNOWN_PROVIDER';
|
|
179
199
|
}
|
|
@@ -182,6 +202,6 @@ interface AppMonitoringUnknownConfig {
|
|
|
182
202
|
* The configuration includes the type of monitoring provider and its options.
|
|
183
203
|
* Currently, only Sentry is supported as a monitoring provider.
|
|
184
204
|
*/
|
|
185
|
-
type AppMonitoringConfig = AppMonitoringSentryConfig | AppMonitoringUnknownConfig;
|
|
205
|
+
type AppMonitoringConfig = AppMonitoringSentryConfig | AppMonitoringPanoramaConfig | AppMonitoringUnknownConfig;
|
|
186
206
|
|
|
187
|
-
export type { AppMonitoringConfig, AppMonitoringSentryConfig, AppMonitoringUnknownConfig, Breadcrumb, CaptureContext, Context, Contexts, EndSpanOptions, EventContexts, EventData, EventTags, HostMonitoringContext, ManualSpan, MonitoringClient, Primitive, Span, SpanContextData, SpanOptions, Tags };
|
|
207
|
+
export type { AppMonitoringConfig, AppMonitoringPanoramaConfig, AppMonitoringSentryConfig, AppMonitoringUnknownConfig, Breadcrumb, CaptureContext, Context, Contexts, EndSpanOptions, EventContexts, EventData, EventTags, HostMonitoringContext, ManualSpan, MonitoringClient, Primitive, Span, SpanContextData, SpanOptions, Tags };
|
package/build/index.d.ts
CHANGED
|
@@ -174,6 +174,26 @@ interface AppMonitoringSentryConfig {
|
|
|
174
174
|
dsn: string;
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Represents the Panorama configuration for app's monitoring.
|
|
179
|
+
*/
|
|
180
|
+
interface AppMonitoringPanoramaConfig {
|
|
181
|
+
/**
|
|
182
|
+
* The type of monitoring provider.
|
|
183
|
+
*/
|
|
184
|
+
type: 'PANORAMA';
|
|
185
|
+
/**
|
|
186
|
+
* The options for the Panorama monitoring provider.
|
|
187
|
+
*/
|
|
188
|
+
panoramaOptions: {
|
|
189
|
+
sentry: {
|
|
190
|
+
/**
|
|
191
|
+
* The Data Source Name (DSN) for Sentry.
|
|
192
|
+
*/
|
|
193
|
+
dsn: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}
|
|
177
197
|
interface AppMonitoringUnknownConfig {
|
|
178
198
|
type: 'UNKNOWN_PROVIDER';
|
|
179
199
|
}
|
|
@@ -182,6 +202,6 @@ interface AppMonitoringUnknownConfig {
|
|
|
182
202
|
* The configuration includes the type of monitoring provider and its options.
|
|
183
203
|
* Currently, only Sentry is supported as a monitoring provider.
|
|
184
204
|
*/
|
|
185
|
-
type AppMonitoringConfig = AppMonitoringSentryConfig | AppMonitoringUnknownConfig;
|
|
205
|
+
type AppMonitoringConfig = AppMonitoringSentryConfig | AppMonitoringPanoramaConfig | AppMonitoringUnknownConfig;
|
|
186
206
|
|
|
187
|
-
export type { AppMonitoringConfig, AppMonitoringSentryConfig, AppMonitoringUnknownConfig, Breadcrumb, CaptureContext, Context, Contexts, EndSpanOptions, EventContexts, EventData, EventTags, HostMonitoringContext, ManualSpan, MonitoringClient, Primitive, Span, SpanContextData, SpanOptions, Tags };
|
|
207
|
+
export type { AppMonitoringConfig, AppMonitoringPanoramaConfig, AppMonitoringSentryConfig, AppMonitoringUnknownConfig, Breadcrumb, CaptureContext, Context, Contexts, EndSpanOptions, EventContexts, EventData, EventTags, HostMonitoringContext, ManualSpan, MonitoringClient, Primitive, Span, SpanContextData, SpanOptions, Tags };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/monitoring-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Gili Shohat",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"eslint": "^8.57.1",
|
|
34
34
|
"eslint-config-sdk": "0.0.0",
|
|
35
35
|
"tsup": "^8.4.0",
|
|
36
|
-
"type-fest": "^4.
|
|
36
|
+
"type-fest": "^4.40.0",
|
|
37
37
|
"typescript": "^5.8.3"
|
|
38
38
|
},
|
|
39
39
|
"eslintConfig": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
]
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
-
"falconPackageHash": "
|
|
56
|
+
"falconPackageHash": "67f74b6bb8ee11c3a85acb726056b84837533baa980b83b44704fe03"
|
|
57
57
|
}
|