@imtbl/sdk 0.1.5-alpha → 0.1.6-alpha

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/dist/index.d.ts CHANGED
@@ -25611,195 +25611,463 @@ declare global {
25611
25611
  }
25612
25612
  }
25613
25613
 
25614
+ /**
25615
+ * Enum representing the events emitted by the widgets.
25616
+ */
25614
25617
  declare enum IMTBLWidgetEvents {
25615
25618
  IMTBL_CONNECT_WIDGET_EVENT = "imtbl-connect-widget",
25616
25619
  IMTBL_WALLET_WIDGET_EVENT = "imtbl-wallet-widget",
25617
25620
  IMTBL_SWAP_WIDGET_EVENT = "imtbl-swap-widget",
25618
25621
  IMTBL_BRIDGE_WIDGET_EVENT = "imtbl-bridge-widget",
25619
- IMTBL_BUY_WIDGET_EVENT = "imtbl-buy-widget"
25622
+ IMTBL_BUY_WIDGET_EVENT = "imtbl-buy-widget",
25623
+ IMTBL_ONRAMP_WIDGET_EVENT = "imtbl-onramp-widget"
25620
25624
  }
25625
+ /**
25626
+ * Enum representing possible Connect Widget event types.
25627
+ */
25621
25628
  declare enum ConnectEventType {
25622
25629
  SUCCESS = "success",
25623
25630
  FAILURE = "failure",
25624
25631
  CLOSE_WIDGET = "close-widget"
25625
25632
  }
25633
+ /**
25634
+ * Represents an event object emitted by the Connect Widget.
25635
+ * @property {BuyEventType} type - The type of the event.
25636
+ * @property {T} data - The data contained in the event.
25637
+ */
25626
25638
  type ConnectEvent<T> = {
25627
25639
  type: ConnectEventType;
25628
25640
  data: T;
25629
25641
  };
25642
+ /**
25643
+ * Type representing a Connect Widget event with type SUCCESS.
25644
+ * @property {ConnectionProviders} providerPreference - The user's preferred connection provider.
25645
+ */
25630
25646
  type ConnectionSuccess = {
25631
25647
  providerPreference: ConnectionProviders;
25632
25648
  };
25649
+ /**
25650
+ * Type representing a Connect Widget event with type FAILURE.
25651
+ * @property {string} reason - A description of the reason for the failed connection attempt.
25652
+ */
25633
25653
  type ConnectionFailed = {
25634
25654
  reason: string;
25635
25655
  };
25656
+ /**
25657
+ * Enum representing possible Wallet Widget event types.
25658
+ */
25636
25659
  declare enum WalletEventType {
25637
25660
  CLOSE_WIDGET = "close-widget",
25638
- NETWORK_SWITCH = "network-switch"
25661
+ NETWORK_SWITCH = "network-switch",
25662
+ ADD_COINS = "add-coins",
25663
+ REQUEST_SWAP = "request-swap",
25664
+ REQUEST_BRIDGE = "request-bridge",
25665
+ REQUEST_ONRAMP = "request-onramp"
25639
25666
  }
25667
+ /**
25668
+ * Type representing the data emitted by the network switch event.
25669
+ * @property {string} network - The name of the selected network.
25670
+ * @property {number} chainId - The chain ID of the selected network.
25671
+ */
25640
25672
  type WalletNetworkSwitchEvent = {
25641
25673
  network: string;
25642
25674
  chainId: number;
25643
25675
  };
25676
+ type WalletAddCoinsEvent = {
25677
+ network?: NetworkInfo;
25678
+ token?: TokenInfo;
25679
+ tokenAmount?: string;
25680
+ };
25681
+ type WalletRequestSwapEvent = {
25682
+ fromTokenAddress: string;
25683
+ toTokenAddress: string;
25684
+ amount: string;
25685
+ };
25686
+ type WalletRequestBridgeEvent = {
25687
+ fromNetwork: string;
25688
+ tokenAddress: string;
25689
+ amount: string;
25690
+ };
25691
+ type WalletRequestOnrampEvent = {
25692
+ tokenAddress: string;
25693
+ amount: string;
25694
+ };
25695
+ /**
25696
+ * Represents an event object emitted by the Wallet Widget.
25697
+ * @property {WalletEventType} type - The type of the event.
25698
+ * @property {T} data - The data contained in the event.
25699
+ */
25644
25700
  type WalletEvent<T> = {
25645
25701
  type: WalletEventType;
25646
25702
  data: T;
25647
25703
  };
25704
+ /**
25705
+ * Represents an event object emitted by the Swap Widget.
25706
+ * @property {SwapEventType} type - The type of the event.
25707
+ * @property {T} data - The data contained in the event.
25708
+ */
25648
25709
  type SwapEvent<T> = {
25649
25710
  type: SwapEventType;
25650
25711
  data: T;
25651
25712
  };
25713
+ /**
25714
+ * Enum representing possible Swap Widget event types.
25715
+ */
25652
25716
  declare enum SwapEventType {
25653
25717
  SUCCESS = "success",
25654
25718
  FAILURE = "failure"
25655
25719
  }
25720
+ /**
25721
+ * Type representing a Swap Widget with type SUCCESS.
25722
+ * @property {number} timestamp - The timestamp of the successful swap.
25723
+ */
25656
25724
  type SwapSuccess = {
25657
25725
  timestamp: number;
25658
25726
  };
25727
+ /**
25728
+ * Type representing a Swap Widget with type FAILURE.
25729
+ * @property {string} reason - The reason why the swap failed.
25730
+ * @property {number} timestamp - The timestamp of the failed swap.
25731
+ */
25659
25732
  type SwapFailed = {
25660
25733
  reason: string;
25661
25734
  timestamp: number;
25662
25735
  };
25736
+ /**
25737
+ * Represents an event object emitted by the Bridge Widget.
25738
+ * @property {BridgeEventType} type - The type of the event.
25739
+ * @property {T} data - The data associated with the event.
25740
+ */
25663
25741
  type BridgeEvent<T> = {
25664
25742
  type: BridgeEventType;
25665
25743
  data: T;
25666
25744
  };
25745
+ /**
25746
+ * Enum of possible Bridge Widget event types.
25747
+ */
25667
25748
  declare enum BridgeEventType {
25668
25749
  CLOSE_WIDGET = "close-widget",
25669
25750
  SUCCESS = "success",
25670
25751
  FAILURE = "failure"
25671
25752
  }
25753
+ /**
25754
+ * Type representing a Bridge Widget event with type SUCCESS
25755
+ * @property {number} timestamp - The UNIX timestamp (in milliseconds) when the event occurred.
25756
+ */
25672
25757
  type BridgeSuccess = {
25673
25758
  timestamp: number;
25674
25759
  };
25760
+ /**
25761
+ * Type representing a Bridge Widget event with type FAILURE
25762
+ * @property {string} reason - The reason for the failure.
25763
+ * @property {number} timestamp - The UNIX timestamp (in milliseconds) when the event occurred.
25764
+ */
25675
25765
  type BridgeFailed = {
25676
25766
  reason: string;
25677
25767
  timestamp: number;
25678
25768
  };
25769
+ /**
25770
+ * Represents an event object emitted by the Buy Widget.
25771
+ * @property {BuyEventType} type - The type of the event.
25772
+ * @property {T} data - The data contained in the event.
25773
+ */
25679
25774
  type BuyEvent<T> = {
25680
25775
  type: BuyEventType;
25681
25776
  data: T;
25682
25777
  };
25778
+ /**
25779
+ * Enum representing possible Buy Widget event types.
25780
+ */
25683
25781
  declare enum BuyEventType {
25684
25782
  SUCCESS = "success",
25685
25783
  FAILURE = "failure",
25686
25784
  NOT_CONNECTED = "not_connected",
25687
25785
  CLOSE = "close"
25688
25786
  }
25787
+ /**
25788
+ * Type representing a Buy Widget event with type CLOSE.
25789
+ */
25689
25790
  type BuyClose = {};
25791
+ /**
25792
+ * Type representing a Buy Widget event with type NOT_CONNECTED.
25793
+ * @property {string} providerPreference - The preferred provider used for the connection within the Buy Widget.
25794
+ */
25690
25795
  type BuyNotConnected = {
25691
25796
  providerPreference: string;
25692
25797
  };
25798
+ /**
25799
+ * Type representing a Buy Widget event with type SUCCESS.
25800
+ * @property {number} timestamp - The timestamp of the successful buy.
25801
+ */
25693
25802
  type BuySuccess = {
25694
25803
  timestamp: number;
25695
25804
  };
25805
+ /**
25806
+ * Type representing a Buy Widget event with type FAILURE.
25807
+ * @property {string} reason - The reason why the buy failed.
25808
+ * @property {number} timestamp - The timestamp of the failed buy.
25809
+ */
25696
25810
  type BuyFailed = {
25697
25811
  reason: string;
25698
25812
  timestamp: number;
25699
25813
  };
25700
- interface ImtblConnectProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25814
+ type OnRampEvent<T> = {
25815
+ type: OnRampEventType;
25816
+ data: T;
25817
+ };
25818
+ declare enum OnRampEventType {
25819
+ }
25820
+ /**
25821
+ * Props for the Connect Widget component
25822
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25823
+ * @property {string} theme - The theme to use.
25824
+ */
25825
+ interface ImtblConnectProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25701
25826
  providerPreference: string;
25702
25827
  theme: string;
25703
25828
  }
25704
- interface ImtblWalletProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25829
+ /**
25830
+ * Props for the Wallet Widget component
25831
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25832
+ * @property {string} theme - The theme to use.
25833
+ */
25834
+ interface ImtblWalletProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25705
25835
  providerPreference: string;
25836
+ isOnRampEnabled?: string;
25837
+ isSwapEnabled?: string;
25838
+ isBridgeEnabled?: string;
25706
25839
  theme: string;
25707
25840
  }
25708
- interface ImtblSwapProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25841
+ /**
25842
+ * Props for the Swap Widget component
25843
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25844
+ * @property {string} theme - The theme to use.
25845
+ * @property {string} amount - The amount to swap.
25846
+ * @property {string} fromContractAddress - The contract address of the source token.
25847
+ * @property {string} toContractAddress - The contract address of the destination token.
25848
+ */
25849
+ interface ImtblSwapProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25709
25850
  providerPreference: string;
25710
25851
  theme: string;
25711
25852
  amount: string;
25712
25853
  fromContractAddress: string;
25713
25854
  toContractAddress: string;
25714
25855
  }
25715
- interface ImtblBridgeProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25856
+ /**
25857
+ * Props for the Bridge Widget component
25858
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25859
+ * @property {string} theme - The theme to use.
25860
+ * @property {string} fromContractAddress - The contract address of the source token.
25861
+ * @property {string} fromNetwork - The network of the source token.
25862
+ * @property {string} amount - The amount to bridge.
25863
+ */
25864
+ interface ImtblBridgeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25716
25865
  providerPreference: string;
25717
25866
  theme: string;
25718
25867
  fromContractAddress: string;
25719
25868
  fromNetwork: string;
25720
25869
  amount: string;
25721
25870
  }
25722
- interface ImtblExampleProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25871
+ /**
25872
+ * Props for the Example Widget component
25873
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25874
+ * @property {string} theme - The theme to use.
25875
+ * @experimental
25876
+ */
25877
+ interface ImtblExampleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25723
25878
  providerPreference: string;
25724
25879
  theme: string;
25725
25880
  }
25726
- interface ImtblBuyProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25881
+ /**
25882
+ * Props for the Buy Widget component
25883
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25884
+ * @property {string} theme - The theme to use.
25885
+ * @property {string} orderId - The id of the order to buy.
25886
+ */
25887
+ interface ImtblBuyProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25727
25888
  providerPreference: string;
25728
25889
  theme: string;
25729
25890
  orderId: string;
25730
25891
  }
25731
- interface ImtblTransitionExampleProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25892
+ /**
25893
+ * Props for the TransitionExample Widget component
25894
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25895
+ * @property {string} theme - The theme to use.
25896
+ */
25897
+ interface ImtblTransitionExampleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25732
25898
  providerPreference: string;
25733
25899
  theme: string;
25734
25900
  }
25735
- interface ImtblInnerWidgetExampleProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25901
+ /**
25902
+ * Props for the InnerWidgetExample Widget component
25903
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25904
+ * @property {string} theme - The theme to use.
25905
+ */
25906
+ interface ImtblInnerWidgetExampleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25736
25907
  providerPreference: string;
25737
25908
  theme: string;
25738
25909
  }
25739
- interface ImtblOuterWidgetExampleProps extends undefined<undefined<HTMLElement>, HTMLElement> {
25910
+ /**
25911
+ * Props for the OuterWidgetExample Widget component
25912
+ * @property {string} providerPreference - The preferred wallet provider to connect to.
25913
+ * @property {string} theme - The theme to use.
25914
+ */
25915
+ interface ImtblOuterWidgetExampleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
25740
25916
  providerPreference: string;
25741
25917
  theme: string;
25742
25918
  }
25919
+ /**
25920
+ * Enum representing the networks supported by Checkout.
25921
+ */
25743
25922
  declare enum Network {
25744
25923
  ETHEREUM = "Ethereum",
25745
25924
  GOERLI = "Goerli",
25746
25925
  POLYGON = "Polygon"
25747
25926
  }
25927
+ /**
25928
+ * Enum representing the themes for the Checkout widgets.
25929
+ */
25748
25930
  declare enum WidgetTheme {
25749
25931
  LIGHT = "light",
25750
25932
  DARK = "dark",
25751
25933
  CUSTOM = "custom"
25752
25934
  }
25935
+ /**
25936
+ * Enum representing the default Web3 providers supported by the Checkout widgets.
25937
+ */
25753
25938
  declare enum WidgetConnectionProviders {
25754
25939
  METAMASK = "metamask"
25755
25940
  }
25941
+ /**
25942
+ * Enum representing list of Checkout Widgets DOM tags.
25943
+ */
25756
25944
  declare enum CheckoutWidgetTagNames {
25757
25945
  CONNECT = "imtbl-connect",
25758
25946
  WALLET = "imtbl-wallet",
25759
25947
  SWAP = "imtbl-swap",
25760
25948
  BUY = "imtbl-buy",
25761
25949
  BRIDGE = "imtbl-bridge",
25762
- EXAMPLe = "imtbl-example"
25950
+ EXAMPLE = "imtbl-example"
25763
25951
  }
25952
+ /**
25953
+ * Represents the configuration options for the Checkout Widgets.
25954
+ * @property {WidgetTheme} theme - The theme of the Checkout Widget.
25955
+ */
25764
25956
  type CheckoutWidgetsConfig = {
25765
25957
  theme?: WidgetTheme;
25766
25958
  };
25959
+ /**
25960
+ * Interface representing the props for the Bridge Widget component.
25961
+ * @property {WidgetConnectionProviders} providerPreference - The preferred provider for the Bridge Widget (default: {@link WidgetConnectionProviders.METAMASK}).
25962
+ * @property {string} fromContractAddress - The contract address to send tokens from.
25963
+ * @property {string} amount - The amount of tokens to send.
25964
+ * @property {Network} fromNetwork - The network to send tokens from.
25965
+ */
25767
25966
  interface BridgeReactProps {
25768
25967
  providerPreference: WidgetConnectionProviders;
25769
25968
  fromContractAddress?: string;
25770
25969
  amount?: string;
25771
25970
  fromNetwork?: Network;
25772
25971
  }
25972
+ /**
25973
+ * A React functional component that renders the Checkout Bridge Widget.
25974
+ * @param {BridgeReactProps} props - The props for the Bridge Widget component.
25975
+ * @returns {JSX.Element} - The rendered Bridge Widget component.
25976
+ */
25773
25977
  declare function BridgeReact(props: BridgeReactProps): JSX.Element;
25978
+ /**
25979
+ * Interface representing the props for the Buy Widget component.
25980
+ * @property {WidgetConnectionProviders} providerPreference - The preferred provider for the Buy Widget (default: {@link WidgetConnectionProviders.METAMASK}).
25981
+ * @property {string} orderId - The ID that identifies the open buy order associated to the assets to buy.
25982
+ */
25774
25983
  interface BuyReactProps {
25775
25984
  providerPreference: WidgetConnectionProviders;
25776
25985
  orderId: string;
25777
25986
  }
25987
+ /**
25988
+ * A React functional component that renders the Checkout Buy Widget.
25989
+ * @param {BuyReactProps} props - The props for the Buy Widget component.
25990
+ * @returns {JSX.Element} - The rendered Buy Widget component.
25991
+ */
25778
25992
  declare function BuyReact(props: BuyReactProps): JSX.Element;
25779
- declare function CheckoutWidgets(config?: CheckoutWidgetsConfig): void;
25780
- declare function UpdateConfig(config: CheckoutWidgetsConfig): void;
25781
- declare function SetProvider(tagName: CheckoutWidgetTagNames, provider: Web3Provider | null): void;
25993
+ /**
25994
+ * Interface representing the props for the Connect Widget component.
25995
+ * @property {WidgetConnectionProviders} providerPreference - The preferred provider for the Connect Widget (default: {@link WidgetConnectionProviders.METAMASK}).
25996
+ */
25782
25997
  interface ConnectReactProps {
25783
25998
  providerPreference?: WidgetConnectionProviders;
25784
25999
  }
26000
+ /**
26001
+ * A React functional component that renders the Checkout Connect Widget.
26002
+ * @param {ConnectReactProps} props - The props for the Connect Widget component.
26003
+ * @returns {JSX.Element} - The rendered Connect Widget component.
26004
+ */
25785
26005
  declare function ConnectReact(props: ConnectReactProps): JSX.Element;
26006
+ /**
26007
+ * Interface representing the props for the Swap Widget component.
26008
+ * @property {WidgetConnectionProviders} providerPreference - The preferred provider for the Swap Widget (default: {@link WidgetConnectionProviders.METAMASK}).
26009
+ * @property {string} fromContractAddress - The contract address to swap tokens from.
26010
+ * @property {string} amount - The amount of tokens to send.
26011
+ * @property {Network} toContractAddress - The contract address to swap tokens to.
26012
+ */
25786
26013
  interface SwapReactProps {
25787
26014
  providerPreference: WidgetConnectionProviders;
25788
26015
  fromContractAddress?: string;
25789
26016
  amount?: string;
25790
26017
  toContractAddress?: string;
25791
26018
  }
26019
+ /**
26020
+ * A React functional component that renders the Checkout Swap Widget.
26021
+ * @param {SwapReactProps} props - The props for the Swap Widget component.
26022
+ * @returns {JSX.Element} - The rendered Swap Widget component.
26023
+ */
25792
26024
  declare function SwapReact(props: SwapReactProps): JSX.Element;
26025
+ /**
26026
+ * Interface representing the props for the Wallet Widget component.
26027
+ * @property {WidgetConnectionProviders} providerPreference - The preferred provider for the Wallet Widget (default: {@link WidgetConnectionProviders.METAMASK}).
26028
+ */
25793
26029
  interface WalletReactProps {
25794
26030
  providerPreference?: WidgetConnectionProviders;
26031
+ isOnRampEnabled?: boolean;
26032
+ isSwapEnabled?: boolean;
26033
+ isBridgeEnabled?: boolean;
25795
26034
  }
26035
+ /**
26036
+ * A React functional component that renders the Checkout Wallet Widget.
26037
+ * @param {WalletReactProps} props - The props for the Wallet Widget component.
26038
+ * @returns {JSX.Element} - The rendered Wallet Widget component.
26039
+ */
25796
26040
  declare function WalletReact(props: WalletReactProps): JSX.Element;
26041
+ /**
26042
+ * Interface representing the props for the Example Widget component.
26043
+ * @experimental
26044
+ */
25797
26045
  interface ExampleReactProps {
25798
26046
  providerPreference: WidgetConnectionProviders;
25799
26047
  fromContractAddress?: string;
25800
26048
  amount?: string;
25801
26049
  fromNetwork?: Network;
25802
26050
  }
26051
+ /**
26052
+ * A React functional component that renders the Checkout Example Widget.
26053
+ * @experimental
26054
+ */
25803
26055
  declare function ExampleReact(props: ExampleReactProps): JSX.Element;
26056
+ /**
26057
+ * CheckoutWidgets allows to inject the Checkout Widgets into your application.
26058
+ * @param {CheckoutWidgetsConfig|undefined} config - Checkout Widget global configurations.
26059
+ */
26060
+ declare function CheckoutWidgets(config?: CheckoutWidgetsConfig): void;
26061
+ /**
26062
+ * UpdateConfig allows to update the configuration of an existing Checkout Widgets instance.
26063
+ * @param {CheckoutWidgetsConfig} config - new Checkout Widget global configurations.
26064
+ */
26065
+ declare function UpdateConfig(config: CheckoutWidgetsConfig): void;
26066
+ /**
26067
+ * SetProvider allows to set the provider for an existing Checkout Widgets instance.
26068
+ * @param {CheckoutWidgetTagNames} tagName - target Checkout Widget widget.
26069
+ * @param {Web3Provider} provider - the provider to connect to the blockchain network.
26070
+ */
26071
+ declare function SetProvider(tagName: CheckoutWidgetTagNames, provider: Web3Provider | null): void;
25804
26072
 
25805
- export { BridgeEvent, BridgeEventType, BridgeFailed, BridgeReact, BridgeReactProps, BridgeSuccess, BuyClose, BuyEvent, BuyEventType, BuyFailed, BuyNotConnected, BuyReact, BuyReactProps, BuySuccess, ChainId, CheckConnectionParams, CheckConnectionResult, Checkout, CheckoutErrorType, CheckoutWidgetTagNames, CheckoutWidgets, CheckoutWidgetsConfig, ConnectEvent, ConnectEventType, ConnectParams, ConnectReact, ConnectReactProps, ConnectResult, ConnectionFailed, ConnectionProviders, ConnectionSuccess, ConvertTokensToFiatParams, ConvertTokensToFiatResult, Environment, ErrorType, ExampleReact, ExampleReactProps, GenericIMXProvider, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetNetworkParams, GetTokenAllowListParams, GetTokenAllowListResult, GetWalletAllowListParams, GetWalletAllowListResult, IMTBLWidgetEvents, IMXProvider, ImmutableConfiguration, ImmutableXClient, ImtblBridgeProps, ImtblBuyProps, ImtblConnectProps, ImtblExampleProps, ImtblInnerWidgetExampleProps, ImtblOuterWidgetExampleProps, ImtblSwapProps, ImtblTransitionExampleProps, ImtblWalletProps, ImxModuleConfiguration as ImxClientModuleConfiguration, WalletConnection as ImxClientWalletConnection, MetaMaskIMXProvider, ModuleConfiguration, Network, NetworkFilter, NetworkFilterTypes, NetworkInfo, Passport, PassportError, PassportModuleConfiguration, ProviderConfiguration, SendTransactionParams, SendTransactionResult, SetProvider, SupportedFiatCurrencies, SwapEvent, SwapEventType, SwapFailed, SwapReact, SwapReactProps, SwapSuccess, SwitchNetworkParams, SwitchNetworkResult, TokenFilter, TokenFilterTypes, TokenInfo, TokenToFiatConversionResult, Transaction, UpdateConfig, WalletEvent, WalletEventType, WalletFilter, WalletFilterTypes, WalletInfo, WalletNetworkSwitchEvent, WalletReact, WalletReactProps, WidgetConnectionProviders, WidgetTheme, createStarkSigner as imxClientCreateStarkSigner, generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey };
26073
+ export { BridgeEvent, BridgeEventType, BridgeFailed, BridgeReact, BridgeReactProps, BridgeSuccess, BuyClose, BuyEvent, BuyEventType, BuyFailed, BuyNotConnected, BuyReact, BuyReactProps, BuySuccess, ChainId, CheckConnectionParams, CheckConnectionResult, Checkout, CheckoutErrorType, CheckoutWidgetTagNames, CheckoutWidgets, CheckoutWidgetsConfig, ConnectEvent, ConnectEventType, ConnectParams, ConnectReact, ConnectReactProps, ConnectResult, ConnectionFailed, ConnectionProviders, ConnectionSuccess, ConvertTokensToFiatParams, ConvertTokensToFiatResult, Environment, ErrorType, ExampleReact, ExampleReactProps, GenericIMXProvider, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetNetworkParams, GetTokenAllowListParams, GetTokenAllowListResult, GetWalletAllowListParams, GetWalletAllowListResult, IMTBLWidgetEvents, IMXProvider, ImmutableConfiguration, ImmutableXClient, ImtblBridgeProps, ImtblBuyProps, ImtblConnectProps, ImtblExampleProps, ImtblInnerWidgetExampleProps, ImtblOuterWidgetExampleProps, ImtblSwapProps, ImtblTransitionExampleProps, ImtblWalletProps, ImxModuleConfiguration as ImxClientModuleConfiguration, WalletConnection as ImxClientWalletConnection, MetaMaskIMXProvider, ModuleConfiguration, Network, NetworkFilter, NetworkFilterTypes, NetworkInfo, OnRampEvent, OnRampEventType, Passport, PassportError, PassportModuleConfiguration, ProviderConfiguration, SendTransactionParams, SendTransactionResult, SetProvider, SupportedFiatCurrencies, SwapEvent, SwapEventType, SwapFailed, SwapReact, SwapReactProps, SwapSuccess, SwitchNetworkParams, SwitchNetworkResult, TokenFilter, TokenFilterTypes, TokenInfo, TokenToFiatConversionResult, Transaction, UpdateConfig, WalletAddCoinsEvent, WalletEvent, WalletEventType, WalletFilter, WalletFilterTypes, WalletInfo, WalletNetworkSwitchEvent, WalletReact, WalletReactProps, WalletRequestBridgeEvent, WalletRequestOnrampEvent, WalletRequestSwapEvent, WidgetConnectionProviders, WidgetTheme, createStarkSigner as imxClientCreateStarkSigner, generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey };