opentdf / web-sdk

OpenTDF JavaScript SDK
BSD 3-Clause Clear License
0 stars 1 forks source link

fix: keySplitInfo Promise.any Promise.all #379

Closed pflynn-virtru closed 2 weeks ago

pflynn-virtru commented 3 weeks ago

Parallelize the KAS key rewrap attempts within unwrapKey for improved efficiency.

OR Promise.any All potential KAS sources are now processed concurrently, and the method uses the first successful result, enhancing performance and robustness.

AND Promise.all

Errors are collected and the most relevant one is thrown if all attempts fail.

"target": "es2021",

DSP-287

github-actions[bot] commented 3 weeks ago

If these changes look good, signoff on them with:

git pull && git commit --amend --signoff && git push --force-with-lease origin

If they aren't any good, please remove them with:

git pull && git reset --hard HEAD~1 && git push --force-with-lease origin
github-actions[bot] commented 3 weeks ago

If these changes look good, signoff on them with:

git pull && git commit --amend --signoff && git push --force-with-lease origin

If they aren't any good, please remove them with:

git pull && git reset --hard HEAD~1 && git push --force-with-lease origin
sonarcloud[bot] commented 2 weeks ago

Quality Gate Failed Quality Gate failed

Failed conditions
56.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud