@coxwave/tap-kit-types 2.10.0 → 2.10.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2500,7 +2500,7 @@ type SyncableConfigKey = Exclude<ConfigUpdateKey, "apiKey" | "hostOrigin" | "tap
2500
2500
  type Course = {
2501
2501
  userId: string;
2502
2502
  courseId: string;
2503
- clipId: string;
2503
+ clipId?: string;
2504
2504
  clipPlayHead?: number;
2505
2505
  };
2506
2506
  /**
@@ -2823,11 +2823,10 @@ interface TapKitInstance {
2823
2823
  hide(): void;
2824
2824
  /**
2825
2825
  * Update course information
2826
- * @param course - Course info (courseId and clipId required, userId and clipPlayHead optional)
2826
+ * @param course - Course info (courseId required, clipId optional)
2827
2827
  */
2828
2828
  setCourse(course: Partial<Course> & {
2829
2829
  courseId: string;
2830
- clipId: string;
2831
2830
  }): void;
2832
2831
  }
2833
2832
  /** TapKit constructor type */
@@ -3463,10 +3462,10 @@ interface TapKitElement extends HTMLElement {
3463
3462
 
3464
3463
  /**
3465
3464
  * Update course information
3466
- * @param course - Partial course information (courseId and clipId required)
3465
+ * @param course - Partial course information (courseId required, clipId optional)
3467
3466
  * @example kit.setCourse({ courseId: 'new', clipId: 'new-1' })
3468
3467
  */
3469
- setCourse(course: Partial<Course> & { courseId: string; clipId: string }): void;
3468
+ setCourse(course: Partial<Course> & { courseId: string }): void;
3470
3469
 
3471
3470
  // ===== Delegate Properties (Read-only) =====
3472
3471
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coxwave/tap-kit-types",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "type": "module",
5
5
  "description": "Shared TypeScript types for TapKit SDK packages",
6
6
  "main": "dist/index.js",