diff --git a/package.json b/package.json index 1f1cad65..70132a1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bsv/spv-wallet-js-client", - "version": "1.0.0-beta.22", + "version": "1.0.0-beta.23", "description": "TypeScript library for connecting to a SPV Wallet server", "repository": { "type": "git", diff --git a/src/client.ts b/src/client.ts index 9f68ef43..044011cb 100644 --- a/src/client.ts +++ b/src/client.ts @@ -4,7 +4,6 @@ import { AdminKey, ClientOptions, Contact, - Contacts, DraftTransactionConfig, DraftTx, ExclusiveStartKeyPage, @@ -21,7 +20,6 @@ import { OldAccessKeys, OldContact, OldDestinations, - OldContacts, OldPaymailAddress, OldTxs, OldUtxos, @@ -188,9 +186,13 @@ export class SpvWalletClient { * @param {ContactFilter} conditions Key value object to use to filter the documents * @param {Metadata} metadata Key value object to use to filter the documents by the metadata * @param {OldQueryParams} params Database query parameters for page, page size and sorting - * @return {OldContacts} + * @return {PageModel} */ - async AdminGetContacts(conditions: ContactFilter, metadata: Metadata, params: OldQueryParams): Promise { + async AdminGetContacts( + conditions: ContactFilter, + metadata: Metadata, + params: OldQueryParams, + ): Promise> { return await this.http.adminRequest(`admin/contact/search`, 'POST', { conditions, metadata,