@yassine-bouassida/scenecap 1.0.0 → 1.0.1
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/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Describe what should happen in **plain English**, and Scenecap parses it, execut
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npm install scenecap
|
|
14
|
+
npm install @yassine-bouassida/scenecap
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
---
|
|
@@ -22,7 +22,7 @@ npm install scenecap
|
|
|
22
22
|
|
|
23
23
|
```tsx
|
|
24
24
|
'use client';
|
|
25
|
-
import { useScenecap } from 'scenecap';
|
|
25
|
+
import { useScenecap } from '@yassine-bouassida/scenecap';
|
|
26
26
|
|
|
27
27
|
export default function MyPage() {
|
|
28
28
|
const { containerRef, record, download, isRecording, progress } = useScenecap();
|
|
@@ -53,7 +53,7 @@ export default function MyPage() {
|
|
|
53
53
|
### Vanilla JS / Imperative
|
|
54
54
|
|
|
55
55
|
```ts
|
|
56
|
-
import { createScenecap } from 'scenecap';
|
|
56
|
+
import { createScenecap } from '@yassine-bouassida/scenecap';
|
|
57
57
|
|
|
58
58
|
const sc = createScenecap({ recording: { fps: 30 } });
|
|
59
59
|
const blob = await sc.record(`
|
|
@@ -70,7 +70,7 @@ a.click();
|
|
|
70
70
|
### Structured Scenario (skip NLP)
|
|
71
71
|
|
|
72
72
|
```ts
|
|
73
|
-
import { ScenarioRunner } from 'scenecap';
|
|
73
|
+
import { ScenarioRunner } from '@yassine-bouassida/scenecap';
|
|
74
74
|
|
|
75
75
|
const runner = new ScenarioRunner();
|
|
76
76
|
const blob = await runner.recordScenario({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yassine-bouassida/scenecap",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Scriptable screen recording with annotations, zoom effects, and highlights for Next.js — powered by natural language scenarios.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|