alexa-cookie2 4.1.1 → 4.1.2
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 +1 -1
- 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.2 (2022-07-19)
|
|
53
|
+
* (Apollon77) Prevent crash case
|
|
54
|
+
|
|
52
55
|
### 4.1.1 (2022-07-18)
|
|
53
56
|
* (Apollon77/bbindreiter) Update used User-Agent for some requests
|
|
54
57
|
|
package/alexa-cookie.js
CHANGED
|
@@ -397,7 +397,7 @@ function AlexaCookie() {
|
|
|
397
397
|
};
|
|
398
398
|
|
|
399
399
|
this.getDeviceAppName = () => {
|
|
400
|
-
return _options.deviceAppName || defaultAppName;
|
|
400
|
+
return (_options && _options.deviceAppName) || defaultAppName;
|
|
401
401
|
};
|
|
402
402
|
|
|
403
403
|
const handleTokenRegistration = (_options, loginData, callback) => {
|