@qhr123/sa2kit 0.7.2 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -735,9 +735,14 @@ declare function useAutoTracking(analytics: Analytics | null, options?: {
735
735
  */
736
736
 
737
737
  /**
738
- * Web 存储适配器(使用 localStorage)
738
+ * Web 事件存储适配器
739
+ * 基于通用 WebStorageAdapter 实现
740
+ *
741
+ * 注意:此适配器专门用于 Analytics 埋点事件的存储
742
+ * 与通用存储适配器 (storage/adapters/web-adapter) 不同
739
743
  */
740
- declare class WebStorageAdapter implements AnalyticsStorageAdapter {
744
+ declare class WebEventStorageAdapter implements AnalyticsStorageAdapter {
745
+ private storage;
741
746
  private EVENTS_KEY;
742
747
  private DEVICE_INFO_KEY;
743
748
  private SESSION_ID_KEY;
@@ -771,7 +776,7 @@ declare class WebDeviceAdapter implements AnalyticsDeviceAdapter {
771
776
  * 统一的 Web 适配器对象
772
777
  */
773
778
  declare const webAdapter: {
774
- storage: WebStorageAdapter;
779
+ storage: WebEventStorageAdapter;
775
780
  network: WebNetworkAdapter;
776
781
  device: WebDeviceAdapter;
777
782
  };
@@ -782,10 +787,10 @@ declare const webAdapter: {
782
787
  */
783
788
 
784
789
  /**
785
- * Mobile 存储适配器
790
+ * Mobile 事件存储适配器
786
791
  * 需要在 mobile 项目中实现具体的 AsyncStorage 逻辑
787
792
  */
788
- declare class MobileStorageAdapter implements AnalyticsStorageAdapter {
793
+ declare class MobileEventStorageAdapter implements AnalyticsStorageAdapter {
789
794
  private storage;
790
795
  private EVENTS_KEY;
791
796
  private DEVICE_INFO_KEY;
@@ -832,6 +837,11 @@ declare class MobileDeviceAdapter implements AnalyticsDeviceAdapter {
832
837
  generateDeviceId(): Promise<string>;
833
838
  private getDefaultDeviceInfo;
834
839
  }
840
+ /**
841
+ * @deprecated 使用 MobileEventStorageAdapter 替代
842
+ * 保留此导出以向后兼容
843
+ */
844
+ declare const MobileStorageAdapter: typeof MobileEventStorageAdapter;
835
845
 
836
846
  /**
837
847
  * 小程序平台适配器
@@ -839,9 +849,9 @@ declare class MobileDeviceAdapter implements AnalyticsDeviceAdapter {
839
849
  */
840
850
 
841
851
  /**
842
- * 小程序存储适配器
852
+ * 小程序事件存储适配器
843
853
  */
844
- declare class MiniappStorageAdapter implements AnalyticsStorageAdapter {
854
+ declare class MiniappEventStorageAdapter implements AnalyticsStorageAdapter {
845
855
  private storage?;
846
856
  private EVENTS_KEY;
847
857
  private DEVICE_INFO_KEY;
@@ -887,6 +897,11 @@ declare class MiniappDeviceAdapter implements AnalyticsDeviceAdapter {
887
897
  generateDeviceId(): Promise<string>;
888
898
  private getDefaultDeviceInfo;
889
899
  }
900
+ /**
901
+ * @deprecated 使用 MiniappEventStorageAdapter 替代
902
+ * 保留此导出以向后兼容
903
+ */
904
+ declare const MiniappStorageAdapter: typeof MiniappEventStorageAdapter;
890
905
 
891
906
  /**
892
907
  * Desktop 平台适配器
@@ -894,9 +909,9 @@ declare class MiniappDeviceAdapter implements AnalyticsDeviceAdapter {
894
909
  */
895
910
 
896
911
  /**
897
- * Desktop 存储适配器(使用 localStorage)
912
+ * Desktop 事件存储适配器(使用 localStorage)
898
913
  */
899
- declare class DesktopStorageAdapter implements AnalyticsStorageAdapter {
914
+ declare class DesktopEventStorageAdapter implements AnalyticsStorageAdapter {
900
915
  private EVENTS_KEY;
901
916
  private DEVICE_INFO_KEY;
902
917
  private SESSION_ID_KEY;
@@ -924,6 +939,11 @@ declare class DesktopDeviceAdapter implements AnalyticsDeviceAdapter {
924
939
  private getOSName;
925
940
  private getOSVersion;
926
941
  }
942
+ /**
943
+ * @deprecated 使用 DesktopEventStorageAdapter 替代
944
+ * 保留此导出以向后兼容
945
+ */
946
+ declare const DesktopStorageAdapter: typeof DesktopEventStorageAdapter;
927
947
 
928
948
  /**
929
949
  * 埋点管理界面组件类型
@@ -1061,4 +1081,4 @@ declare const AnalyticsDashboard: React__default.FC<AnalyticsDashboardProps>;
1061
1081
 
1062
1082
  declare const ANALYTICS_VERSION = "1.0.0";
1063
1083
 
1064
- export { ANALYTICS_VERSION, Analytics, type AnalyticsConfig, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDeviceAdapter, type AnalyticsEvent, type AnalyticsNetworkAdapter, type AnalyticsStorageAdapter, type ApiCallEvent, BarChart, type BaseEvent, CatchError, type ChartDataPoint, type ClickEvent, type DashboardEvent, type DashboardStats, DesktopDeviceAdapter, DesktopNetworkAdapter, DesktopStorageAdapter, type DeviceInfo, type ErrorEvent, EventList, type EventListProps, EventPriority, EventQueue, EventType, type FilterOptions, FilterPanel, type FilterPanelProps, MiniappDeviceAdapter, MiniappNetworkAdapter, MiniappStorageAdapter, MobileDeviceAdapter, MobileNetworkAdapter, MobileStorageAdapter, type PageViewEvent, type PerformanceEvent, PieChart, StatCard, type StatCardProps, Track, TrackClick, TrackPerformance, type UploadResponse, Uploader, WebDeviceAdapter, WebNetworkAdapter, WebStorageAdapter, createAnalytics, createDesktopConfig, createMiniappConfig, createMobileConfig, createWebConfig, debounce, deepClone, formatEvent, formatTimestamp, generateUniqueId, getAllInstanceKeys, getAnalyticsInstance, getBatchSize, getCurrentPageTitle, getCurrentPageUrl, getEventSize, getGlobalAnalytics, getPageDuration, getReferrer, isAnalyticsInitialized, isDevelopment, isMobile, mergeEventProperties, resetAllAnalytics, resetAnalytics, safeParse, safeStringify, sanitizeEvent, setGlobalAnalytics, throttle, useAnalytics, useAutoTracking, useErrorTracking, usePageDuration, usePageView, usePerformanceTracking, useTrackClick, useTrackEvent, validateEvent, validateEvents, webAdapter };
1084
+ export { ANALYTICS_VERSION, Analytics, type AnalyticsConfig, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDeviceAdapter, type AnalyticsEvent, type AnalyticsNetworkAdapter, type AnalyticsStorageAdapter, type ApiCallEvent, BarChart, type BaseEvent, CatchError, type ChartDataPoint, type ClickEvent, type DashboardEvent, type DashboardStats, DesktopDeviceAdapter, DesktopEventStorageAdapter, DesktopNetworkAdapter, DesktopStorageAdapter, type DeviceInfo, type ErrorEvent, EventList, type EventListProps, EventPriority, EventQueue, EventType, type FilterOptions, FilterPanel, type FilterPanelProps, MiniappDeviceAdapter, MiniappEventStorageAdapter, MiniappNetworkAdapter, MiniappStorageAdapter, MobileDeviceAdapter, MobileEventStorageAdapter, MobileNetworkAdapter, MobileStorageAdapter, type PageViewEvent, type PerformanceEvent, PieChart, StatCard, type StatCardProps, Track, TrackClick, TrackPerformance, type UploadResponse, Uploader, WebDeviceAdapter, WebEventStorageAdapter, WebNetworkAdapter, createAnalytics, createDesktopConfig, createMiniappConfig, createMobileConfig, createWebConfig, debounce, deepClone, formatEvent, formatTimestamp, generateUniqueId, getAllInstanceKeys, getAnalyticsInstance, getBatchSize, getCurrentPageTitle, getCurrentPageUrl, getEventSize, getGlobalAnalytics, getPageDuration, getReferrer, isAnalyticsInitialized, isDevelopment, isMobile, mergeEventProperties, resetAllAnalytics, resetAnalytics, safeParse, safeStringify, sanitizeEvent, setGlobalAnalytics, throttle, useAnalytics, useAutoTracking, useErrorTracking, usePageDuration, usePageView, usePerformanceTracking, useTrackClick, useTrackEvent, validateEvent, validateEvents, webAdapter };
@@ -735,9 +735,14 @@ declare function useAutoTracking(analytics: Analytics | null, options?: {
735
735
  */
736
736
 
737
737
  /**
738
- * Web 存储适配器(使用 localStorage)
738
+ * Web 事件存储适配器
739
+ * 基于通用 WebStorageAdapter 实现
740
+ *
741
+ * 注意:此适配器专门用于 Analytics 埋点事件的存储
742
+ * 与通用存储适配器 (storage/adapters/web-adapter) 不同
739
743
  */
740
- declare class WebStorageAdapter implements AnalyticsStorageAdapter {
744
+ declare class WebEventStorageAdapter implements AnalyticsStorageAdapter {
745
+ private storage;
741
746
  private EVENTS_KEY;
742
747
  private DEVICE_INFO_KEY;
743
748
  private SESSION_ID_KEY;
@@ -771,7 +776,7 @@ declare class WebDeviceAdapter implements AnalyticsDeviceAdapter {
771
776
  * 统一的 Web 适配器对象
772
777
  */
773
778
  declare const webAdapter: {
774
- storage: WebStorageAdapter;
779
+ storage: WebEventStorageAdapter;
775
780
  network: WebNetworkAdapter;
776
781
  device: WebDeviceAdapter;
777
782
  };
@@ -782,10 +787,10 @@ declare const webAdapter: {
782
787
  */
783
788
 
784
789
  /**
785
- * Mobile 存储适配器
790
+ * Mobile 事件存储适配器
786
791
  * 需要在 mobile 项目中实现具体的 AsyncStorage 逻辑
787
792
  */
788
- declare class MobileStorageAdapter implements AnalyticsStorageAdapter {
793
+ declare class MobileEventStorageAdapter implements AnalyticsStorageAdapter {
789
794
  private storage;
790
795
  private EVENTS_KEY;
791
796
  private DEVICE_INFO_KEY;
@@ -832,6 +837,11 @@ declare class MobileDeviceAdapter implements AnalyticsDeviceAdapter {
832
837
  generateDeviceId(): Promise<string>;
833
838
  private getDefaultDeviceInfo;
834
839
  }
840
+ /**
841
+ * @deprecated 使用 MobileEventStorageAdapter 替代
842
+ * 保留此导出以向后兼容
843
+ */
844
+ declare const MobileStorageAdapter: typeof MobileEventStorageAdapter;
835
845
 
836
846
  /**
837
847
  * 小程序平台适配器
@@ -839,9 +849,9 @@ declare class MobileDeviceAdapter implements AnalyticsDeviceAdapter {
839
849
  */
840
850
 
841
851
  /**
842
- * 小程序存储适配器
852
+ * 小程序事件存储适配器
843
853
  */
844
- declare class MiniappStorageAdapter implements AnalyticsStorageAdapter {
854
+ declare class MiniappEventStorageAdapter implements AnalyticsStorageAdapter {
845
855
  private storage?;
846
856
  private EVENTS_KEY;
847
857
  private DEVICE_INFO_KEY;
@@ -887,6 +897,11 @@ declare class MiniappDeviceAdapter implements AnalyticsDeviceAdapter {
887
897
  generateDeviceId(): Promise<string>;
888
898
  private getDefaultDeviceInfo;
889
899
  }
900
+ /**
901
+ * @deprecated 使用 MiniappEventStorageAdapter 替代
902
+ * 保留此导出以向后兼容
903
+ */
904
+ declare const MiniappStorageAdapter: typeof MiniappEventStorageAdapter;
890
905
 
891
906
  /**
892
907
  * Desktop 平台适配器
@@ -894,9 +909,9 @@ declare class MiniappDeviceAdapter implements AnalyticsDeviceAdapter {
894
909
  */
895
910
 
896
911
  /**
897
- * Desktop 存储适配器(使用 localStorage)
912
+ * Desktop 事件存储适配器(使用 localStorage)
898
913
  */
899
- declare class DesktopStorageAdapter implements AnalyticsStorageAdapter {
914
+ declare class DesktopEventStorageAdapter implements AnalyticsStorageAdapter {
900
915
  private EVENTS_KEY;
901
916
  private DEVICE_INFO_KEY;
902
917
  private SESSION_ID_KEY;
@@ -924,6 +939,11 @@ declare class DesktopDeviceAdapter implements AnalyticsDeviceAdapter {
924
939
  private getOSName;
925
940
  private getOSVersion;
926
941
  }
942
+ /**
943
+ * @deprecated 使用 DesktopEventStorageAdapter 替代
944
+ * 保留此导出以向后兼容
945
+ */
946
+ declare const DesktopStorageAdapter: typeof DesktopEventStorageAdapter;
927
947
 
928
948
  /**
929
949
  * 埋点管理界面组件类型
@@ -1061,4 +1081,4 @@ declare const AnalyticsDashboard: React__default.FC<AnalyticsDashboardProps>;
1061
1081
 
1062
1082
  declare const ANALYTICS_VERSION = "1.0.0";
1063
1083
 
1064
- export { ANALYTICS_VERSION, Analytics, type AnalyticsConfig, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDeviceAdapter, type AnalyticsEvent, type AnalyticsNetworkAdapter, type AnalyticsStorageAdapter, type ApiCallEvent, BarChart, type BaseEvent, CatchError, type ChartDataPoint, type ClickEvent, type DashboardEvent, type DashboardStats, DesktopDeviceAdapter, DesktopNetworkAdapter, DesktopStorageAdapter, type DeviceInfo, type ErrorEvent, EventList, type EventListProps, EventPriority, EventQueue, EventType, type FilterOptions, FilterPanel, type FilterPanelProps, MiniappDeviceAdapter, MiniappNetworkAdapter, MiniappStorageAdapter, MobileDeviceAdapter, MobileNetworkAdapter, MobileStorageAdapter, type PageViewEvent, type PerformanceEvent, PieChart, StatCard, type StatCardProps, Track, TrackClick, TrackPerformance, type UploadResponse, Uploader, WebDeviceAdapter, WebNetworkAdapter, WebStorageAdapter, createAnalytics, createDesktopConfig, createMiniappConfig, createMobileConfig, createWebConfig, debounce, deepClone, formatEvent, formatTimestamp, generateUniqueId, getAllInstanceKeys, getAnalyticsInstance, getBatchSize, getCurrentPageTitle, getCurrentPageUrl, getEventSize, getGlobalAnalytics, getPageDuration, getReferrer, isAnalyticsInitialized, isDevelopment, isMobile, mergeEventProperties, resetAllAnalytics, resetAnalytics, safeParse, safeStringify, sanitizeEvent, setGlobalAnalytics, throttle, useAnalytics, useAutoTracking, useErrorTracking, usePageDuration, usePageView, usePerformanceTracking, useTrackClick, useTrackEvent, validateEvent, validateEvents, webAdapter };
1084
+ export { ANALYTICS_VERSION, Analytics, type AnalyticsConfig, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDeviceAdapter, type AnalyticsEvent, type AnalyticsNetworkAdapter, type AnalyticsStorageAdapter, type ApiCallEvent, BarChart, type BaseEvent, CatchError, type ChartDataPoint, type ClickEvent, type DashboardEvent, type DashboardStats, DesktopDeviceAdapter, DesktopEventStorageAdapter, DesktopNetworkAdapter, DesktopStorageAdapter, type DeviceInfo, type ErrorEvent, EventList, type EventListProps, EventPriority, EventQueue, EventType, type FilterOptions, FilterPanel, type FilterPanelProps, MiniappDeviceAdapter, MiniappEventStorageAdapter, MiniappNetworkAdapter, MiniappStorageAdapter, MobileDeviceAdapter, MobileEventStorageAdapter, MobileNetworkAdapter, MobileStorageAdapter, type PageViewEvent, type PerformanceEvent, PieChart, StatCard, type StatCardProps, Track, TrackClick, TrackPerformance, type UploadResponse, Uploader, WebDeviceAdapter, WebEventStorageAdapter, WebNetworkAdapter, createAnalytics, createDesktopConfig, createMiniappConfig, createMobileConfig, createWebConfig, debounce, deepClone, formatEvent, formatTimestamp, generateUniqueId, getAllInstanceKeys, getAnalyticsInstance, getBatchSize, getCurrentPageTitle, getCurrentPageUrl, getEventSize, getGlobalAnalytics, getPageDuration, getReferrer, isAnalyticsInitialized, isDevelopment, isMobile, mergeEventProperties, resetAllAnalytics, resetAnalytics, safeParse, safeStringify, sanitizeEvent, setGlobalAnalytics, throttle, useAnalytics, useAutoTracking, useErrorTracking, usePageDuration, usePageView, usePerformanceTracking, useTrackClick, useTrackEvent, validateEvent, validateEvents, webAdapter };
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var chunkQU5OT4DF_js = require('../chunk-QU5OT4DF.js');
3
4
  require('../chunk-DGUM43GV.js');
4
5
  var React5 = require('react');
5
6
 
@@ -1164,28 +1165,24 @@ function useAutoTracking(analytics, options = {}) {
1164
1165
  }
1165
1166
 
1166
1167
  // src/analytics/adapters/web.ts
1167
- var WebStorageAdapter = class {
1168
+ var WebEventStorageAdapter = class {
1168
1169
  constructor() {
1170
+ this.storage = new chunkQU5OT4DF_js.WebStorageAdapter();
1169
1171
  this.EVENTS_KEY = "analytics:events";
1170
1172
  this.DEVICE_INFO_KEY = "analytics:device_info";
1171
1173
  this.SESSION_ID_KEY = "analytics:session_id";
1172
1174
  }
1173
1175
  async saveEvents(events) {
1174
1176
  try {
1175
- if (typeof window !== "undefined") {
1176
- localStorage.setItem(this.EVENTS_KEY, JSON.stringify(events));
1177
- }
1177
+ await this.storage.setItem(this.EVENTS_KEY, JSON.stringify(events));
1178
1178
  } catch (error) {
1179
1179
  console.error("Failed to save events:", error);
1180
1180
  }
1181
1181
  }
1182
1182
  async getEvents() {
1183
1183
  try {
1184
- if (typeof window !== "undefined") {
1185
- const data = localStorage.getItem(this.EVENTS_KEY);
1186
- return data ? JSON.parse(data) : [];
1187
- }
1188
- return [];
1184
+ const data = await this.storage.getItem(this.EVENTS_KEY);
1185
+ return data ? JSON.parse(data) : [];
1189
1186
  } catch (error) {
1190
1187
  console.error("Failed to get events:", error);
1191
1188
  return [];
@@ -1193,29 +1190,22 @@ var WebStorageAdapter = class {
1193
1190
  }
1194
1191
  async clearEvents() {
1195
1192
  try {
1196
- if (typeof window !== "undefined") {
1197
- localStorage.removeItem(this.EVENTS_KEY);
1198
- }
1193
+ await this.storage.removeItem(this.EVENTS_KEY);
1199
1194
  } catch (error) {
1200
1195
  console.error("Failed to clear events:", error);
1201
1196
  }
1202
1197
  }
1203
1198
  async saveDeviceInfo(info) {
1204
1199
  try {
1205
- if (typeof window !== "undefined") {
1206
- localStorage.setItem(this.DEVICE_INFO_KEY, JSON.stringify(info));
1207
- }
1200
+ await this.storage.setItem(this.DEVICE_INFO_KEY, JSON.stringify(info));
1208
1201
  } catch (error) {
1209
1202
  console.error("Failed to save device info:", error);
1210
1203
  }
1211
1204
  }
1212
1205
  async getDeviceInfo() {
1213
1206
  try {
1214
- if (typeof window !== "undefined") {
1215
- const data = localStorage.getItem(this.DEVICE_INFO_KEY);
1216
- return data ? JSON.parse(data) : null;
1217
- }
1218
- return null;
1207
+ const data = await this.storage.getItem(this.DEVICE_INFO_KEY);
1208
+ return data ? JSON.parse(data) : null;
1219
1209
  } catch (error) {
1220
1210
  console.error("Failed to get device info:", error);
1221
1211
  return null;
@@ -1223,7 +1213,7 @@ var WebStorageAdapter = class {
1223
1213
  }
1224
1214
  async saveSessionId(sessionId) {
1225
1215
  try {
1226
- if (typeof window !== "undefined") {
1216
+ if (typeof window !== "undefined" && typeof sessionStorage !== "undefined") {
1227
1217
  sessionStorage.setItem(this.SESSION_ID_KEY, sessionId);
1228
1218
  }
1229
1219
  } catch (error) {
@@ -1232,7 +1222,7 @@ var WebStorageAdapter = class {
1232
1222
  }
1233
1223
  async getSessionId() {
1234
1224
  try {
1235
- if (typeof window !== "undefined") {
1225
+ if (typeof window !== "undefined" && typeof sessionStorage !== "undefined") {
1236
1226
  return sessionStorage.getItem(this.SESSION_ID_KEY);
1237
1227
  }
1238
1228
  return null;
@@ -1344,13 +1334,13 @@ var WebDeviceAdapter = class {
1344
1334
  }
1345
1335
  };
1346
1336
  var webAdapter = {
1347
- storage: new WebStorageAdapter(),
1337
+ storage: new WebEventStorageAdapter(),
1348
1338
  network: new WebNetworkAdapter(),
1349
1339
  device: new WebDeviceAdapter()
1350
1340
  };
1351
1341
 
1352
1342
  // src/analytics/adapters/mobile.ts
1353
- var MobileStorageAdapter = class {
1343
+ var MobileEventStorageAdapter = class {
1354
1344
  // 需要注入具体的存储实现
1355
1345
  constructor(storage) {
1356
1346
  this.storage = storage;
@@ -1505,9 +1495,10 @@ var MobileDeviceAdapter = class {
1505
1495
  };
1506
1496
  }
1507
1497
  };
1498
+ var MobileStorageAdapter = MobileEventStorageAdapter;
1508
1499
 
1509
1500
  // src/analytics/adapters/miniapp.ts
1510
- var MiniappStorageAdapter = class {
1501
+ var MiniappEventStorageAdapter = class {
1511
1502
  // 需要注入 Taro 的存储 API
1512
1503
  constructor(storage) {
1513
1504
  this.storage = storage;
@@ -1686,9 +1677,10 @@ var MiniappDeviceAdapter = class {
1686
1677
  };
1687
1678
  }
1688
1679
  };
1680
+ var MiniappStorageAdapter = MiniappEventStorageAdapter;
1689
1681
 
1690
1682
  // src/analytics/adapters/desktop.ts
1691
- var DesktopStorageAdapter = class {
1683
+ var DesktopEventStorageAdapter = class {
1692
1684
  constructor() {
1693
1685
  this.EVENTS_KEY = "analytics:events";
1694
1686
  this.DEVICE_INFO_KEY = "analytics:device_info";
@@ -1846,6 +1838,7 @@ var DesktopDeviceAdapter = class {
1846
1838
  return navigator.userAgent;
1847
1839
  }
1848
1840
  };
1841
+ var DesktopStorageAdapter = DesktopEventStorageAdapter;
1849
1842
  var StatCard = ({
1850
1843
  title,
1851
1844
  value,
@@ -2532,6 +2525,7 @@ exports.AnalyticsDashboard = AnalyticsDashboard;
2532
2525
  exports.BarChart = BarChart;
2533
2526
  exports.CatchError = CatchError;
2534
2527
  exports.DesktopDeviceAdapter = DesktopDeviceAdapter;
2528
+ exports.DesktopEventStorageAdapter = DesktopEventStorageAdapter;
2535
2529
  exports.DesktopNetworkAdapter = DesktopNetworkAdapter;
2536
2530
  exports.DesktopStorageAdapter = DesktopStorageAdapter;
2537
2531
  exports.EventList = EventList;
@@ -2540,9 +2534,11 @@ exports.EventQueue = EventQueue;
2540
2534
  exports.EventType = EventType;
2541
2535
  exports.FilterPanel = FilterPanel;
2542
2536
  exports.MiniappDeviceAdapter = MiniappDeviceAdapter;
2537
+ exports.MiniappEventStorageAdapter = MiniappEventStorageAdapter;
2543
2538
  exports.MiniappNetworkAdapter = MiniappNetworkAdapter;
2544
2539
  exports.MiniappStorageAdapter = MiniappStorageAdapter;
2545
2540
  exports.MobileDeviceAdapter = MobileDeviceAdapter;
2541
+ exports.MobileEventStorageAdapter = MobileEventStorageAdapter;
2546
2542
  exports.MobileNetworkAdapter = MobileNetworkAdapter;
2547
2543
  exports.MobileStorageAdapter = MobileStorageAdapter;
2548
2544
  exports.PieChart = PieChart;
@@ -2552,8 +2548,8 @@ exports.TrackClick = TrackClick;
2552
2548
  exports.TrackPerformance = TrackPerformance;
2553
2549
  exports.Uploader = Uploader;
2554
2550
  exports.WebDeviceAdapter = WebDeviceAdapter;
2551
+ exports.WebEventStorageAdapter = WebEventStorageAdapter;
2555
2552
  exports.WebNetworkAdapter = WebNetworkAdapter;
2556
- exports.WebStorageAdapter = WebStorageAdapter;
2557
2553
  exports.createAnalytics = createAnalytics;
2558
2554
  exports.createDesktopConfig = createDesktopConfig;
2559
2555
  exports.createMiniappConfig = createMiniappConfig;