tauri-plugin-mobile-push-api 0.1.1 → 0.1.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.
package/dist/index.cjs CHANGED
@@ -39,21 +39,21 @@ async function getToken() {
39
39
  }
40
40
  async function onNotificationReceived(handler) {
41
41
  return (0, import_core.addPluginListener)(
42
- "plugin:mobile-push",
42
+ "mobile-push",
43
43
  "notification-received",
44
44
  handler
45
45
  );
46
46
  }
47
47
  async function onNotificationTapped(handler) {
48
48
  return (0, import_core.addPluginListener)(
49
- "plugin:mobile-push",
49
+ "mobile-push",
50
50
  "notification-tapped",
51
51
  handler
52
52
  );
53
53
  }
54
54
  async function onTokenRefresh(handler) {
55
55
  return (0, import_core.addPluginListener)(
56
- "plugin:mobile-push",
56
+ "mobile-push",
57
57
  "token-received",
58
58
  handler
59
59
  );
package/dist/index.js CHANGED
@@ -14,21 +14,21 @@ async function getToken() {
14
14
  }
15
15
  async function onNotificationReceived(handler) {
16
16
  return addPluginListener(
17
- "plugin:mobile-push",
17
+ "mobile-push",
18
18
  "notification-received",
19
19
  handler
20
20
  );
21
21
  }
22
22
  async function onNotificationTapped(handler) {
23
23
  return addPluginListener(
24
- "plugin:mobile-push",
24
+ "mobile-push",
25
25
  "notification-tapped",
26
26
  handler
27
27
  );
28
28
  }
29
29
  async function onTokenRefresh(handler) {
30
30
  return addPluginListener(
31
- "plugin:mobile-push",
31
+ "mobile-push",
32
32
  "token-received",
33
33
  handler
34
34
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tauri-plugin-mobile-push-api",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "TypeScript API for tauri-plugin-mobile-push — push notifications for iOS (APNs) and Android (FCM)",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "repository": {