Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/strong-carrots-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"app-builder-lib": patch
"electron-updater": patch
---

Pin Keygen publisher/updater integration to API version v1.0.
3 changes: 3 additions & 0 deletions packages/app-builder-lib/src/publish/KeygenPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class KeygenPublisher extends HttpPublisher {
headers: {
Accept: "application/vnd.api+json",
"Content-Length": dataLength,
"Keygen-Version": "1.0",
},
}
await httpExecutor.doApiRequest(configureRequestOptions(upload, this.auth, "PUT"), this.context.cancellationToken, requestProcessor)
Expand All @@ -72,6 +73,7 @@ export class KeygenPublisher extends HttpPublisher {
headers: {
"Content-Type": "application/vnd.api+json",
Accept: "application/vnd.api+json",
"Keygen-Version": "1.0",
},
}
const data = {
Expand Down Expand Up @@ -105,6 +107,7 @@ export class KeygenPublisher extends HttpPublisher {
path: `${this.basePath}/${releaseId}`,
headers: {
Accept: "application/vnd.api+json",
"Keygen-Version": "1.0",
},
}
await httpExecutor.request(configureRequestOptions(req, this.auth, "DELETE"), this.context.cancellationToken)
Expand Down
1 change: 1 addition & 0 deletions packages/electron-updater/src/providers/KeygenProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class KeygenProvider extends Provider<UpdateInfo> {
channelUrl,
{
Accept: "application/vnd.api+json",
"Keygen-Version": "1.0",
},
cancellationToken
)
Expand Down