react-instantsearch 7.5.4 → 7.5.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.
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
var React__default = 'default' in React ? React['default'] : React;
|
|
9
9
|
|
|
10
|
-
var version = '7.5.
|
|
10
|
+
var version = '7.5.5';
|
|
11
11
|
|
|
12
12
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
13
13
|
//
|
|
@@ -6800,7 +6800,7 @@
|
|
|
6800
6800
|
return chunks;
|
|
6801
6801
|
}
|
|
6802
6802
|
function _buildEventPayloadsForHits(_ref) {
|
|
6803
|
-
var
|
|
6803
|
+
var getIndex = _ref.getIndex,
|
|
6804
6804
|
widgetType = _ref.widgetType,
|
|
6805
6805
|
methodName = _ref.methodName,
|
|
6806
6806
|
args = _ref.args,
|
|
@@ -6853,7 +6853,7 @@
|
|
|
6853
6853
|
eventType: eventType,
|
|
6854
6854
|
payload: _objectSpread$2({
|
|
6855
6855
|
eventName: eventName || 'Hits Viewed',
|
|
6856
|
-
index:
|
|
6856
|
+
index: getIndex(),
|
|
6857
6857
|
objectIDs: objectIDsByChunk[i]
|
|
6858
6858
|
}, additionalData),
|
|
6859
6859
|
hits: batch,
|
|
@@ -6868,7 +6868,7 @@
|
|
|
6868
6868
|
eventType: eventType,
|
|
6869
6869
|
payload: _objectSpread$2({
|
|
6870
6870
|
eventName: eventName || 'Hit Clicked',
|
|
6871
|
-
index:
|
|
6871
|
+
index: getIndex(),
|
|
6872
6872
|
queryID: queryID,
|
|
6873
6873
|
objectIDs: objectIDsByChunk[i],
|
|
6874
6874
|
positions: positionsByChunk[i]
|
|
@@ -6885,7 +6885,7 @@
|
|
|
6885
6885
|
eventType: eventType,
|
|
6886
6886
|
payload: _objectSpread$2({
|
|
6887
6887
|
eventName: eventName || 'Hit Converted',
|
|
6888
|
-
index:
|
|
6888
|
+
index: getIndex(),
|
|
6889
6889
|
queryID: queryID,
|
|
6890
6890
|
objectIDs: objectIDsByChunk[i]
|
|
6891
6891
|
}, additionalData),
|
|
@@ -6899,7 +6899,7 @@
|
|
|
6899
6899
|
}
|
|
6900
6900
|
function createSendEventForHits(_ref2) {
|
|
6901
6901
|
var instantSearchInstance = _ref2.instantSearchInstance,
|
|
6902
|
-
|
|
6902
|
+
getIndex = _ref2.getIndex,
|
|
6903
6903
|
widgetType = _ref2.widgetType;
|
|
6904
6904
|
var sentEvents = {};
|
|
6905
6905
|
var timer = undefined;
|
|
@@ -6909,7 +6909,7 @@
|
|
|
6909
6909
|
}
|
|
6910
6910
|
var payloads = _buildEventPayloadsForHits({
|
|
6911
6911
|
widgetType: widgetType,
|
|
6912
|
-
|
|
6912
|
+
getIndex: getIndex,
|
|
6913
6913
|
methodName: 'sendEvent',
|
|
6914
6914
|
args: args,
|
|
6915
6915
|
instantSearchInstance: instantSearchInstance
|
|
@@ -6929,7 +6929,7 @@
|
|
|
6929
6929
|
return sendEventForHits;
|
|
6930
6930
|
}
|
|
6931
6931
|
function createBindEventForHits(_ref3) {
|
|
6932
|
-
var
|
|
6932
|
+
var getIndex = _ref3.getIndex,
|
|
6933
6933
|
widgetType = _ref3.widgetType,
|
|
6934
6934
|
instantSearchInstance = _ref3.instantSearchInstance;
|
|
6935
6935
|
var bindEventForHits = function bindEventForHits() {
|
|
@@ -6938,7 +6938,7 @@
|
|
|
6938
6938
|
}
|
|
6939
6939
|
var payloads = _buildEventPayloadsForHits({
|
|
6940
6940
|
widgetType: widgetType,
|
|
6941
|
-
|
|
6941
|
+
getIndex: getIndex,
|
|
6942
6942
|
methodName: 'bindEvent',
|
|
6943
6943
|
args: args,
|
|
6944
6944
|
instantSearchInstance: instantSearchInstance
|
|
@@ -12204,7 +12204,7 @@
|
|
|
12204
12204
|
};
|
|
12205
12205
|
}
|
|
12206
12206
|
|
|
12207
|
-
var version$3 = '4.64.
|
|
12207
|
+
var version$3 = '4.64.3';
|
|
12208
12208
|
|
|
12209
12209
|
function _typeof$o(obj) {
|
|
12210
12210
|
"@babel/helpers - typeof";
|
|
@@ -14305,7 +14305,9 @@
|
|
|
14305
14305
|
if (!sendEvent) {
|
|
14306
14306
|
sendEvent = createSendEventForHits({
|
|
14307
14307
|
instantSearchInstance: instantSearchInstance,
|
|
14308
|
-
|
|
14308
|
+
getIndex: function getIndex() {
|
|
14309
|
+
return helper.getIndex();
|
|
14310
|
+
},
|
|
14309
14311
|
widgetType: $$type
|
|
14310
14312
|
});
|
|
14311
14313
|
}
|
|
@@ -14832,13 +14834,17 @@
|
|
|
14832
14834
|
if (!sendEvent) {
|
|
14833
14835
|
sendEvent = createSendEventForHits({
|
|
14834
14836
|
instantSearchInstance: instantSearchInstance,
|
|
14835
|
-
|
|
14837
|
+
getIndex: function getIndex() {
|
|
14838
|
+
return helper.getIndex();
|
|
14839
|
+
},
|
|
14836
14840
|
widgetType: this.$$type
|
|
14837
14841
|
});
|
|
14838
14842
|
}
|
|
14839
14843
|
if (!bindEvent) {
|
|
14840
14844
|
bindEvent = createBindEventForHits({
|
|
14841
|
-
|
|
14845
|
+
getIndex: function getIndex() {
|
|
14846
|
+
return helper.getIndex();
|
|
14847
|
+
},
|
|
14842
14848
|
widgetType: this.$$type,
|
|
14843
14849
|
instantSearchInstance: instantSearchInstance
|
|
14844
14850
|
});
|
|
@@ -15366,11 +15372,15 @@
|
|
|
15366
15372
|
showMore = getShowMore(helper);
|
|
15367
15373
|
sendEvent = createSendEventForHits({
|
|
15368
15374
|
instantSearchInstance: instantSearchInstance,
|
|
15369
|
-
|
|
15375
|
+
getIndex: function getIndex() {
|
|
15376
|
+
return helper.getIndex();
|
|
15377
|
+
},
|
|
15370
15378
|
widgetType: this.$$type
|
|
15371
15379
|
});
|
|
15372
15380
|
bindEvent = createBindEventForHits({
|
|
15373
|
-
|
|
15381
|
+
getIndex: function getIndex() {
|
|
15382
|
+
return helper.getIndex();
|
|
15383
|
+
},
|
|
15374
15384
|
widgetType: this.$$type,
|
|
15375
15385
|
instantSearchInstance: instantSearchInstance
|
|
15376
15386
|
});
|