@mx-cartographer/experiences 3.8.0-alpha.sms8 → 3.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ import { AnalyticsEvent } from '../types';
3
3
 
4
4
  export declare class AnalyticsApi {
5
5
  fetchInstance: Fetch;
6
- constructor(endpoint: string, token: string, shouldPropagateError?: boolean);
6
+ constructor(endpoint: string, token: string);
7
7
  initializeAnalyticsSession: (version: string, featureName?: string) => Promise<{
8
8
  analytics_session: any;
9
9
  }>;
@@ -1,6 +1,6 @@
1
1
  import { BasicAnalyticsEvent, BasicAnalyticsPageview } from '../types';
2
2
 
3
- export declare const analyticsSession: (endpoint: string, token: string, version?: string, featureName?: string, shouldPropagateError?: boolean) => Promise<{
3
+ export declare const analyticsSession: (endpoint: string, token: string, version?: string, featureName?: string) => Promise<{
4
4
  sendAnalyticEvent: (event: BasicAnalyticsEvent) => Promise<any>;
5
5
  sendAnalyticsPageview: (pageview: BasicAnalyticsPageview) => Promise<any>;
6
6
  }>;
@@ -1,8 +1,7 @@
1
1
  export declare class Fetch {
2
2
  endpoint: string;
3
3
  headers: {};
4
- propagateError?: boolean;
5
- constructor(endpoint: string, token: string, propagateError?: boolean);
4
+ constructor(endpoint: string, token: string);
6
5
  get: (url: string) => Promise<any>;
7
6
  post: (url: string, data?: any) => Promise<any>;
8
7
  put: (url: string, data: any) => Promise<any>;