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
|
@@ -1245,14 +1245,19 @@ var ApisPracticeManager = /*#__PURE__*/function () {
|
|
|
1245
1245
|
return function authTokenFunc() {
|
|
1246
1246
|
return _ref.apply(this, arguments);
|
|
1247
1247
|
};
|
|
1248
|
-
}(); //
|
|
1248
|
+
}(); // Initialize the M2M token
|
|
1249
1249
|
|
|
1250
1250
|
|
|
1251
|
+
_context2.next = 7;
|
|
1252
|
+
return authTokenFunc();
|
|
1253
|
+
|
|
1254
|
+
case 7:
|
|
1255
|
+
// Set the refresh tokens callback
|
|
1251
1256
|
newPracticeInstance.apiService.setAuthRefreshFn(authTokenFunc);
|
|
1252
1257
|
this.practiceInstances.set(practiceUuid, newPracticeInstance);
|
|
1253
1258
|
return _context2.abrupt("return", newPracticeInstance);
|
|
1254
1259
|
|
|
1255
|
-
case
|
|
1260
|
+
case 10:
|
|
1256
1261
|
case "end":
|
|
1257
1262
|
return _context2.stop();
|
|
1258
1263
|
}
|