init-data-py 0.2.6__tar.gz → 0.2.7__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.
Files changed (22) hide show
  1. {init_data_py-0.2.6 → init_data_py-0.2.7}/PKG-INFO +4 -3
  2. {init_data_py-0.2.6 → init_data_py-0.2.7}/pyproject.toml +1 -1
  3. {init_data_py-0.2.6 → init_data_py-0.2.7}/src/init_data_py/__init__.py +1 -1
  4. {init_data_py-0.2.6 → init_data_py-0.2.7}/src/init_data_py/init_data.py +1 -1
  5. {init_data_py-0.2.6 → init_data_py-0.2.7}/.github/workflows/publish.yml +0 -0
  6. {init_data_py-0.2.6 → init_data_py-0.2.7}/.gitignore +0 -0
  7. {init_data_py-0.2.6 → init_data_py-0.2.7}/.python-version +0 -0
  8. {init_data_py-0.2.6 → init_data_py-0.2.7}/LICENCE +0 -0
  9. {init_data_py-0.2.6 → init_data_py-0.2.7}/README.md +0 -0
  10. {init_data_py-0.2.6 → init_data_py-0.2.7}/requirements-dev.lock +0 -0
  11. {init_data_py-0.2.6 → init_data_py-0.2.7}/requirements.lock +0 -0
  12. {init_data_py-0.2.6 → init_data_py-0.2.7}/src/init_data_py/errors/__init__.py +0 -0
  13. {init_data_py-0.2.6 → init_data_py-0.2.7}/src/init_data_py/errors/errors.py +0 -0
  14. {init_data_py-0.2.6 → init_data_py-0.2.7}/src/init_data_py/types/__init__.py +0 -0
  15. {init_data_py-0.2.6 → init_data_py-0.2.7}/src/init_data_py/types/chat.py +0 -0
  16. {init_data_py-0.2.6 → init_data_py-0.2.7}/src/init_data_py/types/object.py +0 -0
  17. {init_data_py-0.2.6 → init_data_py-0.2.7}/src/init_data_py/types/user.py +0 -0
  18. {init_data_py-0.2.6 → init_data_py-0.2.7}/tests/__init__.py +0 -0
  19. {init_data_py-0.2.6 → init_data_py-0.2.7}/tests/test_parse.py +0 -0
  20. {init_data_py-0.2.6 → init_data_py-0.2.7}/tests/test_sign.py +0 -0
  21. {init_data_py-0.2.6 → init_data_py-0.2.7}/tests/test_to_query_string.py +0 -0
  22. {init_data_py-0.2.6 → init_data_py-0.2.7}/tests/test_validate.py +0 -0
@@ -1,9 +1,10 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: init-data-py
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: A Python library that provides tools for using and validating Telegram web app init data.
5
5
  Author-email: nimaxin <nimaxin@proton.me>
6
- License: MIT
6
+ License-Expression: MIT
7
+ License-File: LICENCE
7
8
  Requires-Python: >=3.8
8
9
  Description-Content-Type: text/markdown
9
10
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "init-data-py"
3
- version = "0.2.6"
3
+ version = "0.2.7"
4
4
  description = "A Python library that provides tools for using and validating Telegram web app init data."
5
5
  authors = [
6
6
  { name = "nimaxin", email = "nimaxin@proton.me" }
@@ -1,5 +1,5 @@
1
1
  from .init_data import InitData
2
2
 
3
- __version__ = "0.2.6"
3
+ __version__ = "0.2.7"
4
4
 
5
5
  __all__ = ["InitData"]
@@ -171,7 +171,7 @@ class InitData:
171
171
  sorted_attrs = sorted(init_data.items())
172
172
  data_check_string = (
173
173
  "\n".join(f"{k}={v}" for k, v in sorted_attrs)
174
- .replace("/", "\/")
174
+ .replace("/", r"\/")
175
175
  .encode()
176
176
  )
177
177
  secret_key = hmac.new(
File without changes
File without changes
File without changes