@emilgroup/payment-sdk 1.14.1-beta.21 → 1.14.1-beta.29

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/payment-sdk@1.14.1-beta.21 --save
20
+ npm install @emilgroup/payment-sdk@1.14.1-beta.29 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.14.1-beta.21
24
+ yarn add @emilgroup/payment-sdk@1.14.1-beta.29
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
package/base.ts CHANGED
@@ -165,6 +165,10 @@ export class BaseAPI {
165
165
  ...this.tokenData
166
166
  });
167
167
  }
168
+
169
+ this.storeTokenData({
170
+ ...this.tokenData
171
+ });
168
172
  }
169
173
 
170
174
  async switchWorkspace(targetWorkspace: string): Promise<void> {
package/dist/base.js CHANGED
@@ -189,7 +189,9 @@ var BaseAPI = /** @class */ (function () {
189
189
  // Only store if no workspace switch (since switchWorkspace will store after switching)
190
190
  this.storeTokenData(__assign({}, this.tokenData));
191
191
  _b.label = 4;
192
- case 4: return [2 /*return*/];
192
+ case 4:
193
+ this.storeTokenData(__assign({}, this.tokenData));
194
+ return [2 /*return*/];
193
195
  }
194
196
  });
195
197
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.14.1-beta.21",
3
+ "version": "1.14.1-beta.29",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [