@video-editor/protocol 0.0.1-beta.20 → 0.0.1-beta.21

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 (3) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +1059 -1055
  3. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -394,7 +394,7 @@ export declare function createVideoProtocolManager(protocol: IVideoProtocol, opt
394
394
  segmentMap: ComputedRef<Record<string, DeepReadonly<SegmentUnion | undefined>>>;
395
395
  protocol: ComputedRef<IVideoProtocol>;
396
396
  getSegment: <T extends ITrackType>(id: SegmentUnion["id"], type?: T) => DeepReadonly<TrackTypeMapSegment[T]> | undefined;
397
- addSegment: (segment: PartialByKeys<TrackTypeMapSegment[ITrackType], "id">) => {
397
+ addSegment: (segment: PartialByKeys<TrackTypeMapSegment[ITrackType], "id">, trackId?: string) => {
398
398
  id: string;
399
399
  affectedSegments: SegmentUnion[];
400
400
  affectedTracks: TrackUnion[];