@basmilius/apple-devices 0.0.83 → 0.0.85
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 +1 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1610,8 +1610,7 @@ class device_default extends EventEmitter2 {
|
|
|
1610
1610
|
await this.#protocol.setupTimingServer(this.#timingServer);
|
|
1611
1611
|
}
|
|
1612
1612
|
await this.#protocol.setupEventStream(keys.pairingId, keys.sharedSecret);
|
|
1613
|
-
await this.#protocol.setupDataStream(keys.sharedSecret);
|
|
1614
|
-
await this.#subscribe();
|
|
1613
|
+
await this.#protocol.setupDataStream(keys.sharedSecret, async () => await this.#subscribe());
|
|
1615
1614
|
this.#protocol.dataStream.on("error", async (err) => this.#onError(err));
|
|
1616
1615
|
this.#protocol.dataStream.on("timeout", async () => this.#onTimeout());
|
|
1617
1616
|
this.#protocol.eventStream.on("error", async (err) => this.#onError(err));
|
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.85",
|
|
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.85",
|
|
47
|
+
"@basmilius/apple-common": "0.0.85",
|
|
48
|
+
"@basmilius/apple-companion-link": "0.0.85",
|
|
49
|
+
"@basmilius/apple-encoding": "0.0.85"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@basmilius/tools": "^2.23.0",
|