@bodhiapp/bodhi-js-core 0.0.42 → 0.0.43
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/dist/types/index.d.ts
CHANGED
|
@@ -17,6 +17,13 @@ export interface LoginOptions {
|
|
|
17
17
|
userRole?: UserScope;
|
|
18
18
|
requested?: RequestedResourcesV1;
|
|
19
19
|
onProgress?: LoginProgressCallback;
|
|
20
|
+
/**
|
|
21
|
+
* Re-authorize while already authenticated. When true, login proceeds with a fresh
|
|
22
|
+
* access request + OAuth flow even if the current status is 'authenticated'; the
|
|
23
|
+
* callback token exchange replaces the stored tokens, so newly granted resources take
|
|
24
|
+
* effect. Defaults to false (an authenticated session short-circuits login).
|
|
25
|
+
*/
|
|
26
|
+
reauthorize?: boolean;
|
|
20
27
|
}
|
|
21
28
|
export type { BrowserInfo, OSInfo } from './platform';
|
|
22
29
|
export { InMemoryStorage } from './storage';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bodhiapp/bodhi-js-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"description": "Core types and interfaces for Bodhi Browser SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/bodhi-core.cjs.js",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@bodhiapp/bodhi-browser-types": "0.0.
|
|
89
|
-
"@bodhiapp/setup-modal-types": "0.0.
|
|
90
|
-
"@bodhiapp/setup-modal-v2-types": "0.0.
|
|
88
|
+
"@bodhiapp/bodhi-browser-types": "0.0.43",
|
|
89
|
+
"@bodhiapp/setup-modal-types": "0.0.43",
|
|
90
|
+
"@bodhiapp/setup-modal-v2-types": "0.0.43",
|
|
91
91
|
"@bodhiapp/ts-client": "0.1.37",
|
|
92
92
|
"ua-parser-js": "^1.0.40"
|
|
93
93
|
},
|