@choochmeque/tauri-plugin-notifications-api 0.2.6 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +8 -3
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  [![NPM Version](https://img.shields.io/npm/v/@choochmeque%2Ftauri-plugin-notifications-api)](https://www.npmjs.com/package/@choochmeque/tauri-plugin-notifications-api)
2
2
  [![Crates.io Version](https://img.shields.io/crates/v/tauri-plugin-notifications)](https://crates.io/crates/tauri-plugin-notifications)
3
+ [![Tests](https://github.com/Choochmeque/tauri-plugin-notifications/actions/workflows/tests.yml/badge.svg)](https://github.com/Choochmeque/tauri-plugin-notifications/actions/workflows/tests.yml)
4
+ [![codecov](https://codecov.io/gh/Choochmeque/tauri-plugin-notifications/branch/main/graph/badge.svg)](https://codecov.io/gh/Choochmeque/tauri-plugin-notifications)
3
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
4
6
 
5
7
  # Tauri Plugin Notifications
@@ -43,7 +45,7 @@ Add the plugin to your Tauri project's `Cargo.toml`:
43
45
 
44
46
  ```toml
45
47
  [dependencies]
46
- tauri-plugin-notifications = "0.1"
48
+ tauri-plugin-notifications = "0.3"
47
49
  ```
48
50
 
49
51
  ### Push Notifications Feature
@@ -52,7 +54,7 @@ The `push-notifications` feature is **disabled by default**. To enable push noti
52
54
 
53
55
  ```toml
54
56
  [dependencies]
55
- tauri-plugin-notifications = { version = "0.1", features = ["push-notifications"] }
57
+ tauri-plugin-notifications = { version = "0.3", features = ["push-notifications"] }
56
58
  ```
57
59
 
58
60
  This enables:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choochmeque/tauri-plugin-notifications-api",
3
- "version": "0.2.6",
3
+ "version": "0.3.0",
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,15 +37,20 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@rollup/plugin-typescript": "^12.1.4",
40
+ "@vitest/coverage-v8": "^2.1.8",
40
41
  "rollup": "^4.52.4",
41
42
  "tslib": "^2.6.2",
42
43
  "typescript": "^5.3.3",
43
- "prettier": "3.6.2"
44
+ "prettier": "3.7.3",
45
+ "vitest": "^2.1.8"
44
46
  },
45
47
  "scripts": {
46
48
  "build": "rollup -c",
47
49
  "pretest": "pnpm build",
50
+ "test": "vitest run",
51
+ "test:watch": "vitest",
52
+ "test:coverage": "vitest run --coverage",
48
53
  "format": "prettier --write \"./**/*.{cjs,mjs,js,jsx,mts,ts,tsx,html,css,json}\"",
49
- "format-check": "prettier --check \"./**/*.{cjs,mjs,js,jsx,mts,ts,tsx,html,css,json}\""
54
+ "format:check": "prettier --check \"./**/*.{cjs,mjs,js,jsx,mts,ts,tsx,html,css,json}\""
50
55
  }
51
56
  }