@helia/verified-fetch 7.2.1 → 7.2.3
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 +10 -10
- package/dist/index.min.js.map +1 -1
- package/dist/src/index.d.ts +8 -8
- package/dist/src/index.js +8 -8
- package/package.json +1 -1
- package/src/index.ts +8 -8
package/README.md
CHANGED
|
@@ -825,20 +825,20 @@ that not all of them may be present in a given response.
|
|
|
825
825
|
Router, block broker and transport abbreviations used in the `desc` fields
|
|
826
826
|
follow.
|
|
827
827
|
|
|
828
|
-
| Timing metric | Elaboration | Detail | Example
|
|
829
|
-
| ------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
830
|
-
| d | DNSLink.resolve | Resolving a DNSLink to an IPFS path or IPNS name | `d;dur=
|
|
831
|
-
| i | IPFS.resolve | Resolving a CID + path to a CID | `i;dur=
|
|
832
|
-
| n | IPNS.resolve | Resolving an IPNS name to an IPFS path | `n;dur=
|
|
833
|
-
| 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
|
|
834
|
-
| 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
|
|
835
|
-
| 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
|
|
836
|
-
| 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
|
|
828
|
+
| Timing metric | Elaboration | Detail | Example |
|
|
829
|
+
| ------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
|
|
830
|
+
| d | DNSLink.resolve | Resolving a DNSLink to an IPFS path or IPNS name | `d;dur=200` |
|
|
831
|
+
| i | IPFS.resolve | Resolving a CID + path to a CID | `i;dur=200` |
|
|
832
|
+
| n | IPNS.resolve | Resolving an IPNS name to an IPFS path | `n;dur=200` |
|
|
833
|
+
| 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"` |
|
|
834
|
+
| 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"` |
|
|
835
|
+
| 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"` |
|
|
836
|
+
| 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"` |
|
|
837
837
|
|
|
838
838
|
A full header might look like:
|
|
839
839
|
|
|
840
840
|
```
|
|
841
|
-
i;dur=0,p;dur=0;desc="h,bagqbeaawn",p;dur=0;desc="h,bagqbeaawn",p;dur=1;desc="h,bagqbeaa7n",p;dur=1;desc="h,bagqbeaa7n",f;dur=1;desc="h,4",f;dur=1;desc="h,4",f;dur=144;desc="l,0",f;dur=144;desc="l,0",c;dur=206;desc="t,bagqbeaa7n,h",b;dur=
|
|
841
|
+
i;dur=0,p;dur=0;desc="h,bagqbeaawn",p;dur=0;desc="h,bagqbeaawn",p;dur=1;desc="h,bagqbeaa7n",p;dur=1;desc="h,bagqbeaa7n",f;dur=1;desc="h,4",f;dur=1;desc="h,4",f;dur=144;desc="l,0",f;dur=144;desc="l,0",c;dur=206;desc="t,bagqbeaa7n,h",b;dur=1000;desc="t,bagqbeaa7n,bafybeigoc"
|
|
842
842
|
```
|
|
843
843
|
|
|
844
844
|
Here resolving a CID to a CID+path took less than a millisecond (e.g. a bare
|