@circle-fin/x402-batching 3.5.0 → 4.0.0: deprecates 7 API(s)
Compared with 3.5.0: `client:GatewayClient.getUsdcBalance`, `client:GatewayClient.getBalance`, `client:GatewayClient.transfer`, `client:ChainConfig.chain.custom`, `client:GatewayClient.publicClient.getBytecode`, and 2 more. 1 newly deprecated.
registry.npmjs.orgquote checked
- 4.0.0from 3.5.0
- Your code7 things to find
Nemotron fixes
In its own wordsread from the page
- client:GatewayClient.getUsdcBalance: Get the USDC balance of the account (not in Gateway). Use `getBalances()` instead. Its `wallet` is the balance of the client's token.
- client:GatewayClient.getBalance: Get the Gateway balance for an address. Use `getBalances()` instead for a unified view
- client:GatewayClient.transfer: Transfer the token to any supported chain (alias for withdraw with destination chain). Use `withdraw({ chain })` instead
- client:ChainConfig.chain.custom: Custom chain data. use `.extend` instead.
- client:GatewayClient.publicClient.getBytecode: Use `getCode` instead.
- client:GatewayClient.publicClient.simulate: Use `simulateBlocks` instead.
- client:ChainConfig.chain.fees.defaultPriorityFee: Use `maxPriorityFeePerGas` instead.
What Teire looks for in your code
- client:GatewayClient.getUsdcBalance (ts)
- client:GatewayClient.getBalance (ts)
- client:GatewayClient.transfer (ts)
- client:ChainConfig.chain.custom (ts)
- client:GatewayClient.publicClient.getBytecode (ts)
- client:GatewayClient.publicClient.simulate (ts)
- client:ChainConfig.chain.fees.defaultPriorityFee (ts)
Does it reach your code?