instantsearch.js 4.68.0 → 4.68.1
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/widgets/index/index.js +1 -1
- package/dist/instantsearch.development.js +3 -3
- 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/widgets/index/index.js +1 -1
- package/package.json +5 -5
package/cjs/lib/version.js
CHANGED
|
@@ -508,7 +508,7 @@ var index = function index(widgetParams) {
|
|
|
508
508
|
_helper,
|
|
509
509
|
_derivedHelper2;
|
|
510
510
|
localWidgets.forEach(function (widget) {
|
|
511
|
-
if (widget.dispose) {
|
|
511
|
+
if (widget.dispose && helper) {
|
|
512
512
|
// The dispose function is always called once the instance is started
|
|
513
513
|
// (it's an effect of `removeWidgets`). The index is initialized and
|
|
514
514
|
// the Helper is available. We don't care about the return value of
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! InstantSearch.js 4.68.
|
|
1
|
+
/*! InstantSearch.js 4.68.1 | © 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) :
|
|
@@ -15304,7 +15304,7 @@
|
|
|
15304
15304
|
_helper,
|
|
15305
15305
|
_derivedHelper2;
|
|
15306
15306
|
localWidgets.forEach(function (widget) {
|
|
15307
|
-
if (widget.dispose) {
|
|
15307
|
+
if (widget.dispose && helper) {
|
|
15308
15308
|
// The dispose function is always called once the instance is started
|
|
15309
15309
|
// (it's an effect of `removeWidgets`). The index is initialized and
|
|
15310
15310
|
// the Helper is available. We don't care about the return value of
|
|
@@ -15428,7 +15428,7 @@
|
|
|
15428
15428
|
};
|
|
15429
15429
|
}
|
|
15430
15430
|
|
|
15431
|
-
var version$1 = '4.68.
|
|
15431
|
+
var version$1 = '4.68.1';
|
|
15432
15432
|
|
|
15433
15433
|
var withUsage$r = createDocumentationMessageGenerator({
|
|
15434
15434
|
name: 'instantsearch'
|