@cowprotocol/widget-lib 4.12.0 → 4.13.0

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/types.d.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/widget-lib",
3
- "version": "4.12.0",
3
+ "version": "4.13.0",
4
4
  "description": "CoW Swap Widget Library. Allows you to easily embed a CoW Swap widget on your website.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@cowprotocol/cow-sdk": "9.2.22",
19
- "@cowprotocol/events": "^4.17.1",
20
- "@cowprotocol/iframe-transport": "^2.3.12"
19
+ "@cowprotocol/events": "^4.17.2",
20
+ "@cowprotocol/iframe-transport": "^2.3.13"
21
21
  },
22
22
  "devDependencies": {
23
23
  "csstype": "3.1.3"
package/types.d.ts CHANGED
@@ -393,6 +393,10 @@ export interface CowSwapWidgetParams {
393
393
  * Option to hide bridge info
394
394
  */
395
395
  hideBridgeInfo?: boolean;
396
+ /**
397
+ * Hides the Wait & Save toggle and related confirmation UI.
398
+ */
399
+ hideWaitAndSave?: boolean;
396
400
  /**
397
401
  * Option to hide the banner suggesting to wrap the native token (e.g. ETH -> WETH) when selling it.
398
402
  */