@tivio/sdk-js 2.2.0 → 2.3.2

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.0",
3
+ "version": "2.3.2",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "source": "src/index.ts",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "scripts": {
12
12
  "build": "cat ./.env.prod > ./.env && yarn run clean && webpack --config=webpack.config.prod.js",
13
- "dev": "cat ./.env.dev > ./.env && yarn run clean && webpack --config=webpack.config.dev.js",
13
+ "build:dev": "cat ./.env.dev > ./.env && yarn run clean && webpack --config=webpack.config.dev.js",
14
14
  "test": "jest --config=./jest.config.js --coverage",
15
15
  "start": "webpack -w",
16
16
  "clean": "rm -rf dist",