@james-infotrack/demo-recorder 0.1.0 → 0.1.2
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/CHANGELOG.md +10 -0
- package/README.md +6 -6
- package/dist/index.cjs.js +19 -19
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.2] - 2026-01-27
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Critical:** Removed React and React-DOM from dependencies to prevent duplicate React installations
|
|
12
|
+
- React and React-DOM are now correctly specified only as peer dependencies
|
|
13
|
+
- This fixes "Invalid hook call" and "Multiple React versions" errors when consuming the package
|
|
14
|
+
- Moved React and React-DOM to devDependencies for development
|
|
15
|
+
- Added @testing-library/dom as dev dependency to fix test environment
|
|
16
|
+
- Fixed full-app example to use correct package import name
|
|
17
|
+
|
|
8
18
|
## [0.1.0] - 2026-01-23
|
|
9
19
|
|
|
10
20
|
### Added
|
package/README.md
CHANGED
|
@@ -7,15 +7,15 @@ A React library for recording and playing back interactive web application demos
|
|
|
7
7
|
### Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install @
|
|
10
|
+
npm install @james-infotrack/demo-recorder
|
|
11
11
|
# or
|
|
12
|
-
bun add @
|
|
12
|
+
bun add @james-infotrack/demo-recorder
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
### Usage
|
|
16
16
|
|
|
17
17
|
```tsx
|
|
18
|
-
import { DemoRecorder, DemoPlayer } from '@
|
|
18
|
+
import { DemoRecorder, DemoPlayer } from '@james-infotrack/demo-recorder';
|
|
19
19
|
|
|
20
20
|
// Record a demo
|
|
21
21
|
<DemoRecorder
|
|
@@ -82,9 +82,9 @@ npm link
|
|
|
82
82
|
bun link
|
|
83
83
|
|
|
84
84
|
# In your test project
|
|
85
|
-
npm link @
|
|
85
|
+
npm link @james-infotrack/demo-recorder
|
|
86
86
|
# or
|
|
87
|
-
bun link @
|
|
87
|
+
bun link @james-infotrack/demo-recorder
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
#### Option 3: Direct Import (for quick testing)
|
|
@@ -165,7 +165,7 @@ MIT License - see [LICENSE](LICENSE) file for details
|
|
|
165
165
|
|
|
166
166
|
## 🔗 Links
|
|
167
167
|
|
|
168
|
-
- [npm Package](https://www.npmjs.com/package/@
|
|
168
|
+
- [npm Package](https://www.npmjs.com/package/@james-infotrack/demo-recorder)
|
|
169
169
|
- [GitHub Repository](https://github.com/InfoTrackGlobal/demo-mode)
|
|
170
170
|
- [Issue Tracker](https://github.com/InfoTrackGlobal/demo-mode/issues)
|
|
171
171
|
|