File tree Expand file tree Collapse file tree
managers/internal/WalletConnectStateManager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [[ 5.6.4] ( https://github.com/multiversx/mx-sdk-dapp/pull/1713 )] - 2026-01-19
11+
12+ - [ Added missing Redux action names] ( https://github.com/multiversx/mx-sdk-dapp/pull/1712 )
13+ - [ Exposed walletConnect URI and deepLink data] ( https://github.com/multiversx/mx-sdk-dapp/pull/1711 )
14+
1015## [[ 5.6.3] ( https://github.com/multiversx/mx-sdk-dapp/pull/1710 )] - 2026-01-15
1116
1217- [ Update minimum version for sdk-dapp-ui] ( https://github.com/multiversx/mx-sdk-dapp/pull/1709 )
Original file line number Diff line number Diff line change 11{
22 "name" : " @multiversx/sdk-dapp" ,
3- "version" : " 5.6.3 " ,
3+ "version" : " 5.6.4 " ,
44 "description" : " A library to hold the main logic for a dapp on the MultiversX blockchain" ,
55 "author" : " MultiversX" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ export class WalletConnectStateManager extends UIBaseManager<
3434 this . data = { ...this . initialData } ;
3535 }
3636
37+ public get walletConnectData ( ) : IWalletConnectModalData {
38+ return { ...this . data } ;
39+ }
40+
3741 public handleClose ( options ?: { isLoginFinished ?: boolean } ) {
3842 if ( options ?. isLoginFinished ) {
3943 return ;
Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ export const clearCache = () => {
4040 } ) ;
4141 } ,
4242 false ,
43- 'clearCache'
43+ {
44+ type : 'clearCache' ,
45+ // @ts -ignore
46+ payload : {
47+ value : null
48+ }
49+ }
4450 ) ;
4551} ;
Original file line number Diff line number Diff line change @@ -90,6 +90,10 @@ export const setIsSigningUiEnabled = (isEnabled: boolean) =>
9090 } ,
9191 false ,
9292 {
93- type : 'setIsSigningUiEnabled'
93+ type : 'setIsSigningUiEnabled' ,
94+ // @ts -ignore
95+ payload : {
96+ value : isEnabled
97+ }
9498 }
9599 ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,14 @@ import { ProviderType } from 'providers/types/providerFactory.types';
33import { resetStore } from 'store/middleware/logoutMiddleware' ;
44import { getStore } from 'store/store' ;
55
6- export const logoutAction = ( ) => getStore ( ) . setState ( resetStore ) ;
6+ export const logoutAction = ( ) =>
7+ getStore ( ) . setState ( resetStore , false , {
8+ type : 'logoutAction' ,
9+ // @ts -ignore
10+ payload : {
11+ value : null
12+ }
13+ } ) ;
714export interface LoginActionPayloadType < T extends ProviderType = ProviderType > {
815 address : string ;
916 providerType : T ;
Original file line number Diff line number Diff line change @@ -98,9 +98,19 @@ export const removeAllCustomToasts = () => {
9898} ;
9999
100100export const removeAllTransactionToasts = ( ) => {
101- getStore ( ) . setState ( ( { toasts : state } ) => {
102- state . transactionToasts = [ ] ;
103- } ) ;
101+ getStore ( ) . setState (
102+ ( { toasts : state } ) => {
103+ state . transactionToasts = [ ] ;
104+ } ,
105+ false ,
106+ {
107+ type : 'removeAllTransactionToasts' ,
108+ // @ts -ignore
109+ payload : {
110+ value : null
111+ }
112+ }
113+ ) ;
104114} ;
105115
106116export const addTransactionToast = ( {
@@ -130,7 +140,13 @@ export const addTransactionToast = ({
130140 } ) ;
131141 } ,
132142 false ,
133- 'addTransactionToast'
143+ {
144+ type : 'addTransactionToast' ,
145+ // @ts -ignore
146+ payload : {
147+ value : { toastId, totalDuration }
148+ }
149+ }
134150 ) ;
135151
136152 return newToastId ;
@@ -144,7 +160,13 @@ export const removeTransactionToast = (toastId: string) => {
144160 } ) ;
145161 } ,
146162 false ,
147- 'removeTransactionToast'
163+ {
164+ type : 'removeTransactionToast' ,
165+ // @ts -ignore
166+ payload : {
167+ value : toastId
168+ }
169+ }
148170 ) ;
149171
150172 delete customToastCloseHandlersDictionary [ toastId ] ;
@@ -193,7 +215,13 @@ export const createCustomToast = (props: CustomToastType) => {
193215 }
194216 } ,
195217 false ,
196- 'createCustomToast'
218+ {
219+ type : 'createCustomToast' ,
220+ // @ts -ignore
221+ payload : {
222+ value : props
223+ }
224+ }
197225 ) ;
198226
199227 return toastId ;
Original file line number Diff line number Diff line change @@ -59,6 +59,12 @@ export const logoutMiddleware = (state: StoreType) => {
5959 if ( isExpired ) {
6060 // logout
6161 setLoginExpiresAt ( null ) ;
62- getStore ( ) . setState ( resetStore ) ;
62+ getStore ( ) . setState ( resetStore , false , {
63+ type : 'logoutMiddleware' ,
64+ // @ts -ignore
65+ payload : {
66+ value : null
67+ }
68+ } ) ;
6369 }
6470} ;
You can’t perform that action at this time.
0 commit comments