@data-fair/lib-vue 1.23.1 → 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.1",
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
@@ -57,6 +57,9 @@ interface FullSiteInfo {
57
57
  }
58
58
  export interface SiteInfo {
59
59
  main?: boolean;
60
+ isAccountMain?: boolean;
61
+ authMode: string;
62
+ authOnlyOtherSite?: string;
60
63
  logo?: string;
61
64
  dark?: boolean;
62
65
  colors: Colors;
package/session.js CHANGED
@@ -289,8 +289,11 @@ export async function getSession(initOptions) {
289
289
  fullSite.value = siteInfo;
290
290
  const partialSite = {
291
291
  main: siteInfo.main,
292
+ isAccountMain: siteInfo.isAccountMain,
292
293
  logo: siteInfo.theme.logo,
293
- colors: siteInfo.theme.colors
294
+ colors: siteInfo.theme.colors,
295
+ authMode: siteInfo.authMode,
296
+ authOnlyOtherSite: siteInfo.authOnlyOtherSite
294
297
  };
295
298
  if (theme.value == null)
296
299
  theme.value = getDefaultTheme(siteInfo);