Skip to content

Commit

Permalink
Merge pull request #31 from PelagusWallet/fix-window-provider
Browse files Browse the repository at this point in the history
Bugfix: window-provider should work for localhost urls
  • Loading branch information
jdowning100 authored Aug 22, 2023
2 parents 61a67be + 3546f1a commit 4fbdb54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions background/redux-slices/migrations/to-16.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ export default (prevState: Record<string, unknown>): NewState => {
if (chainID === "ids" || chainID === "entities") {
return
}
Object.keys(typedPrevState.activities[address][chainID].entities).forEach(
Object.keys(typedPrevState.activities[address][chainID].entities??{}).forEach(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
(_) => {
Object.values(
typedPrevState.activities[address][chainID].entities
typedPrevState.activities[address][chainID].entities??{}
).forEach((activityItem) => {
const { annotation } = activityItem
if (
Expand Down
2 changes: 1 addition & 1 deletion manifest/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"web_accessible_resources": [
{
"resources": ["window-provider.js"],
"matches": ["https://*/*"]
"matches": ["<all_urls>"]
}
],
"content_scripts": [
Expand Down

0 comments on commit 4fbdb54

Please sign in to comment.