@nangohq/node
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -26,3 +26,3 @@ import axios from 'axios'; | ||
async getToken(providerConfigKey, connectionId) { | ||
let response = await this.getConnection(providerConfigKey, connectionId); | ||
let response = await this.getConnectionDetails(providerConfigKey, connectionId); | ||
switch (response.data.credentials.type) { | ||
@@ -41,3 +41,3 @@ case 'OAUTH2': | ||
async getRawTokenResponse(providerConfigKey, connectionId) { | ||
let response = await this.getConnection(providerConfigKey, connectionId); | ||
let response = await this.getConnectionDetails(providerConfigKey, connectionId); | ||
return response.data.credentials.raw; | ||
@@ -44,0 +44,0 @@ } |
{ | ||
"name": "@nangohq/node", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Nango's Node client.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6382