Skip to content

Commit

Permalink
fix: cardano
Browse files Browse the repository at this point in the history
add provde props to cardano constructor
  • Loading branch information
lucasportella committed Feb 15, 2024
1 parent dd132ac commit 0e10aab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ada/index.ts
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 0e10aab

Please sign in to comment.