user 6 anos atrás
pai
commit
3e73aa695a
3 arquivos alterados com 1 adições e 5 exclusões
  1. 0 2
      lib/index.js
  2. 1 1
      lib/index.js.map
  3. 0 2
      src/index.ts

+ 0 - 2
lib/index.js

@@ -302,7 +302,6 @@ class BankClient {
     }
     connectWebsocket(peerAddr, topic, connectCallback, messageCallback) {
         return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
-            console.log('trying to connect');
             const nonce = yield this.getNonce();
             const retrieveRequest = yield this.makePlaintextPayload(JSON.stringify({
                 _date: new Date().toISOString(),
@@ -313,7 +312,6 @@ class BankClient {
             const jsonOutput = JSON.stringify(retrieveRequest);
             const base64ed = Buffer.from(jsonOutput).toString('base64');
             const encoded = encodeURIComponent(base64ed);
-            console.log('encoded', encoded);
             const ws = new ws_1.default(this.wsUrlBase + '/bank/ws?arg=' + encoded);
             ws.on('open', () => {
                 connectCallback();

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
lib/index.js.map


+ 0 - 2
src/index.ts

@@ -290,7 +290,6 @@ export class BankClient {
 
   private connectWebsocket(peerAddr: string, topic: string, connectCallback: () => void, messageCallback: (data: any) => void) {
     return new Promise(async (resolve, reject) => {
-      console.log('trying to connect');
       const nonce = await this.getNonce();
       const retrieveRequest: any = await this.makePlaintextPayload(JSON.stringify({
         _date: new Date().toISOString(),
@@ -302,7 +301,6 @@ export class BankClient {
       const jsonOutput = JSON.stringify(retrieveRequest);
       const base64ed = Buffer.from(jsonOutput).toString('base64');
       const encoded = encodeURIComponent(base64ed);
-      console.log('encoded', encoded);
       const ws = new WebSocket(this.wsUrlBase + '/bank/ws?arg=' + encoded);
       
       ws.on('open', () => {