opik 1.5.2 → 1.5.3
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/{Client-CI4BzUKl.d.cts → Client-BaUfACuw.d.cts} +245 -318
- package/dist/{Client-CI4BzUKl.d.ts → Client-BaUfACuw.d.ts} +245 -318
- package/dist/chunk-VKSRW22X.js +4 -0
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +17 -3
- package/dist/index.d.ts +17 -3
- package/dist/index.js +1 -1
- package/dist/vercel/index.cjs +4 -4
- package/dist/vercel/index.d.cts +1 -1
- package/dist/vercel/index.d.ts +1 -1
- package/dist/vercel/index.js +1 -1
- package/package.json +1 -4
- package/dist/chunk-VUPTLXYD.js +0 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { S as Span, T as Trace, a as SpanType, O as OpikClient } from './Client-
|
|
2
|
-
export { b as OpikConfig } from './Client-
|
|
1
|
+
import { S as Span, T as Trace, a as SpanType, O as OpikClient } from './Client-BaUfACuw.cjs';
|
|
2
|
+
export { b as OpikConfig } from './Client-BaUfACuw.cjs';
|
|
3
|
+
import { Logger } from 'tslog';
|
|
3
4
|
import 'stream';
|
|
4
5
|
|
|
5
6
|
type TrackContext = {
|
|
@@ -23,4 +24,17 @@ declare const generateId: () => string;
|
|
|
23
24
|
|
|
24
25
|
declare const flushAll: () => Promise<void>;
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
declare const logLevels: {
|
|
28
|
+
readonly SILLY: 0;
|
|
29
|
+
readonly TRACE: 1;
|
|
30
|
+
readonly DEBUG: 2;
|
|
31
|
+
readonly INFO: 3;
|
|
32
|
+
readonly WARN: 4;
|
|
33
|
+
readonly ERROR: 5;
|
|
34
|
+
readonly FATAL: 6;
|
|
35
|
+
};
|
|
36
|
+
declare const logger: Logger<unknown>;
|
|
37
|
+
declare const setLoggerLevel: (level: keyof typeof logLevels) => void;
|
|
38
|
+
declare const disableLogger: () => void;
|
|
39
|
+
|
|
40
|
+
export { OpikClient as Opik, Span, Trace, disableLogger, flushAll, generateId, getTrackContext, logger, setLoggerLevel, track, trackOpikClient };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { S as Span, T as Trace, a as SpanType, O as OpikClient } from './Client-
|
|
2
|
-
export { b as OpikConfig } from './Client-
|
|
1
|
+
import { S as Span, T as Trace, a as SpanType, O as OpikClient } from './Client-BaUfACuw.js';
|
|
2
|
+
export { b as OpikConfig } from './Client-BaUfACuw.js';
|
|
3
|
+
import { Logger } from 'tslog';
|
|
3
4
|
import 'stream';
|
|
4
5
|
|
|
5
6
|
type TrackContext = {
|
|
@@ -23,4 +24,17 @@ declare const generateId: () => string;
|
|
|
23
24
|
|
|
24
25
|
declare const flushAll: () => Promise<void>;
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
declare const logLevels: {
|
|
28
|
+
readonly SILLY: 0;
|
|
29
|
+
readonly TRACE: 1;
|
|
30
|
+
readonly DEBUG: 2;
|
|
31
|
+
readonly INFO: 3;
|
|
32
|
+
readonly WARN: 4;
|
|
33
|
+
readonly ERROR: 5;
|
|
34
|
+
readonly FATAL: 6;
|
|
35
|
+
};
|
|
36
|
+
declare const logger: Logger<unknown>;
|
|
37
|
+
declare const setLoggerLevel: (level: keyof typeof logLevels) => void;
|
|
38
|
+
declare const disableLogger: () => void;
|
|
39
|
+
|
|
40
|
+
export { OpikClient as Opik, Span, Trace, disableLogger, flushAll, generateId, getTrackContext, logger, setLoggerLevel, track, trackOpikClient };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{e as Opik,c as disableLogger,i as flushAll,d as generateId,f as getTrackContext,a as logger,b as setLoggerLevel,g as track,h as trackOpikClient}from'./chunk-VKSRW22X.js';import'./chunk-WOT6VMZA.js';
|