@alfabit/keycloak 0.0.50 → 0.0.51

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alfabit/keycloak",
3
3
  "private": false,
4
- "version": "0.0.50",
4
+ "version": "0.0.51",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
7
7
  "main": "src/index.ts",
@@ -22,9 +22,9 @@ export const postWebLogin = async () => {
22
22
  urlObj.searchParams.set('ym_client_id', clientID);
23
23
  url = urlObj.toString();
24
24
  }
25
- else throw new Error();
25
+ else throw new Error('Failed to get analytics clientID');
26
26
  } catch (error) {
27
- console.warn('Failed to get analytics clientID:', error);
27
+ console.warn(error);
28
28
  }
29
29
  const params: RequestInit = {
30
30
  method: "POST",