mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-16 23:57:11 +00:00
fix: all ws endpoint use new technique
This is dues to those 2 endpoints being added as the same time of the new technique
This commit is contained in:
parent
a7ff02997b
commit
bbcfe9b1de
@ -241,7 +241,7 @@ export function webSocketProcess(credentials, processName) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function webSocketServices(credentials) {
|
export function webSocketServices(credentials) {
|
||||||
return new WebSocket(`ws://${credentials.host}/embark-api/services`, [credentials.token]);
|
return websocket(credentials, `/services`);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function webSocketContractLogs(credentials) {
|
export function webSocketContractLogs(credentials) {
|
||||||
@ -249,7 +249,7 @@ export function webSocketContractLogs(credentials) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function webSocketContracts(credentials) {
|
export function webSocketContracts(credentials) {
|
||||||
return new WebSocket(`ws://${credentials.host}/embark-api/contracts`, [credentials.token]);
|
return websocket(credentials, `/contracts`);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function webSocketContractEvents(credentials) {
|
export function webSocketContractEvents(credentials) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user