@cowprotocol/widget-lib 4.15.0 → 4.16.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 +4 -4
  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.15.0",
3
+ "version": "4.16.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",
@@ -15,9 +15,9 @@
15
15
  "access": "public"
16
16
  },
17
17
  "dependencies": {
18
- "@cowprotocol/cow-sdk": "9.3.3",
19
- "@cowprotocol/events": "^4.18.1",
20
- "@cowprotocol/iframe-transport": "^2.3.15"
18
+ "@cowprotocol/cow-sdk": "9.3.5",
19
+ "@cowprotocol/events": "^4.19.0",
20
+ "@cowprotocol/iframe-transport": "^2.3.16"
21
21
  },
22
22
  "devDependencies": {
23
23
  "csstype": "3.1.3"
package/types.d.ts CHANGED
@@ -116,6 +116,10 @@ export interface TokenSelectorFilter {
116
116
  * Shows only the tokens the connected wallet holds. Ignored while no wallet is connected, and for bridge target tokens.
117
117
  */
118
118
  onlyWithBalance?: boolean;
119
+ /**
120
+ * Ids of the only networks to list in the selector. In the buy selector, the networks other than the sell token one are bridge targets.
121
+ */
122
+ selectableChainIds?: number[];
119
123
  /**
120
124
  * Shown above the token list, to explain why tokens are missing
121
125
  */