oro-sdk-apis 1.17.0 → 1.17.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/dist/oro-sdk-apis.cjs.development.js +7 -2
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +7 -2
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/services/apisPracticeManager.ts +3 -0
package/dist/oro-sdk-apis.esm.js
CHANGED
|
@@ -1239,14 +1239,19 @@ var ApisPracticeManager = /*#__PURE__*/function () {
|
|
|
1239
1239
|
return function authTokenFunc() {
|
|
1240
1240
|
return _ref.apply(this, arguments);
|
|
1241
1241
|
};
|
|
1242
|
-
}(); //
|
|
1242
|
+
}(); // Initialize the M2M token
|
|
1243
1243
|
|
|
1244
1244
|
|
|
1245
|
+
_context2.next = 7;
|
|
1246
|
+
return authTokenFunc();
|
|
1247
|
+
|
|
1248
|
+
case 7:
|
|
1249
|
+
// Set the refresh tokens callback
|
|
1245
1250
|
newPracticeInstance.apiService.setAuthRefreshFn(authTokenFunc);
|
|
1246
1251
|
this.practiceInstances.set(practiceUuid, newPracticeInstance);
|
|
1247
1252
|
return _context2.abrupt("return", newPracticeInstance);
|
|
1248
1253
|
|
|
1249
|
-
case
|
|
1254
|
+
case 10:
|
|
1250
1255
|
case "end":
|
|
1251
1256
|
return _context2.stop();
|
|
1252
1257
|
}
|