Commit 8f60822
feat: customize ipns dnsResolvers (#445)
* feat(verified-fetch): customize ipns dnsResolvers
* chore: pr comment
Co-authored-by: Alex Potsides <alex@achingbrain.net>
* test: fix dns-resolvers test
* chore: harden custom dns resolver test
* test: actually fix the custom dns resolver test
The test was passing when ran in isolation, but not in the group. dns caching was causing problems so i customized the url
* chore: firefox promise.any aggregate name is different
* fix: createVerifiedFetch passes through custom dnsResolvers
* docs: jsdoc fix from pr comment
Co-authored-by: Alex Potsides <alex@achingbrain.net>
* test: move custom-dns-resolvers tests
* test: move content-type-parser test
* docs: typo
Co-authored-by: Alex Potsides <alex@achingbrain.net>
* fix: dnsResolvers is passed in first arg to createVerifiedFetch
---------
Co-authored-by: Alex Potsides <alex@achingbrain.net>1 parent e92086a commit 8f60822
File tree
4 files changed
+108
-6
lines changed- src
- test
4 files changed
+108
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
141 | 163 | | |
142 | 164 | | |
143 | 165 | | |
| |||
472 | 494 | | |
473 | 495 | | |
474 | 496 | | |
475 | | - | |
| 497 | + | |
476 | 498 | | |
477 | 499 | | |
478 | 500 | | |
| |||
508 | 530 | | |
509 | 531 | | |
510 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
511 | 545 | | |
512 | 546 | | |
513 | 547 | | |
| |||
516 | 550 | | |
517 | 551 | | |
518 | 552 | | |
| 553 | + | |
| 554 | + | |
519 | 555 | | |
520 | 556 | | |
521 | 557 | | |
| |||
561 | 597 | | |
562 | 598 | | |
563 | 599 | | |
564 | | - | |
565 | | - | |
| 600 | + | |
566 | 601 | | |
| 602 | + | |
567 | 603 | | |
568 | 604 | | |
569 | 605 | | |
| |||
574 | 610 | | |
575 | 611 | | |
576 | 612 | | |
577 | | - | |
| 613 | + | |
578 | 614 | | |
579 | 615 | | |
580 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | | - | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
29 | 42 | | |
30 | 43 | | |
31 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments