@emilgroup/partner-sdk 1.0.1-beta.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/partner-sdk@1.0.1-beta.0 --save
20
+ npm install @emilgroup/partner-sdk@1.0.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk@1.0.1-beta.0
24
+ yarn add @emilgroup/partner-sdk@1.0.1
25
25
  ```
26
26
 
27
27
  And then you can import `PartnersApi`.
package/base.ts CHANGED
@@ -87,7 +87,6 @@ export class BaseAPI {
87
87
  if (configuration) {
88
88
  this.configuration = configuration;
89
89
  this.basePath = configuration.basePath || this.basePath;
90
- this.configuration.accessToken = this.tokenData.accessToken ? `Bearer ${this.tokenData.accessToken}` : '';
91
90
  } else {
92
91
  const { accessToken, username } = this.tokenData;
93
92
 
package/dist/base.js CHANGED
@@ -125,7 +125,6 @@ var BaseAPI = /** @class */ (function () {
125
125
  if (configuration) {
126
126
  this.configuration = configuration;
127
127
  this.basePath = configuration.basePath || this.basePath;
128
- this.configuration.accessToken = this.tokenData.accessToken ? "Bearer ".concat(this.tokenData.accessToken) : '';
129
128
  }
130
129
  else {
131
130
  var _a = this.tokenData, accessToken = _a.accessToken, username = _a.username;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/partner-sdk",
3
- "version": "1.0.1-beta.0",
3
+ "version": "1.0.1",
4
4
  "description": "OpenAPI client for @emilgroup/partner-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -21,7 +21,6 @@
21
21
  "axios": "^0.27.2"
22
22
  },
23
23
  "devDependencies": {
24
-
25
24
  "typescript": "^4.0"
26
25
  }
27
26
  }