@chainflip/rpc 2.2.0-alpha.6 → 2.2.0-alpha.7

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/parsers.mjs CHANGED
@@ -336,11 +336,12 @@ const requestSwapParameterEncoding = z.discriminatedUnion("chain", [
336
336
  }),
337
337
  evmBrokerRequestSwapParameterEncoding.extend({ chain: z.literal("Ethereum") }),
338
338
  evmBrokerRequestSwapParameterEncoding.extend({ chain: z.literal("Arbitrum") }),
339
- evmBrokerRequestSwapParameterEncoding.extend({
339
+ z.object({
340
340
  chain: z.literal("Tron"),
341
341
  to: tronAddress,
342
342
  calldata: z.string(),
343
- note: hexString
343
+ note: hexString,
344
+ source_token_address: tronAddress.optional()
344
345
  }),
345
346
  z.object({
346
347
  chain: z.literal("Solana"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "2.2.0-alpha.6",
3
+ "version": "2.2.0-alpha.7",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "2.2.0-alpha.1",