@dhedge/trading-widget 5.0.0 → 5.1.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 (65) hide show
  1. package/README.md +29 -21
  2. package/core-kit/const/storage.d.ts +0 -3
  3. package/core-kit/const/trading.d.ts +2 -0
  4. package/core-kit/hooks/state/index.d.ts +1 -0
  5. package/core-kit/hooks/state/stepper.d.ts +5 -0
  6. package/core-kit/hooks/trading/allowance/use-approve.d.ts +3 -1
  7. package/core-kit/hooks/trading/allowance/use-can-spend.d.ts +4 -1
  8. package/core-kit/hooks/trading/index.d.ts +1 -0
  9. package/core-kit/hooks/trading/trade-handlers/use-handle-trade.d.ts +6 -1
  10. package/core-kit/hooks/trading/trade-handlers/use-trading-settle-handler.d.ts +7 -1
  11. package/core-kit/hooks/trading/withdraw-v2/complete-step/use-auto-send-complete-withdraw-transaction.d.ts +6 -1
  12. package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-transaction.d.ts +3 -1
  13. package/core-kit/hooks/trading/withdraw-v2/complete-step/use-handle-complete-withdraw.d.ts +2 -1
  14. package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-allowance.d.ts +7 -1
  15. package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction.d.ts +6 -1
  16. package/core-kit/hooks/trading/withdraw-v2/init-step/use-is-unroll-and-claim-transaction.d.ts +5 -1
  17. package/core-kit/types/state.types.d.ts +6 -1
  18. package/core-kit/types/trading-panel.types.d.ts +7 -0
  19. package/core-kit/utils/formatter.d.ts +1 -0
  20. package/index.cjs +1 -1
  21. package/index.d.ts +2 -2
  22. package/index.js +3867 -3550
  23. package/package.json +1 -1
  24. package/style.css +1 -1
  25. package/trading-widget/components/widget/widget-buttons/add-to-wallet-button/add-to-wallet-button.d.ts +2 -0
  26. package/trading-widget/components/widget/widget-buttons/add-to-wallet-button/add-to-wallet-button.hooks.d.ts +3 -0
  27. package/trading-widget/components/widget/widget-buttons/index.d.ts +3 -0
  28. package/trading-widget/components/widget/widget-buttons/notifications-settings-button/notifications-settings-button.d.ts +3 -0
  29. package/trading-widget/components/widget/widget-buttons/withdraw-stepper-button/withdraw-stepper-button.d.ts +2 -0
  30. package/trading-widget/components/widget/widget-buttons/withdraw-stepper-button/withdraw-stepper-button.hooks.d.ts +4 -0
  31. package/trading-widget/components/widget/widget-overlay/index.d.ts +1 -1
  32. package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-overlay.hooks.d.ts +1 -0
  33. package/trading-widget/components/widget/widget-overlay/trading-overlay/withdrawals/success-withdrawal-overlay.d.ts +3 -0
  34. package/trading-widget/components/widget/widget-overlay/trading-overlay/withdrawals/success-withdrawal-overlay.hooks.d.ts +9 -0
  35. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/steps/approve-step.d.ts +3 -0
  36. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/steps/approve-step.hooks.d.ts +10 -0
  37. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/steps/complete-withdraw-step.d.ts +3 -0
  38. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/steps/complete-withdraw-step.hooks.d.ts +10 -0
  39. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/steps/init-withdraw-step.d.ts +3 -0
  40. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/steps/init-withdraw-step.hooks.d.ts +13 -0
  41. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/steps/step-item.d.ts +9 -0
  42. package/trading-widget/components/widget/widget-overlay/{fmp-withdrawal-overlay/fmp-withdrawal-overlay.d.ts → withdraw-stepper-overlay/withdraw-stepper-overlay.d.ts} +1 -1
  43. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/withdraw-stepper-overlay.hooks.d.ts +14 -0
  44. package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/withdraw-steps.d.ts +11 -0
  45. package/trading-widget/components/withdraw/init-step/button/valid-init-withdraw-button/valid-init-withdraw-button.hooks.d.ts +1 -2
  46. package/trading-widget/hooks/index.d.ts +3 -0
  47. package/trading-widget/hooks/use-display-limit-sell-overlay.d.ts +1 -0
  48. package/trading-widget/hooks/use-step-description.d.ts +1 -0
  49. package/trading-widget/hooks/use-transaction-status-label.d.ts +5 -0
  50. package/trading-widget/providers/component-provider/component-provider.d.ts +1 -0
  51. package/trading-widget/providers/component-provider/component-provider.hooks.d.ts +1 -0
  52. package/trading-widget/providers/component-provider/component-provider.types.d.ts +5 -0
  53. package/trading-widget/providers/config-provider/config-provider.types.d.ts +1 -0
  54. package/trading-widget/providers/theme-provider/theme-provider.types.d.ts +5 -0
  55. package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +11 -5
  56. package/trading-widget/types/overlay.types.d.ts +1 -1
  57. package/trading-widget/types/theme.types.d.ts +1 -1
  58. package/trading-widget/components/widget/widget-overlay/fmp-withdrawal-overlay/fmp-withdrawal-overlay.hooks.d.ts +0 -10
  59. package/trading-widget/components/withdraw/complete-step/button/swap-button/swap-button.d.ts +0 -2
  60. package/trading-widget/components/withdraw/complete-step/button/swap-button/swap-button.hooks.d.ts +0 -6
  61. package/trading-widget/components/withdraw/complete-step/complete-step.hooks.d.ts +0 -3
  62. package/trading-widget/components/withdraw/init-step/button/init-withdraw-button/init-withdraw-button.d.ts +0 -2
  63. package/trading-widget/components/withdraw/init-step/button/init-withdraw-button/init-withdraw-button.hooks.d.ts +0 -6
  64. package/trading-widget/components/withdraw/stepper/withdraw-stepper.d.ts +0 -2
  65. package/trading-widget/components/withdraw/stepper/withdraw-stepper.hooks.d.ts +0 -8

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.