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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: simplepush
3
- Version: 3.3.0
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.3.0"
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`` is its only sealed field."""
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