Bugfix/protocol consistency (#846)

* fix eos <-> registry protocol

* fix ui <-> eos protocol

* redoes the embassyd api to accept an optional version spec argument, still allowing for CLI @ syntax

* redo the front end in accordance with the new api

* Update appmgr/src/install/mod.rs

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>

* fix more query params

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
This commit is contained in:
Keagan McClelland
2021-11-24 11:17:45 -07:00
committed by Aiden McClelland
parent 198635da50
commit aea5dfe04a
6 changed files with 34 additions and 18 deletions

View File

@@ -59,7 +59,7 @@ export class WizardBaker {
action,
verb: 'beginning update for',
title,
executeAction: () => this.embassyApi.installPackage({ id, version }),
executeAction: () => this.embassyApi.installPackage({ id, 'version-spec': version ? `=${version}` : undefined }),
},
},
bottomBar: {
@@ -158,7 +158,7 @@ export class WizardBaker {
action,
verb: 'beginning downgrade for',
title,
executeAction: () => this.embassyApi.installPackage({ id, version }),
executeAction: () => this.embassyApi.installPackage({ id, 'version-spec': version ? `=${version}` : undefined }),
},
},
bottomBar: {