oro-sdk 5.13.3 → 5.13.5

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.13.3",
2
+ "version": "5.13.5",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -55,7 +55,7 @@
55
55
  "form-data": "^4.0.0",
56
56
  "formdata-node": "^4.3.1",
57
57
  "idb-keyval": "^5.0.6",
58
- "oro-sdk-apis": "^4.3.2",
58
+ "oro-sdk-apis": "^5.13.5",
59
59
  "oro-toolbox": "0.0.6",
60
60
  "uuid": "^8.3.2"
61
61
  }
@@ -17,12 +17,12 @@ export async function getOrCreatePatientConsultationUuid(
17
17
  )
18
18
  if (payment && payment.uuidConsult) {
19
19
  return oroClient.consultClient.getConsultByUUID(payment.uuidConsult).catch((err) => {
20
- console.error('Error while retrieving consult', err)
20
+ console.error('Error while retrieving consult from linked payment infos', err)
21
21
  throw err
22
22
  })
23
23
  } else {
24
24
  return await oroClient.consultClient.consultCreate(consult).catch((err) => {
25
- console.error('Error while creating consult', err)
25
+ console.error('Error while creating consult after a payment found with no consult linked', err)
26
26
  throw err
27
27
  })
28
28
  }