@basmilius/apple-devices 0.0.97 → 0.0.99
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.js +4 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1787,8 +1787,10 @@ class device_default2 extends EventEmitter3 {
|
|
|
1787
1787
|
this.emit("power", state);
|
|
1788
1788
|
}
|
|
1789
1789
|
async#unsubscribe() {
|
|
1790
|
-
|
|
1791
|
-
|
|
1790
|
+
try {
|
|
1791
|
+
await this.#protocol._unsubscribe("SystemStatus", this.onSystemStatus);
|
|
1792
|
+
await this.#protocol._unsubscribe("TVSystemStatus", this.onTVSystemStatus);
|
|
1793
|
+
} catch (_) {}
|
|
1792
1794
|
}
|
|
1793
1795
|
async onSystemStatus(data) {
|
|
1794
1796
|
reporter3.info("System Status", data);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basmilius/apple-devices",
|
|
3
3
|
"description": "Exposes various Apple devices to connect with either AirPlay or Companion Link.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.99",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@basmilius/apple-airplay": "0.0.
|
|
47
|
-
"@basmilius/apple-common": "0.0.
|
|
48
|
-
"@basmilius/apple-companion-link": "0.0.
|
|
49
|
-
"@basmilius/apple-encoding": "0.0.
|
|
46
|
+
"@basmilius/apple-airplay": "0.0.99",
|
|
47
|
+
"@basmilius/apple-common": "0.0.99",
|
|
48
|
+
"@basmilius/apple-companion-link": "0.0.99",
|
|
49
|
+
"@basmilius/apple-encoding": "0.0.99"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@basmilius/tools": "^2.23.0",
|