xero-node
Advanced tools
Comparing version 3.0.0-alpha.8 to 3.0.0-alpha.9
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
196998
4011
178