@tivio/sdk-js 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ export declare class PlayerWrapper implements TivioPlayerWrapper {
13
13
  reportPlaybackEnded(): void;
14
14
  reportTimeProgress(ms: number): void;
15
15
  seekTo(ms: number): void;
16
- setSource(source: Source | null): void;
16
+ setSource(source: Source | null, calibrationId?: string): void;
17
17
  }
18
18
  /**
19
19
  * Called when tivio is initialized (remote bundle is ready).
@@ -18,7 +18,7 @@ export declare class InternalPlayerWrapper implements TivioPlayerWrapper {
18
18
  reportPlaybackEnded(): void;
19
19
  reportTimeProgress(ms: number): void;
20
20
  seekTo(ms: number): void;
21
- setSource(source: Source | null): void;
21
+ setSource(source: Source | null, calibrationId?: string): void;
22
22
  /**
23
23
  * Set instance of the real player wrapper (from core-js).
24
24
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tivio/sdk-js",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "source": "src/index.ts",