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

@libp2p/interface-record

Package Overview
Dependencies
Maintainers
6
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-record - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

dist/src/index.d.ts

@@ -18,3 +18,3 @@ import type { PeerId } from '@libp2p/interface-peer-id';

*/
marshal: () => Uint8ArrayList;
marshal: () => Uint8Array;
/**

@@ -28,5 +28,5 @@ * Verifies if the other provided Record is identical to this one.

payloadType: Uint8Array | Uint8ArrayList;
payload: Uint8Array | Uint8ArrayList;
payload: Uint8Array;
signature: Uint8Array | Uint8ArrayList;
marshal: () => Uint8ArrayList;
marshal: () => Uint8Array;
validate: (domain: string) => Promise<boolean>;

@@ -33,0 +33,0 @@ equals: (other: Envelope) => boolean;

{
"name": "@libp2p/interface-record",
"version": "2.0.0",
"version": "2.0.1",
"description": "Record interface for libp2p",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -19,3 +19,3 @@ import type { PeerId } from '@libp2p/interface-peer-id'

*/
marshal: () => Uint8ArrayList
marshal: () => Uint8Array
/**

@@ -30,8 +30,8 @@ * Verifies if the other provided Record is identical to this one.

payloadType: Uint8Array | Uint8ArrayList
payload: Uint8Array | Uint8ArrayList
payload: Uint8Array
signature: Uint8Array | Uint8ArrayList
marshal: () => Uint8ArrayList
marshal: () => Uint8Array
validate: (domain: string) => Promise<boolean>
equals: (other: Envelope) => boolean
}

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