user 6 rokov pred
rodič
commit
a01a0ffb39
3 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 2 0
      lib/index.js
  2. 1 1
      lib/index.js.map
  3. 2 0
      src/index.ts

+ 2 - 0
lib/index.js

@@ -208,6 +208,7 @@ class BankClient {
                 method: 'PUT',
                 url: topicURL
             });
+            console.log('appended to ', peerAddr, topic, hash, replaceHash, deleteHash, result);
         });
     }
     retrievePrivate(peerAddr, topic) {
@@ -244,6 +245,7 @@ class BankClient {
             if (existing != null) {
                 return existing;
             }
+            console.log('creating new contact', peerId, addressType, addressValue);
             return yield this.createContact(peerId, addressType, addressValue);
         });
     }

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 1 - 1
lib/index.js.map


+ 2 - 0
src/index.ts

@@ -203,6 +203,7 @@ export class BankClient {
         method: 'PUT',
         url: topicURL
       });
+      console.log('appended to ', peerAddr, topic, hash, replaceHash, deleteHash, result);
     }
 
     public async retrievePrivate(peerAddr: string, topic: string) {
@@ -237,6 +238,7 @@ export class BankClient {
       if (existing != null) {
         return existing;
       }
+      console.log('creating new contact', peerId, addressType, addressValue);
       return await this.createContact(peerId, addressType, addressValue);
     }