@tivio/sdk-js 2.2.1 → 2.3.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
@@ -12,12 +12,13 @@ yarn add @tivio/sdk-js
|
|
12
12
|
|
13
13
|
# Changelog
|
14
14
|
|
15
|
+
* 2.3.0
|
16
|
+
* minor: add optional `calibrationId` parameter to `setSource`
|
15
17
|
* 2.2.1
|
16
18
|
* patch: fix export of `PlayerWrapperEventType`
|
17
19
|
* 2.2.0
|
18
20
|
* minor: add `getProgramTimestamps`
|
19
21
|
* minor: add `addEventListener('markers', ...)` to player wrapper
|
20
|
-
* minor: add optional `calibrationId` parameter to `setSource`
|
21
22
|
* 2.1.0
|
22
23
|
* minor: better es5 polyfills
|
23
24
|
* patch: add `verbose` to Tivio config type
|
package/dist/api.types.d.ts
CHANGED
@@ -156,7 +156,11 @@ interface TivioPlayerWrapper {
|
|
156
156
|
reportPlaybackEnded: () => void;
|
157
157
|
reportTimeProgress: (ms: number) => void;
|
158
158
|
seekTo: (ms: number) => void;
|
159
|
-
|
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
|
/**
|