Skip to content

Commit

Permalink
Merge pull request #71 from ExpressApp/feature/ki/exact-search
Browse files Browse the repository at this point in the history
CCS-103184 Add exact search in searchCorporatePhonebook
  • Loading branch information
ikudinov authored Jan 29, 2025
2 parents 68fc074 + d9fb1e1 commit bc82ec4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@expressms/smartapp-sdk",
"version": "1.11.0-alpha.2",
"version": "1.11.0-alpha.4",
"description": "Smartapp SDK",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ const getChats = ({ filter = null }: { filter: string | null }) => {
})
}

const searchCorporatePhonebook = ({ filter = null }: { filter: string | null }) => {
const searchCorporatePhonebook = ({ filter = null, exactMatch }: { filter: string | null; exactMatch?: boolean }) => {
return bridge?.sendClientEvent({
method: METHODS.SEARCH_CORPORATE_PHONEBOOK,
params: { filter },
params: { filter, exactMatch },
})
}

Expand Down

0 comments on commit bc82ec4

Please sign in to comment.