diff --git a/CHANGELOG.md b/CHANGELOG.md index a436e096..309a8e72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [18.3.0](https://github.com/lifinance/types/compare/v18.2.0...v18.3.0) (2026-08-27) + + +### Features + +* add gasless request flags to `QuoteRequest` and `RouteOptions` ([ff71a15](https://github.com/lifinance/types/commit/ff71a15beaa9599b7083550ebfb3996a8b6c7494)) + ## [18.2.0](https://github.com/lifinance/types/compare/v18.1.0...v18.2.0) (2026-08-05) diff --git a/package.json b/package.json index 6605dda6..04aeb54c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/types", - "version": "18.2.0", + "version": "18.3.0", "description": "Types for the LI.FI stack", "keywords": [ "sdk", diff --git a/src/api.ts b/src/api.ts index 9aabe1be..d3bad6b8 100644 --- a/src/api.ts +++ b/src/api.ts @@ -164,6 +164,12 @@ export interface RouteOptionsBase { /** Whether to include routes that require a transaction or a message, or both * @default 'transaction' */ executionType?: ExecutionType + + /** Opt the request into gasless execution. The returned steps carry signable + * typed data instead of a `transactionRequest`, and a relay fee is deducted + * from the input amount as a `feeCosts` entry named `LIFI Gasless Relay Fee`. + * @default false */ + gasless?: boolean } /** @@ -493,6 +499,12 @@ export interface QuoteRequest extends ToolConfiguration, TimingStrings { * @default 'transaction' */ executionType?: ExecutionType + /** Opt the request into gasless execution. The response returns signable + * typed data instead of a `transactionRequest`, and a relay fee is deducted + * from the input amount as a `feeCosts` entry named `LIFI Gasless Relay Fee`. + * @default false */ + gasless?: boolean + /** SVM specific option, without it implicit source swaps routes are discarded */ jitoBundle?: boolean