oro-sdk 3.3.1 → 3.4.0

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": "3.3.1",
2
+ "version": "3.4.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -54,7 +54,7 @@
54
54
  "form-data": "^4.0.0",
55
55
  "formdata-node": "^4.3.1",
56
56
  "idb-keyval": "^5.0.6",
57
- "oro-sdk-apis": "1.39.2",
57
+ "oro-sdk-apis": "1.40.0",
58
58
  "oro-toolbox": "0.0.6",
59
59
  "uuid": "^8.3.2"
60
60
  }
@@ -184,11 +184,12 @@ export async function registerPatient(
184
184
 
185
185
  await Promise.all([...grantPromises, ...consultIndexPromises])
186
186
 
187
- await buildConsultSearchIndex(consult, workflow, oroClient).catch((err) => {
188
- console.error('[SDK: registration] personal information not found or another error occured during search indexing', err)
189
- if(retry <= 1) return // this statement is to avoid failing the registration due to the failure in search indexing the consult, this practically implements a soft retry
190
- errorsThrown.push(err)
191
- })
187
+ // TODO: uncomment when search is deployed in prod
188
+ // await buildConsultSearchIndex(consult, workflow, oroClient).catch((err) => {
189
+ // console.error('[SDK: registration] personal information not found or another error occured during search indexing', err)
190
+ // if(retry <= 1) return // this statement is to avoid failing the registration due to the failure in search indexing the consult, this practically implements a soft retry
191
+ // errorsThrown.push(err)
192
+ // })
192
193
 
193
194
  if (errorsThrown.length > 0)
194
195
  throw errorsThrown