@shiva004/surveys 0.11.3 → 0.12.0

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.
@@ -0,0 +1,8 @@
1
+ import { type RouteRecorderWatcherProps } from './RouteRecorderWatcher';
2
+ /**
3
+ * Framework-neutral way to start the silent session recorder (rrweb). Works in React, Angular, Vue and plain HTML,
4
+ * with or without a router. Call it ONCE at app start (e.g. in main.tsx / main.ts); it mounts its own tiny React root
5
+ * on <body>, so it does not matter which framework the host app uses. Returns a stop function.
6
+ * Do not combine it with <RouteRecorderWatcher /> or <surveys-recorder> (use only one of the three).
7
+ */
8
+ export declare const startRecorder: (opts?: RouteRecorderWatcherProps) => (() => void);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shiva004/surveys",
3
- "version": "0.11.3",
3
+ "version": "0.12.0",
4
4
  "description": "Logs, Live Events, Feedback, Heatmap, Feature Management, Queues, Sessions, Error Tracking, Releases, Notifications, Mock API and User Journey for React, Angular (web components), Vue and plain HTML",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,14 +38,14 @@
38
38
  "@types/react": "^18.3.3",
39
39
  "@types/react-dom": "^18.3.0",
40
40
  "@vitejs/plugin-react": "^4.3.1",
41
- "lucide-react": "^1.72.0",
42
41
  "react": "^18.3.1",
43
42
  "react-dom": "^18.3.1",
44
- "react-router-dom": "^7.18.5",
45
- "rrweb": "^1.1.3",
46
43
  "typescript": "^5.5.4",
47
44
  "vite": "^5.4.2",
48
- "vite-plugin-css-injected-by-js": "^3.5.2"
45
+ "vite-plugin-css-injected-by-js": "^3.5.2",
46
+ "lucide-react": "^1.72.0",
47
+ "react-router-dom": "^7.18.5",
48
+ "rrweb": "^1.1.3"
49
49
  },
50
50
  "license": "MIT",
51
51
  "keywords": [
@@ -73,8 +73,5 @@
73
73
  "react-dom": {
74
74
  "optional": true
75
75
  }
76
- },
77
- "dependencies": {
78
- "@shiva004/surveys": "^0.11.1"
79
76
  }
80
77
  }