@basmilius/apple-devices 0.10.0 → 0.10.1

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.d.mts CHANGED
@@ -25,8 +25,7 @@ declare class Player {
25
25
  /** Current playback queue, or null if unavailable. */
26
26
  get playbackQueue(): Proto.PlaybackQueue | null;
27
27
  /**
28
- * Effective playback state. Corrects for the edge case where the Apple TV
29
- * reports Playing but the playback rate is 0 (effectively paused).
28
+ * Effective playback state.
30
29
  */
31
30
  get playbackState(): Proto.PlaybackState_Enum;
32
31
  /** The raw playback state as reported by the Apple TV, without corrections. */
package/dist/index.mjs CHANGED
@@ -53,11 +53,9 @@ var Player = class {
53
53
  return this.#playbackQueue;
54
54
  }
55
55
  /**
56
- * Effective playback state. Corrects for the edge case where the Apple TV
57
- * reports Playing but the playback rate is 0 (effectively paused).
56
+ * Effective playback state.
58
57
  */
59
58
  get playbackState() {
60
- if (this.#playbackState === Proto.PlaybackState_Enum.Playing && this.playbackRate === 0) return Proto.PlaybackState_Enum.Paused;
61
59
  return this.#playbackState;
62
60
  }
63
61
  /** The raw playback state as reported by the Apple TV, without corrections. */
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.10.0",
4
+ "version": "0.10.1",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -49,10 +49,10 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@basmilius/apple-airplay": "0.10.0",
53
- "@basmilius/apple-common": "0.10.0",
54
- "@basmilius/apple-companion-link": "0.10.0",
55
- "@basmilius/apple-encoding": "0.10.0"
52
+ "@basmilius/apple-airplay": "0.10.1",
53
+ "@basmilius/apple-common": "0.10.1",
54
+ "@basmilius/apple-companion-link": "0.10.1",
55
+ "@basmilius/apple-encoding": "0.10.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/bun": "^1.3.11",