From d158604e0e8c9ed9fa965fa07eb5af4e24d2bf35 Mon Sep 17 00:00:00 2001 From: Alex Lakatos Date: Fri, 17 Jan 2020 15:24:14 +0000 Subject: [PATCH] update package & notes for release --- CHANGELOG.md | 3 +++ README.md | 6 +++++- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec5239ae..38f19e0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 2.60 +- ADDED: Change host via the config object, using `apiHost` & `restHost` + ## 2.5.3 - FIXED: URI Encode Signed SMS Message diff --git a/README.md b/README.md index a4f35ed4..90f9c26a 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,11 @@ Options are: warn: function() {args...} }, // Set a custom timeout for requests to Nexmo in milliseconds. Defaults to the standard for Node http requests, which is 120,000 ms. - timeout: integer + timeout: integer, + // Set a custom host for requests instead of api.nexmo.com + apiHost: string, + // Set a custom host for requests instead of rest.nexmo.com + restHost: string } ``` diff --git a/package-lock.json b/package-lock.json index e0869fd0..3fa4df80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nexmo", - "version": "2.5.3", + "version": "2.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7ea9bed6..e4c32705 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nexmo", "author": "nexmo", - "version": "2.5.3", + "version": "2.6.0", "main": "lib/Nexmo", "types": "./typings/index.d.ts", "keywords": [