@cowprotocol/widget-lib
Advanced tools
Comparing version
{ | ||
"name": "@cowprotocol/widget-lib", | ||
"version": "0.10.1", | ||
"version": "0.11.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "description": "CoW Swap Widget Library. Allows you to easily embed a CoW Swap widget on your website.", |
@@ -141,2 +141,6 @@ import type { SupportedChainId } from '@cowprotocol/cow-sdk'; | ||
} | ||
export interface CowSwapWidgetContent { | ||
feeLabel?: string; | ||
feeTooltipMarkdown?: string; | ||
} | ||
export interface CowSwapWidgetParams { | ||
@@ -239,2 +243,6 @@ /** | ||
customTokens?: TokenInfo[]; | ||
/** | ||
* Customizable labels and content for the widget. | ||
*/ | ||
content?: CowSwapWidgetContent; | ||
} | ||
@@ -241,0 +249,0 @@ export interface WidgetMethodsEmitPayloadMap { |
39647
0.52%729
1.11%