"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const algolia = require("algoliasearch");
const config = require("config");
let __client;
function getClient() {
    if (__client) {
        return __client;
    }
    __client = algolia(config.get('algolia.applicationId'), config.get('algolia.apiKey'));
    return __client;
}
exports.getClient = getClient;
//# sourceMappingURL=index.js.map