@basmilius/apple-sdk 0.12.0 → 0.13.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.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { EventEmitter } from "node:events";
3
3
  import * as _$_basmilius_apple_common0 from "@basmilius/apple-common";
4
- import { AccessoryCredentials, AccessoryCredentials as AccessoryCredentials$1, AudioSource, CommandError, DeviceIdentity, DiscoveryResult, DiscoveryResult as DiscoveryResult$1, Storage, TimingServer, TimingServer as TimingServer$1 } from "@basmilius/apple-common";
4
+ import { AIRPLAY_SERVICE, AccessoryCredentials, AccessoryCredentials as AccessoryCredentials$1, AudioSource, AudioSource as AudioSource$1, COMPANION_LINK_SERVICE, CommandError, ConnectionRecovery, DeviceIdentity, DiscoveryResult, DiscoveryResult as DiscoveryResult$1, MdnsService, Storage, TimingServer, TimingServer as TimingServer$1, mdnsUnicast } from "@basmilius/apple-common";
5
5
  import { Proto, Proto as Proto$1, Protocol } from "@basmilius/apple-airplay";
6
6
  import { AttentionState, AttentionState as AttentionState$1, ButtonPressType, HidCommandKey, LaunchableApp, MediaControlCommandKey, Protocol as Protocol$1, TextInputState, TextInputState as TextInputState$1, UserAccount } from "@basmilius/apple-companion-link";
7
7
 
@@ -1275,7 +1275,7 @@ declare class AirPlayManager extends EventEmitter<EventMap$2> {
1275
1275
  *
1276
1276
  * @param source - The audio source to stream (e.g. MP3, WAV, URL, live).
1277
1277
  */
1278
- streamAudio(source: AudioSource): Promise<void>;
1278
+ streamAudio(source: AudioSource$1): Promise<void>;
1279
1279
  /**
1280
1280
  * Stops the current audio stream and cleans up the dedicated stream protocol.
1281
1281
  */
@@ -1915,7 +1915,7 @@ declare class MediaController {
1915
1915
  *
1916
1916
  * @param source - The audio source to stream (MP3, OGG, WAV, PCM, FFmpeg, URL, live).
1917
1917
  */
1918
- streamAudio(source: AudioSource): Promise<void>;
1918
+ streamAudio(source: AudioSource$1): Promise<void>;
1919
1919
  /**
1920
1920
  * Stops the current audio stream.
1921
1921
  */
@@ -2580,4 +2580,4 @@ type SdkConfig = {
2580
2580
  */
2581
2581
  declare function configure(config: SdkConfig): void;
2582
2582
  //#endregion
2583
- export { PROTOCOL as AIRPLAY_PROTOCOL, AbstractDevice, type AccessoryCredentials, AccountsController, AirPlayArtwork, type AirPlayClient, AirPlayManager, type AirPlayPlayer, AirPlayRemote, AirPlayState, AirPlayVolume, AppleTV, type AppleTVEventMap, type AppleTVOptions, AppsController, ArtworkController, type ArtworkResult, type AttentionState, COMPANION_LINK_PROTOCOL, CompanionLinkManager, CompanionLinkState, type ConnectOptions, type DeviceEventMap, type DeviceOptions, type DeviceType, type DiscoveredDevice, type DiscoveryResult, HomePod, HomePodMini, KeyboardController, type MediaCapabilities, MediaController, MultiroomController, type PairingOptions, type PairingResult, PairingSession, PlaybackController, PowerController, Proto, type RecoveryOptions, RemoteController, type SdkConfig, SendCommandError, StateController, type StateEventMap, SystemController, type TextInputState, TimingServer, VolumeController, configure, createDevice, discover };
2583
+ export { PROTOCOL as AIRPLAY_PROTOCOL, AIRPLAY_SERVICE, AbstractDevice, type AccessoryCredentials, AccountsController, AirPlayArtwork, type AirPlayClient, AirPlayManager, type AirPlayPlayer, AirPlayRemote, AirPlayState, AirPlayVolume, AppleTV, type AppleTVEventMap, type AppleTVOptions, AppsController, ArtworkController, type ArtworkResult, type AttentionState, type AudioSource, COMPANION_LINK_PROTOCOL, COMPANION_LINK_SERVICE, CompanionLinkManager, CompanionLinkState, type ConnectOptions, ConnectionRecovery, type DeviceEventMap, type DeviceOptions, type DeviceType, type DiscoveredDevice, type DiscoveryResult, HomePod, HomePodMini, KeyboardController, type MdnsService, type MediaCapabilities, MediaController, MultiroomController, type PairingOptions, type PairingResult, PairingSession, PlaybackController, PowerController, Proto, type RecoveryOptions, RemoteController, type SdkConfig, SendCommandError, StateController, type StateEventMap, SystemController, type TextInputState, TimingServer, VolumeController, configure, createDevice, discover, mdnsUnicast };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from "node:events";
2
- import { AirPlayFeatureFlags, CommandError, CredentialsError, Discovery, TimingServer, reporter, waitFor } from "@basmilius/apple-common";
2
+ import { AIRPLAY_SERVICE, AirPlayFeatureFlags, COMPANION_LINK_SERVICE, CommandError, ConnectionRecovery, CredentialsError, Discovery, TimingServer, mdnsUnicast, reporter, waitFor } from "@basmilius/apple-common";
3
3
  import { DataStreamMessage, Proto, Proto as Proto$1, Protocol } from "@basmilius/apple-airplay";
4
4
  import { MediaControlFlag, Protocol as Protocol$1, convertAttentionState } from "@basmilius/apple-companion-link";
5
5
  import { NSKeyedArchiver, Plist } from "@basmilius/apple-encoding";
@@ -4585,4 +4585,4 @@ function detectDeviceType(modelName) {
4585
4585
  }
4586
4586
 
4587
4587
  //#endregion
4588
- export { PROTOCOL as AIRPLAY_PROTOCOL, AbstractDevice, AccountsController, AirPlayArtwork, AirPlayClient, AirPlayManager, AirPlayPlayer, AirPlayRemote, AirPlayState, AirPlayVolume, AppleTV, AppsController, ArtworkController, COMPANION_LINK_PROTOCOL, CompanionLinkManager, CompanionLinkState, HomePod, HomePodMini, KeyboardController, MediaController, MultiroomController, PairingSession, PlaybackController, PowerController, Proto, RemoteController, SendCommandError, StateController, SystemController, TimingServer, VolumeController, configure, createDevice, discover };
4588
+ export { PROTOCOL as AIRPLAY_PROTOCOL, AIRPLAY_SERVICE, AbstractDevice, AccountsController, AirPlayArtwork, AirPlayClient, AirPlayManager, AirPlayPlayer, AirPlayRemote, AirPlayState, AirPlayVolume, AppleTV, AppsController, ArtworkController, COMPANION_LINK_PROTOCOL, COMPANION_LINK_SERVICE, CompanionLinkManager, CompanionLinkState, ConnectionRecovery, HomePod, HomePodMini, KeyboardController, MediaController, MultiroomController, PairingSession, PlaybackController, PowerController, Proto, RemoteController, SendCommandError, StateController, SystemController, TimingServer, VolumeController, configure, createDevice, discover, mdnsUnicast };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@basmilius/apple-sdk",
3
3
  "description": "High-level SDK for controlling Apple devices (Apple TV, HomePod) via AirPlay and Companion Link.",
4
- "version": "0.12.0",
4
+ "version": "0.13.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -38,7 +38,6 @@
38
38
  "main": "./dist/index.mjs",
39
39
  "types": "./dist/index.d.mts",
40
40
  "typings": "./dist/index.d.mts",
41
- "sideEffects": false,
42
41
  "exports": {
43
42
  ".": {
44
43
  "types": "./dist/index.d.mts",
@@ -46,12 +45,11 @@
46
45
  }
47
46
  },
48
47
  "dependencies": {
49
- "@basmilius/apple-airplay": "0.12.0",
50
- "@basmilius/apple-audio-source": "0.12.0",
51
- "@basmilius/apple-common": "0.12.0",
52
- "@basmilius/apple-companion-link": "0.12.0",
53
- "@basmilius/apple-encoding": "0.12.0",
54
- "@basmilius/apple-raop": "0.12.0"
48
+ "@basmilius/apple-airplay": "0.13.0",
49
+ "@basmilius/apple-common": "0.13.0",
50
+ "@basmilius/apple-companion-link": "0.13.0",
51
+ "@basmilius/apple-encoding": "0.13.0",
52
+ "@basmilius/apple-raop": "0.13.0"
55
53
  },
56
54
  "devDependencies": {
57
55
  "@types/bun": "^1.3.11",