From 9dc0ee420c9322e53be5048b824f4bf3ff166b3d Mon Sep 17 00:00:00 2001 From: Seth Gransky Date: Wed, 30 Oct 2019 15:57:54 -0500 Subject: [PATCH 1/4] Add node 13 to travis. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 45895a6..d34ef43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ node_js: - "10" - "11" - "12" + - "13" before_install: - npm install -g npm before_script: From 02ba7ad978834e71888e3ab29cd886eee7f8a8e0 Mon Sep 17 00:00:00 2001 From: Seth Gransky Date: Thu, 7 Nov 2019 16:50:10 -0600 Subject: [PATCH 2/4] Update example data. --- examples/address_similarity.js | 14 +++++++------- examples/categories.js | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/address_similarity.js b/examples/address_similarity.js index 4bfb57e..ae797a9 100644 --- a/examples/address_similarity.js +++ b/examples/address_similarity.js @@ -13,13 +13,13 @@ var args = parser.parseArgs(); var api = new Api(args.key, args.url); var endpoint = "addressSimilarity"; -api.parameters.address1 = {"city": "Cambridge"} -api.parameters.address2 = {"city": "cambridge", "state": "ma"} +api.parameters.address1 = {"houseNumber": "1600", "road": "Pennsylvania Ave NW", "city": "Washington", "state": "DC", "postCode": "20500"} +api.parameters.address2 = {"houseNumber": "160", "road": "Pennsilvana Avenue", "city": "Washington", "state": "D.C.", "postCode": "20500"} api.rosette(endpoint, function(err, res){ - if(err){ - console.log(err); - } else { - console.log(JSON.stringify(res, null, 2)); - } + if(err){ + console.log(err); + } else { + console.log(JSON.stringify(res, null, 2)); + } }); diff --git a/examples/categories.js b/examples/categories.js index 58b9897..80fd2b9 100644 --- a/examples/categories.js +++ b/examples/categories.js @@ -13,13 +13,13 @@ var args = parser.parseArgs(); var api = new Api(args.key, args.url); var endpoint = "categories"; -var categories_url_data = "https://onlocationvacations.com/2015/03/05/the-new-ghostbusters-movie-begins-filming-in-boston-in-june/"; +var categories_url_data = "https://onlocationvacations.com/2018/02/06/downton-abbey-exhibition-extended-april-2-nyc/"; api.parameters.contentUri = categories_url_data; api.rosette(endpoint, function(err, res){ - if(err){ - console.log(err); - } else { - console.log(JSON.stringify(res, null, 2)); - } + if(err){ + console.log(err); + } else { + console.log(JSON.stringify(res, null, 2)); + } }); From 860c1f8381fe41cbe441b63e58cf86dd5036a4c1 Mon Sep 17 00:00:00 2001 From: Ian Redpath Date: Mon, 8 Jun 2020 14:53:17 -0400 Subject: [PATCH 3/4] RLPNC-5319: update address example --- examples/address_similarity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/address_similarity.js b/examples/address_similarity.js index ae797a9..8e23c8f 100644 --- a/examples/address_similarity.js +++ b/examples/address_similarity.js @@ -14,7 +14,7 @@ var api = new Api(args.key, args.url); var endpoint = "addressSimilarity"; api.parameters.address1 = {"houseNumber": "1600", "road": "Pennsylvania Ave NW", "city": "Washington", "state": "DC", "postCode": "20500"} -api.parameters.address2 = {"houseNumber": "160", "road": "Pennsilvana Avenue", "city": "Washington", "state": "D.C.", "postCode": "20500"} +api.parameters.address2 = "160 Pennsilvana Avenue, Washington, D.C., 20500" api.rosette(endpoint, function(err, res){ if(err){ From bbbb7721f07271eb0408cd3036530c827152d237 Mon Sep 17 00:00:00 2001 From: "jkho@basistech.com" Date: Tue, 16 Jun 2020 19:45:12 +0000 Subject: [PATCH 4/4] Version 1.14.4 --- lib/rosetteRequest.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rosetteRequest.js b/lib/rosetteRequest.js index ce815a5..3af0b45 100644 --- a/lib/rosetteRequest.js +++ b/lib/rosetteRequest.js @@ -28,7 +28,7 @@ var querystring = require('querystring'); * * @type string */ -var BINDING_VERSION = "1.14.3"; +var BINDING_VERSION = "1.14.4"; var USER_AGENT = "rosetteapinode/" + BINDING_VERSION + "/" + process.version; /** diff --git a/package.json b/package.json index c8ecaf1..3e0ffa8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rosette-api", - "version": "1.14.3", + "version": "1.14.4", "description": "Rosette API Node.js client SDK", "main": "index", "directories": {