Skip to content

Commit

Permalink
Prepared release 0.1.0
Browse files Browse the repository at this point in the history
Added tls verification test
  • Loading branch information
fkrauthan-hyperwallet committed Jun 30, 2016
1 parent 8225d68 commit 9a47e4c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Changelog
=========


0.0.1 (in progress)
0.2.0 (in progress)
-------------------

- First release
0.1.0 (2016-06-30)
------------------

- Initial release
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hyperwallet-sdk",
"version": "0.0.1",
"version": "0.1.0",
"description": "A library to manage users, transfer methods and payments through the Hyperwallet API",
"main": "dist/index.js",
"dependencies": {
Expand Down
17 changes: 17 additions & 0 deletions test/Hyperwallet.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,23 @@ describe("Hyperwallet", () => {
});
});

//--------------------------------------
// TLS verification
//--------------------------------------

describe("listUsers()", () => {
it("should not have any TLS issues", (cb) => {
const client = new Hyperwallet({
username: "test-username",
password: "test-password",
});
client.listUsers({}, (err, body, res) => {
res.status.should.be.equal(401);
cb();
});
});
});

//--------------------------------------
// Users
//--------------------------------------
Expand Down

0 comments on commit 9a47e4c

Please sign in to comment.