@mcesystems/apple-kit 1.0.45 → 1.0.47

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.mjs CHANGED
@@ -33995,12 +33995,13 @@ var ActivationFlow = class {
33995
33995
  await this.retryActivateCommand("activate device", () => this.iosCli.activate(udid));
33996
33996
  } else {
33997
33997
  await this.retryIosCommand("wipe", () => this.iosCli.wipe(udid));
33998
- return;
33998
+ return "wiped";
33999
33999
  }
34000
34000
  await this.installWifiProfile(udid);
34001
34001
  await this.installMdmProfile(udid);
34002
34002
  await this.retryIosCommand("skip steps", () => this.iosCli.skipSteps(udid));
34003
34003
  await this.installTrustProfile(udid);
34004
+ return "activated";
34004
34005
  }
34005
34006
  async installWifiProfile(udid) {
34006
34007
  const wifiProfile = await generateWifiProfileFromEnv();
@@ -34340,8 +34341,7 @@ var AppleDeviceKit = class {
34340
34341
  async activate(config) {
34341
34342
  this.ensureNotDisposed();
34342
34343
  const flow = new ActivationFlow(config);
34343
- await flow.run(this.deviceId);
34344
- return true;
34344
+ return await flow.run(this.deviceId);
34345
34345
  }
34346
34346
  /**
34347
34347
  * Get the device UDID