diff --git a/src/sdk.ts b/src/sdk.ts index 4cb3a1f..9151072 100644 --- a/src/sdk.ts +++ b/src/sdk.ts @@ -33,10 +33,9 @@ export class Sdk { public protocols(): Registry { if (!this.registry) { this.registry = new Registry(this); + registerDefaults(this.registry!); } - registerDefaults(this.registry!); - return this.registry!; }