@equinor/mad-core 0.3.0 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @equinor/mad-core
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 7c9c6da: export most of `mad-insights`' exports
8
+
3
9
  ## 0.3.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from "./types";
2
2
  export * from "./components";
3
3
  export { authenticateSilently } from "@equinor/mad-auth";
4
- export { addTelemetryInitializer, Envelope } from "@equinor/mad-insights";
4
+ export { appInsightsHasBeenInitialized, addTelemetryInitializer, Envelope, metricKeys, metricStatus, track, trackCustom, trackLongTerm, trackShortTerm, } from "@equinor/mad-insights";
5
5
  export * from "./hooks";
6
6
  export * from "./store";
package/dist/index.js CHANGED
@@ -81,13 +81,24 @@ import "./chunk-WEAGW6MQ.js";
81
81
 
82
82
  // src/index.ts
83
83
  import { authenticateSilently } from "@equinor/mad-auth";
84
- import { addTelemetryInitializer, Envelope } from "@equinor/mad-insights";
84
+ import {
85
+ appInsightsHasBeenInitialized,
86
+ addTelemetryInitializer,
87
+ Envelope,
88
+ metricKeys,
89
+ metricStatus,
90
+ track,
91
+ trackCustom,
92
+ trackLongTerm,
93
+ trackShortTerm
94
+ } from "@equinor/mad-insights";
85
95
  export {
86
96
  Envelope,
87
97
  ErrorBoundary,
88
98
  NavigationContainer,
89
99
  SettingsScreen,
90
100
  addTelemetryInitializer,
101
+ appInsightsHasBeenInitialized,
91
102
  authenticateSilently,
92
103
  createBottomTabNavigator,
93
104
  createCoreStackNavigator,
@@ -97,7 +108,13 @@ export {
97
108
  getIsDemoModeEnabled,
98
109
  getIsLanguageSelected,
99
110
  getLanguage,
111
+ metricKeys,
112
+ metricStatus,
100
113
  setSelectedLanguage,
114
+ track,
115
+ trackCustom,
116
+ trackLongTerm,
117
+ trackShortTerm,
101
118
  useAccountOrDemoAccount,
102
119
  useCoreStackNavigation,
103
120
  useCoreStackRoute,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/mad-core",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Core library for the Mobile App Delivery team",
5
5
  "type": "module",
6
6
  "keywords": [