@theoplayer/extended 4.0.0 → 4.1.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/THEOplayer.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * THEOplayer
3
3
  * https://www.theoplayer.com
4
4
  *
5
- * Version: 2022.3.2 (4.0.0)
5
+ * Version: 2022.3.3 (4.1.0)
6
6
  */
7
7
 
8
8
  /**
@@ -752,6 +752,16 @@ export declare interface AgamaPlayerConfiguration extends AgamaConfiguration {
752
752
  * <br/> - Will not be reported to Agama if not present
753
753
  */
754
754
  userAccountID?: string;
755
+ /**
756
+ * The identifier of the device.
757
+ *
758
+ * @remarks
759
+ * <br/> - Available since v4.1.0.
760
+ * <br/> - Make sure to pass a valid string as indicated by the Agama SDK documentation. No specific value format validation is performed on this
761
+ * as that is deemed the responsibility of the one setting this value externally via this configuration property.
762
+ * <br/> - Will be generated internally if not present
763
+ */
764
+ deviceID?: string;
755
765
  }
756
766
 
757
767
  /**
@@ -3943,6 +3953,11 @@ export declare interface GoogleDAI {
3943
3953
  * Whether snapback is enabled. When enabled and the user seeks over multiple ad breaks, the last ad break that was seeked past will be played.
3944
3954
  */
3945
3955
  snapback: boolean;
3956
+ /**
3957
+ * A source transformer which will receive the source as returned from Google DAI before loading it in the player. This capability can be useful
3958
+ * if you need to add authentication tokens or signatures to the source URL as returned by Google.
3959
+ */
3960
+ sourceTransformer: (url: string) => string | Promise<string>;
3946
3961
  }
3947
3962
 
3948
3963
  /**