@asteby/metacore-notifications 4.0.0 → 6.0.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/README.md CHANGED
@@ -41,10 +41,10 @@ export function Header() {
41
41
  }
42
42
  ```
43
43
 
44
- `apiBasePath` is the only difference between the `ops` and `link` frontends:
44
+ `apiBasePath` lets each host application point at its own notifications endpoint, for example:
45
45
 
46
- - `ops`: `"/data/notifications/me"`
47
- - `link`: `"/dynamic/notifications/me"`
46
+ - `"/data/notifications/me"`
47
+ - `"/dynamic/notifications/me"`
48
48
 
49
49
  ## Props
50
50
 
package/dist/types.d.ts CHANGED
@@ -75,8 +75,8 @@ export interface NotificationsDropdownProps {
75
75
  apiClient: NotificationsApiClient;
76
76
  /**
77
77
  * Base collection path for the current user's notifications. Typical
78
- * values: `/data/notifications/me` (ops) or `/dynamic/notifications/me`
79
- * (link). Items are mutated under `${apiBasePath}/${id}`.
78
+ * values: `/data/notifications/me` or `/dynamic/notifications/me`,
79
+ * depending on the host. Items are mutated under `${apiBasePath}/${id}`.
80
80
  */
81
81
  apiBasePath: string;
82
82
  /** When true (default), updates `navigator.setAppBadge` with unread count. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteby/metacore-notifications",
3
- "version": "4.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "Metacore notifications — dropdown, app badge, WebSocket-driven real-time updates",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -36,7 +36,7 @@
36
36
  "date-fns": ">=3",
37
37
  "lucide-react": ">=0.460",
38
38
  "sonner": ">=1.7",
39
- "@asteby/metacore-ui": "^0.6.0",
39
+ "@asteby/metacore-ui": "^2.0.0",
40
40
  "@asteby/metacore-websocket": "^0.3.0"
41
41
  },
42
42
  "devDependencies": {
@@ -44,12 +44,12 @@
44
44
  "@types/react": "^19.0.0",
45
45
  "@types/react-dom": "^19.0.0",
46
46
  "date-fns": "^4.1.0",
47
- "lucide-react": "^0.460.0",
47
+ "lucide-react": "^1.0.0",
48
48
  "react": "^19.2.4",
49
49
  "react-dom": "^19.2.4",
50
- "sonner": "^1.7.0",
50
+ "sonner": "^2.0.0",
51
51
  "typescript": "^5.6.0",
52
- "@asteby/metacore-ui": "0.6.0",
52
+ "@asteby/metacore-ui": "2.0.0",
53
53
  "@asteby/metacore-websocket": "0.3.0"
54
54
  },
55
55
  "publishConfig": {