usetraceforge 0.1.18 → 0.1.19
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -128,7 +128,7 @@ const TraceForge = {
|
|
|
128
128
|
const previousEndpoint = config?.endpoint ?? defaultEndpoint;
|
|
129
129
|
config = {
|
|
130
130
|
endpoint: defaultEndpoint,
|
|
131
|
-
autoCapture:
|
|
131
|
+
autoCapture: typeof window !== "undefined",
|
|
132
132
|
...options
|
|
133
133
|
};
|
|
134
134
|
const currentEndpoint = config.endpoint || defaultEndpoint;
|