@basmilius/apple-devices 0.2.0 → 0.3.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 +1 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1617,7 +1617,7 @@ class device_default extends EventEmitter2 {
1617
1617
  if (this.#timingServer) {
1618
1618
  this.#protocol.useTimingServer(this.#timingServer);
1619
1619
  }
1620
- await this.#protocol.setupEventStream(keys.pairingId, keys.sharedSecret);
1620
+ await this.#protocol.setupEventStream(keys.sharedSecret, keys.pairingId);
1621
1621
  await this.#protocol.setupDataStream(keys.sharedSecret, () => this.#subscribe());
1622
1622
  this.#protocol.dataStream.on("error", async (err) => this.#onError(err));
1623
1623
  this.#protocol.dataStream.on("timeout", async () => this.#onTimeout());
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.2.0",
4
+ "version": "0.3.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.2.0",
47
- "@basmilius/apple-common": "0.2.0",
48
- "@basmilius/apple-companion-link": "0.2.0",
49
- "@basmilius/apple-encoding": "0.2.0"
46
+ "@basmilius/apple-airplay": "0.3.0",
47
+ "@basmilius/apple-common": "0.3.0",
48
+ "@basmilius/apple-companion-link": "0.3.0",
49
+ "@basmilius/apple-encoding": "0.3.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@basmilius/tools": "^2.23.0",