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

xero-node

Package Overview
Dependencies
Maintainers
4
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xero-node - npm Package Compare versions

Comparing version 3.0.0-alpha.8 to 3.0.0-alpha.9

10

lib/internals/OAuth1HttpClient.js

@@ -145,9 +145,13 @@ "use strict";

request.addListener('response', function (response) {
response.addListener('data', function (chunk) {
response.on('data', function (chunk) {
writeStream.write(chunk);
});
response.addListener('end', function () {
response.on('end', function () {
writeStream.end();
resolve();
return resolve();
});
response.on('close', function () {
writeStream.end();
return resolve();
});
});

@@ -154,0 +158,0 @@ request.end();

{
"name": "xero-node",
"version": "3.0.0-alpha.8",
"version": "3.0.0-alpha.9",
"description": "NodeJS Client for the Xero API, supporting Public, Private and Partner Apps",

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

@@ -142,6 +142,10 @@ [![npm version](https://badge.fury.io/js/xero-node.svg)](https://badge.fury.io/js/xero-node)

### Running the tests
We need two private Apps to get around the ratelimits. They can be connected to the same Org.
1. Copy `private-config-example.json` to `private-config.json` in the [integration test directory](src/__integration_tests__).
2. Overwrite the example values with your own from the [Developer Portal](https://developer.xero.com/myapps).
3. (Do the same for `partner-config-example.json` if required.)
4. Run `npm test`
2. Copy it again to `1private-config.json` in the [integration test directory](src/__integration_tests__).
3. Overwrite the example values with your own from the [Developer Portal](https://developer.xero.com/myapps).
4. (Do the same for `partner-config-example.json` if required.)
5. Run `npm test`

@@ -148,0 +152,0 @@ ## Project Philosophies

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