@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.js CHANGED
@@ -82,7 +82,7 @@ var wagmiConfig = createConfig({
82
82
  [mainnet.id]: http(),
83
83
  [arbitrum.id]: http(),
84
84
  [base.id]: http(),
85
- [polygon.id]: http(),
85
+ [polygon.id]: http("https://polygon-bor-rpc.publicnode.com"),
86
86
  [bsc.id]: http(),
87
87
  [baseSepolia.id]: http()
88
88
  }
@@ -9437,13 +9437,14 @@ function useGuestTransferHandlers(deps) {
9437
9437
  from: sender,
9438
9438
  to: bridgeStep.to,
9439
9439
  data: bridgeStep.data,
9440
- value: bridgeStep.value
9440
+ value: `0x${BigInt(bridgeStep.value || "0").toString(16)}`
9441
9441
  }]
9442
9442
  });
9443
9443
  console.info(`[blink-sdk] type=guest Bridge step ${stepIdx + 1} tx sent: ${txHash}`);
9444
9444
  setBridgePhase("sending");
9445
9445
  await waitForTransactionReceipt(wagmiConfig2, {
9446
- hash: txHash
9446
+ hash: txHash,
9447
+ timeout: 6e4
9447
9448
  });
9448
9449
  lastTxHash = txHash;
9449
9450
  }