@zap-wunschlachen/wl-shared-components 1.0.81 → 1.0.82

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@zap-wunschlachen/wl-shared-components",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "type": "module",
5
5
  "module": "./src/index.ts",
6
6
  "scripts": {
@@ -53,12 +53,16 @@ export function useReleaseNotes(options: {
53
53
  userId,
54
54
  async (id) => {
55
55
  if (!id) return;
56
- const isEmployee = await checkIsEmployee();
57
- if (!isEmployee) return;
58
- const resolved = await resolveAppId();
59
- if (resolved) {
60
- appId.value = resolved;
61
- await fetchUnread();
56
+ try {
57
+ const isEmployee = await checkIsEmployee();
58
+ if (!isEmployee) return;
59
+ const resolved = await resolveAppId();
60
+ if (resolved) {
61
+ appId.value = resolved;
62
+ await fetchUnread();
63
+ }
64
+ } catch {
65
+ // Silently fail — don't block the app
62
66
  }
63
67
  },
64
68
  { immediate: true },