@finbaze/sdk
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -48,3 +48,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
throw json; | ||
this.configuration = new Configuration(Object.assign(Object.assign({}, this.configuration), { accessToken: json.access_token })); | ||
this.configuration = new Configuration({ | ||
basePath: this.configuration.basePath, | ||
accessToken: json.access_token, | ||
}); | ||
return json; | ||
@@ -51,0 +54,0 @@ }); |
@@ -51,3 +51,6 @@ "use strict"; | ||
throw json; | ||
this.configuration = new api_1.Configuration(Object.assign(Object.assign({}, this.configuration), { accessToken: json.access_token })); | ||
this.configuration = new api_1.Configuration({ | ||
basePath: this.configuration.basePath, | ||
accessToken: json.access_token, | ||
}); | ||
return json; | ||
@@ -54,0 +57,0 @@ }); |
{ | ||
"name": "@finbaze/sdk", | ||
"private": false, | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.js", |
@@ -54,5 +54,5 @@ import { Configuration, DefaultApi, BaseAPI } from '@finbaze/api'; | ||
this.configuration = new Configuration({ | ||
...this.configuration, | ||
basePath: this.configuration.basePath, | ||
accessToken: json.access_token, | ||
}) | ||
}); | ||
@@ -59,0 +59,0 @@ return json; |
4941289
123692