@tivio/sdk-js 2.0.0 → 2.1.0-alpha

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -12,6 +12,10 @@ yarn add @tivio/sdk-js
12
12
 
13
13
  # Changelog
14
14
 
15
+ * 2.1.0-alpha
16
+ * minor: better es5 polyfills
17
+ * patch: add `verbose` to Tivio config type
18
+ * patch: add `bundleUrlOverride` to Tivio config type
15
19
  * 2.0.0
16
20
  * requires core-js at least 1.13.0
17
21
  * major: remove `createPlayerWrapper` from Tivio API object
package/dist/conf.d.ts CHANGED
@@ -11,6 +11,10 @@ export interface PlayerCapability {
11
11
  protocol: 'dash' | 'hls';
12
12
  }
13
13
  export declare type InternalConf = {
14
+ /**
15
+ * @private URL of remote code bundle to be fetched directly (without using resolver)
16
+ */
17
+ bundleUrlOverride?: string;
14
18
  /**
15
19
  * Tells Tivio which technologies/protocols etc. is the device capable to play.
16
20
  * If not provided, Tivio will try to guess it (based on the browser).
@@ -43,6 +47,10 @@ export declare type InternalConf = {
43
47
  * Can turn off Tivio's Sentry logging, defaults to true.
44
48
  */
45
49
  enableSentry?: boolean;
50
+ /**
51
+ * Can turn on Tivio's console logging, defaults to false.
52
+ */
53
+ verbose?: boolean;
46
54
  };
47
55
  export declare const defaultConf: {
48
56
  resolverUrl: string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import 'whatwg-fetch';
2
- import 'es7-object-polyfill';
2
+ import 'core-js/actual';
3
3
  export * from './services/bundleLoader';
4
4
  export * from './types';
5
5
  export * from './api.types';