Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nordnet-next-api

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nordnet-next-api - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

6

lib/index.js

@@ -213,2 +213,8 @@ 'use strict';

return { response: response, data: data, status: response.status };
}).catch(function (error) {
return Promise.reject({
response: response,
status: response.status,
error: new Error('fetch unable to parse input, most likely API responded with empty reponse.\n Original Error: ' + error)
});
});

@@ -215,0 +221,0 @@ }

2

package.json
{
"name": "nordnet-next-api",
"version": "4.1.0",
"version": "4.1.1",
"description": "Nordnet nExt API Javascript client",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -164,3 +164,10 @@ import es6Promise from 'es6-promise';

return response[method]().then(data => ({ response, data, status: response.status }));
return response[method]()
.then(data => ({ response, data, status: response.status }))
.catch(error => Promise.reject({
response,
status: response.status,
error: new Error(`fetch unable to parse input, most likely API responded with empty reponse.
Original Error: ${error}`),
}));
}

@@ -167,0 +174,0 @@

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