Comparing version 1.1.1 to 1.2.0
@@ -6,5 +6,4 @@ const contactAddEndpoint = (client) => { | ||
name: endpoint, | ||
add: data => | ||
client.dispatch.post(`${endpoint}_add`, data) | ||
.then(res => res.data), | ||
add: data => client.dispatch.post(`${endpoint}_add`, data) | ||
.then(res => res.data), | ||
} | ||
@@ -11,0 +10,0 @@ } |
@@ -6,5 +6,4 @@ const listsEndpoint = (client) => { | ||
name: endpoint, | ||
get: () => | ||
client.dispatch.get(endpoint) | ||
.then(res => res.data), | ||
get: () => client.dispatch.get(endpoint) | ||
.then(res => res.data), | ||
} | ||
@@ -11,0 +10,0 @@ } |
{ | ||
"name": "rejoiner", | ||
"description": "Rejoiner REST API client wrapper for Node.js", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"main": "lib/rejoiner.js", | ||
@@ -27,12 +27,12 @@ "author": "Sascha Bratton <sascha@brattonbratton.com>", | ||
"dependencies": { | ||
"axios": "^0.16.2", | ||
"axios": ">=0.18.1", | ||
"graceful-fs": "^4.1.11", | ||
"lodash": "^4.17.4" | ||
"lodash": "^4.17.13" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^4.9.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-import": "^2.7.0", | ||
"eslint": "^5.3.0", | ||
"eslint-config-airbnb-base": "^13.2.0", | ||
"eslint-plugin-import": "^2.17.2", | ||
"husky": "^0.14.3" | ||
} | ||
} |
6682
9
95
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.9(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removedaxios@0.16.2(transitive)
- Removedis-buffer@1.1.6(transitive)
Updatedaxios@>=0.18.1
Updatedlodash@^4.17.13