From f55a4a75be3a38bdee76d0919ae113d069c98c7b Mon Sep 17 00:00:00 2001 From: IsaccoSordo Date: Wed, 9 Oct 2024 10:58:02 +0200 Subject: [PATCH 1/2] fix: add default --- .../src/WalletConnectTransport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/beacon-transport-walletconnect/src/WalletConnectTransport.ts b/packages/beacon-transport-walletconnect/src/WalletConnectTransport.ts index 52613c3fe..a64f39f4c 100644 --- a/packages/beacon-transport-walletconnect/src/WalletConnectTransport.ts +++ b/packages/beacon-transport-walletconnect/src/WalletConnectTransport.ts @@ -116,7 +116,7 @@ export class WalletConnectTransport< extensionId: session.peer.metadata.name, id: session.peer.publicKey, type: 'walletconnect-pairing-response', - name: 'peer', + name: session.peer.metadata.name ?? 'peer', publicKey: session.peer.publicKey, version: 'first' } as T From 5fb01ae3eccf8372c749053213f0e7476bbfa617 Mon Sep 17 00:00:00 2001 From: IsaccoSordo Date: Mon, 18 Nov 2024 16:46:26 +0100 Subject: [PATCH 2/2] fix: remove default --- .../src/WalletConnectTransport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/beacon-transport-walletconnect/src/WalletConnectTransport.ts b/packages/beacon-transport-walletconnect/src/WalletConnectTransport.ts index a64f39f4c..fc774861e 100644 --- a/packages/beacon-transport-walletconnect/src/WalletConnectTransport.ts +++ b/packages/beacon-transport-walletconnect/src/WalletConnectTransport.ts @@ -116,7 +116,7 @@ export class WalletConnectTransport< extensionId: session.peer.metadata.name, id: session.peer.publicKey, type: 'walletconnect-pairing-response', - name: session.peer.metadata.name ?? 'peer', + name: session.peer.metadata.name, publicKey: session.peer.publicKey, version: 'first' } as T