@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/README.md +15 -2
- package/dist/chunk-3OLW4TOG.js +158 -0
- package/dist/chunk-6UYAVA5T.js +1970 -0
- package/dist/chunk-GCORRK6B.cjs +54 -0
- package/dist/chunk-JB6MA2RV.cjs +158 -0
- package/dist/chunk-LTXMCGVQ.cjs +90 -0
- package/dist/chunk-MWX3GIJW.js +90 -0
- package/dist/chunk-NUTJMVD4.cjs +1970 -0
- package/dist/chunk-RORIBZEV.js +54 -0
- package/dist/index.cjs +92 -3073
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +65 -2996
- package/dist/interrupt-HDNPDMYY.js +11 -0
- package/dist/interrupt-HOP3XPQF.cjs +11 -0
- package/dist/loader.mjs +11 -9
- package/dist/mcp-56TY4LZ5.js +712 -0
- package/dist/mcp-6BDG4SWY.cjs +712 -0
- package/dist/preload.cjs +26 -2508
- package/dist/preload.js +21 -2490
- package/package.json +39 -31
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
|
-
|
|
120
|
+
private _initialized;
|
|
121
|
+
private _tracerProvider;
|
|
122
|
+
private _meterProvider;
|
|
123
123
|
private setupInstrumentation;
|
|
124
|
-
private
|
|
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
|
-
|
|
120
|
+
private _initialized;
|
|
121
|
+
private _tracerProvider;
|
|
122
|
+
private _meterProvider;
|
|
123
123
|
private setupInstrumentation;
|
|
124
|
-
private
|
|
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;
|