Skip to content

Commit 5397131

Browse files
dependabot[bot]sosnovskyioanatflowcrypt
authored
build(deps): bump glob from 10.4.5 to 10.5.0 (#6117)
* build(deps): bump glob from 10.4.5 to 10.5.0 Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0. - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](isaacs/node-glob@v10.4.5...v10.5.0) --- updated-dependencies: - dependency-name: glob dependency-version: 10.5.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * fix: test --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Roma Sosnovsky <[email protected]> Co-authored-by: Ioan Moldovan <[email protected]>
1 parent 7466a95 commit 5397131

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

extension/js/common/platform/store/contact-store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ export class ContactStore extends AbstractStore {
550550
if (!db) {
551551
// relay op through background process
552552
// eslint-disable-next-line
553-
return await BrowserMsg.send.bg.await.db({ f: 'getOneWithAllPubkeys', args: [email] });
553+
return await BrowserMsg.retryOnBgNotReadyErr(() => BrowserMsg.send.bg.await.db({ f: 'getOneWithAllPubkeys', args: [email] }));
554554
}
555555
const tx = db.transaction(['emails', 'pubkeys', 'revocations'], 'readonly');
556556
const pubkeys: Pubkey[] = [];
@@ -608,7 +608,7 @@ export class ContactStore extends AbstractStore {
608608
public static async getPubkey(db: IDBDatabase | undefined, { id, family }: KeyIdentity): Promise<string | undefined> {
609609
if (!db) {
610610
// relay op through background process
611-
return (await BrowserMsg.send.bg.await.db({ f: 'getPubkey', args: [{ id, family }] })) as string | undefined;
611+
return (await BrowserMsg.retryOnBgNotReadyErr(() => BrowserMsg.send.bg.await.db({ f: 'getPubkey', args: [{ id, family }] }))) as string | undefined;
612612
}
613613
const internalFingerprint = ContactStore.getPubkeyId({ id, family });
614614
const tx = db.transaction(['pubkeys'], 'readonly');

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)