@helia/verified-fetch 1.3.9 → 1.3.11
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.
- package/README.md +1 -1
- package/dist/index.min.js +5 -5
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -2
package/dist/src/index.d.ts
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
*
|
|
89
89
|
* The [helia](https://www.npmjs.com/package/helia) module is configured with a libp2p node that is suited for decentralized applications, alternatively [@helia/http](https://www.npmjs.com/package/@helia/http) is available which uses HTTP gateways for all network operations.
|
|
90
90
|
*
|
|
91
|
-
*
|
|
91
|
+
* See variations of [Helia and js-libp2p configuration options](https://helia.io/interfaces/helia.HeliaInit.html)
|
|
92
92
|
*
|
|
93
93
|
* ```typescript
|
|
94
94
|
* import { trustlessGateway } from '@helia/block-brokers'
|
|
@@ -629,7 +629,7 @@ export interface CreateVerifiedFetchInit {
|
|
|
629
629
|
*
|
|
630
630
|
* We use cloudflare and google's dnsJsonOverHttps resolvers by default.
|
|
631
631
|
*
|
|
632
|
-
* @default [dnsJsonOverHttps('https://
|
|
632
|
+
* @default [dnsJsonOverHttps('https://cloudflare-dns.com/dns-query'),dnsJsonOverHttps('https://dns.google/resolve')]
|
|
633
633
|
*/
|
|
634
634
|
dnsResolvers?: DNSResolver[] | DNSResolvers;
|
|
635
635
|
}
|
package/dist/src/index.js
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
*
|
|
89
89
|
* The [helia](https://www.npmjs.com/package/helia) module is configured with a libp2p node that is suited for decentralized applications, alternatively [@helia/http](https://www.npmjs.com/package/@helia/http) is available which uses HTTP gateways for all network operations.
|
|
90
90
|
*
|
|
91
|
-
*
|
|
91
|
+
* See variations of [Helia and js-libp2p configuration options](https://helia.io/interfaces/helia.HeliaInit.html)
|
|
92
92
|
*
|
|
93
93
|
* ```typescript
|
|
94
94
|
* import { trustlessGateway } from '@helia/block-brokers'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/verified-fetch",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.11",
|
|
4
4
|
"description": "A fetch-like API for obtaining verified & trustless IPFS content on the web",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/helia-verified-fetch/tree/main/packages/verified-fetch#readme",
|
package/src/index.ts
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
*
|
|
89
89
|
* The [helia](https://www.npmjs.com/package/helia) module is configured with a libp2p node that is suited for decentralized applications, alternatively [@helia/http](https://www.npmjs.com/package/@helia/http) is available which uses HTTP gateways for all network operations.
|
|
90
90
|
*
|
|
91
|
-
*
|
|
91
|
+
* See variations of [Helia and js-libp2p configuration options](https://helia.io/interfaces/helia.HeliaInit.html)
|
|
92
92
|
*
|
|
93
93
|
* ```typescript
|
|
94
94
|
* import { trustlessGateway } from '@helia/block-brokers'
|
|
@@ -642,7 +642,7 @@ export interface CreateVerifiedFetchInit {
|
|
|
642
642
|
*
|
|
643
643
|
* We use cloudflare and google's dnsJsonOverHttps resolvers by default.
|
|
644
644
|
*
|
|
645
|
-
* @default [dnsJsonOverHttps('https://
|
|
645
|
+
* @default [dnsJsonOverHttps('https://cloudflare-dns.com/dns-query'),dnsJsonOverHttps('https://dns.google/resolve')]
|
|
646
646
|
*/
|
|
647
647
|
dnsResolvers?: DNSResolver[] | DNSResolvers
|
|
648
648
|
}
|