Skip to content

Commit

Permalink
Merge pull request #18 from RobbyUitbeijerse/chore/expose-paymaster-api
Browse files Browse the repository at this point in the history
chore: expose Paymasters API
  • Loading branch information
jamalavedra authored Nov 4, 2024
2 parents 587090d + 1ec49eb commit 7ec2761
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
File renamed without changes.
7 changes: 6 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AccountsApiWrapper } from "./apis/accountsApiWrapper";
import { ContractsApiWrapper } from "./apis/contractsApiWrapper";
import { Observable } from "./utilities/observable";
import { Observer } from "./utilities/observer";
import { PaymasterApiWrapper } from "./apis/paymasterApiWrapper";
import { PlayersApiWrapper } from "./apis/playersApiWrapper";
import { PoliciesApiWrapper } from "./apis/policiesApiWrapper";
import { PolicyRulesApiWrapper } from "./apis/policyRulesApiWrapper";
Expand Down Expand Up @@ -31,10 +32,14 @@ export default class Openfort {
return this.getOrCreateWrapper(ContractsApiWrapper);
}

public get paymasters(): PaymasterApiWrapper {
return this.getOrCreateWrapper(PaymasterApiWrapper);
}

public get players(): PlayersApiWrapper {
return this.getOrCreateWrapper(PlayersApiWrapper);
}

public get policies(): PoliciesApiWrapper {
return this.getOrCreateWrapper(PoliciesApiWrapper);
}
Expand Down

0 comments on commit 7ec2761

Please sign in to comment.