Allows an optional configuration object to be passed.
When the setup method is called without a config object,
the list of institutions will be displayed for a user to select from. https://github.com/withmono/connect.js#setupconfig-object
The customer objects expects the following keys based on the following conditions:
New Customers: For new customers, the customer object expects the user’s name, email and identity
Existing Customers: For existing customers, the customer object expects only the customer ID.
This optional function is called when certain events in the Mono Connect flow have occurred,
for example, when the user selected an institution. This enables your application to gain
further insight into the Mono Connect onboarding flow.
This optional string is used as a reference to the current
instance of Mono Connect. It will be passed to the data object
in all onEvent callbacks. It's recommended to pass a random string.