@helia/verified-fetch 7.2.1 → 7.2.2

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.
@@ -795,13 +795,13 @@
795
795
  *
796
796
  * | Timing metric | Elaboration | Detail | Example |
797
797
  * | ------------------ | --------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
798
- * | d | DNSLink.resolve | Resolving a DNSLink to an IPFS path or IPNS name | `d;dur=0.200` |
799
- * | i | IPFS.resolve | Resolving a CID + path to a CID | `i;dur=0.200` |
800
- * | n | IPNS.resolve | Resolving an IPNS name to an IPFS path | `n;dur=0.200` |
801
- * | p | Provider | A provider was found. The `desc` field contains the routing system that found the provider and the first 10 characters of the PeerId | `p;dur=0.000;desc="h,bagqbeaawn"` |
802
- * | f | Find Providers | The total duration of the routing systems Find Providers operation. The `desc` field contains the routing system and how many providers were found | `f;dur=2.000;desc="h,4"` |
803
- * | c | Connect | How long it took to connect to a provider. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the transport used | `b;dur=0.000;desc="t,bagqbeaa7n,bafybeigoc,t"` |
804
- * | b | Block | How long it took to retrieve a block from the provider once connected. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the first 10 characters of the CID | `b;dur=0.000;desc="t,bagqbeaa7n,bafybeigoc"` |
798
+ * | d | DNSLink.resolve | Resolving a DNSLink to an IPFS path or IPNS name | `d;dur=200` |
799
+ * | i | IPFS.resolve | Resolving a CID + path to a CID | `i;dur=200` |
800
+ * | n | IPNS.resolve | Resolving an IPNS name to an IPFS path | `n;dur=200` |
801
+ * | p | Provider | A provider was found. The `desc` field contains the routing system that found the provider and the first 10 characters of the PeerId | `p;dur=0;desc="h,bagqbeaawn"` |
802
+ * | f | Find Providers | The total duration of the routing systems Find Providers operation. The `desc` field contains the routing system and how many providers were found | `f;dur=2;desc="h,4"` |
803
+ * | c | Connect | How long it took to connect to a provider. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the transport used | `b;dur=0;desc="t,bagqbeaa7n,bafybeigoc,t"` |
804
+ * | b | Block | How long it took to retrieve a block from the provider once connected. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the first 10 characters of the CID | `b;dur=0;desc="t,bagqbeaa7n,bafybeigoc"` |
805
805
  *
806
806
  * A full header might look like:
807
807
  *
package/dist/src/index.js CHANGED
@@ -795,13 +795,13 @@
795
795
  *
796
796
  * | Timing metric | Elaboration | Detail | Example |
797
797
  * | ------------------ | --------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
798
- * | d | DNSLink.resolve | Resolving a DNSLink to an IPFS path or IPNS name | `d;dur=0.200` |
799
- * | i | IPFS.resolve | Resolving a CID + path to a CID | `i;dur=0.200` |
800
- * | n | IPNS.resolve | Resolving an IPNS name to an IPFS path | `n;dur=0.200` |
801
- * | p | Provider | A provider was found. The `desc` field contains the routing system that found the provider and the first 10 characters of the PeerId | `p;dur=0.000;desc="h,bagqbeaawn"` |
802
- * | f | Find Providers | The total duration of the routing systems Find Providers operation. The `desc` field contains the routing system and how many providers were found | `f;dur=2.000;desc="h,4"` |
803
- * | c | Connect | How long it took to connect to a provider. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the transport used | `b;dur=0.000;desc="t,bagqbeaa7n,bafybeigoc,t"` |
804
- * | b | Block | How long it took to retrieve a block from the provider once connected. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the first 10 characters of the CID | `b;dur=0.000;desc="t,bagqbeaa7n,bafybeigoc"` |
798
+ * | d | DNSLink.resolve | Resolving a DNSLink to an IPFS path or IPNS name | `d;dur=200` |
799
+ * | i | IPFS.resolve | Resolving a CID + path to a CID | `i;dur=200` |
800
+ * | n | IPNS.resolve | Resolving an IPNS name to an IPFS path | `n;dur=200` |
801
+ * | p | Provider | A provider was found. The `desc` field contains the routing system that found the provider and the first 10 characters of the PeerId | `p;dur=0;desc="h,bagqbeaawn"` |
802
+ * | f | Find Providers | The total duration of the routing systems Find Providers operation. The `desc` field contains the routing system and how many providers were found | `f;dur=2;desc="h,4"` |
803
+ * | c | Connect | How long it took to connect to a provider. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the transport used | `b;dur=0;desc="t,bagqbeaa7n,bafybeigoc,t"` |
804
+ * | b | Block | How long it took to retrieve a block from the provider once connected. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the first 10 characters of the CID | `b;dur=0;desc="t,bagqbeaa7n,bafybeigoc"` |
805
805
  *
806
806
  * A full header might look like:
807
807
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helia/verified-fetch",
3
- "version": "7.2.1",
3
+ "version": "7.2.2",
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
@@ -795,13 +795,13 @@
795
795
  *
796
796
  * | Timing metric | Elaboration | Detail | Example |
797
797
  * | ------------------ | --------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
798
- * | d | DNSLink.resolve | Resolving a DNSLink to an IPFS path or IPNS name | `d;dur=0.200` |
799
- * | i | IPFS.resolve | Resolving a CID + path to a CID | `i;dur=0.200` |
800
- * | n | IPNS.resolve | Resolving an IPNS name to an IPFS path | `n;dur=0.200` |
801
- * | p | Provider | A provider was found. The `desc` field contains the routing system that found the provider and the first 10 characters of the PeerId | `p;dur=0.000;desc="h,bagqbeaawn"` |
802
- * | f | Find Providers | The total duration of the routing systems Find Providers operation. The `desc` field contains the routing system and how many providers were found | `f;dur=2.000;desc="h,4"` |
803
- * | c | Connect | How long it took to connect to a provider. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the transport used | `b;dur=0.000;desc="t,bagqbeaa7n,bafybeigoc,t"` |
804
- * | b | Block | How long it took to retrieve a block from the provider once connected. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the first 10 characters of the CID | `b;dur=0.000;desc="t,bagqbeaa7n,bafybeigoc"` |
798
+ * | d | DNSLink.resolve | Resolving a DNSLink to an IPFS path or IPNS name | `d;dur=200` |
799
+ * | i | IPFS.resolve | Resolving a CID + path to a CID | `i;dur=200` |
800
+ * | n | IPNS.resolve | Resolving an IPNS name to an IPFS path | `n;dur=200` |
801
+ * | p | Provider | A provider was found. The `desc` field contains the routing system that found the provider and the first 10 characters of the PeerId | `p;dur=0;desc="h,bagqbeaawn"` |
802
+ * | f | Find Providers | The total duration of the routing systems Find Providers operation. The `desc` field contains the routing system and how many providers were found | `f;dur=2;desc="h,4"` |
803
+ * | c | Connect | How long it took to connect to a provider. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the transport used | `b;dur=0;desc="t,bagqbeaa7n,bafybeigoc,t"` |
804
+ * | b | Block | How long it took to retrieve a block from the provider once connected. The `desc` field contains the type of provider, the first 10 characters of their PeerId and the first 10 characters of the CID | `b;dur=0;desc="t,bagqbeaa7n,bafybeigoc"` |
805
805
  *
806
806
  * A full header might look like:
807
807
  *