usetraceforge-cli 0.1.13 → 0.1.14
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/installers/react.js +2 -1
- package/package.json +1 -1
package/dist/installers/react.js
CHANGED
|
@@ -38,7 +38,8 @@ import { TraceForgeProvider } from "usetraceforge/react";
|
|
|
38
38
|
// For Vite use import.meta.env, for CRA use process.env
|
|
39
39
|
TraceForge.init({
|
|
40
40
|
apiKey: import.meta.env.VITE_TRACEFORGE_API_KEY,
|
|
41
|
-
endpoint: import.meta.env.VITE_TRACEFORGE_INGEST_URL
|
|
41
|
+
endpoint: import.meta.env.VITE_TRACEFORGE_INGEST_URL,
|
|
42
|
+
autoCapture: true // automatically catches onClick and promise errors!
|
|
42
43
|
});
|
|
43
44
|
|
|
44
45
|
export default function App() {
|