@mx-cartographer/common
Advanced tools
Comparing version 8.1.0-alpha.sms4 to 8.1.0
@@ -0,1 +1,6 @@ | ||
## [8.1.0] - 10-13-2024 | ||
- **FIXED** - Bubble up errors so that the consumer can handle them appropriately | ||
- **FIXED** - Analytics types | ||
## [8.0.5] - 09-30-2024 | ||
@@ -2,0 +7,0 @@ |
@@ -27,4 +27,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
const browser = Bowser.getParser(window.navigator.userAgent); | ||
const { analytics_session } = yield this.fetchInstance | ||
.post(ApiEndpoints.ANALYTICS_SESSION, { | ||
const { analytics_session } = yield this.fetchInstance.post(ApiEndpoints.ANALYTICS_SESSION, { | ||
browser_name: browser.getBrowserName() || 'Unknown', | ||
@@ -55,4 +54,3 @@ browser_version: browser.getBrowserVersion() || '0.0.0', | ||
try { | ||
const res = yield this.fetchInstance | ||
.post(ApiEndpoints.ANALYTICS_EVENTS, event); | ||
const res = yield this.fetchInstance.post(ApiEndpoints.ANALYTICS_EVENTS, event); | ||
return res; | ||
@@ -71,4 +69,3 @@ } | ||
try { | ||
const res = yield this.fetchInstance | ||
.post(ApiEndpoints.ANALYTICS_PAGEVIEWS, pageview); | ||
const res = yield this.fetchInstance.post(ApiEndpoints.ANALYTICS_PAGEVIEWS, pageview); | ||
return res; | ||
@@ -75,0 +72,0 @@ } |
@@ -20,3 +20,3 @@ declare global { | ||
export { AccountFilterOptionsCopy } from './components/accountfilter/AccountFilterOptions'; | ||
export { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview } from './types/Analytics'; | ||
export { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview, } from './types/Analytics'; | ||
export { BarChartData } from './components/barchart/BarChart'; | ||
@@ -23,0 +23,0 @@ export { Beat, DataSeries, UserVerification } from './types/Beat'; |
{ | ||
"name": "@mx-cartographer/common", | ||
"version": "8.1.0-alpha.sms4", | ||
"version": "8.1.0", | ||
"description": "Common components used within Cartographer", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
387075
1
5636