oro-sdk 2.19.1 → 2.19.2
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.cjs.development.js +1 -1
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +1 -1
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
@@ -784,7 +784,10 @@ export class OroClient {
|
|
784
784
|
// retrieves the consult lockbox from the vault directly if it exists
|
785
785
|
// Note: will work only if the filter being applied is exclusively a consult id
|
786
786
|
const grantsByConsultLockbox = (
|
787
|
-
await this.vaultClient.vaultIndexGet(
|
787
|
+
await this.vaultClient.vaultIndexGet(
|
788
|
+
[IndexKey.ConsultationLockbox],
|
789
|
+
filter ? [filter.consultationId] : undefined
|
790
|
+
)
|
788
791
|
)[IndexKey.ConsultationLockbox]
|
789
792
|
const decryptedConsults = decryptConsultLockboxGrants(grantsByConsultLockbox ?? [], this.rsa)
|
790
793
|
if (decryptedConsults.length > 0) {
|