@enplug/sdk-player
Advanced tools
Comparing version 0.11.5-dev4 to 0.11.6-dev2
{ | ||
"name": "@enplug/sdk-player", | ||
"version": "0.11.5-dev4", | ||
"version": "0.11.6-dev2", | ||
"description": "Enplug Player SDK", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.ts", |
@@ -49,6 +49,10 @@ /** | ||
getNextForPlayList<T>(): Promise<T> { | ||
getNextForPlayList<T>(index: number): Promise<T> { | ||
return this.bridge.send(Service.Assets, Action.GetNextForPlayList); | ||
} | ||
getParentAsset(): Promise<any> { | ||
return this.bridge.send(Service.Assets, Action.GetParentAsset); | ||
} | ||
/** @internal */ | ||
@@ -55,0 +59,0 @@ getAsset(): Promise<any> { |
@@ -33,2 +33,3 @@ /** | ||
GetAsset = 'get-asset', | ||
GetParentAsset = 'get-parent-asset', | ||
GetList = 'get-list', | ||
@@ -35,0 +36,0 @@ GetNext = 'get-next', |
@@ -18,5 +18,6 @@ /** | ||
const getAsset: () => Promise<any>; | ||
const getParentAsset: () => Promise<any>; | ||
const getList: () => Promise<any[]>; | ||
const getNext: () => Promise<any>; | ||
const getNextForPlayList: () => Promise<any>; | ||
const getNextForPlayList: (index: number) => Promise<any>; | ||
const getTheme: () => Promise<any>; | ||
@@ -23,0 +24,0 @@ } |
220521
3209