@matchain/matchid-sdk-react 0.1.55-alpha.0 → 0.1.55-alpha.1
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/{chunk-N7NX7Q7M.mjs → chunk-LTPXS5PV.mjs} +2 -2
- package/dist/{chunk-36M5ROJI.mjs → chunk-SKA35IYC.mjs} +36 -28
- package/dist/chunk-SKA35IYC.mjs.map +1 -0
- package/dist/components/index.js +35 -27
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js +35 -27
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-Es7yJi7T.d.ts → index-6kXyNEXB.d.ts} +1 -0
- package/dist/{index-MsSYZS38.d.mts → index-CB6ZNvzn.d.mts} +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +35 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/ui/index.d.mts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +5 -3
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +1 -1
- package/example/src/pages/Wallet/index.tsx +3 -0
- package/package.json +1 -1
- package/dist/chunk-36M5ROJI.mjs.map +0 -1
- /package/dist/{chunk-N7NX7Q7M.mjs.map → chunk-LTPXS5PV.mjs.map} +0 -0
package/dist/ui/index.mjs
CHANGED
|
@@ -42,6 +42,7 @@ import AssetListModal from "@/pages/Wallet/components/AssetListModal";
|
|
|
42
42
|
import ImportTokenListModal from "@/pages/Wallet/components/ImportTokenListModal";
|
|
43
43
|
import WalletChainListModal from "@/pages/Wallet/components/WalletChainListModal";
|
|
44
44
|
import MatchWallet from "@/pages/Wallet/components/MatchWallet";
|
|
45
|
+
import {ethers} from "ethers";
|
|
45
46
|
|
|
46
47
|
const chainList = [
|
|
47
48
|
mainnet,
|
|
@@ -147,6 +148,8 @@ export default function Wallet() {
|
|
|
147
148
|
}
|
|
148
149
|
const request = await walletClient.prepareTransactionRequest(transaction)
|
|
149
150
|
const res = await evmAccount.signTransaction!(request as TransactionSerializable)
|
|
151
|
+
const tx = ethers.utils.parseTransaction(res);
|
|
152
|
+
console.log('tx',tx)
|
|
150
153
|
setTransactionSign(res)
|
|
151
154
|
} catch (e) {
|
|
152
155
|
console.error(e)
|