From 5abc403dbe0aa949022cb1c848e964e084508ce4 Mon Sep 17 00:00:00 2001 From: "Colton Wolkins (Laptop)" Date: Mon, 28 Oct 2024 14:08:04 -0600 Subject: [PATCH] chore: clean up more log entries and clarify logs Signed-off-by: Colton Wolkins (Laptop) --- src/lib/agent.ts | 1 - src/lib/didcomm.ts | 2 +- src/lib/worker.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/agent.ts b/src/lib/agent.ts index 9f4d754..9891149 100644 --- a/src/lib/agent.ts +++ b/src/lib/agent.ts @@ -160,7 +160,6 @@ export class Agent { } private onMessageReceived(message: IMessage) { - console.log("Recieved message: ", message) if (message?.prior) { const oldContact = ContactService.getContact(message.prior.iss) oldContact && ContactService.rotateContact(oldContact, message.prior.sub) diff --git a/src/lib/didcomm.ts b/src/lib/didcomm.ts index ef6fbfb..f82a9da 100644 --- a/src/lib/didcomm.ts +++ b/src/lib/didcomm.ts @@ -484,7 +484,7 @@ export class DIDComm { async getPrior(prior: string): Promise { const from_prior = await FromPrior.unpack(prior, this.resolver) - console.log(from_prior) + console.log("received from_prior:", from_prior) return from_prior[0].as_value() } diff --git a/src/lib/worker.ts b/src/lib/worker.ts index d440536..27b0e13 100644 --- a/src/lib/worker.ts +++ b/src/lib/worker.ts @@ -198,7 +198,7 @@ class DIDCommWorker { } async handleMessage(message: IMessage) { - console.log("handleMessage: ", message) + console.log("handleMessage: ", "(before 'Received:' stringify)", message) switch (message.type) { case "https://didcomm.org/messagepickup/3.0/status": if (message.body.message_count > 0) {