fix(structure): update to latest standards

This commit is contained in:
2019-01-30 03:14:02 +01:00
parent 1b0922759a
commit d296064bfa
17 changed files with 1997 additions and 1615 deletions

View File

@ -1,7 +1,7 @@
import * as plugins from './smartsocket.plugins';
// import classes
import { Objectmap } from 'lik';
import { Objectmap } from '@pushrocks/lik';
import { SocketRole } from './smartsocket.classes.socketrole';
// export interfaces
@ -60,7 +60,7 @@ export class SocketFunction {
* invokes the function of this SocketFunction
*/
invoke(dataArg: ISocketFunctionCall): Promise<any> {
let done = plugins.smartq.defer();
let done = plugins.smartpromise.defer();
if (dataArg.funcName === this.name) {
this.funcDef(dataArg.funcDataArg).then((resultData: any) => {
let funcResponseData: ISocketFunctionCall = {