Description
The type SearchClientNodeHelpers does not seem to be used in the searchclient typing.
As a result, the generateSecuredApiKey method and others are not available in the client typing.
I had to use this workaround:
import { Algoliasearch, algoliasearch, type SearchClientNodeHelpers } from "algoliasearch";
type NodeAlgoliaClient = Algoliasearch & SearchClientNodeHelpers;
let algolia = algoliasearch(appId, apiKey) as NodeAlgoliaClient;
algolia.generateSecuredApiKey({...});
Client
Search
Version
5.55.0
Relevant log output
Description
The type SearchClientNodeHelpers does not seem to be used in the searchclient typing.
As a result, the generateSecuredApiKey method and others are not available in the client typing.
I had to use this workaround:
Client
Search
Version
5.55.0
Relevant log output