alexa-cookie2 5.0.1 → 5.0.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 CHANGED
@@ -55,6 +55,9 @@ Partly based on [Amazon Alexa Remote Control](http://blog.loetzimmer.de/2017/10/
55
55
  Thank you for that work.
56
56
 
57
57
  ## Changelog:
58
+ ### 5.0.2 (2023-11-25)
59
+ * (Apollon77) Adjust some texts
60
+
58
61
  ### 5.0.1 (2023-11-24)
59
62
  * (adn77) make registered device name configurable by Appname
60
63
  * (Apollon77) Prevent some error/crash cases
package/alexa-cookie.js CHANGED
@@ -350,7 +350,7 @@ function AlexaCookie() {
350
350
  }
351
351
  if (_options.setupProxy) {
352
352
  if (proxyServer) {
353
- errMessage += ` You can try to get the cookie manually by opening http://${_options.proxyOwnIp}:${_options.proxyPort}/ with your browser.`;
353
+ errMessage += ` Please open http://${_options.proxyOwnIp}:${_options.proxyPort}/ with your browser and login to Amazon. The cookie will be output here after successfull login.`;
354
354
  } else {
355
355
  amazonProxy.initAmazonProxy(_options, prepareResult,
356
356
  (server) => {
@@ -361,7 +361,7 @@ function AlexaCookie() {
361
361
  if (!_options.proxyPort || _options.proxyPort === 0) {
362
362
  _options.proxyPort = proxyServer.address().port;
363
363
  }
364
- errMessage += ` You can try to get the cookie manually by opening http://${_options.proxyOwnIp}:${_options.proxyPort}/ with your browser.`;
364
+ errMessage += ` Please open http://${_options.proxyOwnIp}:${_options.proxyPort}/ with your browser and login to Amazon. The cookie will be output here after successfull login.`;
365
365
  callback && callback(new Error(errMessage), null);
366
366
  }
367
367
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alexa-cookie2",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "Generate Cookie and CSRF for Alexa Remote",
5
5
  "author": {
6
6
  "name": "Apollon77",