aioamazondevices 3.0.8__py3-none-any.whl → 3.0.9__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.
@@ -1,6 +1,6 @@
1
1
  """aioamazondevices library."""
2
2
 
3
- __version__ = "3.0.8"
3
+ __version__ = "3.0.9"
4
4
 
5
5
 
6
6
  from .api import AmazonDevice, AmazonEchoApi
aioamazondevices/api.py CHANGED
@@ -303,7 +303,7 @@ class AmazonEchoApi:
303
303
  headers.update(csrf)
304
304
 
305
305
  if json_data:
306
- json_header = {"Content-Type": "application/json"}
306
+ json_header = {"Content-Type": "application/json; charset=utf-8"}
307
307
  _LOGGER.debug("Adding %s to headers", json_header)
308
308
  headers.update(json_header)
309
309
 
aioamazondevices/const.py CHANGED
@@ -20,7 +20,6 @@ DOMAIN_BY_ISO3166_COUNTRY = {
20
20
  },
21
21
  "jp": {
22
22
  "domain": "co.jp",
23
- "openid.assoc_handle": "jpflex",
24
23
  },
25
24
  "br": {
26
25
  "domain": "com.br",
@@ -41,8 +40,9 @@ DEFAULT_HEADERS = {
41
40
  f"Mozilla/5.0 (iPhone; CPU iPhone OS {AMAZON_CLIENT_OS.replace('.', '_')} like Mac OS X) " # noqa: E501
42
41
  "AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
43
42
  ),
44
- "Accept-Language": "en-US",
43
+ "Accept-Charset": "utf-8",
45
44
  "Accept-Encoding": "gzip",
45
+ "Accept-Language": "en-US",
46
46
  "Connection": "keep-alive",
47
47
  }
48
48
  CSRF_COOKIE = "csrf"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: aioamazondevices
3
- Version: 3.0.8
3
+ Version: 3.0.9
4
4
  Summary: Python library to control Amazon devices
5
5
  License: Apache-2.0
6
6
  Author: Simone Chemelli
@@ -0,0 +1,10 @@
1
+ aioamazondevices/__init__.py,sha256=NpllEuw05uesvM4TISUrKdxZuuR9lLUDaTbRGceXAl8,276
2
+ aioamazondevices/api.py,sha256=kHupOo_Bu9dNLWiXHdJQuHJR47G8olJbn5ukZkSFV6Q,30715
3
+ aioamazondevices/const.py,sha256=C6__PALMP3bOn8350uA1jYDShKDkifD6GDn7A9Hlw7Q,4769
4
+ aioamazondevices/exceptions.py,sha256=nPbR928NryTbnxm5QwQpCSpRItvZ3PRYKynUUxH-_v4,1345
5
+ aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ aioamazondevices/sounds.py,sha256=01pVCDFIuhrLypXInw4JNuHsC6zjMLsuKocet1R6we8,13409
7
+ aioamazondevices-3.0.9.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
8
+ aioamazondevices-3.0.9.dist-info/METADATA,sha256=GrY-IiPzpkN3IjSX5Oyi8wj1dyUVzRtLZl4YCaNB5ZI,5546
9
+ aioamazondevices-3.0.9.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
10
+ aioamazondevices-3.0.9.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- aioamazondevices/__init__.py,sha256=Rt3TflT34p0JCpQigmsHPwVXWVjxN4Si2A-ORUyL_SM,276
2
- aioamazondevices/api.py,sha256=ToqJFg_TdUHP8PKiytSN5jtbeGtes-dfcyzUZk5wn1Q,30700
3
- aioamazondevices/const.py,sha256=AHDQAcP7TIdGmAX-4m5OalyU-chiU6Eo3Ww2Hth15tE,4779
4
- aioamazondevices/exceptions.py,sha256=nPbR928NryTbnxm5QwQpCSpRItvZ3PRYKynUUxH-_v4,1345
5
- aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- aioamazondevices/sounds.py,sha256=01pVCDFIuhrLypXInw4JNuHsC6zjMLsuKocet1R6we8,13409
7
- aioamazondevices-3.0.8.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
8
- aioamazondevices-3.0.8.dist-info/METADATA,sha256=BSmxd6WLOpLBR8gbvK5fRo_hl5EcIQZOM0LP0cMIIFQ,5546
9
- aioamazondevices-3.0.8.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
10
- aioamazondevices-3.0.8.dist-info/RECORD,,