@dhedge/trading-widget 3.3.0-alpha.0 → 3.3.0-alpha.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 +9 -0
- package/core-kit/abi/easy-swapper-v2.d.ts +4 -0
- package/core-kit/abi/pool-logic.d.ts +5 -692
- package/core-kit/hooks/pool/index.d.ts +1 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +12 -691
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +413 -3161
- package/core-kit/hooks/pool/use-has-dhedge-vault-in-composition.d.ts +64 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +4 -0
- package/core-kit/hooks/trading/use-is-transaction-loading.d.ts +2 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/index.d.ts +1 -1
- package/core-kit/hooks/trading/withdraw-v2/init-step/{use-init-withdraw-transaction-arguments.d.ts → use-get-init-withdraw-transaction-arguments.d.ts} +2 -2
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction.d.ts +5 -1
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +4 -0
- package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +4 -0
- package/core-kit/utils/transaction.d.ts +3 -3
- package/{index-a29190ba.js → index-5ba43d21.js} +8032 -8852
- package/index-addee486.cjs +217 -0
- package/index.cjs +1 -1
- package/index.d.ts +1 -1
- package/index.js +89 -88
- package/package.json +1 -1
- package/{pyth-adapter-a81f3e9c.cjs → pyth-adapter-557e7325.cjs} +1 -1
- package/{pyth-adapter-330946d6.js → pyth-adapter-ae35e010.js} +1 -1
- package/style.css +1 -1
- package/trading-widget/components/deposit/button/trade-button/trade-button.hooks.d.ts +1 -0
- package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +1 -0
- package/trading-widget/components/widget/widget-buttons/approve-button/approve-button.hooks.d.ts +1 -0
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-deposit-swap-quote-button/reload-deposit-swap-quote-button.hooks.d.ts +0 -1
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-withdraw-swap-quote-button/reload-withdraw-swap-quote-button.hooks.d.ts +0 -1
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-overlay.hooks.d.ts +1 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/vault-transaction-summary.d.ts +1 -7
- package/trading-widget/components/withdraw/complete-step/button/claim-button/claim-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/complete-step/button/swap-button/swap-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/button/init-withdraw-button/init-withdraw-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +1 -0
- package/trading-widget/providers/theme-provider/theme-provider.types.d.ts +5 -0
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +1 -0
- package/index-486e8b60.cjs +0 -217
- /package/core-kit/hooks/trading/withdraw-v2/init-step/{use-init-withdraw-aave-swap-data.d.ts → use-fetch-init-withdraw-aave-swap-data.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -244,6 +244,14 @@ path: `global.style[name]`
|
|
|
244
244
|
|
|
245
245
|
##### component
|
|
246
246
|
|
|
247
|
+
###### notification
|
|
248
|
+
|
|
249
|
+
path: `component.notification[name]`
|
|
250
|
+
|
|
251
|
+
> | name | type | default value | description |
|
|
252
|
+
> | --------------- | ------ | ---------------------------------------------------- | --------------------- |
|
|
253
|
+
> | `color.colorBg` | string | `config?.global?.color?.colorBgSecondary ?? #2B313E` | Notification bg color |
|
|
254
|
+
|
|
247
255
|
###### popup
|
|
248
256
|
|
|
249
257
|
path: `component.popup[name]`
|
|
@@ -523,6 +531,7 @@ path: `component.meta[name]`
|
|
|
523
531
|
> | `showAll` | string | Show All | |
|
|
524
532
|
> | `hide` | string | Hide | |
|
|
525
533
|
> | `refreshSwapQuoteTooltip` | string | Refresh swap quote | |
|
|
534
|
+
> | `proceedWithNextStep` | string | Please proceed with the next step. | |
|
|
526
535
|
|
|
527
536
|
###### Source: `packages/trading-widget/src/trading-widget/providers/translation-provider/translation-provider.tsx`
|
|
528
537
|
|