From 3c6a2a428228aea4b33f20488af6225445cb3be1 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Wed, 15 Nov 2023 14:16:24 -0600 Subject: [PATCH] fix: call Client Contacts init last --- src/Client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.ts b/src/Client.ts index 24115efb9..ca6611753 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -273,7 +273,6 @@ export default class Client { backupClient: BackupClient, keystore: Keystore ) { - this.contacts = new Contacts(this) this.knownPublicKeyBundles = new Map< string, PublicKeyBundle | SignedPublicKeyBundle @@ -287,6 +286,7 @@ export default class Client { this._maxContentSize = MaxContentSize this.apiClient = apiClient this._backupClient = backupClient + this.contacts = new Contacts(this) } /**