@basmilius/apple-companion-link 0.1.1 → 0.1.3

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.js +2 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ function convertAttentionState(state) {
51
51
  }
52
52
  }
53
53
  // src/protocol.ts
54
- import { randomBytes, randomInt as randomInt2 } from "node:crypto";
54
+ import { randomInt as randomInt2 } from "node:crypto";
55
55
  import { reporter as reporter2, waitFor } from "@basmilius/apple-common";
56
56
  import { OPack as OPack2, Plist } from "@basmilius/apple-encoding";
57
57
 
@@ -512,7 +512,7 @@ class CompanionLink {
512
512
  _bf: 0,
513
513
  _cf: 512,
514
514
  _clFl: 128,
515
- _i: randomBytes(6).toString("hex"),
515
+ _i: "b561af32aea6",
516
516
  _idsID: pairingId.toString(),
517
517
  _pubID: "DA:6D:1E:D8:A0:4F",
518
518
  _sf: 1099511628032,
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.1.1",
4
+ "version": "0.1.3",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -40,8 +40,8 @@
40
40
  }
41
41
  },
42
42
  "dependencies": {
43
- "@basmilius/apple-common": "0.1.1",
44
- "@basmilius/apple-encoding": "0.1.1"
43
+ "@basmilius/apple-common": "0.1.3",
44
+ "@basmilius/apple-encoding": "0.1.3"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@basmilius/tools": "^2.23.0",