@enplug/sdk-player
Advanced tools
Comparing version 0.10.12 to 0.10.13
{ | ||
"name": "@enplug/sdk-player", | ||
"version": "0.10.12", | ||
"version": "0.10.13", | ||
"description": "Enplug Player SDK", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.ts", |
@@ -6,45 +6,45 @@ /** | ||
declare namespace enplug { | ||
namespace appStatus { | ||
const canInterrupt: Promise<boolean>; | ||
const error: () => Promise<boolean>; | ||
const getTrigger: () => Promise<Trigger>; | ||
const hide: () => Promise<boolean>; | ||
const registerServiceWorker: (appId?: string, swFilePath?: string) => Promise<string>; | ||
const setCanInterrupt: (canInterrupt: boolean) => Promise<boolean>; | ||
const start: () => Promise<boolean>; | ||
const toggleSound: (enabled: boolean) => Promise<void>; | ||
} | ||
namespace assets { | ||
const getAsset: () => Promise<any>; | ||
const getList: () => Promise<any[]>; | ||
const getNext: () => Promise<any>; | ||
const getTheme: () => Promise<any>; | ||
} | ||
namespace cache { | ||
const getFile: (url: string) => Promise<string>; | ||
} | ||
namespace notifications { | ||
const post: (message: string) => Promise<string>; | ||
} | ||
namespace playRecorder { | ||
const report: (assetId: string, referenceId: any, playDuration: number, additionalInfo?: string) => Promise<void>; | ||
} | ||
namespace settings { | ||
const all: Promise<any>; | ||
const deviceId: Promise<string>; | ||
const is4K: Promise<boolean>; | ||
const isMuted: Promise<boolean>; | ||
const locale: Promise<string>; | ||
const transitionType: Promise<TransitionType>; | ||
const whitelabel: Promise<string>; | ||
const zoning: Promise<any>; | ||
} | ||
namespace social { | ||
const getItems: () => Promise<any[]>; | ||
const getFeeds: () => Promise<any[]>; | ||
} | ||
const on: (eventName: string, eventHandler: (...args) => any) => void; | ||
const off: (eventName: string, eventHandler: (...args) => any) => void; | ||
const once: (eventName: string, eventHandler: (...args) => any) => void; | ||
namespace appStatus { | ||
const canInterrupt: Promise<boolean>; | ||
const error: (errorMessage?: string) => Promise<boolean>; | ||
const getTrigger: () => Promise<Trigger>; | ||
const hide: () => Promise<boolean>; | ||
const registerServiceWorker: (appId?: string, swFilePath?: string) => Promise<string>; | ||
const setCanInterrupt: (canInterrupt: boolean) => Promise<boolean>; | ||
const start: () => Promise<boolean>; | ||
const toggleSound: (enabled: boolean) => Promise<void>; | ||
} | ||
namespace assets { | ||
const getAsset: () => Promise<any>; | ||
const getList: () => Promise<any[]>; | ||
const getNext: () => Promise<any>; | ||
const getTheme: () => Promise<any>; | ||
} | ||
namespace cache { | ||
const getFile: (url: string) => Promise<string>; | ||
} | ||
namespace notifications { | ||
const post: (message: string) => Promise<string>; | ||
} | ||
namespace playRecorder { | ||
const report: (assetId: string, referenceId: any, playDuration: number, additionalInfo?: string) => Promise<void>; | ||
} | ||
namespace settings { | ||
const all: Promise<any>; | ||
const deviceId: Promise<string>; | ||
const is4K: Promise<boolean>; | ||
const isMuted: Promise<boolean>; | ||
const locale: Promise<string>; | ||
const transitionType: Promise<TransitionType>; | ||
const whitelabel: Promise<string>; | ||
const zoning: Promise<any>; | ||
} | ||
namespace social { | ||
const getItems: () => Promise<any[]>; | ||
const getFeeds: () => Promise<any[]>; | ||
} | ||
const on: (eventName: string, eventHandler: (...args) => any) => void; | ||
const off: (eventName: string, eventHandler: (...args) => any) => void; | ||
const once: (eventName: string, eventHandler: (...args) => any) => void; | ||
} | ||
@@ -51,0 +51,0 @@ declare const enum TransitionType { |
153720