algoliasearch-client-javascript
algoliasearch-client-javascript copied to clipboard
Wrapper and namespace
It seems like the AlgoliaSearch object is the only public API and that AlgoliaUtils_* are just internal functions.
If this is the case, algoliasearch might benefits from a (function() {...})() wrapper in order to avoid global namespace pollution.
In addition, AlgoliaUtils_stringifyParamValues does not actually seems to be called anywhere.
You are right, I removed AlgoliaUtils_stringifyParamValues and removed all functions in global namespace. Thanks for the comment.