fix(core): update
This commit is contained in:
@ -66,14 +66,15 @@ export class TypedSocket {
|
||||
|
||||
public static async createClient(
|
||||
typedrouterArg: plugins.typedrequest.TypedRouter,
|
||||
serverUrl: string
|
||||
serverUrlArg: string,
|
||||
aliasArg = 'clientArg'
|
||||
): Promise<TypedSocket> {
|
||||
const smartsocketClient = new plugins.smartsocket.SmartsocketClient({
|
||||
alias: 'client1',
|
||||
alias: aliasArg,
|
||||
role: publicRoleName,
|
||||
password: publicRolePass,
|
||||
port: 3000,
|
||||
url: serverUrl,
|
||||
url: serverUrlArg,
|
||||
autoReconnect: true,
|
||||
});
|
||||
smartsocketClient.addSocketFunction(
|
||||
|
Reference in New Issue
Block a user