@basmilius/apple-airplay 0.3.0 → 0.3.2

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 +5 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -2217,9 +2217,13 @@ class Protocol {
2217
2217
  }
2218
2218
  async destroy() {
2219
2219
  await this.#controlStream.destroy();
2220
+ await this.#dataStream?.destroy();
2221
+ await this.#eventStream?.destroy();
2220
2222
  }
2221
2223
  async disconnect() {
2222
- await this.#dataStream.disconnect();
2224
+ await this.#controlStream.disconnect();
2225
+ await this.#dataStream?.disconnect();
2226
+ await this.#eventStream?.disconnect();
2223
2227
  }
2224
2228
  async feedback() {
2225
2229
  await this.#controlStream.post("/feedback", undefined, undefined, 1900);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@basmilius/apple-airplay",
3
3
  "description": "Implementation of Apple's AirPlay2 in Node.js.",
4
- "version": "0.3.0",
4
+ "version": "0.3.2",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -41,8 +41,8 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@basmilius/apple-common": "0.3.0",
45
- "@basmilius/apple-encoding": "0.3.0",
44
+ "@basmilius/apple-common": "0.3.2",
45
+ "@basmilius/apple-encoding": "0.3.2",
46
46
  "@bufbuild/protobuf": "^2.11.0"
47
47
  },
48
48
  "devDependencies": {