@vidtreo/recorder-wc 0.8.5 → 0.9.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.
package/README.md CHANGED
@@ -9,7 +9,7 @@ npm install @vidtreo/recorder-wc
9
9
  ```
10
10
 
11
11
  **Peer Dependencies:**
12
- - `@vidtreo/recorder >=0.8.0`
12
+ - `@vidtreo/recorder >=0.9.0`
13
13
 
14
14
  ## Quick Start
15
15
 
@@ -29,11 +29,11 @@ npm install @vidtreo/recorder-wc
29
29
  #### Specific Version (Recommended for Production)
30
30
 
31
31
  ```html
32
- <script type="module" src="https://cdn.jsdelivr.net/npm/@vidtreo/recorder-wc@0.8.0/dist/vidtreo-recorder.js"></script>
32
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@vidtreo/recorder-wc@0.9.0/dist/vidtreo-recorder.js"></script>
33
33
 
34
34
  <vidtreo-recorder
35
35
  api-key="your-api-key"
36
- backend-url="https://api.vidtreo.com"
36
+ <!-- backend-url is optional, defaults to https://api.vidtreo.com -->
37
37
  ></vidtreo-recorder>
38
38
  ```
39
39
 
@@ -52,7 +52,7 @@ All attributes are optional except where noted. Attributes use kebab-case (e.g.,
52
52
  | Attribute | Type | Required | Default | Description |
53
53
  |-----------|------|----------|---------|-------------|
54
54
  | `api-key` | `string` | No* | - | API key for authentication. Required if not set via JavaScript. |
55
- | `backend-url` | `string` | Yes | `https://api.vidtreo.com` | Backend API URL. Automatically adds `https://` prefix if missing. |
55
+ | `backend-url` | `string` | No | `https://api.vidtreo.com` | Backend API URL. Automatically adds `https://` prefix if missing. |
56
56
  | `countdown-duration` | `number` | No | - | Countdown duration in milliseconds before recording starts (e.g., `3000` for 3 seconds) |
57
57
  | `max-recording-time` | `number` | No | - | Maximum recording time in milliseconds (e.g., `300000` for 5 minutes) |
58
58
  | `user-metadata` | `string` (JSON) | No | - | Custom metadata to attach to recordings. Must be valid JSON string. |