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

fix rebase error from PR#12 #14

Merged
merged 1 commit into from
May 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class Kepler {
return await this.orbit(orbit).del(cid)
}

public orbit(orbit: string): Orbit<A> {
public orbit(orbit: string): Orbit {
return new Orbit(this.url, orbit, this.auth);
}

Expand All @@ -101,11 +101,11 @@ export class Kepler {
}
}

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

public get orbit(): string {
Expand Down