simplepush 3.3.0__tar.gz → 3.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {simplepush-3.3.0 → simplepush-3.4.0}/PKG-INFO +1 -1
- {simplepush-3.3.0 → simplepush-3.4.0}/pyproject.toml +1 -1
- {simplepush-3.3.0 → simplepush-3.4.0}/src/simplepush/decrypt.py +2 -1
- {simplepush-3.3.0 → simplepush-3.4.0}/.gitignore +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/.worktrees/pg-resilience/LICENSE +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/.worktrees/pg-resilience/README.md +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/.worktrees/pg-resilience/pyproject.toml +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/LICENSE +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/README.md +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/src/simplepush/__init__.py +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/src/simplepush/_extras.py +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/src/simplepush/api.py +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/src/simplepush/client.py +0 -0
- {simplepush-3.3.0 → simplepush-3.4.0}/src/simplepush/crypto.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: simplepush
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: Python client for Simplepush (tasks, notifications, events, end-to-end encryption).
|
|
5
5
|
Project-URL: Homepage, https://simplepu.sh
|
|
6
6
|
Project-URL: Documentation, https://simplepu.sh/guide/python-sdk
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "simplepush"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.4.0"
|
|
8
8
|
description = "Python client for Simplepush (tasks, notifications, events, end-to-end encryption)."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
@@ -188,12 +188,13 @@ def decrypt_task_payload(value: Any, keyring) -> DecryptedWire:
|
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
def decrypt_task_summary(value: Any, keyring) -> DecryptedWire:
|
|
191
|
-
"""A task index / group roster row: ``title``
|
|
191
|
+
"""A task index / group roster row: ``title`` and ``tag`` are its sealed fields."""
|
|
192
192
|
st = _State()
|
|
193
193
|
out = copy.deepcopy(value)
|
|
194
194
|
if isinstance(out, dict):
|
|
195
195
|
marker = _marker_of(out.pop("encryption", None))
|
|
196
196
|
_dec_field(out, "title", marker, keyring, st)
|
|
197
|
+
_dec_field(out, "tag", marker, keyring, st)
|
|
197
198
|
return DecryptedWire(out, st.undecryptable)
|
|
198
199
|
|
|
199
200
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|