Commit 9f3b4060 authored by Max Alekseenko's avatar Max Alekseenko Committed by GitHub

Update dappscout-iframe lib (#2738)

update dappscout-iframe lib
parent 264f1f85
......@@ -10,7 +10,7 @@ import * as mixpanel from 'lib/mixpanel/index';
type SendTransactionArgs = {
chainId?: number;
mode?: 'prepared';
to: `0x${ string }`;
to: `0x${ string }` | null;
};
export type SignTypedDataArgs<
......@@ -45,7 +45,7 @@ export default function useMarketplaceWallet(appId: string) {
const sendTransaction = useCallback(async(transaction: SendTransactionArgs) => {
await switchNetwork();
const activityResponse = await trackTransaction(address ?? '', transaction.to);
const activityResponse = await trackTransaction(address ?? '', transaction.to ?? '');
const tx = await sendTransactionAsync(transaction);
if (activityResponse?.token) {
await trackTransactionConfirm(tx, activityResponse.token);
......
......@@ -10786,10 +10786,10 @@ damerau-levenshtein@^1.0.8:
resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7"
integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==
dappscout-iframe@0.2.5:
version "0.2.5"
resolved "https://registry.yarnpkg.com/dappscout-iframe/-/dappscout-iframe-0.2.5.tgz#675738a570a5d1f9037ebc87ebf3c07443080bd6"
integrity sha512-MY2WKyU1sF11YlyM5HPEbJXZB5NR4P2QMh9Ilcab1T1vioLcab9uIu8bXU9elVa904U8pyfTeRMhYWW4TzG5wg==
dappscout-iframe@0.2.6:
version "0.2.6"
resolved "https://registry.yarnpkg.com/dappscout-iframe/-/dappscout-iframe-0.2.6.tgz#2d3411f1f24ee28b0227fdbd78eb6fc7f832c828"
integrity sha512-RmAa8qo8a8YZeffJxIUefU5WG8hwztDFso9W/4fGnGdvQsC+xJ3HYrcTCo08ASdRuaYahEaVkVrebBEsGAkTMQ==
dependencies:
react "18.3.1"
react-dom "18.3.1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment