@zuplo/otel 5.1966.0 → 5.1968.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types-beta.d.ts +18 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/otel",
3
- "version": "5.1966.0",
3
+ "version": "5.1968.0",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "exports": {
package/types-beta.d.ts CHANGED
@@ -73,7 +73,11 @@ declare interface RequestHandlerConfig {
73
73
 
74
74
  /* Excluded from this release type: RequestHandlerProxy */
75
75
 
76
- /* Excluded from this release type: RuntimePlugin */
76
+ /**
77
+ * @public
78
+ */
79
+ declare abstract class RuntimePlugin {
80
+ }
77
81
 
78
82
  declare interface SamplingConfig<HS extends HeadSamplerConf = HeadSamplerConf> {
79
83
  headSampler?: HS;
@@ -90,7 +94,13 @@ declare type TailSampleFn = (traceInfo: LocalTrace) => boolean;
90
94
 
91
95
  /* Excluded from this release type: TelemetryInitializationOptions */
92
96
 
93
- /* Excluded from this release type: TelemetryPlugin */
97
+ /**
98
+ * Base class for determining type of plugin
99
+ * @public
100
+ */
101
+ declare abstract class TelemetryPlugin extends RuntimePlugin {
102
+ /* Excluded from this release type: instrument */
103
+ }
94
104
 
95
105
  export declare type TraceConfig = TraceConfigExporter | TraceConfigSpanProcessors;
96
106
 
@@ -111,7 +121,12 @@ declare interface TraceConfigSpanProcessors extends TraceConfigBase {
111
121
  spanProcessors: SpanProcessor | SpanProcessor[];
112
122
  }
113
123
 
114
- /* Excluded from this release type: WaitUntilFunc */
124
+ /**
125
+ * @public
126
+ */
127
+ declare interface WaitUntilFunc {
128
+ (promise: Promise<any>): void;
129
+ }
115
130
 
116
131
  /* Excluded from this release type: ZuploEventContext */
117
132