@limrun/api 0.62.0 → 0.63.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/destination-tunnel-dialer.d.mts +1 -1
  3. package/destination-tunnel-dialer.d.mts.map +1 -1
  4. package/destination-tunnel-dialer.d.ts +1 -1
  5. package/destination-tunnel-dialer.d.ts.map +1 -1
  6. package/destination-tunnel.d.mts +2 -2
  7. package/destination-tunnel.d.mts.map +1 -1
  8. package/destination-tunnel.d.ts +2 -2
  9. package/destination-tunnel.d.ts.map +1 -1
  10. package/internal/destination-tunnel-management.d.mts +1 -1
  11. package/internal/destination-tunnel-management.d.mts.map +1 -1
  12. package/internal/destination-tunnel-management.d.ts +1 -1
  13. package/internal/destination-tunnel-management.d.ts.map +1 -1
  14. package/internal/destination-tunnel-url.d.mts +1 -1
  15. package/internal/destination-tunnel-url.d.mts.map +1 -1
  16. package/internal/destination-tunnel-url.d.ts +1 -1
  17. package/internal/destination-tunnel-url.d.ts.map +1 -1
  18. package/internal/destination-tunnel-url.js +1 -1
  19. package/internal/destination-tunnel-url.js.map +1 -1
  20. package/internal/destination-tunnel-url.mjs +1 -1
  21. package/internal/destination-tunnel-url.mjs.map +1 -1
  22. package/ios-client.d.mts +16 -6
  23. package/ios-client.d.mts.map +1 -1
  24. package/ios-client.d.ts +16 -6
  25. package/ios-client.d.ts.map +1 -1
  26. package/ios-client.js +10 -10
  27. package/ios-client.js.map +1 -1
  28. package/ios-client.mjs +10 -10
  29. package/ios-client.mjs.map +1 -1
  30. package/package.json +1 -1
  31. package/resources/android-instances.d.mts +2 -2
  32. package/resources/android-instances.d.ts +2 -2
  33. package/resources/ios-instances.d.mts +10 -4
  34. package/resources/ios-instances.d.mts.map +1 -1
  35. package/resources/ios-instances.d.ts +10 -4
  36. package/resources/ios-instances.d.ts.map +1 -1
  37. package/src/destination-tunnel-dialer.ts +1 -1
  38. package/src/destination-tunnel.ts +2 -2
  39. package/src/internal/destination-tunnel-management.ts +1 -1
  40. package/src/internal/destination-tunnel-url.ts +1 -1
  41. package/src/ios-client.ts +32 -26
  42. package/src/resources/android-instances.ts +2 -2
  43. package/src/resources/ios-instances.ts +11 -4
  44. package/src/tunnel-connector.ts +1 -1
  45. package/src/version.ts +1 -1
  46. package/tunnel-connector.d.mts +1 -1
  47. package/tunnel-connector.d.ts +1 -1
  48. package/tunnel-connector.js +1 -1
  49. package/tunnel-connector.mjs +1 -1
  50. package/version.d.mts +1 -1
  51. package/version.d.ts +1 -1
  52. package/version.js +1 -1
  53. package/version.mjs +1 -1
@@ -90,7 +90,7 @@ export namespace AndroidInstance {
90
90
  hardTimeout?: string;
91
91
 
92
92
  /**
93
- * Names a persistent tunnel, created in the console (Network) or the API, that
93
+ * Names a private tunnel, created in the console (Network) or the API, that
94
94
  * serves this instance. Creation fails while no connector (`lim tunnel run`)
95
95
  * holds it, and the instance becomes ready only after the tunnel attaches.
96
96
  */
@@ -250,7 +250,7 @@ export namespace AndroidInstanceCreateParams {
250
250
  sandbox?: Spec.Sandbox;
251
251
 
252
252
  /**
253
- * Names a persistent tunnel, created in the console (Network) or the API, that
253
+ * Names a private tunnel, created in the console (Network) or the API, that
254
254
  * serves this instance. Creation fails while no connector (`lim tunnel run`)
255
255
  * holds it, and the instance becomes ready only after the tunnel attaches.
256
256
  */
@@ -90,7 +90,7 @@ export namespace IosInstance {
90
90
  hardTimeout?: string;
91
91
 
92
92
  /**
93
- * Names a persistent tunnel, created in the console (Network) or the API, that
93
+ * Names a private tunnel, created in the console (Network) or the API, that
94
94
  * serves this instance. Creation fails while no connector (`lim tunnel run`)
95
95
  * holds it, and the instance becomes ready only after the tunnel attaches.
96
96
  */
@@ -213,7 +213,8 @@ export namespace IosInstanceCreateParams {
213
213
  jurisdiction?: 'us' | 'eu' | 'as';
214
214
 
215
215
  /**
216
- * The Apple Simulator model. iPhone Duo requires Xcode 27.1 and iOS 27.1 or newer. Default is iphone.
216
+ * The Apple Simulator model. iPhone Duo requires Xcode 27.1 and runs iOS 27, see
217
+ * the OSVersion clue. Default is iphone.
217
218
  */
218
219
  model?: 'iphone' | 'iphone-duo' | 'ipad' | 'watch';
219
220
 
@@ -239,7 +240,7 @@ export namespace IosInstanceCreateParams {
239
240
  region?: string;
240
241
 
241
242
  /**
242
- * Names a persistent tunnel, created in the console (Network) or the API, that
243
+ * Names a private tunnel, created in the console (Network) or the API, that
243
244
  * serves this instance. Creation fails while no connector (`lim tunnel run`)
244
245
  * holds it, and the instance becomes ready only after the tunnel attaches.
245
246
  */
@@ -248,7 +249,7 @@ export namespace IosInstanceCreateParams {
248
249
 
249
250
  export namespace Spec {
250
251
  export interface Clue {
251
- kind: 'ClientIP' | 'ClientLocation';
252
+ kind: 'ClientIP' | 'ClientLocation' | 'OSVersion';
252
253
 
253
254
  clientIp?: string;
254
255
 
@@ -257,6 +258,12 @@ export namespace IosInstanceCreateParams {
257
258
  * ranges. This location takes precedence over ClientIP.
258
259
  */
259
260
  clientLocation?: Clue.ClientLocation;
261
+
262
+ /**
263
+ * The major version of iOS, "26" or "27". iphone runs both, iphone-duo runs 27,
264
+ * ipad and watch run 26. Default is 26, or 27 on iphone-duo.
265
+ */
266
+ osVersion?: string;
260
267
  }
261
268
 
262
269
  export namespace Clue {
@@ -152,7 +152,7 @@ interface InstanceAttachment {
152
152
  }
153
153
 
154
154
  /**
155
- * Serve a persistent tunnel: hold it through one control WebSocket to the
155
+ * Serve a private tunnel: hold it through one control WebSocket to the
156
156
  * Limrun API and open a destination tunnel to every instance created with
157
157
  * `spec.tunnel` set to its name, with a short-lived token the API hands out
158
158
  * for each. Instance tunnels stay up while the control channel reconnects,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.62.0'; // x-release-please-version
1
+ export const VERSION = '0.63.1'; // x-release-please-version
@@ -77,7 +77,7 @@ export interface TunnelConnector {
77
77
  close: () => Promise<void>;
78
78
  }
79
79
  /**
80
- * Serve a persistent tunnel: hold it through one control WebSocket to the
80
+ * Serve a private tunnel: hold it through one control WebSocket to the
81
81
  * Limrun API and open a destination tunnel to every instance created with
82
82
  * `spec.tunnel` set to its name, with a short-lived token the API hands out
83
83
  * for each. Instance tunnels stay up while the control channel reconnects,
@@ -77,7 +77,7 @@ export interface TunnelConnector {
77
77
  close: () => Promise<void>;
78
78
  }
79
79
  /**
80
- * Serve a persistent tunnel: hold it through one control WebSocket to the
80
+ * Serve a private tunnel: hold it through one control WebSocket to the
81
81
  * Limrun API and open a destination tunnel to every instance created with
82
82
  * `spec.tunnel` set to its name, with a short-lived token the API hands out
83
83
  * for each. Instance tunnels stay up while the control channel reconnects,
@@ -34,7 +34,7 @@ const TOKEN_EXPIRY_MARGIN_MS = 5000;
34
34
  const TOKEN_WARNING_WINDOW_MS = 14 * 24 * 60 * 60000;
35
35
  const TOKEN_WARNING_EVERY_MS = 24 * 60 * 60000;
36
36
  /**
37
- * Serve a persistent tunnel: hold it through one control WebSocket to the
37
+ * Serve a private tunnel: hold it through one control WebSocket to the
38
38
  * Limrun API and open a destination tunnel to every instance created with
39
39
  * `spec.tunnel` set to its name, with a short-lived token the API hands out
40
40
  * for each. Instance tunnels stay up while the control channel reconnects,
@@ -30,7 +30,7 @@ const TOKEN_EXPIRY_MARGIN_MS = 5000;
30
30
  const TOKEN_WARNING_WINDOW_MS = 14 * 24 * 60 * 60000;
31
31
  const TOKEN_WARNING_EVERY_MS = 24 * 60 * 60000;
32
32
  /**
33
- * Serve a persistent tunnel: hold it through one control WebSocket to the
33
+ * Serve a private tunnel: hold it through one control WebSocket to the
34
34
  * Limrun API and open a destination tunnel to every instance created with
35
35
  * `spec.tunnel` set to its name, with a short-lived token the API hands out
36
36
  * for each. Instance tunnels stay up while the control channel reconnects,
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.62.0";
1
+ export declare const VERSION = "0.63.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.62.0";
1
+ export declare const VERSION = "0.63.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.62.0'; // x-release-please-version
4
+ exports.VERSION = '0.63.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.62.0'; // x-release-please-version
1
+ export const VERSION = '0.63.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map