New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/interface-metrics

Package Overview
Dependencies
Maintainers
6
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-metrics - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

dist/index.min.js

2

dist/src/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc