From fcb8f686dca752fa741f2c692c3fc70947b6bbe6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 01:53:32 +0000 Subject: [PATCH 1/3] Bump urllib3 from 1.26.5 to 1.26.18 Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.5 to 1.26.18. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.5...1.26.18) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a081b46..2f1b6ef 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ requests>=2.6.0 aiohttp>=3.6.2 -urllib3==1.26.5 +urllib3==1.26.18 From cfb9ee176f495b8ea97fc9e8eccf62f2fbac8d86 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 23:10:10 +0000 Subject: [PATCH 2/3] Bump urllib3 from 1.26.5 to 1.26.19 Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.5 to 1.26.19. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/1.26.19/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.5...1.26.19) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1a0f2d4..5cffa81 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ pyasn1==0.6.0 pyasn1-modules==0.4.0 rsa==4.9 requests>=2.6.0 -urllib3==1.26.5 +urllib3==1.26.19 pytest-mock==3.14.0 From c0b2450587e0006c617e6fa300c34eec2b6fb0e2 Mon Sep 17 00:00:00 2001 From: "Emmanuel O. Adegbite" Date: Wed, 19 Jun 2024 01:31:03 +0100 Subject: [PATCH 3/3] fix issue #308 --- pyfcm/__meta__.py | 2 +- pyfcm/fcm.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pyfcm/__meta__.py b/pyfcm/__meta__.py index 05c3676..4465f4c 100644 --- a/pyfcm/__meta__.py +++ b/pyfcm/__meta__.py @@ -2,7 +2,7 @@ __summary__ = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)" __url__ = "https://github.com/olucurious/pyfcm" -__version__ = "2.0.1" +__version__ = "2.0.2" __author__ = "Emmanuel Adegbite" __email__ = "olucurious@gmail.com" diff --git a/pyfcm/fcm.py b/pyfcm/fcm.py index b4560c0..e340f40 100644 --- a/pyfcm/fcm.py +++ b/pyfcm/fcm.py @@ -77,5 +77,4 @@ def async_notify_multiple_devices(self, params_list=None, timeout=5): if params_list is None: params_list = [] - payloads = [self.parse_payload(**params) for params in params_list] - return self.send_async_request(payloads=payloads, timeout=timeout) + return self.send_async_request(params_list=params_list, timeout=timeout)