setupOnrampEventListeners
utility sets up event listeners for the Coinbase Onramp widget. It helps you handle various events like successful purchases, exits, and other user interactions.
() => void
- Returns an unsubscribe function that removes the event listeners when called.