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

@svrooij/sonos

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svrooij/sonos - npm Package Compare versions

Comparing version 2.5.0-beta.8 to 2.5.0-beta.9

11

lib/sonos-device.d.ts

@@ -6,3 +6,3 @@ /// <reference types="node" />

import { GetZoneInfoResponse, GetZoneAttributesResponse, AddURIToQueueResponse, MusicService } from './services';
import { PlayNotificationOptions, Alarm, TransportState, ExtendedTransportState, PatchAlarm, PlayTtsOptions, BrowseResponse, ZoneGroup } from './models';
import { PlayNotificationOptions, Alarm, TransportState, ExtendedTransportState, PatchAlarm, PlayTtsOptions, BrowseResponse, ZoneGroup, PlayMode } from './models';
import { StrongSonosEvents } from './models/strong-sonos-events';

@@ -323,2 +323,11 @@ import { SmapiClient } from './musicservices/smapi-client';

get GroupName(): string | undefined;
private currentPlayMode?;
/**
* Current play mode, only set when subscribed to events.
*
* @readonly
* @type {(string | undefined)}
* @memberof SonosDevice
*/
get CurrentPlayMode(): PlayMode | undefined;
private currentTrackUri?;

@@ -325,0 +334,0 @@ /**

@@ -705,2 +705,5 @@ "use strict";

}
if (data.CurrentPlayMode) {
this.currentPlayMode = data.CurrentPlayMode;
}
}

@@ -781,2 +784,12 @@ handleRenderingControlEvent(data) {

/**
* Current play mode, only set when subscribed to events.
*
* @readonly
* @type {(string | undefined)}
* @memberof SonosDevice
*/
get CurrentPlayMode() {
return this.currentPlayMode;
}
/**
* Current track uri, only set when subscribed to events.

@@ -783,0 +796,0 @@ *

2

lib/sonos-manager.js

@@ -101,3 +101,3 @@ "use strict";

this.devices.push(newDevice);
this.events.emit('NewDevice', coordinator);
this.events.emit('NewDevice', newDevice);
});

@@ -104,0 +104,0 @@ g.members.forEach((m) => {

{
"name": "@svrooij/sonos",
"version": "2.5.0-beta.8",
"version": "2.5.0-beta.9",
"description": "A node library to control your sonos devices, written in typescript",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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