New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@enplug/sdk-player

Package Overview
Dependencies
Maintainers
28
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enplug/sdk-player - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2-dev

2

package.json
{
"name": "@enplug/sdk-player",
"version": "0.11.1",
"version": "0.11.2-dev",
"description": "Enplug Player SDK",

@@ -5,0 +5,0 @@ "main": "./src/index.ts",

@@ -62,2 +62,3 @@ /**

GetItems = 'get-items',
GetDeviceInfo = 'get-deviceinfo'
}

@@ -64,0 +65,0 @@

@@ -47,2 +47,3 @@ /**

const zoning: Promise<any>;
const deviceInfo: Promise<any>;
}

@@ -49,0 +50,0 @@ namespace social {

@@ -93,2 +93,3 @@ /**

* - {@link deviceId|`enplug.settings.deviceId`} - returns deviceId
* - {@link_deviceInfo|`enplug.settings.deviceInfo`} - returns deviceId, deviceName, displayHeight, displayWidth, venueId, venueName
*/

@@ -157,3 +158,3 @@ export default class Settings {

if (id) {
console.log(`[Enplug SDK: ${this.version}] Settings: Returning setting deviveId: ${id}`);
console.log(`[Enplug SDK: ${this.version}] Settings: Returning setting deviceId: ${id}`);
return id as string;

@@ -295,2 +296,18 @@ } else {

}
/** @returns Edu info*/
get deviceInfo(): Promise<any> {
return this.bridge.send(Service.Settings, Action.GetDeviceInfo).then((payload: any) => {
console.log(`[Enplug SDK: ${this.version}] Settings: Returning device Info: ${JSON.stringify(payload)}`)
const id = this.getPayloadValue(payload);
return {
deviceId: id? id as string : null,
deviceName: payload.deviceName,
displayWidth: payload.displayWidth,
displayHeight: payload.displayHeight,
venueId: payload.venueId,
venueName: payload.venueName
}
})
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc