@basmilius/apple-companion-link 0.9.7 → 0.9.9
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 +1 -1
- package/dist/index.mjs +2 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -93,7 +93,7 @@ declare class Protocol {
|
|
|
93
93
|
destroy(): void;
|
|
94
94
|
disconnect(): Promise<void>;
|
|
95
95
|
fetchMediaControlStatus(): Promise<void>;
|
|
96
|
-
fetchNowPlayingInfo(): Promise<
|
|
96
|
+
fetchNowPlayingInfo(): Promise<any>;
|
|
97
97
|
fetchSupportedActions(): Promise<void>;
|
|
98
98
|
getAttentionState(): Promise<AttentionState>;
|
|
99
99
|
getLaunchableApps(): Promise<LaunchableApp[]>;
|
package/dist/index.mjs
CHANGED
|
@@ -364,11 +364,12 @@ var Protocol = class {
|
|
|
364
364
|
});
|
|
365
365
|
}
|
|
366
366
|
async fetchNowPlayingInfo() {
|
|
367
|
-
await this.#stream.exchange(FrameType.OPackEncrypted, {
|
|
367
|
+
const [, payload] = await this.#stream.exchange(FrameType.OPackEncrypted, {
|
|
368
368
|
_i: "FetchCurrentNowPlayingInfoEvent",
|
|
369
369
|
_t: MessageType.Request,
|
|
370
370
|
_c: {}
|
|
371
371
|
});
|
|
372
|
+
return payload;
|
|
372
373
|
}
|
|
373
374
|
async fetchSupportedActions() {
|
|
374
375
|
await this.#stream.exchange(FrameType.OPackEncrypted, {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basmilius/apple-companion-link",
|
|
3
3
|
"description": "Implementation of Apple's Companion Link in Node.js.",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@basmilius/apple-common": "0.9.
|
|
50
|
-
"@basmilius/apple-encoding": "0.9.
|
|
51
|
-
"@basmilius/apple-encryption": "0.9.
|
|
49
|
+
"@basmilius/apple-common": "0.9.9",
|
|
50
|
+
"@basmilius/apple-encoding": "0.9.9",
|
|
51
|
+
"@basmilius/apple-encryption": "0.9.9"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/bun": "^1.3.9",
|