@ambassify/ambassify-client
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -14,4 +14,12 @@ # Changelog | ||
## 3.2.1 | ||
## 3.2.0 | ||
## 3.2.0 | ||
## 3.2.0 | ||
## 3.2.0 | ||
## 3.1.2 | ||
@@ -18,0 +26,0 @@ |
@@ -84,3 +84,3 @@ 'use strict'; | ||
tokenOptions = (0, _extends3.default)({}, tokenOptions, { | ||
grant_type: 'impersonate', | ||
grant_type: 'ambassify:impersonate', | ||
client_id: clientId, | ||
@@ -87,0 +87,0 @@ client_secret: clientSecret |
{ | ||
"name": "@ambassify/ambassify-client", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Base API client library for all Ambassify clients", | ||
@@ -57,3 +57,3 @@ "engines": { | ||
"homepage": "https://github.com/ambassify/api-clients#readme", | ||
"gitHead": "d4c6183700a69a252cb7e13a7831b59960207fd5" | ||
"gitHead": "afdc46d9eac7ba693afb3f037980772658f9c5f2" | ||
} |
@@ -29,3 +29,3 @@ const _get = require('lodash/get'); | ||
...tokenOptions, | ||
grant_type: 'impersonate', | ||
grant_type: 'ambassify:impersonate', | ||
client_id: clientId, | ||
@@ -32,0 +32,0 @@ client_secret: clientSecret, |
@@ -44,3 +44,3 @@ 'use strict'; | ||
.post('/token', { | ||
grant_type: 'impersonate', | ||
grant_type: 'ambassify:impersonate', | ||
client_id: 'ambassify', | ||
@@ -47,0 +47,0 @@ client_secret: 'very-secret', |
43889