@libp2p/interface-metrics
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -20,3 +20,3 @@ import type { MultiaddrConnection, Stream, Connection } from '@libp2p/interface-connection'; | ||
*/ | ||
export declare type CalculateMetric<T = number> = (() => T) | (() => Promise<T>); | ||
export type CalculateMetric<T = number> = (() => T) | (() => Promise<T>); | ||
/** | ||
@@ -23,0 +23,0 @@ * Create tracked metrics that are expensive to calculate by passing |
{ | ||
"name": "@libp2p/interface-metrics", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Metrics interface for libp2p", | ||
@@ -26,3 +26,3 @@ "license": "Apache-2.0 OR MIT", | ||
"src", | ||
"dist/src", | ||
"dist", | ||
"!dist/test", | ||
@@ -139,4 +139,7 @@ "!**/*.tsbuildinfo" | ||
"devDependencies": { | ||
"aegir": "^37.4.0" | ||
"aegir": "^37.7.3" | ||
}, | ||
"typedoc": { | ||
"entryPoint": "./src/index.ts" | ||
} | ||
} |
@@ -14,2 +14,3 @@ # @libp2p/interface-metrics <!-- omit in toc --> | ||
- [Implementations](#implementations) | ||
- [API Docs](#api-docs) | ||
- [License](#license) | ||
@@ -28,2 +29,6 @@ - [Contribute](#contribute) | ||
## API Docs | ||
- <https://libp2p.github.io/js-libp2p-interfaces> | ||
## License | ||
@@ -30,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
20612
10
341
42