HOME


Mini Shell 1.0
Negocios La Pieza.DO | Registrate o Inicia Sesión

Inicie Sesión en su Cuenta de Negocios

Olvidó Contraseña?
DIR: /var/www/devs.lapieza.net/node_modules/pusher-js/src/core/
Upload File :
Current File : //var/www/devs.lapieza.net/node_modules/pusher-js/src/core/pusher-with-encryption.ts
import Pusher from './pusher';
import { Options, validateOptions } from './options';
import * as nacl from 'tweetnacl';

export default class PusherWithEncryption extends Pusher {
  constructor(app_key: string, options: Options) {
    Pusher.logToConsole = PusherWithEncryption.logToConsole;
    Pusher.log = PusherWithEncryption.log;

    validateOptions(options);
    options.nacl = nacl;
    super(app_key, options);
  }
}