python-picnic-api2 2.0.3__py3-none-any.whl → 2.0.4__py3-none-any.whl

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.
@@ -47,5 +47,5 @@ __all__ = [
47
47
  "OrderArticle",
48
48
  ]
49
49
  __title__ = "python-picnic-api"
50
- __version__ = "2.0.3"
50
+ __version__ = "2.0.4"
51
51
  __author__ = "Mike Brink"
@@ -27,7 +27,10 @@ from .session import (
27
27
  DEFAULT_URL = "https://storefront-prod.{}.picnicinternational.com/api/{}"
28
28
  DEFAULT_COUNTRY_CODE = "NL"
29
29
  DEFAULT_API_VERSION = "15"
30
- _PICNIC_AGENT = "30100;1.252.0-#15626;"
30
+ # Pinned below app 1.224: newer agents get the /pages/ endpoints as a
31
+ # {"layout", "script"} wrapper (1.224-1.246) or React Server Components (1.247+),
32
+ # which the PML parsers do not handle.
33
+ _PICNIC_AGENT = "30100;1.206.1-#15408"
31
34
 
32
35
 
33
36
  class PicnicAPI:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: python-picnic-api2
3
- Version: 2.0.3
3
+ Version: 2.0.4
4
4
  Project-URL: homepage, https://github.com/codesalatdev/python-picnic-api
5
5
  Project-URL: repository, https://github.com/codesalatdev/python-picnic-api
6
6
  Author-email: Mike Brink <mjh.brink@icloud.com>, CodeSalat <pypi@codesalat.dev>
@@ -1,5 +1,5 @@
1
- python_picnic_api2/__init__.py,sha256=gNGbMpwpu2-H06qbgZ6AYcNAsrvHbihX2fu7vUtQWDk,975
2
- python_picnic_api2/client.py,sha256=C1Vai_PePut-KQ4xh4LwpSZV-HPyLDn8XqAgZhjmNhw,12306
1
+ python_picnic_api2/__init__.py,sha256=odnlTJPCArsEx05Xyp8RzupW2OdKjv3Mz1pMhn2IqgU,975
2
+ python_picnic_api2/client.py,sha256=36dVigbSTV9ERWxO_xsTtJAbQOdkVvD18iYUsVIJLLg,12496
3
3
  python_picnic_api2/exceptions.py,sha256=q3ERqBze8rMoNjX0QcRfinCWhExSdob6AFs4l23iSyQ,1973
4
4
  python_picnic_api2/helper.py,sha256=CUoxRu2SZnHE-8azyfm7MUJ_vBA7ifVkHK-IUgUKuRM,971
5
5
  python_picnic_api2/session.py,sha256=2nhlyJ2MXR1yHQRxw85B-KXF4zt8L5__KrI-T_VvURg,2388
@@ -13,7 +13,7 @@ python_picnic_api2/models/delivery.py,sha256=i29cw3E_To3azBGtYKvYkKolRpWJypWxPql
13
13
  python_picnic_api2/models/pml.py,sha256=1NAygk1u2SKBo-QwWMoeuZ4ixTJdDLHdnM7blYdgplM,5290
14
14
  python_picnic_api2/models/search.py,sha256=kGJVXKUml2wFfDyap000inhe5udGO_EssxVji0FJ1f4,2150
15
15
  python_picnic_api2/models/user.py,sha256=Q0qmnhYacCCx93UO_OrpHLdiE4VtCWsunRhJUmxgruY,1662
16
- python_picnic_api2-2.0.3.dist-info/METADATA,sha256=_4BowMS_7hzF-1SakCTv_N72IncHZxKVsgHChQ8Sv7s,8938
17
- python_picnic_api2-2.0.3.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
18
- python_picnic_api2-2.0.3.dist-info/licenses/LICENSE.md,sha256=CUvt2ilcBwKAfRAnoA4RNPTLcdUj3En21LPK9YkFMGg,11358
19
- python_picnic_api2-2.0.3.dist-info/RECORD,,
16
+ python_picnic_api2-2.0.4.dist-info/METADATA,sha256=XB3LcyfFfmhsvMYoxotF-Ld69e2hlBCrjmTVZRr5s10,8938
17
+ python_picnic_api2-2.0.4.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
18
+ python_picnic_api2-2.0.4.dist-info/licenses/LICENSE.md,sha256=CUvt2ilcBwKAfRAnoA4RNPTLcdUj3En21LPK9YkFMGg,11358
19
+ python_picnic_api2-2.0.4.dist-info/RECORD,,