@basmilius/apple-devices 0.0.104 → 0.1.0

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1770,10 +1770,11 @@ class device_default2 extends EventEmitter3 {
1770
1770
  const keys = this.#keys;
1771
1771
  await this.#protocol.socket.enableEncryption(keys.accessoryToControllerKey, keys.controllerToAccessoryKey);
1772
1772
  await this.#protocol._systemInfo(this.#credentials.pairingId);
1773
- await this.#protocol._touchStart();
1774
1773
  await this.#protocol._sessionStart();
1775
1774
  await this.#protocol._tvrcSessionStart();
1776
- await this.#protocol._unsubscribe("_iMC");
1775
+ await this.#protocol._touchStart();
1776
+ await this.#protocol._tiStart();
1777
+ await this.#protocol._subscribe("_iMC", (evt) => reporter3.info("iMC", evt));
1777
1778
  this.#heartbeatInterval = setInterval(async () => await this.#heartbeat(), 15000);
1778
1779
  await this.#subscribe();
1779
1780
  }
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.104",
4
+ "version": "0.1.0",
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.104",
47
- "@basmilius/apple-common": "0.0.104",
48
- "@basmilius/apple-companion-link": "0.0.104",
49
- "@basmilius/apple-encoding": "0.0.104"
46
+ "@basmilius/apple-airplay": "0.1.0",
47
+ "@basmilius/apple-common": "0.1.0",
48
+ "@basmilius/apple-companion-link": "0.1.0",
49
+ "@basmilius/apple-encoding": "0.1.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@basmilius/tools": "^2.23.0",