@data-fair/lib-vue 1.23.2 → 1.23.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-vue",
3
- "version": "1.23.2",
3
+ "version": "1.23.3",
4
4
  "description": "Composables and other utilities for Vue applications in the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "files": [
package/session.d.ts CHANGED
@@ -58,6 +58,8 @@ interface FullSiteInfo {
58
58
  export interface SiteInfo {
59
59
  main?: boolean;
60
60
  isAccountMain?: boolean;
61
+ authMode: string;
62
+ authOnlyOtherSite?: string;
61
63
  logo?: string;
62
64
  dark?: boolean;
63
65
  colors: Colors;
package/session.js CHANGED
@@ -291,7 +291,9 @@ export async function getSession(initOptions) {
291
291
  main: siteInfo.main,
292
292
  isAccountMain: siteInfo.isAccountMain,
293
293
  logo: siteInfo.theme.logo,
294
- colors: siteInfo.theme.colors
294
+ colors: siteInfo.theme.colors,
295
+ authMode: siteInfo.authMode,
296
+ authOnlyOtherSite: siteInfo.authOnlyOtherSite
295
297
  };
296
298
  if (theme.value == null)
297
299
  theme.value = getDefaultTheme(siteInfo);