fast-simon-sdk 1.6.123 → 1.6.124
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/lib/sections/eventReporter/utils.js +47 -5
- package/lib/sections/eventReporter/utils.js.map +1 -1
- package/lib/services/delayedReports.d.ts +6 -0
- package/lib/services/delayedReports.js +87 -0
- package/lib/services/delayedReports.js.map +1 -0
- package/lib/services/reporting.d.ts +16 -0
- package/lib/services/reporting.js +37 -1
- package/lib/services/reporting.js.map +1 -1
- package/lib/utils/delayedReportEnrichment.d.ts +4 -0
- package/lib/utils/delayedReportEnrichment.js +96 -0
- package/lib/utils/delayedReportEnrichment.js.map +1 -0
- package/lib/utils/ensureReportingScript.d.ts +1 -1
- package/lib/utils/ensureReportingScript.js +14 -30
- package/lib/utils/ensureReportingScript.js.map +1 -1
- package/package.json +3 -7
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.d.ts +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.d.ts +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.d.ts +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.d.ts +0 -138
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.d.ts +0 -126
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.d.ts +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.d.ts +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.d.ts +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js +0 -241
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.d.ts +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js +0 -54
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.d.ts +0 -26
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js +0 -399
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.d.ts +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js +0 -302
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.d.ts +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.d.ts +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js +0 -156
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js +0 -122
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.d.ts +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.d.ts +0 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.d.ts +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js +0 -32
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.d.ts +0 -28
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js +0 -332
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.d.ts +0 -33
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js +0 -171
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.d.ts +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.d.ts +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js +0 -111
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.d.ts +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js +0 -72
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.d.ts +0 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.d.ts +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js +0 -48
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.d.ts +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js +0 -113
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js +0 -28
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.d.ts +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js +0 -94
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.d.ts +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js +0 -98
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.d.ts +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js +0 -59
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.d.ts +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.d.ts +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.d.ts +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js +0 -70
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js +0 -32
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.d.ts +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/package.json +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.d.ts +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.d.ts +0 -142
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.d.ts +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.d.ts +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.d.ts +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.d.ts +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.d.ts +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.d.ts +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.d.ts +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/package.json +0 -33
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/README.md +0 -233
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/bench.js +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/index.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/abort.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/async.js +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/defer.js +0 -26
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/iterate.js +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/state.js +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/streamify.js +0 -141
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/terminator.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/package.json +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/parallel.js +0 -43
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serial.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serialOrdered.js +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/stream.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/CHANGELOG.md +0 -1014
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/LICENSE +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/README.md +0 -1182
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/SECURITY.md +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/UPGRADE_GUIDE.md +0 -169
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/check-build-version.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/ssl_hotfix.js +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js +0 -2377
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js +0 -2369
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.d.ts +0 -340
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/README.md +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/http.js +0 -463
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/xhr.js +0 -226
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/axios.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CancelToken.js +0 -118
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CanceledError.js +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/Axios.js +0 -172
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/AxiosError.js +0 -97
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/InterceptorManager.js +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/README.md +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/buildFullPath.js +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/dispatchRequest.js +0 -94
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/mergeConfig.js +0 -103
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/settle.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/transformData.js +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/index.js +0 -175
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/transitional.js +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/README.md +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/classes/FormData.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/data.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/bind.js +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/buildURL.js +0 -55
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/cookies.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/formDataToJSON.js +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/fromDataURI.js +0 -51
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAxiosError.js +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/null.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/spread.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toFormData.js +0 -179
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/validator.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/index.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/index.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/index.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/utils.js +0 -522
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/package.json +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/rollup.config.js +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tsconfig.json +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tslint.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/Readme.md +0 -138
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/package.json +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/.npmignore +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Makefile +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Readme.md +0 -141
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/package.json +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/README.md +0 -54
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.js +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/package.json +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.js +0 -35
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/get.js +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/set.js +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/README.md +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/package.json +0 -81
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/test/index.js +0 -56
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/tsconfig.json +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/README.md +0 -55
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/package.json +0 -80
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/CHANGELOG.md +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/README.md +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/package.json +0 -80
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/test/index.js +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/tsconfig.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.eslintrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/README.md +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.js +0 -35
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/package.json +0 -78
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/test/index.js +0 -85
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/LICENSE +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/README.md +0 -155
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/debug.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/http.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/https.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/index.js +0 -686
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/package.json +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/CHANGELOG.md +0 -686
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/README.md +0 -355
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/index.d.ts +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/browser.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/form_data.js +0 -506
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/populate.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/package.json +0 -82
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/LICENSE +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/implementation.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/index.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/package.json +0 -87
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.eslintrc +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/CHANGELOG.md +0 -178
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/index.js +0 -377
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/package.json +0 -97
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.eslintrc +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/CHANGELOG.md +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/README.md +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/package.json +0 -81
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/test/index.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/CHANGELOG.md +0 -45
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/README.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/package.json +0 -77
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/test/index.js +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/package.json +0 -111
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.js +0 -45
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/tests.js +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/tsconfig.json +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/CHANGELOG.md +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/package.json +0 -108
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/index.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/tests.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/tsconfig.json +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/CHANGELOG.md +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/README.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/eslint.config.mjs +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/package.json +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/tsconfig.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/README.md +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/package.json +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/test/index.js +0 -192
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/HISTORY.md +0 -507
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/LICENSE +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/README.md +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/db.json +0 -8519
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/index.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/package.json +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/HISTORY.md +0 -397
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/README.md +0 -113
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/index.js +0 -188
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/package.json +0 -44
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.eslintrc +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.travis.yml +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/LICENSE +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/README.md +0 -131
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/index.js +0 -108
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/package.json +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/test.js +0 -483
- package/node_modules/@fast-simon/fast-simon-reporting/package.json +0 -39
|
@@ -6,17 +6,59 @@ var index_1 = require("./index");
|
|
|
6
6
|
var config_1 = require("../../config");
|
|
7
7
|
var ABTesting_1 = require("../../utils/ABTesting");
|
|
8
8
|
var location_1 = require("../../utils/location");
|
|
9
|
+
var MAX_QUEUED_EVENTS = 20;
|
|
10
|
+
// Read the queued MPA events, tolerating the legacy single-object payload (from a
|
|
11
|
+
// shopper mid-navigation on an older SDK) and corrupt data.
|
|
12
|
+
function readEventQueue() {
|
|
13
|
+
var raw = localStorage.getItem(config_1.POST_LOAD_EVENT_KEY);
|
|
14
|
+
if (!raw)
|
|
15
|
+
return [];
|
|
16
|
+
try {
|
|
17
|
+
var parsed = JSON.parse(raw);
|
|
18
|
+
return Array.isArray(parsed) ? parsed : [parsed];
|
|
19
|
+
}
|
|
20
|
+
catch (_a) {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
// Queue an MPA event to report on the next page. Previously this overwrote a
|
|
25
|
+
// single key, so a swatch switch immediately followed by a product click (the
|
|
26
|
+
// natural shopper flow) lost the swatch. It now appends to a bounded queue and
|
|
27
|
+
// skips exact duplicates, so every distinct event is flushed on the destination
|
|
28
|
+
// page while an identical event queued twice is not over-reported (preserving the
|
|
29
|
+
// old single-key implicit dedup).
|
|
9
30
|
function saveEvent(report, self) {
|
|
10
|
-
|
|
31
|
+
var queue = readEventQueue();
|
|
32
|
+
var serialized = JSON.stringify(report);
|
|
33
|
+
if (!queue.some(function (r) { return JSON.stringify(r) === serialized; })) {
|
|
34
|
+
queue.push(report);
|
|
35
|
+
if (queue.length > MAX_QUEUED_EVENTS)
|
|
36
|
+
queue.splice(0, queue.length - MAX_QUEUED_EVENTS);
|
|
37
|
+
localStorage.setItem(config_1.POST_LOAD_EVENT_KEY, JSON.stringify(queue));
|
|
38
|
+
}
|
|
11
39
|
if (self) {
|
|
12
40
|
localStorage.setItem(config_1.POST_LOAD_EVENT_SELF_KEY, JSON.stringify(self));
|
|
13
41
|
}
|
|
14
42
|
}
|
|
15
43
|
var postLoad = function (self) {
|
|
16
|
-
if (config_1.POST_LOAD_EVENT_KEY in localStorage)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
44
|
+
if (!(config_1.POST_LOAD_EVENT_KEY in localStorage))
|
|
45
|
+
return;
|
|
46
|
+
var queue = readEventQueue();
|
|
47
|
+
// clear before flushing so a re-entrant report can't cause a re-send
|
|
48
|
+
localStorage.removeItem(config_1.POST_LOAD_EVENT_KEY);
|
|
49
|
+
var selfReport;
|
|
50
|
+
try {
|
|
51
|
+
selfReport = JSON.parse(localStorage.getItem(config_1.POST_LOAD_EVENT_SELF_KEY));
|
|
52
|
+
}
|
|
53
|
+
catch (_a) {
|
|
54
|
+
selfReport = undefined;
|
|
55
|
+
}
|
|
56
|
+
// drop the (potentially large) serialized self now that the queue is consumed
|
|
57
|
+
localStorage.removeItem(config_1.POST_LOAD_EVENT_SELF_KEY);
|
|
58
|
+
var effectiveSelf = selfReport && self.type === "MPA" ? selfReport : self;
|
|
59
|
+
for (var _i = 0, queue_1 = queue; _i < queue_1.length; _i++) {
|
|
60
|
+
var report = queue_1[_i];
|
|
61
|
+
(0, index_1.reportEvent)({ self: effectiveSelf, report: report });
|
|
20
62
|
}
|
|
21
63
|
};
|
|
22
64
|
exports.postLoad = postLoad;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/sections/eventReporter/utils.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/sections/eventReporter/utils.ts"],"names":[],"mappings":";;;AA4BA,8BAWC;AArCD,iCAAoC;AACpC,uCAA2E;AAC3E,mDAAuD;AACvD,iDAAuD;AAEvD,IAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,kFAAkF;AAClF,4DAA4D;AAC5D,SAAS,cAAc;IACnB,IAAM,GAAG,GAAG,YAAY,CAAC,OAAO,CAAC,4BAAmB,CAAC,CAAC;IACtD,IAAI,CAAC,GAAG;QAAE,OAAO,EAA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,CAAC;QACN,IAAI,QAAQ,EAAE,CAAC;YACX,QAAQ,CAAC,EAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,EAAC,CAAC,CAAA;QAC9D,CAAC;IACL,CAAC,CAAC,CAAA;AACN,CAAC,CAAC;AAZW,QAAA,gBAAgB,oBAY3B"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.flushDelayedReports = flushDelayedReports;
|
|
4
|
+
var reporting_1 = require("./reporting");
|
|
5
|
+
// Upstream Fast Simon surfaces (v-next / serp / autocomplete / recommendations)
|
|
6
|
+
// queue "product seen from <source>" reports in localStorage for the destination
|
|
7
|
+
// page. On SDK-only pages the SDK is the only thing that reports them; it does so
|
|
8
|
+
// through its own reporting (Reporting.delayedReport) — no reporting-library
|
|
9
|
+
// dependency. Keys/prefixes are a cross-package contract with the producers.
|
|
10
|
+
var DELAYED_REPORT_LS_KEY = "fs-delayed-report";
|
|
11
|
+
var DELAYED_REPORT_PREFIXES = [
|
|
12
|
+
"product-seen-from-category",
|
|
13
|
+
"product-seen-from-search",
|
|
14
|
+
"product-seen-from-autocomplete",
|
|
15
|
+
"product-seen-from-recommendations",
|
|
16
|
+
"category-seen-from-autocomplete",
|
|
17
|
+
"popular-search-seen-from-autocomplete",
|
|
18
|
+
"product-clicked-from-recommendations",
|
|
19
|
+
"product-seen-from-landing-page",
|
|
20
|
+
"product-seen-from-assistant",
|
|
21
|
+
];
|
|
22
|
+
// Delay a report until its intended time relative to page load (reporting lib's
|
|
23
|
+
// components/delayedReport/delayedReport.ts getDelay).
|
|
24
|
+
function getDelay(timeout) {
|
|
25
|
+
var time = Date.now() - window.performance.timeOrigin;
|
|
26
|
+
return timeout > time ? timeout - time : 0;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Flush any queued delayed reports for this page, reporting each through the SDK's
|
|
30
|
+
* own reporting like a regular event. Wrapped so a failure can never block SDK
|
|
31
|
+
* readiness.
|
|
32
|
+
*/
|
|
33
|
+
function flushDelayedReports() {
|
|
34
|
+
var _a;
|
|
35
|
+
try {
|
|
36
|
+
var _loop_1 = function (prefix) {
|
|
37
|
+
var key = "".concat(prefix, "-").concat(DELAYED_REPORT_LS_KEY);
|
|
38
|
+
var raw = localStorage.getItem(key);
|
|
39
|
+
if (raw == null)
|
|
40
|
+
return "continue";
|
|
41
|
+
localStorage.removeItem(key);
|
|
42
|
+
var stored;
|
|
43
|
+
try {
|
|
44
|
+
stored = JSON.parse(raw);
|
|
45
|
+
}
|
|
46
|
+
catch (_b) {
|
|
47
|
+
return "continue";
|
|
48
|
+
}
|
|
49
|
+
var send = function () {
|
|
50
|
+
try {
|
|
51
|
+
reporting_1.Reporting.delayedReport(stored)
|
|
52
|
+
.then(function () {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
if (stored.globalHookName) {
|
|
55
|
+
(_b = (_a = window)[stored.globalHookName]) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
56
|
+
}
|
|
57
|
+
})
|
|
58
|
+
.catch(function (e) {
|
|
59
|
+
// reporting is best-effort; log for field diagnostics
|
|
60
|
+
// but never surface to the host
|
|
61
|
+
console.warn("Fast Simon SDK | delayed report send rejected:", e);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
catch (e) {
|
|
65
|
+
// a synchronous throw (esp. fired via setTimeout) must never
|
|
66
|
+
// reach the host page — log for field diagnostics, don't rethrow
|
|
67
|
+
console.warn("Fast Simon SDK | delayed report send failed:", e);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
var delay = getDelay((_a = stored.timeout) !== null && _a !== void 0 ? _a : 5000);
|
|
71
|
+
if (delay) {
|
|
72
|
+
setTimeout(send, delay);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
send();
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
for (var _i = 0, DELAYED_REPORT_PREFIXES_1 = DELAYED_REPORT_PREFIXES; _i < DELAYED_REPORT_PREFIXES_1.length; _i++) {
|
|
79
|
+
var prefix = DELAYED_REPORT_PREFIXES_1[_i];
|
|
80
|
+
_loop_1(prefix);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
catch (e) {
|
|
84
|
+
console.warn("Fast Simon SDK | delayed-report flush failed:", e);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=delayedReports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delayedReports.js","sourceRoot":"","sources":["../../src/services/delayedReports.ts"],"names":[],"mappings":";;AAiCA,kDA6CC;AA9ED,yCAAsC;AAEtC,gFAAgF;AAChF,iFAAiF;AACjF,kFAAkF;AAClF,6EAA6E;AAC7E,6EAA6E;AAC7E,IAAM,qBAAqB,GAAG,mBAAmB,CAAC;AAElD,IAAM,uBAAuB,GAAsB;IAC/C,4BAA4B;IAC5B,0BAA0B;IAC1B,gCAAgC;IAChC,mCAAmC;IACnC,iCAAiC;IACjC,uCAAuC;IACvC,sCAAsC;IACtC,gCAAgC;IAChC,6BAA6B;CAChC,CAAC;AAEF,gFAAgF;AAChF,uDAAuD;AACvD,SAAS,QAAQ,CAAC,OAAe;IAC7B,IAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC;IACxD,OAAO,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/C,CAAC;AAED;;;;GAIG;AACH,SAAgB,mBAAmB;;IAC/B,IAAI,CAAC;gCACU,MAAM;YACb,IAAM,GAAG,GAAG,UAAG,MAAM,cAAI,qBAAqB,CAAE,CAAC;YACjD,IAAM,GAAG,GAAG,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YACtC,IAAI,GAAG,IAAI,I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;AACL,CAAC"}
|
|
@@ -77,8 +77,24 @@ interface AddToCartProps extends RequestKey {
|
|
|
77
77
|
productID?: string;
|
|
78
78
|
channel?: Channel;
|
|
79
79
|
}
|
|
80
|
+
export declare const DELAYED_REPORT_ENDPOINTS: readonly ["post_load", "post_load_ac"];
|
|
81
|
+
export type DelayedReportEndpoint = (typeof DELAYED_REPORT_ENDPOINTS)[number];
|
|
82
|
+
export interface DelayedReportSendProps {
|
|
83
|
+
params?: Record<string, any>;
|
|
84
|
+
upType?: number;
|
|
85
|
+
endpoint?: DelayedReportEndpoint;
|
|
86
|
+
storeID?: number;
|
|
87
|
+
uuid?: string;
|
|
88
|
+
userSession?: string;
|
|
89
|
+
sessionToken?: {
|
|
90
|
+
start?: string | number;
|
|
91
|
+
};
|
|
92
|
+
cartToken?: string;
|
|
93
|
+
site?: boolean;
|
|
94
|
+
}
|
|
80
95
|
export declare const Reporting: {
|
|
81
96
|
productSeen: ({ type, categoryID, categoryName, cartToken, originId, originProduct, productId, reference, term, sessionStart, storeID, userToken, uuid, position, recommended, imageID, sourceProduct, rec_src, widget_id, channel }: ProductVisitedProps) => Promise<any>;
|
|
97
|
+
delayedReport: ({ params, upType, endpoint, storeID, uuid, userSession, sessionToken, cartToken, site }: DelayedReportSendProps) => Promise<any>;
|
|
82
98
|
promotileClicked: ({ type, categoryID, categoryName, cartToken, originId, originProduct, productId, reference, term, sessionStart, storeID, userToken, uuid, position, recommended, imageID, sourceProduct, rec_src, link, thumbnail, channel }: PromotileVisitedProps) => Promise<any>;
|
|
83
99
|
popularSearchSeen: ({ originId, userToken, storeID, sessionStart, cartToken, uuid, term, channel }: Omit<ProductVisitedProps, "productId" | "type">) => Promise<any>;
|
|
84
100
|
categorySearchSeen: ({ uuid, storeID, term, categoryID, sessionStart, userToken, cartToken, channel }: CategorySearchSeenProps) => Promise<any>;
|
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.Reporting = void 0;
|
|
14
|
+
exports.Reporting = exports.DELAYED_REPORT_ENDPOINTS = void 0;
|
|
15
15
|
exports.enrichPromoTilesWithIndex = enrichPromoTilesWithIndex;
|
|
16
16
|
var debug_1 = require("../utils/debug");
|
|
17
17
|
var API_1 = require("../utils/API");
|
|
@@ -20,6 +20,7 @@ var updateRecentSearches_1 = require("../utils/updateRecentSearches");
|
|
|
20
20
|
var utilities_1 = require("@fast-simon/utilities");
|
|
21
21
|
var shopifyCustomerId_1 = require("../utils/shopifyCustomerId");
|
|
22
22
|
var ABTesting_1 = require("../utils/ABTesting");
|
|
23
|
+
var delayedReportEnrichment_1 = require("../utils/delayedReportEnrichment");
|
|
23
24
|
var REPORT_BASE = "https://ping.fastsimon.com";
|
|
24
25
|
var clientVersion = (0, debug_1.getDebugEndpoint)() || REPORT_BASE;
|
|
25
26
|
var ReportingUpType;
|
|
@@ -38,6 +39,10 @@ var ReportingUpType;
|
|
|
38
39
|
ReportingUpType[ReportingUpType["collectionPreformedFromTurbolink"] = 46] = "collectionPreformedFromTurbolink";
|
|
39
40
|
ReportingUpType[ReportingUpType["swatchSwitch"] = 58] = "swatchSwitch";
|
|
40
41
|
})(ReportingUpType || (ReportingUpType = {}));
|
|
42
|
+
// Endpoints a delayed report may target (the reporting library's ReportingEndpoint
|
|
43
|
+
// values). Any other value coming from a localStorage producer is coerced to the
|
|
44
|
+
// default so we never route to a non-existent path.
|
|
45
|
+
exports.DELAYED_REPORT_ENDPOINTS = ["post_load", "post_load_ac"];
|
|
41
46
|
exports.Reporting = {
|
|
42
47
|
productSeen: function (_a) {
|
|
43
48
|
var type = _a.type, categoryID = _a.categoryID, categoryName = _a.categoryName, cartToken = _a.cartToken, originId = _a.originId, originProduct = _a.originProduct, productId = _a.productId, reference = _a.reference, term = _a.term, sessionStart = _a.sessionStart, storeID = _a.storeID, userToken = _a.userToken, uuid = _a.uuid, position = _a.position, recommended = _a.recommended, imageID = _a.imageID, sourceProduct = _a.sourceProduct, _b = _a.rec_src, rec_src = _b === void 0 ? undefined : _b, widget_id = _a.widget_id, channel = _a.channel;
|
|
@@ -53,6 +58,37 @@ exports.Reporting = {
|
|
|
53
58
|
params: apiParams
|
|
54
59
|
});
|
|
55
60
|
},
|
|
61
|
+
// A queued "product seen from <source>" report (staged by an upstream Fast
|
|
62
|
+
// Simon surface for this destination page) sent through the SDK's own
|
|
63
|
+
// reporting — same shape/enrichment as productSeen, no reporting-library
|
|
64
|
+
// dependency.
|
|
65
|
+
delayedReport: function (_a) {
|
|
66
|
+
var _b;
|
|
67
|
+
var params = _a.params, upType = _a.upType, endpoint = _a.endpoint, storeID = _a.storeID, uuid = _a.uuid, userSession = _a.userSession, sessionToken = _a.sessionToken, cartToken = _a.cartToken, site = _a.site;
|
|
68
|
+
var p = __assign({}, (params || {}));
|
|
69
|
+
if (window.Shopify && !p.variant_id) {
|
|
70
|
+
p = (0, delayedReportEnrichment_1.withShopifyVariant)(p);
|
|
71
|
+
}
|
|
72
|
+
if ((_b = window.location) === null || _b === void 0 ? void 0 : _b.search) {
|
|
73
|
+
p.qs = encodeURIComponent(window.location.search);
|
|
74
|
+
}
|
|
75
|
+
var apiParams = __assign(__assign(__assign(__assign({ source: "fast-simon-reporting", l: site ? window.location.host : undefined }, p), { store_id: storeID, UUID: uuid, st: (p === null || p === void 0 ? void 0 : p.st) ? p.st : userSession, session: sessionToken === null || sessionToken === void 0 ? void 0 : sessionToken.start, prev_up_type: upType, cart_token: cartToken !== null && cartToken !== void 0 ? cartToken : "", kl_id: utilities_1.KlaviyoStorage === null || utilities_1.KlaviyoStorage === void 0 ? void 0 : utilities_1.KlaviyoStorage.getKlaviyoCustomerID(), customer_id: (0, shopifyCustomerId_1.getShopifyCustomerId)() }), (0, delayedReportEnrichment_1.getGoogleAnalyticsParams)()), { doc_ref: document.referrer, variation_id: (0, ABTesting_1.getUserVariation)(), bloomreach_id: utilities_1.BloomreachStorage === null || utilities_1.BloomreachStorage === void 0 ? void 0 : utilities_1.BloomreachStorage.getBloomreachID(), dotdigital_id: (0, delayedReportEnrichment_1.getDotdigitalID)() });
|
|
76
|
+
try {
|
|
77
|
+
(0, updateRecentSearches_1.default)(apiParams);
|
|
78
|
+
}
|
|
79
|
+
catch (e) {
|
|
80
|
+
console.warn('FS Error - could not update the last recently viewed');
|
|
81
|
+
}
|
|
82
|
+
// Coerce an unknown/producer-typo endpoint to the default, and normalize
|
|
83
|
+
// slashes so a trailing '/' on the (debug-overridable) base can't produce
|
|
84
|
+
// a double slash that breaks dedup / routing.
|
|
85
|
+
var safeEndpoint = endpoint && exports.DELAYED_REPORT_ENDPOINTS.includes(endpoint) ? endpoint : "post_load";
|
|
86
|
+
var url = "".concat(clientVersion.replace(/\/+$/, ""), "/").concat(safeEndpoint);
|
|
87
|
+
if ((0, delayedReportEnrichment_1.isDuplicateRequest)(url, apiParams)) {
|
|
88
|
+
return Promise.resolve();
|
|
89
|
+
}
|
|
90
|
+
return API_1.API.get({ url: url, params: apiParams });
|
|
91
|
+
},
|
|
56
92
|
promotileClicked: function (_a) {
|
|
57
93
|
var type = _a.type, categoryID = _a.categoryID, categoryName = _a.categoryName, cartToken = _a.cartToken, originId = _a.originId, originProduct = _a.originProduct, productId = _a.productId, reference = _a.reference, term = _a.term, sessionStart = _a.sessionStart, storeID = _a.storeID, userToken = _a.userToken, uuid = _a.uuid, position = _a.position, recommended = _a.recommended, imageID = _a.imageID, sourceProduct = _a.sourceProduct, _b = _a.rec_src, rec_src = _b === void 0 ? undefined : _b, link = _a.link, thumbnail = _a.thumbnail, channel = _a.channel;
|
|
58
94
|
var apiParams = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reporting.js","sourceRoot":"","sources":["../../src/services/reporting.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAsdA,8DA6BC;AAnfD,wCAAgD;AAChD,oCAAiC;AAGjC,iCAAmE;AACn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version":3,"file":"reporting.js","sourceRoot":"","sources":["../../src/services/reporting.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAwhBA,8DA6BC;AArjBD,wCAAgD;AAChD,oCAAiC;AAGjC,iCAAmE;AACnE,sEAAiE;AACjE,mDAAuE;AACvE,gEAA+D;AAE/D,gDAAoD;AACpD,4EAAmI;AAGnI,IAAM,WAAW,GAAG,4BAA4B,CAAC;AAEjD,IAAM,aAAa,GAAG,IAAA,wBAAgB,GAAE,IAAI,WAAW,CAAC;AAExD,IAAK,eAeJ;AAfD,WAAK,eAAe;IAChB,+EAAqB,CAAA;IACrB,2FAA2B,CAAA;IAC3B,2EAAmB,CAAA;IACnB,iFAAsB,CAAA;IACtB,kFAAuB,CAAA;IACvB,kFAAuB,CAAA;IACvB,kFAAuB,CAAA;IACvB,kFAAuB,CAAA;IACvB,sFAAyB,CAAA;IACzB,oFAAwB,CAAA;IACxB,8EAAqB,CAAA;IACrB,8GAAqC,CAAA;IACrC,sEAAiB,CAAA;AAErB,CAAC,EAfI,eAAe,KAAf,eAAe,QAenB;AAsFD,mFAAmF;AACnF,iFAAiF;AACjF,oDAAoD;AACvC,QAAA,wBAAwB,GAAG,CAAC,WAAW,EAAE,cAAc,CAAU,CAAC;AAgBlE,QAAA,SAAS,GAAG;IACrB,WAAW,EAAE,UAAC,EAqBsB;YApBlB,IAAI,UAAA,EACJ,UAAU,gBAAA,EACV,YAAY,kBAAA,EACZ,SAAS,eAAA,EACT,QAAQ,cAAA,EACR,aAAa,mBAAA,EACb,SAAS,eAAA,EACT,SAAS,eAAA,EACT,IAAI,UAAA,EACJ,YAAY,kBAAA,EACZ,OAAO,aAAA,EACP,SAAS,eAAA,EACT,IAAI,UAAA,EACJ,QAAQ,cAAA,EACR,WAAW,iBAAA,EACX,OAAO,aAAA,EACP,aAAa,mBAAA,EACb,eAAmB,EAAnB,OAAO,mBAAG,SAAS,KAAA,EACnB,SAAS,eAAA,EACT,OAAO,aAAA;QAErB,IAAI,SAAS,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+
export declare function getDotdigitalID(): string | undefined;
|
|
3
|
+
export declare function withShopifyVariant(params: Record<string, any>): Record<string, any>;
|
|
4
|
+
export declare function isDuplicateRequest(url: string, params: Record<string, any>): boolean;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Enrichment helpers used ONLY when flushing v-next's queued delayed reports, so
|
|
3
|
+
// those reports stay identical to what @fast-simon/fast-simon-reporting's Report()
|
|
4
|
+
// would have sent. The SDK's own reports intentionally don't carry these fields.
|
|
5
|
+
// Ported from services/frontends/reporting (utils/getGoogleAnalyticsParams.ts,
|
|
6
|
+
// utils/dotdigital.ts, utils/getShopifyVariant.ts).
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.getGoogleAnalyticsParams = getGoogleAnalyticsParams;
|
|
9
|
+
exports.getDotdigitalID = getDotdigitalID;
|
|
10
|
+
exports.withShopifyVariant = withShopifyVariant;
|
|
11
|
+
exports.isDuplicateRequest = isDuplicateRequest;
|
|
12
|
+
// Google Analytics client/user id, when GA (analytics.js `ga`) is present.
|
|
13
|
+
function getGoogleAnalyticsParams() {
|
|
14
|
+
var _a, _b, _c, _d, _e, _f;
|
|
15
|
+
var ga = window.ga;
|
|
16
|
+
if (typeof ga !== "function" || !ga.getAll)
|
|
17
|
+
return {};
|
|
18
|
+
var params = ga.getAll();
|
|
19
|
+
if (!params)
|
|
20
|
+
return {};
|
|
21
|
+
var code = (_d = (_c = (_b = (_a = ga.getAll()[0]) === null || _a === void 0 ? void 0 : _a.b) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.values) === null || _d === void 0 ? void 0 : _d[":trackingId"];
|
|
22
|
+
var clientID = "", userID = "";
|
|
23
|
+
for (var _i = 0, params_1 = params; _i < params_1.length; _i++) {
|
|
24
|
+
var param = params_1[_i];
|
|
25
|
+
if (param && param.get && param.get("trackingId") === code) {
|
|
26
|
+
clientID = param.get("clientId");
|
|
27
|
+
userID = param.get("userId");
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
if (clientID && userID) {
|
|
31
|
+
return { clientID: clientID, userID: userID, cid: (_f = (_e = window.__st) === null || _e === void 0 ? void 0 : _e.cid) !== null && _f !== void 0 ? _f : undefined };
|
|
32
|
+
}
|
|
33
|
+
return {};
|
|
34
|
+
}
|
|
35
|
+
// Dotdigital contact/session id, when the Dotdigital integration is active.
|
|
36
|
+
function getCookieValue(name) {
|
|
37
|
+
var parts = document.cookie.split(";");
|
|
38
|
+
for (var i = 0; i < parts.length; i++) {
|
|
39
|
+
var n = parts[i].trim();
|
|
40
|
+
if (n.indexOf(name + "=") === 0)
|
|
41
|
+
return decodeURIComponent(n.substring(name.length + 1));
|
|
42
|
+
}
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
function getDotdigitalID() {
|
|
46
|
+
var _a, _b, _c, _d;
|
|
47
|
+
if (localStorage.getItem("fs_has_dotdigital") !== "true")
|
|
48
|
+
return undefined;
|
|
49
|
+
return (((_d = (_c = (_b = (_a = getCookieValue("dm_i")) === null || _a === void 0 ? void 0 : _a.split(",")) === null || _b === void 0 ? void 0 : _b[2]) === null || _c === void 0 ? void 0 : _c.match(/.{8}|.+/g)) === null || _d === void 0 ? void 0 : _d.map(function (e) { return String(parseInt(e, 36)); }).join("")) || getCookieValue("dmSessionID"));
|
|
50
|
+
}
|
|
51
|
+
// Attach the Shopify ?variant= from the URL when the report lacks a variant.
|
|
52
|
+
function withShopifyVariant(params) {
|
|
53
|
+
var variant = new URLSearchParams(window.location.search).get("variant");
|
|
54
|
+
if (variant)
|
|
55
|
+
params.variant_id = variant;
|
|
56
|
+
return params;
|
|
57
|
+
}
|
|
58
|
+
// 20-second request dedup (ported from reporting/utils/requestDeduplication.ts),
|
|
59
|
+
// so a flushed report matches the reporting lib's Report() duplicate suppression.
|
|
60
|
+
var DEDUP_STORAGE_KEY = "fs_reporting_dedup";
|
|
61
|
+
var DEDUP_WINDOW_MS = 20000;
|
|
62
|
+
function createRequestKey(url, params) {
|
|
63
|
+
var sorted = Object.keys(params).sort().reduce(function (acc, k) {
|
|
64
|
+
acc[k] = params[k];
|
|
65
|
+
return acc;
|
|
66
|
+
}, {});
|
|
67
|
+
var sig = JSON.stringify({ url: url, params: sorted });
|
|
68
|
+
var hash = 0;
|
|
69
|
+
for (var i = 0; i < sig.length; i++) {
|
|
70
|
+
hash = ((hash << 5) - hash) + sig.charCodeAt(i);
|
|
71
|
+
hash = hash & hash;
|
|
72
|
+
}
|
|
73
|
+
return "".concat(Math.abs(hash));
|
|
74
|
+
}
|
|
75
|
+
function isDuplicateRequest(url, params) {
|
|
76
|
+
var now = Date.now();
|
|
77
|
+
var key = createRequestKey(url, params);
|
|
78
|
+
var stored;
|
|
79
|
+
try {
|
|
80
|
+
stored = JSON.parse(localStorage.getItem(DEDUP_STORAGE_KEY) || "[]");
|
|
81
|
+
}
|
|
82
|
+
catch (_a) {
|
|
83
|
+
stored = [];
|
|
84
|
+
}
|
|
85
|
+
stored = stored.filter(function (r) { return now - r.timestamp < DEDUP_WINDOW_MS; });
|
|
86
|
+
var isDup = stored.some(function (r) { return r.key === key; });
|
|
87
|
+
stored.push({ key: key, timestamp: now });
|
|
88
|
+
try {
|
|
89
|
+
localStorage.setItem(DEDUP_STORAGE_KEY, JSON.stringify(stored));
|
|
90
|
+
}
|
|
91
|
+
catch (_b) {
|
|
92
|
+
// ignore
|
|
93
|
+
}
|
|
94
|
+
return isDup;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=delayedReportEnrichment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delayedReportEnrichment.js","sourceRoot":"","sources":["../../src/utils/delayedReportEnrichment.ts"],"names":[],"mappings":";AAAA,iFAAiF;AACjF,mFAAmF;AACnF,iFAAiF;AACjF,+EAA+E;AAC/E,oDAAoD;;AAGpD,4DAiBC;AAYD,0CAOC;AAGD,gDAIC;AAqBD,gDAkBC;AAn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AAG,eAAe,EAAnC,CAAmC,CAAC,CAAC;IACnE,IAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,GAAG,KAAK,GAAG,EAAb,CAAa,CAAC,CAAC;IAChD,MAAM,CAAC,IAAI,CAAC,EAAC,GAAG,KAAA,EAAE,SAAS,EAAE,GAAG,EAAC,CAAC,CAAC;IACnC,IAAI,CAAC;QACD,YAAY,CAAC,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;IACpE,CAAC;IAAC,WAAM,CAAC;QACL,SAAS;IACb,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC"}
|
|
@@ -3,5 +3,5 @@ interface EnsureReportingScriptProps {
|
|
|
3
3
|
storeID: number;
|
|
4
4
|
platform: string | undefined;
|
|
5
5
|
}
|
|
6
|
-
export declare function ensureReportingScript(
|
|
6
|
+
export declare function ensureReportingScript(_props: EnsureReportingScriptProps): void;
|
|
7
7
|
export {};
|
|
@@ -1,39 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ensureReportingScript = ensureReportingScript;
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return "Shopify";
|
|
17
|
-
}
|
|
18
|
-
// Initialize @fast-simon/fast-simon-reporting on the current page when the
|
|
19
|
-
// dashboard config calls for it (see backend `_should_use_reporting_script`).
|
|
20
|
-
// The reporting library is itself a singleton — if v-next, autocomplete, or
|
|
21
|
-
// any other Fast Simon frontend already initialized it on this page, this
|
|
22
|
-
// call is a cheap no-op. Failures are swallowed: under no circumstances
|
|
23
|
-
// should a problem here block SDK readiness.
|
|
24
|
-
function ensureReportingScript(_a) {
|
|
25
|
-
var uuid = _a.uuid, storeID = _a.storeID, platform = _a.platform;
|
|
4
|
+
var delayedReports_1 = require("../services/delayedReports");
|
|
5
|
+
// Flush Fast Simon delayed reports that upstream surfaces (v-next on
|
|
6
|
+
// collections/search, autocomplete, serp, recommendations) queued in localStorage
|
|
7
|
+
// for this destination page. On SDK-only pages nothing else initializes the
|
|
8
|
+
// reporting flush, so post_load events for those queued clicks
|
|
9
|
+
// (PRODUCT_FROM_CATEGORY, PRODUCT_FROM_SEARCH, …) would otherwise be lost.
|
|
10
|
+
//
|
|
11
|
+
// Previously this spun up @fast-simon/fast-simon-reporting purely to run its
|
|
12
|
+
// runBackgroundTasks() delayed-report flush; that flush is now implemented natively
|
|
13
|
+
// (services/delayedReports.ts), removing the dependency. Failures are swallowed —
|
|
14
|
+
// under no circumstances should a problem here block SDK readiness.
|
|
15
|
+
function ensureReportingScript(_props) {
|
|
26
16
|
try {
|
|
27
|
-
|
|
28
|
-
var reportingPromise = (0, fast_simon_reporting_1.getFastSimonReporting)({ uuid: uuid, storeID: storeID, platform: mappedPlatform });
|
|
29
|
-
if (reportingPromise && typeof reportingPromise.catch === "function") {
|
|
30
|
-
reportingPromise.catch(function (e) {
|
|
31
|
-
console.warn("Fast Simon SDK | Failed to initialize Fast Simon Reporting:", e);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
17
|
+
(0, delayedReports_1.flushDelayedReports)();
|
|
34
18
|
}
|
|
35
19
|
catch (e) {
|
|
36
|
-
console.warn("Fast Simon SDK | Failed to
|
|
20
|
+
console.warn("Fast Simon SDK | Failed to flush delayed reports:", e);
|
|
37
21
|
}
|
|
38
22
|
}
|
|
39
23
|
//# sourceMappingURL=ensureReportingScript.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ensureReportingScript.js","sourceRoot":"","sources":["../../src/utils/ensureReportingScript.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ensureReportingScript.js","sourceRoot":"","sources":["../../src/utils/ensureReportingScript.ts"],"names":[],"mappings":";;AAoBA,sDAMC;AA1BD,6DAA+D;AAU/D,qEAAqE;AACrE,kFAAkF;AAClF,4EAA4E;AAC5E,+DAA+D;AAC/D,2EAA2E;AAC3E,EAAE;AACF,6EAA6E;AAC7E,oFAAoF;AACpF,kFAAkF;AAClF,oEAAoE;AACpE,SAAgB,qBAAqB,CAAC,MAAkC;IACpE,IAAI,CAAC;QACD,IAAA,oCAAmB,GAAE,CAAC;IAC1B,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,OAAO,CAAC,IAAI,CAAC,mDAAmD,EAAE,CAAC,CAAC,CAAC;IACzE,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fast-simon-sdk",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.124",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Fast Simon inc",
|
|
6
6
|
"url": "",
|
|
@@ -39,10 +39,6 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@fast-simon/bigcommerce_customer": "1.0.44",
|
|
41
41
|
"@fast-simon/utilities": "^1.0.50",
|
|
42
|
-
"axios": "^0.21.1"
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
"bundledDependencies": [
|
|
46
|
-
"@fast-simon/fast-simon-reporting"
|
|
47
|
-
]
|
|
42
|
+
"axios": "^0.21.1"
|
|
43
|
+
}
|
|
48
44
|
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { GTAGItem } from "./serp";
|
|
2
|
-
export interface reportProductClickedAutocompleteProps {
|
|
3
|
-
id: string;
|
|
4
|
-
original_search_query: string;
|
|
5
|
-
h: string;
|
|
6
|
-
host: string;
|
|
7
|
-
q: string;
|
|
8
|
-
gtag_product_items?: GTAGItem[];
|
|
9
|
-
}
|
|
10
|
-
export interface reportCategoryClickedProps {
|
|
11
|
-
original_search_query: string;
|
|
12
|
-
id: string;
|
|
13
|
-
h: string;
|
|
14
|
-
host: string;
|
|
15
|
-
gtag_data?: any;
|
|
16
|
-
}
|
|
17
|
-
export interface reportTurbolinkClickedProps {
|
|
18
|
-
original_search_query: string;
|
|
19
|
-
h: string;
|
|
20
|
-
host: string;
|
|
21
|
-
gtag_data?: any;
|
|
22
|
-
}
|
|
23
|
-
export interface reportPopularSearchClicked {
|
|
24
|
-
q: string;
|
|
25
|
-
original_search_query: string;
|
|
26
|
-
gtag_data?: any;
|
|
27
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.js","sourceRoot":"","sources":["../../src/@types/autocomplete.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Platform = "Shopify" | "BigCommerce" | "Magento" | "WooCommerce" | "Dynamics";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"platfrom.js","sourceRoot":"","sources":["../../src/@types/platfrom.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { GTAGItem } from "./serp";
|
|
2
|
-
export interface reportProductRecommendationsClicked {
|
|
3
|
-
pos: number;
|
|
4
|
-
from_product: string;
|
|
5
|
-
id: string;
|
|
6
|
-
rec?: number;
|
|
7
|
-
rec_src?: number;
|
|
8
|
-
gtag_product_items?: GTAGItem[];
|
|
9
|
-
widget_id?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface reportProductsRecommendationsShown {
|
|
12
|
-
id: string;
|
|
13
|
-
related_sources?: string;
|
|
14
|
-
found_related?: number;
|
|
15
|
-
callback?: string;
|
|
16
|
-
gtag_product_items?: GTAGItem[];
|
|
17
|
-
st?: string | undefined;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recommendations.js","sourceRoot":"","sources":["../../src/@types/recommendations.ts"],"names":[],"mappings":""}
|