alexa-cookie2 4.1.0 → 4.1.1
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.
- package/README.md +3 -0
- package/alexa-cookie.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,9 @@ Partly based on [Amazon Alexa Remote Control](http://blog.loetzimmer.de/2017/10/
|
|
|
49
49
|
Thank you for that work.
|
|
50
50
|
|
|
51
51
|
## Changelog:
|
|
52
|
+
### 4.1.1 (2022-07-18)
|
|
53
|
+
* (Apollon77/bbindreiter) Update used User-Agent for some requests
|
|
54
|
+
|
|
52
55
|
### 4.1.0 (2022-07-18)
|
|
53
56
|
* (Apollon77) Allow to overwrite the used App-Name for the Amazon App Registration.
|
|
54
57
|
* (Apollon77) Include the used app name also in the response
|
package/alexa-cookie.js
CHANGED
|
@@ -13,8 +13,8 @@ const cookieTools = require('cookie');
|
|
|
13
13
|
const amazonProxy = require('./lib/proxy.js');
|
|
14
14
|
|
|
15
15
|
const defaultAmazonPage = 'amazon.de';
|
|
16
|
-
const defaultUserAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64
|
|
17
|
-
const defaultUserAgentLinux = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
|
|
16
|
+
const defaultUserAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36';
|
|
17
|
+
const defaultUserAgentLinux = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36';
|
|
18
18
|
//const defaultUserAgentMacOs = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36';
|
|
19
19
|
const defaultAcceptLanguage = 'de-DE';
|
|
20
20
|
|