@helia/verified-fetch 2.6.13 → 2.6.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +4 -4
  2. package/dist/index.min.js +56 -56
  3. package/dist/index.min.js.map +4 -4
  4. package/dist/src/index.d.ts +5 -5
  5. package/dist/src/index.d.ts.map +1 -1
  6. package/dist/src/index.js +0 -3
  7. package/dist/src/index.js.map +1 -1
  8. package/dist/src/plugins/plugin-handle-car.d.ts.map +1 -1
  9. package/dist/src/plugins/plugin-handle-car.js +5 -1
  10. package/dist/src/plugins/plugin-handle-car.js.map +1 -1
  11. package/dist/src/plugins/plugin-handle-dag-pb.js +2 -2
  12. package/dist/src/plugins/plugin-handle-dag-pb.js.map +1 -1
  13. package/dist/src/plugins/plugin-handle-raw.js +1 -1
  14. package/dist/src/plugins/plugin-handle-raw.js.map +1 -1
  15. package/dist/src/utils/get-stream-from-async-iterable.d.ts +1 -1
  16. package/dist/src/utils/get-stream-from-async-iterable.d.ts.map +1 -1
  17. package/dist/src/utils/get-stream-from-async-iterable.js.map +1 -1
  18. package/dist/src/utils/get-tar-stream.d.ts.map +1 -1
  19. package/dist/src/utils/get-tar-stream.js.map +1 -1
  20. package/dist/src/utils/handle-redirects.d.ts +2 -2
  21. package/dist/src/utils/handle-redirects.d.ts.map +1 -1
  22. package/dist/src/utils/handle-redirects.js +0 -2
  23. package/dist/src/utils/handle-redirects.js.map +1 -1
  24. package/dist/src/utils/libp2p-defaults.browser.d.ts.map +1 -1
  25. package/dist/src/utils/libp2p-defaults.browser.js.map +1 -1
  26. package/dist/src/utils/libp2p-defaults.d.ts.map +1 -1
  27. package/dist/src/utils/libp2p-defaults.js.map +1 -1
  28. package/dist/src/utils/parse-url-string.d.ts +1 -1
  29. package/dist/src/utils/parse-url-string.d.ts.map +1 -1
  30. package/dist/src/utils/parse-url-string.js.map +1 -1
  31. package/dist/src/utils/set-content-type.d.ts +9 -3
  32. package/dist/src/utils/set-content-type.d.ts.map +1 -1
  33. package/dist/src/utils/set-content-type.js +9 -5
  34. package/dist/src/utils/set-content-type.js.map +1 -1
  35. package/dist/src/utils/walk-path.d.ts +3 -3
  36. package/dist/src/utils/walk-path.d.ts.map +1 -1
  37. package/dist/src/utils/walk-path.js +0 -2
  38. package/dist/src/utils/walk-path.js.map +1 -1
  39. package/dist/src/verified-fetch.d.ts +1 -1
  40. package/dist/src/verified-fetch.d.ts.map +1 -1
  41. package/dist/src/verified-fetch.js +0 -3
  42. package/dist/src/verified-fetch.js.map +1 -1
  43. package/package.json +54 -30
  44. package/src/index.ts +7 -5
  45. package/src/plugins/plugin-handle-car.ts +5 -1
  46. package/src/plugins/plugin-handle-dag-pb.ts +2 -2
  47. package/src/plugins/plugin-handle-raw.ts +1 -1
  48. package/src/utils/get-stream-from-async-iterable.ts +2 -1
  49. package/src/utils/get-tar-stream.ts +4 -2
  50. package/src/utils/handle-redirects.ts +2 -2
  51. package/src/utils/libp2p-defaults.browser.ts +2 -1
  52. package/src/utils/libp2p-defaults.ts +2 -1
  53. package/src/utils/parse-url-string.ts +2 -1
  54. package/src/utils/set-content-type.ts +17 -5
  55. package/src/utils/walk-path.ts +4 -3
  56. package/src/verified-fetch.ts +5 -4
  57. package/LICENSE +0 -4
package/README.md CHANGED
@@ -858,7 +858,7 @@ $ npm i @helia/verified-fetch
858
858
 
859
859
  ## Browser `<script>` tag
860
860
 
861
- Loading this module through a script tag will make it's exports available as `HeliaVerifiedFetch` in the global namespace.
861
+ Loading this module through a script tag will make its exports available as `HeliaVerifiedFetch` in the global namespace.
862
862
 
863
863
  ```html
864
864
  <script src="https://unpkg.com/@helia/verified-fetch/dist/index.min.js"></script>
@@ -866,14 +866,14 @@ Loading this module through a script tag will make it's exports available as `He
866
866
 
867
867
  # API Docs
868
868
 
869
- - <https://ipfs.github.io/helia-verified-fetch/modules.html>
869
+ - <https://ipfs.github.io/helia-verified-fetch/modules/_helia_verified_fetch.html>
870
870
 
871
871
  # License
872
872
 
873
873
  Licensed under either of
874
874
 
875
- - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
876
- - MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
875
+ - Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/helia-verified-fetch/blob/main/packages/verified-fetch/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
876
+ - MIT ([LICENSE-MIT](https://github.com/ipfs/helia-verified-fetch/blob/main/packages/verified-fetch/LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
877
877
 
878
878
  # Contribute
879
879