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

@peerbit/stream-interface

Package Overview
Dependencies
Maintainers
0
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peerbit/stream-interface - npm Package Compare versions

Comparing version 5.0.5-d83d7e7 to 5.0.5-e9a5cd4

5

dist/src/index.d.ts

@@ -17,6 +17,9 @@ import type { PeerId } from "@libp2p/interface";

export interface WaitForPeer {
waitFor(peer: PeerId | PublicSignKey, options?: {
waitFor(peer: PeerId | PublicSignKey | string, options?: {
signal?: AbortSignal;
}): Promise<void>;
}
export interface PublicKeyFromHashResolver {
getPublicKey(hash: string): PublicSignKey | Promise<PublicSignKey>;
}
export declare class NotStartedError extends Error {

@@ -23,0 +26,0 @@ constructor();

4

package.json
{
"name": "@peerbit/stream-interface",
"version": "5.0.5-d83d7e7",
"version": "5.0.5-e9a5cd4",
"description": "Block store streaming",

@@ -78,4 +78,4 @@ "sideEffects": false,

"@dao-xyz/borsh": "^5.2.3",
"@peerbit/crypto": "2.3.2-d83d7e7"
"@peerbit/crypto": "2.3.2-e9a5cd4"
}
}

@@ -22,3 +22,3 @@ import type { PeerId } from "@libp2p/interface";

waitFor(
peer: PeerId | PublicSignKey,
peer: PeerId | PublicSignKey | string,
options?: { signal?: AbortSignal },

@@ -28,2 +28,6 @@ ): Promise<void>;

export interface PublicKeyFromHashResolver {
getPublicKey(hash: string): PublicSignKey | Promise<PublicSignKey>;
}
export class NotStartedError extends Error {

@@ -30,0 +34,0 @@ constructor() {

Sorry, the diff of this file is not supported yet

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