Breaking changes:
DataProvider
and LogMessagesDataProvider
now has mandatory property createActorFn:CreateActorFn
.
It is necessary due to the fact that browser extension wallets (Plug or InfinityWallet for example) now works with Actor
, but not with HttpAgent
type CreateActorOptions = { agentOptions?: HttpAgentOptions; actorOptions?: ActorConfig }
type CreateActorFn = <T>(canisterId: string, idlFactory: IDL.InterfaceFactory, options?: CreateActorOptions) => Promise<ActorSubclass<T> | undefined>