@basmilius/apple-sdk 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +3 -0
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -2437,6 +2437,9 @@ var AirPlayState = class extends EventEmitter {
|
|
|
2437
2437
|
onSetArtwork(message) {
|
|
2438
2438
|
if (message.jpegData?.byteLength > 0) this.#artworkJpegData = message.jpegData;
|
|
2439
2439
|
this.emit("setArtwork", message);
|
|
2440
|
+
const client = this.nowPlayingClient;
|
|
2441
|
+
const player = client?.activePlayer;
|
|
2442
|
+
if (client && player) this.emit("artworkChanged", client, player);
|
|
2440
2443
|
}
|
|
2441
2444
|
/**
|
|
2442
2445
|
* Handles default supported commands for a client. These serve as fallback
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basmilius/apple-sdk",
|
|
3
3
|
"description": "High-level SDK for controlling Apple devices (Apple TV, HomePod) via AirPlay and Companion Link.",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@basmilius/apple-airplay": "0.13.
|
|
49
|
-
"@basmilius/apple-common": "0.13.
|
|
50
|
-
"@basmilius/apple-companion-link": "0.13.
|
|
51
|
-
"@basmilius/apple-encoding": "0.13.
|
|
52
|
-
"@basmilius/apple-raop": "0.13.
|
|
48
|
+
"@basmilius/apple-airplay": "0.13.1",
|
|
49
|
+
"@basmilius/apple-common": "0.13.1",
|
|
50
|
+
"@basmilius/apple-companion-link": "0.13.1",
|
|
51
|
+
"@basmilius/apple-encoding": "0.13.1",
|
|
52
|
+
"@basmilius/apple-raop": "0.13.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/bun": "^1.3.11",
|