Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @types/webextension-polyfill to ^0.12.0 #514

Merged
merged 6 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion esbuild/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@
scripts: [json.background.service_worker]
}
json.content_scripts?.forEach((contentScript) => {
// @ts-expect-error firefox doesn't support execution context yet
raducristianpopa marked this conversation as resolved.
Show resolved Hide resolved
// TODO: Remoe this when Firefox supports `world` - at least last 10

Check warning on line 149 in esbuild/plugins.ts

View workflow job for this annotation

GitHub Actions / Lint

Unknown word (Remoe)
// version
sidvishnoi marked this conversation as resolved.
Show resolved Hide resolved
contentScript.world = undefined
})
delete json.minimum_chrome_version
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@types/webextension-polyfill": "^0.10.7",
"@types/webextension-polyfill": "^0.12.0",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"archiver": "^7.0.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/background/services/openPayments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class OpenPaymentsService {
const data = await this.browser.storage.local.get(['privateKey', 'keyId'])

if (data.privateKey && data.keyId) {
return data as KeyInformation
return data as unknown as KeyInformation
}

throw new Error(
Expand Down
2 changes: 1 addition & 1 deletion src/background/services/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class StorageService {
await storage.set(data)
await storage.remove(deleteKeys)
}
return data as Storage
return data as unknown as Storage
}

async getWMState(): Promise<boolean> {
Expand Down
Loading