neatlogs 1.0.3 → 1.0.4
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -8
package/dist/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ interface InitOptions {
|
|
|
47
47
|
mask?: MaskFunction;
|
|
48
48
|
/** Sampling rate (0.0 to 1.0). Defaults to 1.0. */
|
|
49
49
|
sampleRate?: number;
|
|
50
|
-
/** Whether to capture log records. Defaults to
|
|
50
|
+
/** Whether to capture log records. Defaults to false. */
|
|
51
51
|
captureLogs?: boolean;
|
|
52
52
|
/** Whether to capture input/output content. Defaults to true. */
|
|
53
53
|
traceContent?: boolean;
|
|
@@ -55,7 +55,7 @@ interface InitOptions {
|
|
|
55
55
|
pii?: 'redact' | 'hash' | false;
|
|
56
56
|
/** SDK version override. */
|
|
57
57
|
version?: string;
|
|
58
|
-
/** Backend endpoint URL. Defaults to https://staging-cloud.neatlogs.com
|
|
58
|
+
/** Backend endpoint URL. Defaults to https://staging-cloud.neatlogs.com */
|
|
59
59
|
endpoint?: string;
|
|
60
60
|
/** Maximum spans per export batch. Defaults to 100. */
|
|
61
61
|
batchSize?: number;
|
package/dist/index.mjs
CHANGED
|
@@ -5857,7 +5857,7 @@ async function init(options = {}) {
|
|
|
5857
5857
|
logger13.debug(`Auto-generated session_id: ${sessionId}`);
|
|
5858
5858
|
}
|
|
5859
5859
|
}
|
|
5860
|
-
const endpoint = options.endpoint ?? "https://staging-cloud.neatlogs.com
|
|
5860
|
+
const endpoint = options.endpoint ?? "https://staging-cloud.neatlogs.com";
|
|
5861
5861
|
const baseUrl = new URL(endpoint).origin;
|
|
5862
5862
|
_setSessionConfig({
|
|
5863
5863
|
sessionId,
|