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.
This commit is contained in:
Jose Olarte III
2026-03-04 21:28:20 +08:00
parent c38f235647
commit 6f4d946662
8 changed files with 13 additions and 13 deletions

View File

@@ -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",

View File

@@ -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()

View File

@@ -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,

View File

@@ -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",

View File

@@ -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",

View File

@@ -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

View File

@@ -3,7 +3,7 @@
* Provides structured logging, event codes, and health monitoring
*
* @author Matthew Raymer
* @version 1.3.0
* @version 1.3.1
*/
import {

View File

@@ -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 {