From 0e10aab2e941f299431a793fa7734d2b99dcf1c8 Mon Sep 17 00:00:00 2001 From: Lucas Portella Date: Thu, 15 Feb 2024 14:26:02 -0300 Subject: [PATCH] fix: cardano add provde props to cardano constructor --- src/ada/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ada/index.ts b/src/ada/index.ts index db1f0bb..e0bc4bf 100644 --- a/src/ada/index.ts +++ b/src/ada/index.ts @@ -1,11 +1,12 @@ import { MissingPropsError } from '@/errors/missing-props-error'; import type { ProviderEntity } from '@/entities/provider-entity'; import type { Account, Address, Balance } from '@/types'; +import type { CardanoProviderProps } from './types'; import { connect } from '@/ada/connect'; export class CardanoProvider implements ProviderEntity { appName: string - constructor(appName: string) { + constructor({ appName }: CardanoProviderProps) { this.appName = appName if (!appName)