|
@@ -175,7 +175,7 @@ export class RPCSocket implements I.Socket{
|
175
|
175
|
sesame = appendComma(sesame)
|
176
|
176
|
|
177
|
177
|
return eval(`async (${headerArgs}) => {
|
178
|
|
- return await this.socket.call("${fnName}", ${sesame} ${argParams})
|
|
178
|
+ return await this.call("${fnName}", ${sesame} ${argParams})
|
179
|
179
|
}`)
|
180
|
180
|
}
|
181
|
181
|
|
|
@@ -196,7 +196,7 @@ export class RPCSocket implements I.Socket{
|
196
|
196
|
|
197
|
197
|
return eval( `
|
198
|
198
|
async (${headerArgs} callback) => {
|
199
|
|
- const r = await this.socket.call("${fnName}", ${sesame} ${argParams})
|
|
199
|
+ const r = await this.call("${fnName}", ${sesame} ${argParams})
|
200
|
200
|
if(r && r.result === 'Success'){
|
201
|
201
|
this.socket.hook(r.uuid, callback)
|
202
|
202
|
}
|