@radio-retail/api-client
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -24,2 +24,7 @@ const getData = require('../utils/get-raw-data'); | ||
getContactById(clientId, contactId, params, config = {}) { | ||
config.params = params; | ||
return instance.get(`${baseRoute}/${clientId}/contacts/${contactId}`, config).then(getData(config.raw)); | ||
}, | ||
getClientById(clientId) { | ||
@@ -26,0 +31,0 @@ return instance.get(`${baseRoute}/${clientId}`).then(res => { |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
8460
215