@libp2p/interface-record
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
10337