@fullstory/react-library
Advanced tools
Comparing version 0.1.18-alpha to 0.1.19-alpha
{ | ||
"name": "@fullstory/react-library", | ||
"version": "0.1.18-alpha", | ||
"version": "0.1.19-alpha", | ||
"description": "This component library assists in fullstory set up for react apps", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -46,3 +46,3 @@ # fullstory-react-library | ||
return ( | ||
<FullStoryProvider capture={["url"]}> | ||
<FullStoryProvider defaultCapture={["url"]}> | ||
<Routes> | ||
@@ -69,3 +69,3 @@ {...} | ||
return ( | ||
<FullStoryProvider capture={["meta"]}> | ||
<FullStoryProvider defaultCapture={["meta"]}> | ||
<Routes> | ||
@@ -93,3 +93,3 @@ {...} | ||
return ( | ||
<FullStoryProvider capture={["schema"]}> | ||
<FullStoryProvider defaultCapture={["schema"]}> | ||
<Routes> | ||
@@ -113,7 +113,7 @@ {...} | ||
``` | ||
import { FullStoryProvider } from "@fullstory/fullstory-react-library"; | ||
import { FullStoryProvider } from "@fullstory/react-library"; | ||
const App = () => { | ||
return ( | ||
<FullStoryProvider capture={["url", "schema"]}> | ||
<FullStoryProvider defaultCapture={["url", "schema"]}> | ||
<Routes> | ||
@@ -141,3 +141,3 @@ {...} | ||
return ( | ||
<FullStoryProvider capture={["url"]} rules={{"dashboard": ["schema", "meta"]}}> | ||
<FullStoryProvider defaultCapture={["url"]} pageCaptureRules={{"dashboard": ["schema", "meta"]}}> | ||
<Routes> | ||
@@ -144,0 +144,0 @@ <Route path="/" element={<HomePage />}/> |
35644