diff --git a/src/client.ts b/src/client.ts index b9f3e3b..50368aa 100644 --- a/src/client.ts +++ b/src/client.ts @@ -83,6 +83,7 @@ export class OramaClient { public async search(query: ClientSearchParams, config?: SearchConfig): Promise>> { await this.initPromise + const currentRequestNumber = ++this.searchRequestCounter const cacheKey = `search-${JSON.stringify(query)}`