@tivio/sdk-js 2.2.0 → 2.3.2

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
@@ -12,10 +12,17 @@ yarn add @tivio/sdk-js
12
12
 
13
13
  # Changelog
14
14
 
15
+ * 2.3.2
16
+ * patch: disable logging when verbose is not set to true
17
+ * 2.3.1
18
+ * patch: add support for old solutions which depends on global objects
19
+ * 2.3.0
20
+ * minor: add optional `calibrationId` parameter to `setSource`
21
+ * 2.2.1
22
+ * patch: fix export of `PlayerWrapperEventType`
15
23
  * 2.2.0
16
24
  * minor: add `getProgramTimestamps`
17
25
  * minor: add `addEventListener('markers', ...)` to player wrapper
18
- * minor: add optional `calibrationId` parameter to `setSource`
19
26
  * 2.1.0
20
27
  * minor: better es5 polyfills
21
28
  * patch: add `verbose` to Tivio config type
@@ -156,7 +156,11 @@ interface TivioPlayerWrapper {
156
156
  reportPlaybackEnded: () => void;
157
157
  reportTimeProgress: (ms: number) => void;
158
158
  seekTo: (ms: number) => void;
159
- setSource: (source: Source | null) => void;
159
+ /**
160
+ * @param {Source} source - source to set
161
+ * @param {string} calibrationId - id of calibration profile
162
+ */
163
+ setSource: (source: Source | null, calibrationId?: string) => void;
160
164
  }
161
165
  interface PlayerInterfaceForPlayerWrapper {
162
166
  /**
@@ -296,4 +300,4 @@ declare type ExposedApi = {
296
300
  endTimestamp?: number;
297
301
  } | null>;
298
302
  };
299
- export type { AdMetadata, AdSource, ExposedApi, LiveTvChannelSource, OtherSource, PlayerInterfaceForPlayerWrapper, PlayerWrapperEventType, PlayerWrapperEventTypeType, Source, TivioPlayerWrapper, TivioVodSource, TvProgramSource, Marker, ListenerAdMetadata, ListenerMarkers, Listener, };
303
+ export { AdMetadata, AdSource, ExposedApi, LiveTvChannelSource, OtherSource, PlayerInterfaceForPlayerWrapper, PlayerWrapperEventType, PlayerWrapperEventTypeType, Source, TivioPlayerWrapper, TivioVodSource, TvProgramSource, Marker, ListenerAdMetadata, ListenerMarkers, Listener, };