libshv-js 3.21.0 → 3.22.1

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 CHANGED
@@ -63,7 +63,7 @@ declare const makePkce: (oauthOptions: {
63
63
  }) => PKCE;
64
64
  export { makePkce as azure };
65
65
  export declare function useShv(options: VueShvOptions): {
66
- azureAuth: (redirectTo?: string) => void;
66
+ azureAuth: (redirectTo: string) => void;
67
67
  azureHandlerError: Ref<string, string>;
68
68
  connected: Ref<"connected" | "connecting" | "disconnected", "connected" | "connecting" | "disconnected">;
69
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 ?? globalThis.location.pathname;
141
+ shvLocalStorage.value.azureRedirectTo = redirectTo;
142
142
  const noBrokerSupport = () => {
143
143
  loginFailure.value = {
144
144
  reason: LoginFailureReason.AzureUnsupported,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libshv-js",
3
- "version": "3.21.0",
3
+ "version": "3.22.1",
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": "^4.0.5"
44
+ "zod": "^4.0.11"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@typescript-eslint/parser": "^8.38.0",