@brizz/sdk 0.1.29 → 0.1.30

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/dist/index.d.cts CHANGED
@@ -116,16 +116,17 @@ interface IBrizzInitializeOptions {
116
116
  }
117
117
  declare class _Brizz {
118
118
  private static instance;
119
- private _initialized;
120
- private _sdk;
121
119
  static getInstance(): _Brizz;
122
- initialize(options: IBrizzInitializeOptions): void;
120
+ private _initialized;
121
+ private _tracerProvider;
122
+ private _meterProvider;
123
123
  private setupInstrumentation;
124
- private createAndStartNodeSDK;
124
+ private createAndStartProviders;
125
125
  private initializeModules;
126
126
  private detectModuleSystem;
127
- shutdown(): Promise<void>;
128
127
  private shutdownModules;
128
+ initialize(options: IBrizzInitializeOptions): void;
129
+ shutdown(): Promise<void>;
129
130
  }
130
131
  declare const Brizz: _Brizz;
131
132
 
@@ -151,12 +152,12 @@ declare function withMute<F extends (this: any, ...args: any[]) => any>(options:
151
152
  declare function withSessionId<F extends (this: any, ...args: any[]) => any>(sessionId: string, fn: F, thisArg?: ThisParameterType<F>, extraProperties?: Record<string, string>): F;
152
153
  declare function callWithSessionId<A extends unknown[], F extends (...args: A) => ReturnType<F>>(sessionId: string, fn: F, thisArg?: ThisParameterType<F>, ...args: A): ReturnType<F>;
153
154
  declare class Session {
154
- readonly sessionId: string;
155
155
  private readonly span;
156
156
  private inputs;
157
157
  private outputs;
158
158
  private inputContexts;
159
159
  private outputContexts;
160
+ readonly sessionId: string;
160
161
  constructor(sessionId: string, span: Span);
161
162
  setInput(text: string | null, context?: Record<string, AttributeValue>): void;
162
163
  setOutput(text: string | null, context?: Record<string, AttributeValue>): void;
package/dist/index.d.ts CHANGED
@@ -116,16 +116,17 @@ interface IBrizzInitializeOptions {
116
116
  }
117
117
  declare class _Brizz {
118
118
  private static instance;
119
- private _initialized;
120
- private _sdk;
121
119
  static getInstance(): _Brizz;
122
- initialize(options: IBrizzInitializeOptions): void;
120
+ private _initialized;
121
+ private _tracerProvider;
122
+ private _meterProvider;
123
123
  private setupInstrumentation;
124
- private createAndStartNodeSDK;
124
+ private createAndStartProviders;
125
125
  private initializeModules;
126
126
  private detectModuleSystem;
127
- shutdown(): Promise<void>;
128
127
  private shutdownModules;
128
+ initialize(options: IBrizzInitializeOptions): void;
129
+ shutdown(): Promise<void>;
129
130
  }
130
131
  declare const Brizz: _Brizz;
131
132
 
@@ -151,12 +152,12 @@ declare function withMute<F extends (this: any, ...args: any[]) => any>(options:
151
152
  declare function withSessionId<F extends (this: any, ...args: any[]) => any>(sessionId: string, fn: F, thisArg?: ThisParameterType<F>, extraProperties?: Record<string, string>): F;
152
153
  declare function callWithSessionId<A extends unknown[], F extends (...args: A) => ReturnType<F>>(sessionId: string, fn: F, thisArg?: ThisParameterType<F>, ...args: A): ReturnType<F>;
153
154
  declare class Session {
154
- readonly sessionId: string;
155
155
  private readonly span;
156
156
  private inputs;
157
157
  private outputs;
158
158
  private inputContexts;
159
159
  private outputContexts;
160
+ readonly sessionId: string;
160
161
  constructor(sessionId: string, span: Span);
161
162
  setInput(text: string | null, context?: Record<string, AttributeValue>): void;
162
163
  setOutput(text: string | null, context?: Record<string, AttributeValue>): void;