Skip to content

Commit

Permalink
fix: wait for recent keys write
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalygashkov committed Jan 6, 2025
1 parent b0f7f4b commit c1e6fc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "azot",
"version": "0.8.2",
"description": "Swiss Army knife for pentesting DRM systems",
"version": "0.8.3",
"description": "The ultimate toolkit for pentesting DRM systems",
"type": "module",
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion src/extension/entrypoints/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineBackground({
const keys = allKeys?.filter((keyInfo) => keyInfo.pssh === initData);
const hasKey = !!keys?.length;
if (hasKey) {
appStorage.recentKeys.setValue(keys);
await appStorage.recentKeys.setValue(keys);
sendResponse();
return;
}
Expand Down

0 comments on commit c1e6fc1

Please sign in to comment.