@mcesystems/apple-kit 1.0.92 → 1.0.93
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.js +238 -85
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +238 -85
- package/dist/index.mjs.map +4 -4
- package/dist/types/index.d.ts +21 -0
- package/package.json +3 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -284,7 +284,20 @@ export declare class AppleDeviceKit {
|
|
|
284
284
|
private readonly activationFlow;
|
|
285
285
|
private readonly proxyActions;
|
|
286
286
|
private tunnelProcess;
|
|
287
|
+
private static readonly IOS_17_VERSION;
|
|
287
288
|
constructor(udid: string, logicalPort: number, usbmuxdAddress?: string);
|
|
289
|
+
/**
|
|
290
|
+
* Check if iOS version requires tunneling (iOS 17+)
|
|
291
|
+
*/
|
|
292
|
+
private requiresTunneling;
|
|
293
|
+
/**
|
|
294
|
+
* Ensure tunnel is started for iOS 17+ devices
|
|
295
|
+
*/
|
|
296
|
+
private ensureTunnel;
|
|
297
|
+
/**
|
|
298
|
+
* Stop tunnel for a device
|
|
299
|
+
*/
|
|
300
|
+
private stopTunnel;
|
|
288
301
|
static setResourcesDir(dir: string): void;
|
|
289
302
|
/**
|
|
290
303
|
* Throws if the kit has been disposed
|
|
@@ -397,6 +410,14 @@ export declare class AppleDeviceKit {
|
|
|
397
410
|
promise: Promise<(() => Promise<void>) | undefined>;
|
|
398
411
|
events: EventEmitter;
|
|
399
412
|
};
|
|
413
|
+
/**
|
|
414
|
+
* Push a file to the device using fsync
|
|
415
|
+
*/
|
|
416
|
+
pushFile(bundleId: string, fileName: string, fileData: Buffer): Promise<void>;
|
|
417
|
+
/**
|
|
418
|
+
* Pull a file from the device using fsync
|
|
419
|
+
*/
|
|
420
|
+
pullFile(bundleId: string, fileName: string): Promise<Buffer>;
|
|
400
421
|
/**
|
|
401
422
|
* Get the device UDID
|
|
402
423
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcesystems/apple-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.93",
|
|
4
4
|
"description": "iOS device management toolkit using libimobiledevice command-line tools",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"tsx": "^4.21.0",
|
|
40
40
|
"plist": "^3.1.0",
|
|
41
41
|
"ts-retry-promise": "^0.8.1",
|
|
42
|
-
"@mcesystems/mdm-client-g4": "1.0.
|
|
43
|
-
"@mcesystems/tool-debug-g4": "1.0.
|
|
42
|
+
"@mcesystems/mdm-client-g4": "1.0.93",
|
|
43
|
+
"@mcesystems/tool-debug-g4": "1.0.93"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^22.10.2",
|