instantsearch.js 4.75.4 → 4.75.5

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,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = '4.75.4';
7
+ var _default = '4.75.5';
8
8
  exports.default = _default;
@@ -23,7 +23,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
23
23
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
24
24
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
25
25
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
26
- var ALGOLIA_INSIGHTS_VERSION = '2.15.0';
26
+ var ALGOLIA_INSIGHTS_VERSION = '2.17.2';
27
27
  var ALGOLIA_INSIGHTS_SRC = "https://cdn.jsdelivr.net/npm/search-insights@".concat(ALGOLIA_INSIGHTS_VERSION, "/dist/search-insights.min.js");
28
28
  function createInsightsMiddleware() {
29
29
  var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -5018,7 +5018,7 @@ declare type InsightsEvent<TMethod extends InsightsMethod = InsightsMethod> = In
5018
5018
  */
5019
5019
  declare type InsightsEvent_2<TMethod extends InsightsMethod = InsightsMethod> = {
5020
5020
  insightsMethod?: TMethod;
5021
- payload: InsightsMethodMap[TMethod][0];
5021
+ payload: InsightsMethodMap[TMethod][0][0];
5022
5022
  widgetType: string;
5023
5023
  eventType: string;
5024
5024
  eventModifier?: string;
@@ -5035,7 +5035,7 @@ declare type InsightsMethodMap = InsightsMethodMap_2;
5035
5035
 
5036
5036
  declare type InsightsProps<TInsightsClient extends ProvidedInsightsClient = ProvidedInsightsClient> = {
5037
5037
  insightsClient?: TInsightsClient;
5038
- insightsInitParams?: Partial<InsightsMethodMap['init'][0]>;
5038
+ insightsInitParams?: Partial<InsightsMethodMap['init'][0][0]>;
5039
5039
  onEvent?: (event: InsightsEvent, insightsClient: TInsightsClient) => void;
5040
5040
  };
5041
5041
 
@@ -6334,7 +6334,7 @@ declare type QueueItem = QueueItemMap[keyof QueueItemMap];
6334
6334
  declare type QueueItemMap = {
6335
6335
  [MethodName in keyof InsightsMethodMap]: [
6336
6336
  methodName: MethodName,
6337
- ...args: InsightsMethodMap[MethodName]
6337
+ ...args: InsightsMethodMap[MethodName][0][0]
6338
6338
  ];
6339
6339
  };
6340
6340
 
@@ -1,4 +1,4 @@
1
- /*! InstantSearch.js 4.75.4 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch */
1
+ /*! InstantSearch.js 4.75.5 | © 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) :
@@ -13743,7 +13743,7 @@
13743
13743
  });
13744
13744
  }
13745
13745
 
13746
- var ALGOLIA_INSIGHTS_VERSION = '2.15.0';
13746
+ var ALGOLIA_INSIGHTS_VERSION = '2.17.2';
13747
13747
  var ALGOLIA_INSIGHTS_SRC = "https://cdn.jsdelivr.net/npm/search-insights@".concat(ALGOLIA_INSIGHTS_VERSION, "/dist/search-insights.min.js");
13748
13748
  function createInsightsMiddleware() {
13749
13749
  var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -16132,7 +16132,7 @@
16132
16132
  };
16133
16133
  }
16134
16134
 
16135
- var version$1 = '4.75.4';
16135
+ var version$1 = '4.75.5';
16136
16136
 
16137
16137
  var withUsage$v = createDocumentationMessageGenerator({
16138
16138
  name: 'instantsearch'