@choochmeque/tauri-plugin-notifications-api 0.4.0 → 0.4.2

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.
@@ -109,6 +109,12 @@ interface Options {
109
109
  * Changes the notification presentation to be silent on iOS (no badge, no sound, not listed).
110
110
  */
111
111
  silent?: boolean;
112
+ /**
113
+ * The source of the notification. Only present in `onNotificationReceived` callbacks.
114
+ * - `"push"` — notification received from a remote push (FCM/APNs).
115
+ * - `"local"` — notification created locally (immediate or scheduled).
116
+ */
117
+ source?: "push" | "local";
112
118
  /**
113
119
  * Notification visibility.
114
120
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choochmeque/tauri-plugin-notifications-api",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "license": "MIT",
5
5
  "author": "You",
6
6
  "description": "A Tauri v2 plugin for sending notifications on desktop and mobile platforms with support for system notifications and push delivery via FCM and APNs.",
@@ -37,12 +37,12 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@rollup/plugin-typescript": "^12.1.4",
40
- "@vitest/coverage-v8": "^2.1.8",
40
+ "@vitest/coverage-v8": "^4.0.16",
41
41
  "rollup": "^4.52.4",
42
42
  "tslib": "^2.6.2",
43
43
  "typescript": "^5.3.3",
44
- "prettier": "3.7.4",
45
- "vitest": "^2.1.8"
44
+ "prettier": "3.8.1",
45
+ "vitest": "^4.0.16"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "rollup -c",