@limrun/api 0.50.0 → 0.51.0

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 (45) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/mise-tools.d.mts +0 -2
  3. package/mise-tools.d.mts.map +1 -1
  4. package/mise-tools.d.ts +0 -2
  5. package/mise-tools.d.ts.map +1 -1
  6. package/mise-tools.js +0 -46
  7. package/mise-tools.js.map +1 -1
  8. package/mise-tools.mjs +0 -44
  9. package/mise-tools.mjs.map +1 -1
  10. package/package.json +1 -2
  11. package/resources/android-instances.d.mts +25 -4
  12. package/resources/android-instances.d.mts.map +1 -1
  13. package/resources/android-instances.d.ts +25 -4
  14. package/resources/android-instances.d.ts.map +1 -1
  15. package/resources/gradle-instances-helpers.d.mts +4 -0
  16. package/resources/gradle-instances-helpers.d.mts.map +1 -1
  17. package/resources/gradle-instances-helpers.d.ts +4 -0
  18. package/resources/gradle-instances-helpers.d.ts.map +1 -1
  19. package/resources/gradle-instances-helpers.js +5 -2
  20. package/resources/gradle-instances-helpers.js.map +1 -1
  21. package/resources/gradle-instances-helpers.mjs +5 -2
  22. package/resources/gradle-instances-helpers.mjs.map +1 -1
  23. package/resources/gradle-instances.d.mts +25 -4
  24. package/resources/gradle-instances.d.mts.map +1 -1
  25. package/resources/gradle-instances.d.ts +25 -4
  26. package/resources/gradle-instances.d.ts.map +1 -1
  27. package/resources/ios-instances.d.mts +25 -4
  28. package/resources/ios-instances.d.mts.map +1 -1
  29. package/resources/ios-instances.d.ts +25 -4
  30. package/resources/ios-instances.d.ts.map +1 -1
  31. package/resources/xcode-instances.d.mts +25 -4
  32. package/resources/xcode-instances.d.mts.map +1 -1
  33. package/resources/xcode-instances.d.ts +25 -4
  34. package/resources/xcode-instances.d.ts.map +1 -1
  35. package/src/mise-tools.ts +0 -42
  36. package/src/resources/android-instances.ts +28 -4
  37. package/src/resources/gradle-instances-helpers.ts +9 -2
  38. package/src/resources/gradle-instances.ts +28 -4
  39. package/src/resources/ios-instances.ts +28 -4
  40. package/src/resources/xcode-instances.ts +28 -4
  41. package/src/version.ts +1 -1
  42. package/version.d.mts +1 -1
  43. package/version.d.ts +1 -1
  44. package/version.js +1 -1
  45. package/version.mjs +1 -1
@@ -133,6 +133,10 @@ export namespace XcodeInstanceCreateParams {
133
133
  }
134
134
 
135
135
  export interface Spec {
136
+ /**
137
+ * ClientLocation takes precedence over ClientIP regardless of clue order. Without
138
+ * either clue, routing uses Cloudflare visitor coordinates, then its client IP.
139
+ */
136
140
  clues?: Array<Spec.Clue>;
137
141
 
138
142
  /**
@@ -160,7 +164,7 @@ export namespace XcodeInstanceCreateParams {
160
164
 
161
165
  /**
162
166
  * Where the instance will be created. If not given, the region is decided based on
163
- * scheduling clues (client IP) and availability.
167
+ * scheduling clues (client location or IP) and availability.
164
168
  *
165
169
  * A region is a preference, not a hard pin: the request always overflows to every
166
170
  * other available region, ordered by proximity, when the preferred ones are full.
@@ -168,8 +172,8 @@ export namespace XcodeInstanceCreateParams {
168
172
  * Accepted values:
169
173
  *
170
174
  * - A specific region name (e.g. "us-west1"). It is tried first, then the
171
- * remaining regions in order of proximity to it. Scheduling clues (client IP)
172
- * are ignored when a region is given.
175
+ * remaining regions in order of proximity to it. Location clues are ignored
176
+ * when a specific region is given.
173
177
  * - A region group name (e.g. "us", "eu"). Its member regions are tried first in
174
178
  * their listed order, then the remaining regions by proximity to the first
175
179
  * member.
@@ -182,9 +186,29 @@ export namespace XcodeInstanceCreateParams {
182
186
 
183
187
  export namespace Spec {
184
188
  export interface Clue {
185
- kind: 'ClientIP';
189
+ kind: 'ClientIP' | 'ClientLocation';
186
190
 
187
191
  clientIp?: string;
192
+
193
+ /**
194
+ * Required for ClientLocation. Both coordinates must be finite and within their
195
+ * ranges. This location takes precedence over ClientIP.
196
+ */
197
+ clientLocation?: Clue.ClientLocation;
198
+ }
199
+
200
+ export namespace Clue {
201
+ export interface ClientLocation {
202
+ /**
203
+ * Latitude in decimal degrees, from -90 to 90 inclusive. Zero is valid.
204
+ */
205
+ latitude: number;
206
+
207
+ /**
208
+ * Longitude in decimal degrees, from -180 to 180 inclusive. Zero is valid.
209
+ */
210
+ longitude: number;
211
+ }
188
212
  }
189
213
  }
190
214
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.50.0'; // x-release-please-version
1
+ export const VERSION = '0.51.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.50.0";
1
+ export declare const VERSION = "0.51.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.50.0";
1
+ export declare const VERSION = "0.51.0";
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.50.0'; // x-release-please-version
4
+ exports.VERSION = '0.51.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.50.0'; // x-release-please-version
1
+ export const VERSION = '0.51.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map