@eyepop.ai/eyepop 0.15.0 → 0.16.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.
@@ -44,10 +44,12 @@ interface UrlSource {
44
44
  readonly url: string;
45
45
  }
46
46
  type Source = FileSource | StreamSource | PathSource | LiveSource | UrlSource;
47
- interface Prediction {
47
+ interface StreamTime {
48
48
  timestamp: number;
49
49
  seconds: number;
50
50
  offset: number;
51
+ }
52
+ interface Prediction extends StreamTime {
51
53
  source_width: number;
52
54
  source_height: number;
53
55
  source_id: string;
@@ -192,4 +194,4 @@ declare namespace EyePop {
192
194
  function endpoint(opts?: Options): Endpoint;
193
195
  }
194
196
 
195
- export { EndpointState, EyePop, type FileSource, type IngressEvent, type LiveMedia, type LiveSource, type PathSource, type Point2d, type Point3d, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Session, type Source, type StreamSource, type UrlSource, EyePop as default };
197
+ export { EndpointState, EyePop, type FileSource, type IngressEvent, type LiveMedia, type LiveSource, type PathSource, type Point2d, type Point3d, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Session, type Source, type StreamSource, type StreamTime, type UrlSource, EyePop as default };
@@ -44,10 +44,12 @@ interface UrlSource {
44
44
  readonly url: string;
45
45
  }
46
46
  type Source = FileSource | StreamSource | PathSource | LiveSource | UrlSource;
47
- interface Prediction {
47
+ interface StreamTime {
48
48
  timestamp: number;
49
49
  seconds: number;
50
50
  offset: number;
51
+ }
52
+ interface Prediction extends StreamTime {
51
53
  source_width: number;
52
54
  source_height: number;
53
55
  source_id: string;
@@ -192,4 +194,4 @@ declare namespace EyePop {
192
194
  function endpoint(opts?: Options): Endpoint;
193
195
  }
194
196
 
195
- export { EndpointState, EyePop, type FileSource, type IngressEvent, type LiveMedia, type LiveSource, type PathSource, type Point2d, type Point3d, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Session, type Source, type StreamSource, type UrlSource, EyePop as default };
197
+ export { EndpointState, EyePop, type FileSource, type IngressEvent, type LiveMedia, type LiveSource, type PathSource, type Point2d, type Point3d, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Session, type Source, type StreamSource, type StreamTime, type UrlSource, EyePop as default };