@basmilius/apple-airplay 0.11.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
@@ -41,21 +41,21 @@ declare class ControlStream extends RtspClient {
41
41
  *
42
42
  * @returns Header map with Active-Remote, DACP-ID, User-Agent, protocol version, and session ID.
43
43
  */
44
- protected getDefaultHeaders(): Record<string, string | number>;
44
+ protected override getDefaultHeaders(): Record<string, string | number>;
45
45
  /**
46
46
  * Decrypts incoming RTSP data if encryption is enabled.
47
47
  *
48
48
  * @param data - Raw data from the TCP socket.
49
49
  * @returns Decrypted data, passthrough if unencrypted, or `false` if incomplete.
50
50
  */
51
- protected transformIncoming(data: Buffer): Buffer | false;
51
+ protected override transformIncoming(data: Buffer): Buffer | false;
52
52
  /**
53
53
  * Encrypts outgoing RTSP data if encryption is enabled.
54
54
  *
55
55
  * @param data - Plaintext data to send.
56
56
  * @returns Encrypted data, or passthrough if unencrypted.
57
57
  */
58
- protected transformOutgoing(data: Buffer): Buffer;
58
+ protected override transformOutgoing(data: Buffer): Buffer;
59
59
  /**
60
60
  * Sends an RTSP FLUSH request to reset the playback buffer.
61
61
  *
package/dist/index.mjs CHANGED
@@ -3609,11 +3609,10 @@ function boot(boot) {
3609
3609
  * @private
3610
3610
  */
3611
3611
  function bootFileDescriptorProto(init) {
3612
- const proto = Object.create({
3612
+ return Object.assign(Object.create({
3613
3613
  syntax: "",
3614
3614
  edition: 0
3615
- });
3616
- return Object.assign(proto, Object.assign(Object.assign({
3615
+ }), Object.assign(Object.assign({
3617
3616
  $typeName: "google.protobuf.FileDescriptorProto",
3618
3617
  dependency: [],
3619
3618
  publicDependency: [],
@@ -3628,8 +3627,7 @@ function bootFileDescriptorProto(init) {
3628
3627
  }
3629
3628
  function bootDescriptorProto(init) {
3630
3629
  var _a, _b, _c, _d, _e, _f, _g, _h;
3631
- const proto = Object.create({ visibility: 0 });
3632
- return Object.assign(proto, {
3630
+ return Object.assign(Object.create({ visibility: 0 }), {
3633
3631
  $typeName: "google.protobuf.DescriptorProto",
3634
3632
  name: init.name,
3635
3633
  field: (_b = (_a = init.field) === null || _a === void 0 ? void 0 : _a.map(bootFieldDescriptorProto)) !== null && _b !== void 0 ? _b : [],
@@ -3643,7 +3641,7 @@ function bootDescriptorProto(init) {
3643
3641
  });
3644
3642
  }
3645
3643
  function bootFieldDescriptorProto(init) {
3646
- const proto = Object.create({
3644
+ return Object.assign(Object.create({
3647
3645
  label: 1,
3648
3646
  typeName: "",
3649
3647
  extendee: "",
@@ -3651,12 +3649,11 @@ function bootFieldDescriptorProto(init) {
3651
3649
  oneofIndex: 0,
3652
3650
  jsonName: "",
3653
3651
  proto3Optional: false
3654
- });
3655
- return Object.assign(proto, Object.assign(Object.assign({ $typeName: "google.protobuf.FieldDescriptorProto" }, init), { options: init.options ? bootFieldOptions(init.options) : void 0 }));
3652
+ }), Object.assign(Object.assign({ $typeName: "google.protobuf.FieldDescriptorProto" }, init), { options: init.options ? bootFieldOptions(init.options) : void 0 }));
3656
3653
  }
3657
3654
  function bootFieldOptions(init) {
3658
3655
  var _a, _b, _c;
3659
- const proto = Object.create({
3656
+ return Object.assign(Object.create({
3660
3657
  ctype: 0,
3661
3658
  packed: false,
3662
3659
  jstype: 0,
@@ -3666,16 +3663,14 @@ function bootFieldOptions(init) {
3666
3663
  weak: false,
3667
3664
  debugRedact: false,
3668
3665
  retention: 0
3669
- });
3670
- return Object.assign(proto, Object.assign(Object.assign({ $typeName: "google.protobuf.FieldOptions" }, init), {
3666
+ }), Object.assign(Object.assign({ $typeName: "google.protobuf.FieldOptions" }, init), {
3671
3667
  targets: (_a = init.targets) !== null && _a !== void 0 ? _a : [],
3672
3668
  editionDefaults: (_c = (_b = init.editionDefaults) === null || _b === void 0 ? void 0 : _b.map((e) => Object.assign({ $typeName: "google.protobuf.FieldOptions.EditionDefault" }, e))) !== null && _c !== void 0 ? _c : [],
3673
3669
  uninterpretedOption: []
3674
3670
  }));
3675
3671
  }
3676
3672
  function bootEnumDescriptorProto(init) {
3677
- const proto = Object.create({ visibility: 0 });
3678
- return Object.assign(proto, {
3673
+ return Object.assign(Object.create({ visibility: 0 }), {
3679
3674
  $typeName: "google.protobuf.EnumDescriptorProto",
3680
3675
  name: init.name,
3681
3676
  reservedName: [],
@@ -15243,13 +15238,8 @@ function playbackQueueRequest(location, length, artworkWidth = 600, artworkHeigh
15243
15238
  includeLyrics: true,
15244
15239
  includeSections: true,
15245
15240
  includeAlignments: true,
15246
- includeAvailableArtworkFormats: true,
15247
15241
  includeParticipants: true,
15248
- isLegacyNowPlayingInfoRequest: false,
15249
- requestedArtworkFormats: ["MRContentItemArtworkFormatStandard"],
15250
- requestedRemoteArtworkFormats: ["MRContentItemArtworkFormatStandard"],
15251
- requestedAnimatedArtworkPreviewFrameFormats: ["MRContentItemAnimatedArtworkFormatSquare", "MRContentItemAnimatedArtworkFormatTall"],
15252
- requestedAnimatedArtworkAssetURLFormats: ["MRContentItemAnimatedArtworkFormatSquare", "MRContentItemAnimatedArtworkFormatTall"]
15242
+ isLegacyNowPlayingInfoRequest: false
15253
15243
  });
15254
15244
  setExtension(protocolMessage, playbackQueueRequestMessage, message);
15255
15245
  return [protocolMessage, playbackQueueRequestMessage];
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.11.0",
4
+ "version": "0.13.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -40,7 +40,6 @@
40
40
  "main": "./dist/index.mjs",
41
41
  "types": "./dist/index.d.mts",
42
42
  "typings": "./dist/index.d.mts",
43
- "sideEffects": false,
44
43
  "exports": {
45
44
  ".": {
46
45
  "types": "./dist/index.d.mts",
@@ -48,10 +47,10 @@
48
47
  }
49
48
  },
50
49
  "dependencies": {
51
- "@basmilius/apple-common": "0.11.0",
52
- "@basmilius/apple-encoding": "0.11.0",
53
- "@basmilius/apple-encryption": "0.11.0",
54
- "@basmilius/apple-rtsp": "0.11.0"
50
+ "@basmilius/apple-common": "0.13.0",
51
+ "@basmilius/apple-encoding": "0.13.0",
52
+ "@basmilius/apple-encryption": "0.13.0",
53
+ "@basmilius/apple-rtsp": "0.13.0"
55
54
  },
56
55
  "devDependencies": {
57
56
  "@bufbuild/buf": "^1.66.1",
@@ -59,6 +58,6 @@
59
58
  "@bufbuild/protoc-gen-es": "^2.11.0",
60
59
  "@types/bun": "^1.3.11",
61
60
  "@types/node": "^25.5.0",
62
- "tsdown": "^0.21.4"
61
+ "tsdown": "^0.21.6"
63
62
  }
64
63
  }