From 6f4d9466622d9cb35e40ecedb5da9831920701aa Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Wed, 4 Mar 2026 21:28:20 +0800 Subject: [PATCH] chore: bump plugin version to 1.3.1 Align package.json and all plugin version references (Android, TS definitions, observability, web) to 1.3.1 after rollover-interval fixes. --- .../timesafari/dailynotification/DailyNotificationPlugin.kt | 4 ++-- .../java/com/timesafari/dailynotification/FetchWorker.kt | 6 +++--- .../java/com/timesafari/dailynotification/NotifyReceiver.kt | 4 ++-- .../com/timesafari/dailynotification/ReactivationManager.kt | 4 ++-- package.json | 2 +- src/definitions.ts | 2 +- src/observability.ts | 2 +- src/web.ts | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/android/src/main/java/com/timesafari/dailynotification/DailyNotificationPlugin.kt b/android/src/main/java/com/timesafari/dailynotification/DailyNotificationPlugin.kt index 11429cb..a2a22b3 100644 --- a/android/src/main/java/com/timesafari/dailynotification/DailyNotificationPlugin.kt +++ b/android/src/main/java/com/timesafari/dailynotification/DailyNotificationPlugin.kt @@ -35,7 +35,7 @@ import org.json.JSONObject * Bridges Capacitor calls to native Android functionality * * @author Matthew Raymer - * @version 1.3.0 + * @version 1.3.1 */ @CapacitorPlugin(name = "DailyNotification") open class DailyNotificationPlugin : Plugin() { @@ -2722,7 +2722,7 @@ object ScheduleHelper { try { val entity = com.timesafari.dailynotification.entities.NotificationContentEntity( scheduleId, - "1.3.0", + "1.3.1", null, "daily", config.title ?: "Daily Notification", diff --git a/android/src/main/java/com/timesafari/dailynotification/FetchWorker.kt b/android/src/main/java/com/timesafari/dailynotification/FetchWorker.kt index 86ef69c..172ac62 100644 --- a/android/src/main/java/com/timesafari/dailynotification/FetchWorker.kt +++ b/android/src/main/java/com/timesafari/dailynotification/FetchWorker.kt @@ -17,7 +17,7 @@ import org.json.JSONObject * Implements exponential backoff and network constraints * * @author Matthew Raymer - * @version 1.3.0 + * @version 1.3.1 */ class FetchWorker( appContext: Context, @@ -205,7 +205,7 @@ class FetchWorker( val entity = com.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.3.0", // Plugin version + "1.3.1", // Plugin version null, // timesafariDid - can be set if available "daily", title, @@ -301,7 +301,7 @@ class FetchWorker( "timestamp": ${System.currentTimeMillis()}, "content": "Daily notification content", "source": "mock_generator", - "version": "1.3.0" + "version": "1.3.1" } """.trimIndent() return mockData.toByteArray() diff --git a/android/src/main/java/com/timesafari/dailynotification/NotifyReceiver.kt b/android/src/main/java/com/timesafari/dailynotification/NotifyReceiver.kt index a4283d2..ba07732 100644 --- a/android/src/main/java/com/timesafari/dailynotification/NotifyReceiver.kt +++ b/android/src/main/java/com/timesafari/dailynotification/NotifyReceiver.kt @@ -21,7 +21,7 @@ import kotlinx.coroutines.runBlocking * Implements TTL-at-fire logic and notification delivery * * @author Matthew Raymer - * @version 1.3.0 + * @version 1.3.1 */ /** * Source of schedule request - tracks which code path triggered scheduling @@ -257,7 +257,7 @@ class NotifyReceiver : BroadcastReceiver() { val roomStorage = com.timesafari.dailynotification.storage.DailyNotificationStorageRoom(context) val entity = com.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.3.0", // Plugin version + "1.3.1", // Plugin version null, // timesafariDid - can be set if available "daily", config.title, diff --git a/android/src/main/java/com/timesafari/dailynotification/ReactivationManager.kt b/android/src/main/java/com/timesafari/dailynotification/ReactivationManager.kt index 2f794d1..e8d0ab0 100644 --- a/android/src/main/java/com/timesafari/dailynotification/ReactivationManager.kt +++ b/android/src/main/java/com/timesafari/dailynotification/ReactivationManager.kt @@ -282,7 +282,7 @@ class ReactivationManager(private val context: Context) { // Create new notification content entry for missed alarm val notification = com.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.3.0", // Plugin version + "1.3.1", // Plugin version null, // timesafariDid "daily", // notificationType "Daily Notification", @@ -1052,7 +1052,7 @@ class ReactivationManager(private val context: Context) { // Create new notification content entry for missed alarm val notification = com.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.3.0", // Plugin version + "1.3.1", // Plugin version null, // timesafariDid "daily", // notificationType "Daily Notification", diff --git a/package.json b/package.json index d83dc78..f46afbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@timesafari/daily-notification-plugin", - "version": "1.3.0", + "version": "1.3.1", "description": "TimeSafari Daily Notification Plugin - Enterprise-grade daily notification functionality with dual scheduling, callback support, TTL-at-fire logic, and comprehensive observability across Mobile (Capacitor) and Desktop (Electron) platforms", "main": "dist/plugin.js", "module": "dist/esm/index.js", diff --git a/src/definitions.ts b/src/definitions.ts index fa72fe4..7e3a4e4 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -5,7 +5,7 @@ * Aligned with Android implementation and test requirements * * @author Matthew Raymer - * @version 1.3.0 (see package.json for source of truth) + * @version 1.3.1 (see package.json for source of truth) */ // Import SPI types from content-fetcher.ts diff --git a/src/observability.ts b/src/observability.ts index bfc322d..bdbf875 100644 --- a/src/observability.ts +++ b/src/observability.ts @@ -3,7 +3,7 @@ * Provides structured logging, event codes, and health monitoring * * @author Matthew Raymer - * @version 1.3.0 + * @version 1.3.1 */ import { diff --git a/src/web.ts b/src/web.ts index 0efc3d5..0413b13 100644 --- a/src/web.ts +++ b/src/web.ts @@ -7,7 +7,7 @@ * This implementation provides clear error messages for all methods. * * @author Matthew Raymer - * @version 1.3.0 + * @version 1.3.1 */ import type {