@mcesystems/apple-kit 1.0.45 → 1.0.46

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 CHANGED
@@ -34007,12 +34007,13 @@ var ActivationFlow = class {
34007
34007
  await this.retryActivateCommand("activate device", () => this.iosCli.activate(udid));
34008
34008
  } else {
34009
34009
  await this.retryIosCommand("wipe", () => this.iosCli.wipe(udid));
34010
- return;
34010
+ return "wiped";
34011
34011
  }
34012
34012
  await this.installWifiProfile(udid);
34013
34013
  await this.installMdmProfile(udid);
34014
34014
  await this.retryIosCommand("skip steps", () => this.iosCli.skipSteps(udid));
34015
34015
  await this.installTrustProfile(udid);
34016
+ return "activated";
34016
34017
  }
34017
34018
  async installWifiProfile(udid) {
34018
34019
  const wifiProfile = await generateWifiProfileFromEnv();
@@ -34352,8 +34353,7 @@ var AppleDeviceKit = class {
34352
34353
  async activate(config) {
34353
34354
  this.ensureNotDisposed();
34354
34355
  const flow = new ActivationFlow(config);
34355
- await flow.run(this.deviceId);
34356
- return true;
34356
+ return await flow.run(this.deviceId);
34357
34357
  }
34358
34358
  /**
34359
34359
  * Get the device UDID