Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typed connectors #433

Merged
merged 9 commits into from
Dec 3, 2021
Merged

Typed connectors #433

merged 9 commits into from
Dec 3, 2021

Conversation

dylancom
Copy link
Contributor

@dylancom dylancom commented Nov 29, 2021

Solves #283

@github-actions
Copy link

Build files:

@dylancom dylancom changed the title [WIP] Typed connectors Typed connectors Nov 30, 2021
@dylancom dylancom linked an issue Dec 1, 2021 that may be closed by this pull request
async request(
method: string,
path: string,
apiKey: string | undefined,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this one really be undefined?

data: {
preimage: string;
paymentHash: string;
route: { total_amt: number; total_fees: number };
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it is a good time to not have this nested in the route option?

originally I tried to follow lnd's response as much as possible, but I am not sure if that makes sense for us

@dylancom dylancom merged commit ae112e1 into master Dec 3, 2021
@dylancom dylancom deleted the connectors-typescript branch December 3, 2021 12:18
@bumi bumi added the chore Cleanup, refactorings and other maintenance tasks label Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Cleanup, refactorings and other maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert connectors to TypeScript
2 participants