From e34e0deeff8de26df3c00b1a4edfaa5e081cf8b8 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Tue, 13 Feb 2024 16:14:00 +0000 Subject: [PATCH 1/2] release: v0.29.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5b0185240..b168bf172 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "xverse-web-extension", - "version": "0.29.1", + "version": "0.29.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "xverse-web-extension", - "version": "0.29.1", + "version": "0.29.2", "dependencies": { "@ledgerhq/hw-transport-webusb": "^6.27.13", "@phosphor-icons/react": "^2.0.10", diff --git a/package.json b/package.json index 113637260..e074b71f2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "xverse-web-extension", "description": "A Bitcoin wallet for Web3", - "version": "0.29.1", + "version": "0.29.2", "private": true, "engines": { "node": "^18.18.2" From 03b0c5613d1b3e98109c29df519cd22f9bcb8c33 Mon Sep 17 00:00:00 2001 From: Mahmoud Aboelenein Date: Wed, 14 Feb 2024 11:13:54 +0200 Subject: [PATCH 2/2] prioritize content script injection (#799) --- src/content-scripts/content-script.ts | 2 +- src/manifest.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content-scripts/content-script.ts b/src/content-scripts/content-script.ts index 50e3081eb..d14639542 100644 --- a/src/content-scripts/content-script.ts +++ b/src/content-scripts/content-script.ts @@ -210,7 +210,7 @@ const injectInPageScript = (isPriority) => { inpage.src = chrome.runtime.getURL('inpage.js'); inpage.id = 'xverse-wallet-provider'; inpage.setAttribute('data-is-priority', isPriority ? 'true' : ''); - document.body.appendChild(inpage); + document.head.appendChild(inpage); }; getIsPriorityWallet() diff --git a/src/manifest.json b/src/manifest.json index 65435f911..bbc8b64f6 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -25,6 +25,7 @@ }, "content_scripts": [ { + "run_at": "document_start", "js": ["browser-polyfill.js", "content-script.js"], "matches": ["*://*/*"], "all_frames": true