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.
@@ -1,2 +1,2 @@
1
- declare const _default: "4.78.2";
1
+ declare const _default: "4.78.3";
2
2
  export default _default;
package/es/lib/version.js CHANGED
@@ -1 +1 @@
1
- export default '4.78.2';
1
+ export default '4.78.3';
@@ -256,10 +256,14 @@ export function createInsightsMiddleware() {
256
256
  var insightsClientWithLocalCredentials = insightsClient;
257
257
  if (isModernInsightsClient(insightsClient)) {
258
258
  insightsClientWithLocalCredentials = function insightsClientWithLocalCredentials(method, payload) {
259
+ var _getAppIdAndApiKey3 = getAppIdAndApiKey(instantSearchInstance.client),
260
+ _getAppIdAndApiKey4 = _slicedToArray(_getAppIdAndApiKey3, 2),
261
+ latestAppId = _getAppIdAndApiKey4[0],
262
+ latestApiKey = _getAppIdAndApiKey4[1];
259
263
  var extraParams = {
260
264
  headers: {
261
- 'X-Algolia-Application-Id': appId,
262
- 'X-Algolia-API-Key': apiKey
265
+ 'X-Algolia-Application-Id': latestAppId,
266
+ 'X-Algolia-API-Key': latestApiKey
263
267
  }
264
268
  };
265
269
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instantsearch.js",
3
- "version": "4.78.2",
3
+ "version": "4.78.3",
4
4
  "description": "InstantSearch.js is a JavaScript library for building performant and instant search experiences with Algolia.",
5
5
  "homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/",
6
6
  "types": "es/index.d.ts",
@@ -56,9 +56,9 @@
56
56
  "watch:es": "yarn --silent build:es:base --watch"
57
57
  },
58
58
  "devDependencies": {
59
- "@instantsearch/mocks": "1.73.0",
60
- "@instantsearch/tests": "1.73.0",
61
- "@instantsearch/testutils": "1.62.0",
59
+ "@instantsearch/mocks": "1.74.0",
60
+ "@instantsearch/tests": "1.74.0",
61
+ "@instantsearch/testutils": "1.63.0",
62
62
  "@storybook/html": "5.3.9",
63
63
  "@types/scriptjs": "0.0.2",
64
64
  "algoliasearch": "5.1.1",
@@ -66,5 +66,5 @@
66
66
  "scriptjs": "2.5.9",
67
67
  "webpack": "4.47.0"
68
68
  },
69
- "gitHead": "f0df58b3039f06b840d2b1174e9d53baae46daeb"
69
+ "gitHead": "68e29e1c4836d258ec373abe50f3d1f7f5132017"
70
70
  }