@basmilius/apple-airplay 0.0.65 → 0.0.67
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/{protocol/dataStream.d.ts → dataStream.d.ts} +5 -5
- package/dist/{protocol/dataStreamMessages.d.ts → dataStreamMessages.d.ts} +1 -1
- package/dist/{protocol/eventStream.d.ts → eventStream.d.ts} +2 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +8 -8
- package/dist/index.js.map +11 -11
- package/dist/{protocol/pairing.d.ts → pairing.d.ts} +4 -4
- package/dist/{protocol/rtsp.d.ts → rtsp.d.ts} +2 -2
- package/dist/{protocol/verify.d.ts → verify.d.ts} +4 -4
- package/package.json +2 -2
- package/dist/protocol/index.d.ts +0 -7
- package/dist/test.d.ts +0 -1
- package/dist/test.js +0 -12
- package/dist/test.js.map +0 -96
- /package/dist/{protocol/protocol.d.ts → protocol.d.ts} +0 -0
- /package/dist/{protocol/stream.d.ts → stream.d.ts} +0 -0
- /package/dist/{protocol/utils.d.ts → utils.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as Proto from "
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import * as Proto from "./proto";
|
|
2
|
+
import DataStreamMessages from "./dataStreamMessages";
|
|
3
|
+
import Stream from "./stream";
|
|
4
4
|
type EventMap = {
|
|
5
5
|
readonly deviceInfo: [Proto.DeviceInfoMessage];
|
|
6
6
|
readonly originClientProperties: [Proto.OriginClientPropertiesMessage];
|
|
@@ -20,9 +20,9 @@ type EventMap = {
|
|
|
20
20
|
readonly volumeControlCapabilitiesDidChange: [Proto.VolumeControlCapabilitiesDidChangeMessage];
|
|
21
21
|
readonly volumeDidChange: [Proto.VolumeDidChangeMessage];
|
|
22
22
|
};
|
|
23
|
-
export default class AirPlayDataStream extends
|
|
23
|
+
export default class AirPlayDataStream extends Stream<EventMap> {
|
|
24
24
|
#private;
|
|
25
|
-
get messages():
|
|
25
|
+
get messages(): DataStreamMessages;
|
|
26
26
|
constructor(address: string, port: number);
|
|
27
27
|
exchange(message: Proto.ProtocolMessage): Promise<Proto.ProtocolMessage>;
|
|
28
28
|
reply(seqno: bigint): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default class AirPlayEventStream extends
|
|
1
|
+
import Stream from "./stream";
|
|
2
|
+
export default class AirPlayEventStream extends Stream<never> {
|
|
3
3
|
#private;
|
|
4
4
|
respond(response: Response): Promise<void>;
|
|
5
5
|
setup(sharedSecret: Buffer): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export {
|
|
1
|
+
export type { default as AirPlayDataStream } from "./dataStream";
|
|
2
|
+
export type { default as AirPlayDataStreamMessages } from "./dataStreamMessages";
|
|
3
|
+
export type { default as AirPlayPairing } from "./pairing";
|
|
4
|
+
export type { default as AirPlayRTSP } from "./rtsp";
|
|
5
|
+
export type { default as AirPlayStream } from "./stream";
|
|
6
|
+
export type { default as AirPlayVerify } from "./verify";
|
|
3
7
|
export * as Proto from "./proto";
|
|
8
|
+
export { default as AirPlay } from "./protocol";
|