@redhat-cloud-services/types 1.0.3 → 1.0.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.
- package/index.d.ts +1 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -45,7 +45,6 @@ declare type ChromeUser = {
|
|
|
45
45
|
locale: string;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
scope: string[];
|
|
49
48
|
};
|
|
50
49
|
|
|
51
50
|
declare type VisibilityFunctions = {
|
|
@@ -125,7 +124,7 @@ export interface ChromeAPI {
|
|
|
125
124
|
auth: {
|
|
126
125
|
doOffline?: () => void;
|
|
127
126
|
getOfflineToken: () => Promise<any>;
|
|
128
|
-
getRefreshToken: () => string
|
|
127
|
+
getRefreshToken: () => Promise<string>;
|
|
129
128
|
getToken: () => Promise<string | undefined>;
|
|
130
129
|
getUser: () => Promise<ChromeUser | void>;
|
|
131
130
|
login: () => Promise<any>;
|