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.
- package/cjs/lib/version.js +1 -1
- package/cjs/middlewares/createInsightsMiddleware.js +6 -2
- package/dist/instantsearch.development.js +8 -4
- package/dist/instantsearch.development.js.map +1 -1
- package/dist/instantsearch.production.min.js +2 -2
- package/dist/instantsearch.production.min.js.map +1 -1
- package/es/lib/version.d.ts +1 -1
- package/es/lib/version.js +1 -1
- package/es/middlewares/createInsightsMiddleware.js +6 -2
- package/package.json +5 -5
package/cjs/lib/version.js
CHANGED
|
@@ -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':
|
|
268
|
-
'X-Algolia-API-Key':
|
|
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.
|
|
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':
|
|
14312
|
-
'X-Algolia-API-Key':
|
|
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.
|
|
16421
|
+
var version$1 = '4.78.3';
|
|
16418
16422
|
|
|
16419
16423
|
var withUsage$v = createDocumentationMessageGenerator({
|
|
16420
16424
|
name: 'instantsearch'
|