native-update 1.4.1 → 1.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.
@@ -191,9 +191,6 @@ class AppUpdatePlugin(
191
191
  // Emit state change event
192
192
  val eventData = JSObject()
193
193
  eventData.put("status", getInstallStatusString(state.installStatus()))
194
- if (state.installError() != 0) {
195
- eventData.put("installErrorCode", state.installError())
196
- }
197
194
  eventListener?.invoke("appUpdateStateChanged", eventData)
198
195
 
199
196
  // Emit progress event for downloads
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "native-update",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
+ "engines": {
5
+ "node": ">=24.13.0"
6
+ },
4
7
  "description": "Foundation package for building a comprehensive update system for Capacitor apps. Provides architecture and interfaces but requires backend implementation.",
5
8
  "type": "module",
6
9
  "main": "dist/plugin.cjs.js",
@@ -84,23 +87,23 @@
84
87
  "@capacitor/app": "^8.0.0",
85
88
  "@capacitor/core": "^8.0.1",
86
89
  "@capacitor/device": "^8.0.0",
87
- "@capacitor/filesystem": "^8.0.0",
90
+ "@capacitor/filesystem": "^8.1.0",
88
91
  "@capacitor/ios": "^8.0.1",
89
92
  "@capacitor/preferences": "^8.0.0",
90
93
  "@rollup/plugin-json": "^6.1.0",
91
94
  "@rollup/plugin-node-resolve": "^16.0.3",
92
95
  "@rollup/plugin-terser": "^0.4.4",
93
- "@types/node": "^25.0.9",
96
+ "@types/node": "^25.0.10",
94
97
  "@typescript-eslint/eslint-plugin": "^8.53.1",
95
98
  "@typescript-eslint/parser": "^8.53.1",
96
- "@vitest/ui": "^4.0.17",
99
+ "@vitest/ui": "^4.0.18",
97
100
  "eslint": "^9.39.2",
98
- "happy-dom": "^20.3.4",
99
- "prettier": "^3.8.0",
101
+ "happy-dom": "^20.3.7",
102
+ "prettier": "^3.8.1",
100
103
  "rimraf": "^6.1.2",
101
- "rollup": "^4.55.3",
104
+ "rollup": "^4.56.0",
102
105
  "typescript": "^5.9.3",
103
- "vitest": "^4.0.17"
106
+ "vitest": "^4.0.18"
104
107
  },
105
108
  "peerDependencies": {
106
109
  "@capacitor/core": "^8.0.1"