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

662/mk/use open payments types #1024

Merged
merged 33 commits into from
Feb 2, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c3ccd88
feat(open-payments): export the different IncomingPayment types
mkurapov Jan 24, 2023
3415f5f
feat(backend): use open-payment types for IncomingPayment
mkurapov Jan 24, 2023
4693a79
feat(backend): use open-payment types for Connection
mkurapov Jan 24, 2023
c633b30
feat(backend): use open-payment types for OutgoingPayment
mkurapov Jan 24, 2023
909462a
feat(backend): use open-payment types for Quote
mkurapov Jan 24, 2023
8feaacb
chore(backend): fix IncomingPayments.toOpenPaymentsType
mkurapov Jan 24, 2023
5300073
chore(open-payments): update mocks
mkurapov Jan 24, 2023
01a0ba0
chore(backend): formatting
mkurapov Jan 24, 2023
36d8b8e
chore(backend): add better typing for incomingPayment.toOpenPaymentsType
mkurapov Jan 25, 2023
d04f994
chore(backend): remove QuoteJSON
mkurapov Jan 25, 2023
379aee8
Merge branch 'main' into 662/mk/use-open-payments-types
mkurapov Jan 25, 2023
11fa542
chore(open-payments): fix mocks
mkurapov Jan 25, 2023
27cfdde
chore(backend): fix IncomingPayment types
mkurapov Jan 25, 2023
4efddb3
chore(open-payments): fix incoming payment types
mkurapov Jan 25, 2023
dc051ec
chore(backend): fix incoming payment method
mkurapov Jan 25, 2023
0fddf9e
chore(backend): make toOpenPaymentsType async
mkurapov Jan 28, 2023
ad57048
chore(backend): getUrl for OutgoingPayment
mkurapov Jan 28, 2023
d48dc0a
chore(backend): fix tests with async toOpenPaymentsType
mkurapov Jan 28, 2023
9302bad
chore(backend): return undefined instead of null
mkurapov Jan 28, 2023
5e5d4e8
chore(backend): add awaits where necessary
mkurapov Jan 28, 2023
25972d3
chore(open-payments): make getBody async
mkurapov Jan 28, 2023
4800c80
chore(backend): fix outgoingPayment model method
mkurapov Jan 28, 2023
cf95410
chore(backend): fix list tests
mkurapov Jan 28, 2023
9a967f1
chore(backend): update receiver tests
mkurapov Jan 28, 2023
e5f3c03
Merge branch 'main' into 662/mk/use-open-payments-types
mkurapov Feb 1, 2023
5733224
chore(backend): make toOpenPaymentType sync (#1056)
mkurapov Feb 1, 2023
28a34df
chore(backend): remove $formatJson where applicable
mkurapov Feb 2, 2023
5e95486
chore(backend): remove $formatJson where applicable
mkurapov Feb 2, 2023
b6d25c6
chore(backend): add test for incomingPayment model
mkurapov Feb 2, 2023
09a0c10
chore(backend): fix incomingPayment model test
mkurapov Feb 2, 2023
c079942
chore(open-payments): use suggestion
mkurapov Feb 2, 2023
c55e586
chore(backend): fix test
mkurapov Feb 2, 2023
fc311e2
chore(backend): use suggestion
mkurapov Feb 2, 2023
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
Prev Previous commit
Next Next commit
chore(backend): fix test
mkurapov committed Feb 2, 2023
commit c55e586e06cc57bf7d80d654e27538e558cac6d7
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ describe('Incoming Payment Model', (): void => {
incomingAmount: incomingPayment.incomingAmount
? serializeAmount(incomingPayment.incomingAmount)
: undefined,
expiresAt: incomingPayment.expiresAt,
expiresAt: incomingPayment.expiresAt.toISOString(),
description: incomingPayment.description ?? undefined,
externalRef: incomingPayment.externalRef ?? undefined,
updatedAt: incomingPayment.updatedAt.toISOString(),
@@ -74,7 +74,7 @@ describe('Incoming Payment Model', (): void => {
incomingAmount: incomingPayment.incomingAmount
? serializeAmount(incomingPayment.incomingAmount)
: undefined,
expiresAt: incomingPayment.expiresAt,
expiresAt: incomingPayment.expiresAt.toISOString(),
description: incomingPayment.description ?? undefined,
externalRef: incomingPayment.externalRef ?? undefined,
updatedAt: incomingPayment.updatedAt.toISOString(),