@swype-org/react-sdk 0.2.24 → 0.2.26
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/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -85,7 +85,7 @@ var wagmiConfig = wagmi.createConfig({
|
|
|
85
85
|
[chains.mainnet.id]: wagmi.http(),
|
|
86
86
|
[chains.arbitrum.id]: wagmi.http(),
|
|
87
87
|
[chains.base.id]: wagmi.http(),
|
|
88
|
-
[chains.polygon.id]: wagmi.http(),
|
|
88
|
+
[chains.polygon.id]: wagmi.http("https://polygon-bor-rpc.publicnode.com"),
|
|
89
89
|
[chains.bsc.id]: wagmi.http(),
|
|
90
90
|
[chains.baseSepolia.id]: wagmi.http()
|
|
91
91
|
}
|
|
@@ -9440,13 +9440,14 @@ function useGuestTransferHandlers(deps) {
|
|
|
9440
9440
|
from: sender,
|
|
9441
9441
|
to: bridgeStep.to,
|
|
9442
9442
|
data: bridgeStep.data,
|
|
9443
|
-
value: bridgeStep.value
|
|
9443
|
+
value: `0x${BigInt(bridgeStep.value || "0").toString(16)}`
|
|
9444
9444
|
}]
|
|
9445
9445
|
});
|
|
9446
9446
|
console.info(`[blink-sdk] type=guest Bridge step ${stepIdx + 1} tx sent: ${txHash}`);
|
|
9447
9447
|
setBridgePhase("sending");
|
|
9448
9448
|
await core.waitForTransactionReceipt(wagmiConfig2, {
|
|
9449
|
-
hash: txHash
|
|
9449
|
+
hash: txHash,
|
|
9450
|
+
timeout: 6e4
|
|
9450
9451
|
});
|
|
9451
9452
|
lastTxHash = txHash;
|
|
9452
9453
|
}
|