Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lifi/types",
"version": "17.85.0",
"version": "17.85.0-beta.2",
"description": "Types for the LI.FI stack",
"keywords": [
"sdk",
Expand Down
9 changes: 9 additions & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,15 @@ export interface RouteOptions extends RouteOptionsBase {
* When provided, this preset will override other route options with optimized settings */
preset?: string

/** Opt into amount-flexible routing where the underlying tool supports it.
* Instead of a fixed minimum output, an amount-flexible route carries a signed
* rate, deposit bounds and an expiry alongside a deposit address, letting the
* user fund a variable amount within those bounds. Currently honored only by
* cross-chain Smart Deposit Address routes; ignored by tools that do not
* support it.
* @default false */
amountFlexible?: boolean

/** Whether the user wants to insure their tx
* @deprecated This property is deprecated and will be removed in future versions. */
insurance?: boolean
Expand Down
Loading