@enplug/sdk-player
Advanced tools
Comparing version
{ | ||
"name": "@enplug/sdk-player", | ||
"version": "0.11.9", | ||
"version": "0.11.10Diego1", | ||
"description": "Enplug Player SDK", | ||
@@ -78,2 +78,3 @@ "main": "./src/index.ts", | ||
"aws": { | ||
"profile": "enplug-s3-deployer", | ||
"buckets": [ | ||
@@ -83,3 +84,2 @@ "apps.enplug.in", | ||
], | ||
"profile": "enplug-s3-deployer", | ||
"s3": { | ||
@@ -86,0 +86,0 @@ "cache": false, |
@@ -49,4 +49,8 @@ /** | ||
getNextForPlayList<T>(index: number): Promise<T> { | ||
return this.bridge.send(Service.Assets, Action.GetNextForPlayList, index); | ||
getNextForPlayList<T>(index: number, appId: string): Promise<T> { | ||
const payload = { | ||
index, | ||
appId, | ||
}; | ||
return this.bridge.send(Service.Assets, Action.GetNextForPlayList, payload); | ||
} | ||
@@ -58,2 +62,6 @@ | ||
getBlobsForVideo(url: string): Promise<any> { | ||
return this.bridge.send(Service.Assets, Action.GetBlobsForVideo, url); | ||
} | ||
/** @internal */ | ||
@@ -60,0 +68,0 @@ getAsset(): Promise<any> { |
@@ -34,2 +34,3 @@ /** | ||
GetParentAsset = 'get-parent-asset', | ||
GetBlobsForVideo = 'get-blobs-for-video', | ||
GetList = 'get-list', | ||
@@ -36,0 +37,0 @@ GetNext = 'get-next', |
@@ -19,5 +19,6 @@ /** | ||
const getParentAsset: () => Promise<any>; | ||
const getBlobsForVideo: (url: string) => Promise<any>; | ||
const getList: () => Promise<any[]>; | ||
const getNext: () => Promise<any>; | ||
const getNextForPlayList: (index: number) => Promise<any>; | ||
const getNextForPlayList: (index: number, appId: string) => Promise<any>; | ||
const getTheme: () => Promise<any>; | ||
@@ -24,0 +25,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
221949
43.96%3228
94.93%1
Infinity%