@riftresearch/sdk 0.12.0 → 0.12.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/index.d.ts CHANGED
@@ -304,6 +304,7 @@ interface SupportedModes {
304
304
  * - BTC → cbBTC: both modes supported
305
305
  * - BTC → ERC20 (non-cbBTC): only exact_input (Rift doesn't support exact_output for chained swaps)
306
306
  * - ERC20 → BTC: both modes supported
307
+ * - EVM → EVM (same chain): both modes supported
307
308
  */
308
309
  declare function getSupportedModes(from: Currency, to: Currency): SupportedModes;
309
310
  import { Account, PublicClient, Transport, WalletClient } from "viem";
package/dist/index.js CHANGED
@@ -142,7 +142,7 @@ function getSupportedModes(from, to) {
142
142
  return { exactInput: true, exactOutput: true };
143
143
  }
144
144
  if (route.type === "dex_monochain") {
145
- return { exactInput: true, exactOutput: false };
145
+ return { exactInput: true, exactOutput: true };
146
146
  }
147
147
  if (route.direction === "to_btc") {
148
148
  return { exactInput: true, exactOutput: true };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riftresearch/sdk",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "SDK for swapping between bitcoin and evm chains",
5
5
  "license": "MIT",
6
6
  "files": [