From ab6b218d3dc5157ba98bee5ab2ae1c7e383f0b02 Mon Sep 17 00:00:00 2001 From: unicodeveloper Date: Wed, 10 May 2023 19:47:56 +0100 Subject: [PATCH] docs(changelog): Update changelog --- CHANGELOG.md | 6 ++++++ README.md | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6778def..b8e324b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +1.0.6 / 2023-05-10 +=================== + +* Add support for updating a subscriber's online status +* Fix bug with CancelEvent method. + 1.0.5 / 2023-04-06 =================== diff --git a/README.md b/README.md index e9bc45f..91ee212 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,10 @@ $response => $novu->updateSubscriberCredentials($subscriberId, [ 'credentials' => '' ])->toArray(); +// Update subscriber online status +$isOnlineStatus = true // or false +$response => $novu->updateSubscriberOnlineStatus($subscriberId, $isOnlineStatus)->toArray(); + // Get subscriber preferences $preferences = $novu->getSubscriberPreferences($subscriberId)->toArray();