instantsearch.js 4.78.1 → 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/README.md +1 -1
- package/cjs/lib/version.js +1 -1
- package/cjs/middlewares/createInsightsMiddleware.js +6 -2
- package/dist/instantsearch.development.js +13 -6
- 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 +6 -6
package/es/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.78.
|
|
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.
|
|
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':
|
|
262
|
-
'X-Algolia-API-Key':
|
|
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.
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@types/google.maps": "^3.55.12",
|
|
32
32
|
"@types/hogan.js": "^3.0.0",
|
|
33
33
|
"@types/qs": "^6.5.3",
|
|
34
|
-
"algoliasearch-helper": "3.
|
|
34
|
+
"algoliasearch-helper": "3.25.0",
|
|
35
35
|
"hogan.js": "^3.0.2",
|
|
36
36
|
"htm": "^3.0.0",
|
|
37
37
|
"instantsearch-ui-components": "0.11.1",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"watch:es": "yarn --silent build:es:base --watch"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@instantsearch/mocks": "1.
|
|
60
|
-
"@instantsearch/tests": "1.
|
|
61
|
-
"@instantsearch/testutils": "1.
|
|
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": "
|
|
69
|
+
"gitHead": "68e29e1c4836d258ec373abe50f3d1f7f5132017"
|
|
70
70
|
}
|