@spirobel/monero-wallet-api 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scanning-syncing/backgroundWorker.d.ts +1 -1
- package/dist/scanning-syncing/backgroundWorker.js +15 -5
- package/dist/scanning-syncing/scanSettings.js +4 -4
- package/dist/scanning-syncing/scanresult/scanCacheOpened.js +1 -1
- package/dist/scanning-syncing/worker-entrypoints/worker.js +1 -1
- package/dist/tools/monero-tools.js +3 -1
- package/package.json +1 -1
|
@@ -129,7 +129,9 @@ export const OPEN_DOMAINS = ["monerochan.city"];
|
|
|
129
129
|
export async function checkToolInvocationValidity(invo) {
|
|
130
130
|
// send 001 fetch from destination domain to check if the address is valid
|
|
131
131
|
if (invo.tool.tool_id == "001") {
|
|
132
|
-
const
|
|
132
|
+
const link = invo[invo.found_in];
|
|
133
|
+
const invo_link = new URL(link);
|
|
134
|
+
const checkUrl = `${invo_link.origin}/monerochan001/${invo.tool.payload.address}`;
|
|
133
135
|
try {
|
|
134
136
|
if (invo.destination_domain === OPEN_DOMAINS[0]) {
|
|
135
137
|
return "unverified";
|