New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alexa-cookie2

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alexa-cookie2 - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

24

alexa-cookie.js

@@ -433,6 +433,6 @@ /**

'domain': 'Device',
'app_version': '2.2.443692.0',
'app_version': '2.2.483723.0',
'device_type': 'A2IVLV5VM2W81',
'device_name': '%FIRST_NAME%\u0027s%DUPE_STRATEGY_1ST%ioBroker Alexa2',
'os_version': '14.8',
'os_version': '15.5',
'device_serial': deviceSerial,

@@ -468,4 +468,3 @@ 'device_model': 'iPhone',

}
for (const key in cookies) {
if (!cookies.hasOwnProperty(key)) continue;
for (const key of Object.keys(cookies)) {
registerData.cookies.website_cookies.push({

@@ -482,3 +481,3 @@ 'Value': cookies[key],

headers: {
'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.443692.0/iOS/14.8/iPhone',
'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.483723.0/iOS/15.5/iPhone',
'Accept-Language': _options.acceptLanguage,

@@ -525,6 +524,6 @@ 'Accept-Charset': 'utf-8',

host: 'alexa.' + _options.baseAmazonPage,
path: '/api/users/me?platform=ios&version=2.2.443692.0',
path: '/api/users/me?platform=ios&version=2.2.483723.0',
method: 'GET',
headers: {
'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.443692.0/iOS/14.8/iPhone',
'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.483723.0/iOS/15.5/iPhone',
'Accept-Language': _options.acceptLanguage,

@@ -600,3 +599,3 @@ 'Accept-Charset': 'utf-8',

'di.os.name': 'iOS',
'app_version': '2.2.443692.0',
'app_version': '2.2.483723.0',
'domain': '.' + amazonPage,

@@ -617,3 +616,3 @@ 'source_token': refreshToken,

headers: {
'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.443692.0/iOS/14.8/iPhone',
'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.483723.0/iOS/15.5/iPhone',
'Accept-Language': _options.acceptLanguage,

@@ -667,4 +666,3 @@ 'Accept-Charset': 'utf-8',

let localCookie = '';
for (const name in cookies) {
if (!cookies.hasOwnProperty(name)) continue;
for (const name of Object.keys(cookies)) {
localCookie += name + '=' + cookies[name] + '; ';

@@ -697,3 +695,3 @@ }

'app_name': 'ioBroker Alexa2',
'app_version': '2.2.443692.0',
'app_version': '2.2.483723.0',
'di.sdk.version': '6.10.0',

@@ -716,3 +714,3 @@ 'source_token': _options.formerRegistrationData.refreshToken,

headers: {
'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.443692.0/iOS/14.8/iPhone',
'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.483723.0/iOS/15.5/iPhone',
'Accept-Language': _options.acceptLanguage,

@@ -719,0 +717,0 @@ 'Accept-Charset': 'utf-8',

{
"name": "alexa-cookie2",
"version": "4.0.2",
"version": "4.0.3",
"description": "Generate Cookie and CSRF for Alexa Remote",

@@ -5,0 +5,0 @@ "author": {

@@ -52,2 +52,5 @@ # alexa-cookie

## Changelog:
### 4.0.3 (2022-07-06)
* (Apollon77) Update some request meta data to match current Alexa Apps
### 4.0.2 (2022-06-30)

@@ -54,0 +57,0 @@ * (Apollon77) Prevent potential crash cases

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc