sendwithus / sendwithus_nodejs

Sendwithus NodeJS Client
https://www.sendwithus.com
Apache License 2.0
22 stars 17 forks source link

Fix tests and add batch examples #42

Closed phil-ma closed 5 years ago

phil-ma commented 5 years ago

Description

This PR adds an npm shrinkwrap file to set the xmlbuilder version to 11.0.1 to fix the tests for node 0.10 and 0.12. Additionally, this PR adds tests and an example for the batch endpoint.

Includes updating the travis file to test on node versions 8 and 10.

Motivation and Context

A dependency was being specified as any version older than 4 which caused one of our tests to fail.

How Has This Been Tested?

Tests have been added and are now passing.

Types of changes

Checklist: