@devicecloud.dev/dcd 2.0.0 → 2.0.1

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.
@@ -78,10 +78,11 @@ class Cloud extends core_1.Command {
78
78
  if (!flowFile) {
79
79
  throw new Error('You must provide a flow file');
80
80
  }
81
- if (iOSVersion) {
81
+ if (iOSVersion || iOSDevice) {
82
82
  const iOSDeviceID = iOSDevice || 'iphone-14';
83
83
  const supportediOSVersions = constants_1.iOSCompatibilityLookup[iOSDeviceID];
84
- if (!supportediOSVersions.includes(iOSVersion)) {
84
+ const version = iOSVersion || '17';
85
+ if (!supportediOSVersions.includes(version)) {
85
86
  throw new Error(`${iOSDeviceID} only supports these iOS versions: ${supportediOSVersions.join(',')}`);
86
87
  }
87
88
  }
@@ -293,5 +293,5 @@
293
293
  ]
294
294
  }
295
295
  },
296
- "version": "2.0.0"
296
+ "version": "2.0.1"
297
297
  }
package/package.json CHANGED
@@ -80,7 +80,7 @@
80
80
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
81
81
  "version": "oclif readme && git add README.md"
82
82
  },
83
- "version": "2.0.0",
83
+ "version": "2.0.1",
84
84
  "bugs": {
85
85
  "url": "https://discord.gg/gm3mJwcNw8"
86
86
  },