@basmilius/apple-companion-link 0.9.14 → 0.9.16

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +7 -6
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { randomInt } from "node:crypto";
2
- import { AccessoryPair, AccessoryVerify, Context, ENCRYPTION, EncryptionAwareConnection, waitFor } from "@basmilius/apple-common";
2
+ import { AccessoryPair, AccessoryVerify, Context, EncryptionAwareConnection, waitFor } from "@basmilius/apple-common";
3
3
  import { OPack, Plist } from "@basmilius/apple-encoding";
4
4
  import { Chacha20, hkdf } from "@basmilius/apple-encryption";
5
5
 
@@ -180,7 +180,7 @@ const HEADER_SIZE = 4;
180
180
  const PAIRING_QUEUE_IDENTIFIER = -1;
181
181
  var Stream = class extends EncryptionAwareConnection {
182
182
  get #encryptionState() {
183
- return this[ENCRYPTION];
183
+ return this._encryption;
184
184
  }
185
185
  #queue = /* @__PURE__ */ new Map();
186
186
  #buffer = Buffer.alloc(0);
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.14",
4
+ "version": "0.9.16",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -46,12 +46,13 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "@basmilius/apple-common": "0.9.14",
50
- "@basmilius/apple-encoding": "0.9.14",
51
- "@basmilius/apple-encryption": "0.9.14"
49
+ "@basmilius/apple-common": "0.9.16",
50
+ "@basmilius/apple-encoding": "0.9.16",
51
+ "@basmilius/apple-encryption": "0.9.16"
52
52
  },
53
53
  "devDependencies": {
54
- "@types/bun": "^1.3.9",
55
- "tsdown": "^0.21.0-beta.2"
54
+ "@types/bun": "^1.3.11",
55
+ "@types/node": "^25.5.0",
56
+ "tsdown": "^0.21.4"
56
57
  }
57
58
  }