Currently ual-anchor throws an error if you don't include a name during its instantiation.
For example:
import AnchorLinkProvider from 'eos-transit-anchorlink-provider';
const context = initAccessContext({
appName: 'dapp_name',
walletProviders: [AnchorLinkProvider()]
});
This will throw an error unless you also pass the name to the AnchorLinkProvider constructor, like so:
import AnchorLinkProvider from 'eos-transit-anchorlink-provider';
const context = initAccessContext({
appName: 'dapp_name',
walletProviders: [AnchorLinkProvider('dapp_name')]
});
Ideally the AnchorLinkProvider should just inherit the name from the appName variable within the parent configuration.