Skip to content

Commit bd2ca4e

Browse files
committed
chore: bump to 9.2.5
1 parent bfa17f4 commit bd2ca4e

File tree

2 files changed

+64
-4
lines changed

2 files changed

+64
-4
lines changed

index.d.ts

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,52 @@ declare module '@getflywheel/local' {
324324
version: string;
325325
}
326326

327+
/**
328+
* A url pointing to a ReleaseManifest. Will be either the "latest" ReleaseManifest or a specific one.
329+
*
330+
* @example
331+
* https://cdn.localwp.com/stable/updates.json
332+
*
333+
* @example
334+
* https://cdn.localwp.com/releases-stable/9.2.3+6776/updates.json
335+
*/
336+
export type ReleaseManifestUrl = string;
337+
338+
/**
339+
* A url to a single PlatformReleaseManifest
340+
*
341+
* @example
342+
* https://cdn.localwp.com/releases-stable/9.2.4+6788/release-mac-arm64.json
343+
*/
344+
export type PlatformReleaseManifestUrl = string;
345+
346+
/**
347+
* A collection of PlatformReleaseManifestUrls for various platforms of a specific release.
348+
*
349+
* This data represents a successful response from a ReleaseManifestUrl.
350+
*
351+
* @example
352+
* {
353+
* "darwin-x64-production": {
354+
* "update": "https://cdn.localwp.com/releases-stable/9.2.4+6788/release-mac.json"
355+
* },
356+
* "darwin-arm64-production": {
357+
* "update": "https://cdn.localwp.com/releases-stable/9.2.4+6788/release-mac-arm64.json"
358+
* },
359+
* "win32-x64-production": {
360+
* "update": "https://cdn.localwp.com/releases-stable/9.2.4+6788/release-windows.json"
361+
* },
362+
* "win32-ia32-production": {
363+
* "update": "https://cdn.localwp.com/releases-stable/9.2.4+6788/release-windows.json"
364+
* }
365+
* }
366+
*/
367+
export interface ReleaseManifest {
368+
[key: string]: {
369+
update: PlatformReleaseManifestUrl;
370+
}
371+
}
372+
327373
/**
328374
* This is the percentage of users that should update to this Local version.
329375
*/
@@ -336,9 +382,23 @@ declare module '@getflywheel/local' {
336382
export type AutoupdateEnabled = boolean;
337383

338384
/**
339-
* Local reads from this file to learn about a new Local release.
385+
* Release details for a specific platform and version of Local.
386+
*
387+
* @example
388+
* {
389+
* "url": "https://cdn.localwp.com/releases-stable/9.2.4+6788/local-9.2.4-mac-arm64.zip",
390+
* "name": "9.2.4",
391+
* "notes": "",
392+
* "changelogUrl": "https://localwp.com/releases/9.2.4/",
393+
* "pub_date": "2025-04-17T15:07:31Z",
394+
* "size": "",
395+
* "rollout": {
396+
* "rolloutPercentage": 25,
397+
* "autoUpdate": true
398+
* }
399+
* }
340400
*/
341-
export interface ReleaseManifest {
401+
export interface PlatformReleaseManifest {
342402
/**
343403
* URL for the Local release zip.
344404
*/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "@getflywheel/local",
3-
"version": "9.2.4",
3+
"version": "9.2.5",
44
"dependencies": {
55
"@types/node": "^22.14.0",
66
"apollo-boost": "^0.1.21",
77
"awilix": "^4.2.5",
88
"cross-fetch": "^3.1.5",
9-
"electron": "28.2.2",
9+
"electron": "^v35",
1010
"graphql": "^15.4.0",
1111
"graphql-subscriptions": "^1.1.0",
1212
"graphql-tag": "^2.11.0",

0 commit comments

Comments
 (0)