From c16870a2cfc4b4114d2460416e08f0cab7c7e174 Mon Sep 17 00:00:00 2001 From: Dennis Ploeger Date: Mon, 6 Mar 2017 10:41:59 +0100 Subject: [PATCH] Breaking changes requires a major version --- package.json | 2 +- test/promiseTest.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index bfc5273..f82b547 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-rest-client-promise", - "version": "1.0.2", + "version": "2.0.0", "description": "node-rest-client, but with promises", "main": "index.js", "scripts": { diff --git a/test/promiseTest.js b/test/promiseTest.js index 75a4f52..aa061d7 100644 --- a/test/promiseTest.js +++ b/test/promiseTest.js @@ -7,7 +7,7 @@ var should = chai.should(); describe('node-rest-client-promise', function () { describe('client', function () { it('should generate the promisified methods', function () { - var client = nodeRestPromised.client({}); + var client = nodeRestPromised.Client({}); client.should.hasOwnProperty( 'getPromise', @@ -38,7 +38,7 @@ describe('node-rest-client-promise', function () { it('should provide working promises', function (done) { - var client = nodeRestPromised.client({}); + var client = nodeRestPromised.Client({}); client.getPromise( 'https://www.google.de'