Fix issue where the payload for websocket messages was returning the extension development url incorrectly when connecting to the websocket on localhost. This was hardcoded to return the public url which errors out when the public url hasn't been set. We should be consistent and return the current requested url like we do for the JSON response.
Beforehttps://user-images.githubusercontent.com/29458473/173088734-b0dad009-c36d-410f-beeb-78284c0bd078.mov
Clean up tests so that configured values like the apiRoot and extension uuid is not hardcoded in the test. This makes it easier to distinguish between values we expect to be passed in externally vs. hardcoded ones.
Expose Dev Console url in ExtensionsResponse TS interface
Bump Api Service version to 4
Move API Service configs to a single place
Remove trailing slash on the apiRoot
Tophat
Run make build; make run serve testdata/extension.config.yml
Changes
Fix issue where the payload for websocket messages was returning the extension development url incorrectly when connecting to the websocket on localhost. This was hardcoded to return the public url which errors out when the public url hasn't been set. We should be consistent and return the current requested url like we do for the JSON response. Before https://user-images.githubusercontent.com/29458473/173088734-b0dad009-c36d-410f-beeb-78284c0bd078.mov
After https://user-images.githubusercontent.com/29458473/173089050-53053165-b0fd-4235-bcf7-283d06a04a33.mov
Tophat
make build; make run serve testdata/extension.config.yml
{devConsole: {url: "http://localhost:8000/extensions/dev-console"}