diff --git a/src/base/provider/BaseProvider.ts b/src/base/provider/BaseProvider.ts index 3861d7a..fe605e5 100644 --- a/src/base/provider/BaseProvider.ts +++ b/src/base/provider/BaseProvider.ts @@ -31,7 +31,7 @@ export class BaseProvider { } static checkConfig(config: any) { - if (typeof config.source !== "object") { + if (typeof config?.source !== "object") { return false; }