From 8f7cf941f01d4b3f01765da983870a7eadc434a1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 11:54:56 +0200 Subject: [PATCH] Version Packages (#93) Co-authored-by: github-actions[bot] --- .changeset/six-rivers-sip.md | 7 ------- .changeset/sweet-geese-tease.md | 7 ------- packages/admin/CHANGELOG.md | 2 ++ packages/admin/package.json | 2 +- packages/api/CHANGELOG.md | 12 ++++++++++++ packages/api/package.json | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 .changeset/six-rivers-sip.md delete mode 100644 .changeset/sweet-geese-tease.md diff --git a/.changeset/six-rivers-sip.md b/.changeset/six-rivers-sip.md deleted file mode 100644 index 6a960de2..00000000 --- a/.changeset/six-rivers-sip.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@comet/brevo-api": patch ---- - -Fix campaign statistics - -Addressed an issue where the globalStats property was being used to retrieve campaign stats, but it wasn’t working as expected. We now use the campaignStats property instead, which returns a list. The first value from this list is now used to show accurate campaign statistics. diff --git a/.changeset/sweet-geese-tease.md b/.changeset/sweet-geese-tease.md deleted file mode 100644 index 2f2dda23..00000000 --- a/.changeset/sweet-geese-tease.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@comet/brevo-api": patch ---- - -Fix searching contacts - -Previously, Brevo returned a 400 error when an email address was not found. The implementation has been updated to correctly handle the 404 status code instead of 400. As a result, the contact search functionality now works as expected without throwing an error when no matching email address is found. diff --git a/packages/admin/CHANGELOG.md b/packages/admin/CHANGELOG.md index 59e506f7..6fae03fa 100644 --- a/packages/admin/CHANGELOG.md +++ b/packages/admin/CHANGELOG.md @@ -1,5 +1,7 @@ # @comet/brevo-admin +## 2.0.2 + ## 2.0.1 ## 2.0.0 diff --git a/packages/admin/package.json b/packages/admin/package.json index 8dea4637..97ec4a09 100644 --- a/packages/admin/package.json +++ b/packages/admin/package.json @@ -1,6 +1,6 @@ { "name": "@comet/brevo-admin", - "version": "2.0.1", + "version": "2.0.2", "repository": { "type": "git", "url": "https://github.com/vivid-planet/comet-brevo-module/", diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 377ea312..ea8e03c7 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,17 @@ # @comet/brevo-api +## 2.0.2 + +### Patch Changes + +- 06c18b7: Fix campaign statistics + + Addressed an issue where the globalStats property was being used to retrieve campaign stats, but it wasn’t working as expected. We now use the campaignStats property instead, which returns a list. The first value from this list is now used to show accurate campaign statistics. + +- b1cff9b: Fix searching contacts + + Previously, Brevo returned a 400 error when an email address was not found. The implementation has been updated to correctly handle the 404 status code instead of 400. As a result, the contact search functionality now works as expected without throwing an error when no matching email address is found. + ## 2.0.1 ### Patch Changes diff --git a/packages/api/package.json b/packages/api/package.json index 2cf5bd5c..2bb31b03 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@comet/brevo-api", - "version": "2.0.1", + "version": "2.0.2", "repository": { "type": "git", "url": "https://github.com/vivid-planet/comet-brevo-module/",