From 13dab72f33ed1ae15bf710bdeee597d5eb8a5714 Mon Sep 17 00:00:00 2001 From: Sarah Dayan <5370675+sarahdayan@users.noreply.github.com> Date: Mon, 20 Mar 2023 15:21:19 +0100 Subject: [PATCH 1/2] feat(createAlgoliaInsightsPlugin): use search-insights@2.4.0 --- .../src/createAlgoliaInsightsPlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/autocomplete-plugin-algolia-insights/src/createAlgoliaInsightsPlugin.ts b/packages/autocomplete-plugin-algolia-insights/src/createAlgoliaInsightsPlugin.ts index 686c43fdc..332e98285 100644 --- a/packages/autocomplete-plugin-algolia-insights/src/createAlgoliaInsightsPlugin.ts +++ b/packages/autocomplete-plugin-algolia-insights/src/createAlgoliaInsightsPlugin.ts @@ -24,7 +24,7 @@ import { } from './types'; const VIEW_EVENT_DELAY = 400; -const ALGOLIA_INSIGHTS_VERSION = '2.3.0'; +const ALGOLIA_INSIGHTS_VERSION = '2.4.0'; const ALGOLIA_INSIGHTS_SRC = `https://cdn.jsdelivr.net/npm/search-insights@${ALGOLIA_INSIGHTS_VERSION}/dist/search-insights.min.js`; type SendViewedObjectIDsParams = { From dd4972e81de77fa5d4ad4b516faa75f84f35240c Mon Sep 17 00:00:00 2001 From: Sarah Dayan <5370675+sarahdayan@users.noreply.github.com> Date: Mon, 20 Mar 2023 15:38:31 +0100 Subject: [PATCH 2/2] test(createAlgoliaInsightsPlugin): update version in tests --- .../src/__tests__/createAlgoliaInsightsPlugin.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/autocomplete-plugin-algolia-insights/src/__tests__/createAlgoliaInsightsPlugin.test.ts b/packages/autocomplete-plugin-algolia-insights/src/__tests__/createAlgoliaInsightsPlugin.test.ts index 9b31d7170..9dbbdbd20 100644 --- a/packages/autocomplete-plugin-algolia-insights/src/__tests__/createAlgoliaInsightsPlugin.test.ts +++ b/packages/autocomplete-plugin-algolia-insights/src/__tests__/createAlgoliaInsightsPlugin.test.ts @@ -234,7 +234,7 @@ describe('createAlgoliaInsightsPlugin', () => { expect(document.body).toMatchInlineSnapshot(`