This repository was archived by the owner on Mar 8, 2024. It is now read-only.
Commit c463b1b
docs: [6/x] Return All Payment Info Header (#408)
* refactor: todos/comments/error messages
* refactor+tests: media types
* lint: drop explicit typing on some variables
* test: use deepStrictEqual
* lint: drop comment
* feat: return multiple addresses header
* test: fix tests
* chore: drop unused file
* refactor: paymentInfo -> addressInfo
* refactor: acceptHeaders -> headers
* chore: package lock fix
* fix: merge markers
* fix: string cast-
* fix: compiler errors, return null on no environment
* refactor: clean up tests
* refactor: re-organize utils
* fix: return null for no environment
* tests: getPreferredAddressInfo, getDetailsType, formatPaymentInfo
* fix: make environment optional
* fix: tests
* refactor: code comments + rename acceptType
* fix: make environment optional value
* nit: renaming fields
* nit: const names
* fix: append memo
* nit: test spacing
* merge: pre merge cleanup
* nit: rename
* fix: test names, environment is optional
* docs: update README
* refactor: export parseAcceptHeader helper and use in unit tests
* Update src/utils/basePayId.ts
Co-authored-by: Hans Bergren <hansbergren@gmail.com>
* fix: optional memo injection
* fix: comments
* fix: test failing
* fix: memo ref
* fix: merge error
Co-authored-by: Hans Bergren <hansbergren@gmail.com>1 parent 3b56b0a commit c463b1b
2 files changed
Lines changed: 29 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
697 | 698 | | |
698 | 699 | | |
699 | 700 | | |
700 | | - | |
| 701 | + | |
701 | 702 | | |
702 | 703 | | |
703 | | - | |
704 | | - | |
| 704 | + | |
| 705 | + | |
705 | 706 | | |
706 | 707 | | |
707 | 708 | | |
| |||
778 | 779 | | |
779 | 780 | | |
780 | 781 | | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
785 | 792 | | |
786 | 793 | | |
787 | 794 | | |
| |||
938 | 945 | | |
939 | 946 | | |
940 | 947 | | |
| 948 | + | |
941 | 949 | | |
942 | 950 | | |
943 | 951 | | |
| |||
1038 | 1046 | | |
1039 | 1047 | | |
1040 | 1048 | | |
1041 | | - | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
1042 | 1056 | | |
1043 | 1057 | | |
1044 | 1058 | | |
1045 | 1059 | | |
1046 | 1060 | | |
1047 | 1061 | | |
1048 | 1062 | | |
1049 | | - | |
| 1063 | + | |
1050 | 1064 | | |
1051 | 1065 | | |
1052 | 1066 | | |
1053 | 1067 | | |
1054 | 1068 | | |
1055 | | - | |
| 1069 | + | |
1056 | 1070 | | |
1057 | 1071 | | |
1058 | 1072 | | |
1059 | 1073 | | |
1060 | 1074 | | |
1061 | 1075 | | |
1062 | | - | |
| 1076 | + | |
1063 | 1077 | | |
1064 | 1078 | | |
1065 | 1079 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
0 commit comments