libshv-js 3.20.0 → 3.22.0
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/vue-shv.d.ts +2 -1
- package/dist/vue-shv.js +2 -1
- package/package.json +2 -2
package/dist/vue-shv.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ type VueShvOptions = {
|
|
|
15
15
|
wsUri: string;
|
|
16
16
|
onRequest: WsClientOptionsLogin['onRequest'];
|
|
17
17
|
azureCodeRedirect?: string;
|
|
18
|
+
mountPoint?: string;
|
|
18
19
|
};
|
|
19
20
|
type ShvLocalStorage = {
|
|
20
21
|
azureAccessToken?: string;
|
|
@@ -62,7 +63,7 @@ declare const makePkce: (oauthOptions: {
|
|
|
62
63
|
}) => PKCE;
|
|
63
64
|
export { makePkce as azure };
|
|
64
65
|
export declare function useShv(options: VueShvOptions): {
|
|
65
|
-
azureAuth: (redirectTo
|
|
66
|
+
azureAuth: (redirectTo: string) => void;
|
|
66
67
|
azureHandlerError: Ref<string, string>;
|
|
67
68
|
connected: Ref<"connected" | "connecting" | "disconnected", "connected" | "connecting" | "disconnected">;
|
|
68
69
|
displayEmail: Ref<string, string>;
|
package/dist/vue-shv.js
CHANGED
|
@@ -138,7 +138,7 @@ function useShv(options) {
|
|
|
138
138
|
throw new Error('Azure redirect URL not set');
|
|
139
139
|
}
|
|
140
140
|
const { azureCodeRedirect } = options;
|
|
141
|
-
shvLocalStorage.value.azureRedirectTo = redirectTo
|
|
141
|
+
shvLocalStorage.value.azureRedirectTo = redirectTo;
|
|
142
142
|
const noBrokerSupport = () => {
|
|
143
143
|
loginFailure.value = {
|
|
144
144
|
reason: LoginFailureReason.AzureUnsupported,
|
|
@@ -247,6 +247,7 @@ function useShv(options) {
|
|
|
247
247
|
login: makeLoginOptions(),
|
|
248
248
|
wsUri: options.wsUri,
|
|
249
249
|
timeout: 120_000,
|
|
250
|
+
mountPoint: options.mountPoint,
|
|
250
251
|
logDebug: debug,
|
|
251
252
|
onConnected() {
|
|
252
253
|
for (const waiter of waitingForSocket) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libshv-js",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "Typescript implementation of libshv",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"js-pkce": "^2.0.0",
|
|
42
42
|
"@vueuse/core": "^13.5.0",
|
|
43
43
|
"vue": "^3.5.18",
|
|
44
|
-
"zod": "
|
|
44
|
+
"zod": "4.0.5 - 4.0.10"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@typescript-eslint/parser": "^8.38.0",
|