-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: appkit client tests #3488
base: main
Are you sure you want to change the base?
fix: appkit client tests #3488
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
packages/appkit/src/client.ts
Outdated
@@ -1813,6 +1815,7 @@ export class AppKit { | |||
} | |||
|
|||
OptionsController.setUsingInjectedUniversalProvider(Boolean(this.options?.universalProvider)) | |||
console.log('>> Should call init', this.options.universalProvider) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ty
import { mockOptions } from './mocks/Options' | ||
import { UniversalAdapter } from '../universal-adapter/client' | ||
import type { AdapterBlueprint } from '../adapters/ChainAdapterBlueprint' | ||
import { ProviderUtil } from '../store' | ||
import { ErrorUtil } from '@reown/appkit-utils' | ||
import { UniversalProvider } from '@walletconnect/universal-provider' | ||
import UniversalProvider from '@walletconnect/universal-provider' | ||
import type { OptionsControllerStateInternal } from '../../../core/dist/types/src/controllers/OptionsController' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it import from the package ?
@@ -65,6 +65,7 @@ export const EventsController = { | |||
}, | |||
|
|||
sendEvent(data: EventsControllerState['data']) { | |||
console.log('>> EventsController.sendEvent', data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ?
Description
Type of change
Checklist