Skip to content

Commit

Permalink
pull master
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed Dec 4, 2024
2 parents d78e57a + 0b6521f commit 622919b
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 15 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
1 Pedro Filho adding correct nvm version (#1075)
1 roiLeo fix(RemoveAuth): icon cursor & size (#1082)
1 Stéphane P README Fix typo (#700)
1 Tiến Nguyễn Khắc fix: extension does not get injected on page load (#1486)
1 Tony Chen fix & add more zh transalation (#1160)
1 Tore19 Add Stafi network (#454)
1 Vlad Proshchavaiev Update extension with Subsocial SS58 included (#416)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"type": "module",
"version": "0.57.1",
"versions": {
"git": "0.56.3-2-x",
"git": "0.56.3-3-x",
"npm": "0.56.2"
},
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension-base', path: 'auto', type: 'auto', version: '0.56.3-2-x' };
export const packageInfo = { name: '@polkadot/extension-base', path: 'auto', type: 'auto', version: '0.56.3-3-x' };
2 changes: 1 addition & 1 deletion packages/extension-chains/src/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension-chains', path: 'auto', type: 'auto', version: '0.56.3-2-x' };
export const packageInfo = { name: '@polkadot/extension-chains', path: 'auto', type: 'auto', version: '0.56.3-3-x' };
2 changes: 1 addition & 1 deletion packages/extension-compat-metamask/src/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension-compat-metamask', path: 'auto', type: 'auto', version: '0.56.3-2-x' };
export const packageInfo = { name: '@polkadot/extension-compat-metamask', path: 'auto', type: 'auto', version: '0.56.3-3-x' };
2 changes: 1 addition & 1 deletion packages/extension-dapp/src/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension-dapp', path: 'auto', type: 'auto', version: '0.56.3-2-x' };
export const packageInfo = { name: '@polkadot/extension-dapp', path: 'auto', type: 'auto', version: '0.56.3-3-x' };
2 changes: 1 addition & 1 deletion packages/extension-inject/src/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension-inject', path: 'auto', type: 'auto', version: '0.56.3-2-x' };
export const packageInfo = { name: '@polkadot/extension-inject', path: 'auto', type: 'auto', version: '0.56.3-3-x' };
2 changes: 1 addition & 1 deletion packages/extension/src/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension', path: 'auto', type: 'auto', version: '0.56.3-2-x' };
export const packageInfo = { name: '@polkadot/extension', path: 'auto', type: 'auto', version: '0.56.3-3-x' };
10 changes: 2 additions & 8 deletions packages/extension/src/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,5 @@ window.addEventListener('message', ({ data, source }: Message): void => {
}
});

redirectIfPhishing().then((gotRedirected) => {
if (!gotRedirected) {
inject();
}
}).catch((e) => {
console.warn(`Unable to determine if the site is in the phishing list: ${(e as Error).message}`);
inject();
});
inject();
redirectIfPhishing().catch((e) => console.warn(`Unable to determine if the site is in the phishing list: ${(e as Error).message}`));

0 comments on commit 622919b

Please sign in to comment.