@equinor/mad-core 0.3.9 → 0.3.10

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.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 85da576: Now exports `getAccount`, `signOut`, and `authenticateInteractively`
8
+
3
9
  ## 0.3.9
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from "./types";
2
2
  export * from "./components";
3
- export { authenticateSilently } from "@equinor/mad-auth";
3
+ export { authenticateSilently, getAccount, signOut, authenticateInteractively, } from "@equinor/mad-auth";
4
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
@@ -85,7 +85,12 @@ import "./chunk-2OMVVDBU.js";
85
85
  import "./chunk-WEAGW6MQ.js";
86
86
 
87
87
  // src/index.ts
88
- import { authenticateSilently } from "@equinor/mad-auth";
88
+ import {
89
+ authenticateSilently,
90
+ getAccount,
91
+ signOut,
92
+ authenticateInteractively
93
+ } from "@equinor/mad-auth";
89
94
  import {
90
95
  appInsightsHasBeenInitialized,
91
96
  addTelemetryInitializer,
@@ -104,12 +109,14 @@ export {
104
109
  SettingsScreen,
105
110
  addTelemetryInitializer,
106
111
  appInsightsHasBeenInitialized,
112
+ authenticateInteractively,
107
113
  authenticateSilently,
108
114
  createBottomTabNavigator,
109
115
  createCoreStackNavigator,
110
116
  createNativeStackNavigator,
111
117
  disableDemoMode,
112
118
  enableDemoMode,
119
+ getAccount,
113
120
  getConfig,
114
121
  getIsDemoModeEnabled,
115
122
  getIsLanguageSelected,
@@ -118,6 +125,7 @@ export {
118
125
  metricStatus,
119
126
  setEnvironment,
120
127
  setSelectedLanguage,
128
+ signOut,
121
129
  track,
122
130
  trackCustom,
123
131
  trackLongTerm,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/mad-core",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "Core library for the Mobile App Delivery team",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -37,8 +37,8 @@
37
37
  "zustand": "^4.4.1",
38
38
  "@equinor/mad-auth": "0.1.8",
39
39
  "@equinor/mad-components": "0.11.1",
40
- "@equinor/mad-insights": "0.1.1",
41
- "@equinor/mad-navigation": "0.2.1"
40
+ "@equinor/mad-navigation": "0.2.1",
41
+ "@equinor/mad-insights": "0.1.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@babel/core": "^7.21.4",