A callback that runs before we establish the wallet connection. You can use this callback to run your logic and reject (by returning boolean false). For example, running a fraud check before establishing the connection.
<DynamicContextProvider settings={{ eventsCallbacks: { onBeforeConnectSuccessConfirmation: (args) => { console.log("onBeforeConnectSuccessConfirmation was called", args); // if runYourOwnLogic return true, the connection will be established, otherwise it will not return runYourOwnLogic(); }, }, }}> {/* ... rest of your app ... */}</DynamicContextProvider>