@dhedge/trading-widget 3.3.0 → 3.3.1
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.
- package/README.md +2 -1
- package/{index-81cd5b51.js → index-08406d5e.js} +690 -687
- package/{index-e95eba98.cjs → index-a222316c.cjs} +16 -16
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{pyth-adapter-d17cb6b9.cjs → pyth-adapter-4a8a7362.cjs} +1 -1
- package/{pyth-adapter-c6de21c9.js → pyth-adapter-8d673ce9.js} +1 -1
- package/style.css +1 -1
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +1 -0
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ UI configuration provider. Manages params to configure custom styling, component
|
|
|
110
110
|
##### params
|
|
111
111
|
|
|
112
112
|
> | name | type | default value | description |
|
|
113
|
-
>
|
|
113
|
+
> |------------------------------------|----------------------------------------------------------------|------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
114
114
|
> | `isGeoBlocked` | `boolean` | `false` | Restricts depositing action button and conditionally renders GeoBlockAlert component |
|
|
115
115
|
> | `isSanctioned` | `boolean` | `false` | Restricts depositing action button and conditionally renders SanctionedAlert component |
|
|
116
116
|
> | `depositQuoteDiffWarningThreshold` | `number` | `1` | Deposit slippage absolute percent value warning threshold, Affects styling to warn user |
|
|
@@ -130,6 +130,7 @@ UI configuration provider. Manages params to configure custom styling, component
|
|
|
130
130
|
> | `chainConfig` | `Partial<Record<ChainId, { name: string; iconPath: string }>>` | `{}` | Sets map of chain `name` and `iconPath` |
|
|
131
131
|
> | `aaveOffchainWithdrawChainIds` | `ChainId[]` | `[]` | Offchain swap data will be used for Aave withdrawals for selected chains |
|
|
132
132
|
> | `aaveOffchainWithdrawMinValue` | `number` | `50` | Value in USD when off-chain Aave withdrawal is enabled |
|
|
133
|
+
> | `getFallbackIconPath` | `(tokenName: string) => string` | `buildIconLink` | Fallback token icon path getter |
|
|
133
134
|
|
|
134
135
|
##### actions
|
|
135
136
|
|