Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
remove generics from Kepler class
Browse files Browse the repository at this point in the history
  • Loading branch information
chunningham committed May 7, 2021
1 parent 12327ff commit c8b1c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export const authenticator: AuthFactory<DAppClient> = async (client) =>
return auth + " " + signature
}

export class Kepler<A extends Authenticator> {
export class Kepler {
constructor(
private url: string,
private auth: A,
private auth: Authenticator,
) { }

public async resolve(keplerUri: string, authenticate: boolean = true): Promise<Response> {
Expand Down

0 comments on commit c8b1c1e

Please sign in to comment.