@data-fair/lib-vue 1.15.4 → 1.15.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/session.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-vue",
3
- "version": "1.15.4",
3
+ "version": "1.15.5",
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
@@ -75,7 +75,7 @@ export interface Session {
75
75
  loginUrl: (redirect?: string, extraParams?: Record<string, string>, immediateRedirect?: true) => string;
76
76
  login: (redirect?: string, extraParams?: Record<string, string>, immediateRedirect?: true) => void;
77
77
  logout: (redirect?: string) => Promise<void>;
78
- switchOrganization: (org: string | null, dep?: string) => void;
78
+ switchOrganization: (org: string | null, dep?: string, updateState?: boolean) => void;
79
79
  setAdminMode: (adminMode: boolean, redirect?: string) => Promise<void>;
80
80
  asAdmin: (user: any | null) => Promise<void>;
81
81
  cancelDeletion: () => Promise<void>;
@@ -108,7 +108,7 @@ export declare function createSession(initOptions: Partial<SessionOptions>): Pro
108
108
  loginUrl: (redirect?: string, extraParams?: Record<string, string>, immediateRedirect?: true) => string;
109
109
  login: (redirect?: string, extraParams?: Record<string, string>, immediateRedirect?: true) => void;
110
110
  logout: (redirect?: string) => Promise<void>;
111
- switchOrganization: (org: string | null, dep?: string) => void;
111
+ switchOrganization: (org: string | null, dep?: string, updateState?: boolean) => void;
112
112
  setAdminMode: (adminMode: boolean, redirect?: string) => Promise<void>;
113
113
  asAdmin: (user: any | null) => Promise<void>;
114
114
  cancelDeletion: () => Promise<void>;