Skip to content

Commit

Permalink
fix: call Client Contacts init last
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Nov 15, 2023
1 parent 78f9e5a commit 3c6a2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ export default class Client<ContentTypes = any> {
backupClient: BackupClient,
keystore: Keystore
) {
this.contacts = new Contacts(this)
this.knownPublicKeyBundles = new Map<
string,
PublicKeyBundle | SignedPublicKeyBundle
Expand All @@ -287,6 +286,7 @@ export default class Client<ContentTypes = any> {
this._maxContentSize = MaxContentSize
this.apiClient = apiClient
this._backupClient = backupClient
this.contacts = new Contacts(this)
}

/**
Expand Down

0 comments on commit 3c6a2a4

Please sign in to comment.