packages/extension-dapp/src/bundle.ts
Function web3Enable
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function web3Enable (originName: string, compatInits: (() => Promise<boolean>)[] = []): Promise<InjectedExtension[]> {
if (!originName) {
throw new Error('You must pass a name for your app to the web3Enable function');
}