instantsearch.js 4.78.2 → 4.78.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '4.78.2';
7
+ var _default = exports.default = '4.78.3';
@@ -262,10 +262,14 @@ function createInsightsMiddleware() {
262
262
  var insightsClientWithLocalCredentials = insightsClient;
263
263
  if (isModernInsightsClient(insightsClient)) {
264
264
  insightsClientWithLocalCredentials = function insightsClientWithLocalCredentials(method, payload) {
265
+ var _getAppIdAndApiKey3 = (0, _utils.getAppIdAndApiKey)(instantSearchInstance.client),
266
+ _getAppIdAndApiKey4 = _slicedToArray(_getAppIdAndApiKey3, 2),
267
+ latestAppId = _getAppIdAndApiKey4[0],
268
+ latestApiKey = _getAppIdAndApiKey4[1];
265
269
  var extraParams = {
266
270
  headers: {
267
- 'X-Algolia-Application-Id': appId,
268
- 'X-Algolia-API-Key': apiKey
271
+ 'X-Algolia-Application-Id': latestAppId,
272
+ 'X-Algolia-API-Key': latestApiKey
269
273
  }
270
274
  };
271
275
 
@@ -1,4 +1,4 @@
1
- /*! InstantSearch.js 4.78.2 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch */
1
+ /*! InstantSearch.js 4.78.3 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -14306,10 +14306,14 @@
14306
14306
  var insightsClientWithLocalCredentials = insightsClient;
14307
14307
  if (isModernInsightsClient(insightsClient)) {
14308
14308
  insightsClientWithLocalCredentials = function insightsClientWithLocalCredentials(method, payload) {
14309
+ var _getAppIdAndApiKey3 = getAppIdAndApiKey(instantSearchInstance.client),
14310
+ _getAppIdAndApiKey4 = _slicedToArray(_getAppIdAndApiKey3, 2),
14311
+ latestAppId = _getAppIdAndApiKey4[0],
14312
+ latestApiKey = _getAppIdAndApiKey4[1];
14309
14313
  var extraParams = {
14310
14314
  headers: {
14311
- 'X-Algolia-Application-Id': appId,
14312
- 'X-Algolia-API-Key': apiKey
14315
+ 'X-Algolia-Application-Id': latestAppId,
14316
+ 'X-Algolia-API-Key': latestApiKey
14313
14317
  }
14314
14318
  };
14315
14319
 
@@ -16414,7 +16418,7 @@
16414
16418
  };
16415
16419
  }
16416
16420
 
16417
- var version$1 = '4.78.2';
16421
+ var version$1 = '4.78.3';
16418
16422
 
16419
16423
  var withUsage$v = createDocumentationMessageGenerator({
16420
16424
  name: 'instantsearch'