@mcesystems/apple-kit 1.0.47 → 1.0.48

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.
@@ -1 +1 @@
1
- {"version":3,"file":"templateLoader.d.ts","sourceRoot":"","sources":["../../../src/utils/templateLoader.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAmDH,wBAAsB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAIxE;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAuB5F"}
1
+ {"version":3,"file":"templateLoader.d.ts","sourceRoot":"","sources":["../../../src/utils/templateLoader.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAsEH,wBAAsB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAIxE;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAuB5F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcesystems/apple-kit",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "iOS device management toolkit using libimobiledevice command-line tools",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,68 +0,0 @@
1
- /**
2
- * Port allocation info
3
- */
4
- export interface PortAllocation {
5
- /** The logical port (USB hub position) */
6
- logicalPort: number;
7
- /** The allocated local port for forwarding */
8
- localPort: number;
9
- /** The device port being forwarded to */
10
- devicePort: number;
11
- }
12
- /**
13
- * Manages port allocation for device forwarding.
14
- * Ensures each logical port gets a unique, available local port.
15
- */
16
- export declare class PortManager {
17
- private allocations;
18
- private readonly basePort;
19
- private readonly maxPortRange;
20
- /**
21
- * Create a new PortManager
22
- *
23
- * @param basePort Starting port number for allocation (default: 30000)
24
- * @param maxPortRange Maximum range of ports to search (default: 1000)
25
- */
26
- constructor(basePort?: number, maxPortRange?: number);
27
- /**
28
- * Find an available port starting from the given port number
29
- */
30
- private findAvailablePort;
31
- /**
32
- * Check if a port is available for binding
33
- */
34
- private isPortAvailable;
35
- /**
36
- * Allocate a local port for a logical port
37
- *
38
- * @param logicalPort The logical port number (USB hub position)
39
- * @param devicePort The device port to forward to
40
- * @returns The allocated port info
41
- */
42
- allocate(logicalPort: number, devicePort: number): Promise<PortAllocation>;
43
- /**
44
- * Release the port allocation for a logical port
45
- */
46
- release(logicalPort: number): void;
47
- /**
48
- * Get the current allocation for a logical port
49
- */
50
- getAllocation(logicalPort: number): PortAllocation | undefined;
51
- /**
52
- * Get all current allocations
53
- */
54
- getAllAllocations(): PortAllocation[];
55
- /**
56
- * Release all allocations
57
- */
58
- releaseAll(): void;
59
- /**
60
- * Check if a logical port has an allocation
61
- */
62
- hasAllocation(logicalPort: number): boolean;
63
- }
64
- /**
65
- * Get the shared port manager instance
66
- */
67
- export declare function getSharedPortManager(): PortManager;
68
- //# sourceMappingURL=portManager.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"portManager.d.ts","sourceRoot":"","sources":["../../../src/utils/portManager.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,0CAA0C;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,qBAAa,WAAW;IACvB,OAAO,CAAC,WAAW,CAAqC;IACxD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;IAClC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;IAEtC;;;;;OAKG;gBACS,QAAQ,SAAQ,EAAE,YAAY,SAAO;IAKjD;;OAEG;YACW,iBAAiB;IAuB/B;;OAEG;IACH,OAAO,CAAC,eAAe;IAkBvB;;;;;;OAMG;IACG,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAgChF;;OAEG;IACH,OAAO,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAQlC;;OAEG;IACH,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAI9D;;OAEG;IACH,iBAAiB,IAAI,cAAc,EAAE;IAIrC;;OAEG;IACH,UAAU,IAAI,IAAI;IAKlB;;OAEG;IACH,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO;CAG3C;AAOD;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,WAAW,CAKlD"}