11"use strict" ;
22exports . __esModule = true ;
33var tslib_1 = require ( "tslib" ) ;
4- var NoCache_1 = require ( "./Cache/NoCache" ) ;
54var AxiosClient_1 = require ( "./Http/AxiosClient" ) ;
65var RetryMap_1 = require ( "./Http/RetryMap" ) ;
76var Query_1 = require ( "./Query/Query" ) ;
@@ -27,13 +26,13 @@ var Apisearch = /** @class */ (function () {
2726 */
2827 Apisearch . createRepository = function ( config ) {
2928 Apisearch . ensureRepositoryConfigIsValid ( config ) ;
30- config . options = tslib_1 . __assign ( { api_version : "v1" , cache : new NoCache_1 . NoCache ( ) , timeout : 5000 , override_queries : true } , config . options ) ;
29+ config . options = tslib_1 . __assign ( { api_version : "v1" , override_queries : true , timeout : 5000 } , config . options ) ;
3130 /**
3231 * Client
3332 */
3433 var httpClient = typeof config . options . http_client !== "undefined"
3534 ? config . options . http_client
36- : new AxiosClient_1 . AxiosClient ( config . options . endpoint , config . options . api_version , config . options . timeout , new RetryMap_1 . RetryMap ( ) , config . options . override_queries , config . options . cache ) ;
35+ : new AxiosClient_1 . AxiosClient ( config . options . endpoint , config . options . api_version , config . options . timeout , new RetryMap_1 . RetryMap ( ) , config . options . override_queries ) ;
3736 return new HttpRepository_1 . HttpRepository ( httpClient , config . app_id , config . index_id , config . token , new Transformer_1 . Transformer ( ) ) ;
3837 } ;
3938 /**
@@ -125,7 +124,7 @@ var Apisearch = /** @class */ (function () {
125124 * @return {Result }
126125 */
127126 Apisearch . createEmptyResult = function ( ) {
128- return Result_1 . Result . create ( '' , 0 , 0 , new ResultAggregations_1 . ResultAggregations ( 0 ) , [ ] , [ ] ) ;
127+ return Result_1 . Result . create ( "" , 0 , 0 , new ResultAggregations_1 . ResultAggregations ( 0 ) , [ ] , [ ] ) ;
129128 } ;
130129 /**
131130 * Create empty sortby
0 commit comments