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

@peerbit/pubsub-interface

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peerbit/pubsub-interface - npm Package Compare versions

Comparing version 2.0.13 to 3.0.0

4

lib/esm/index.d.ts
import { PublicSignKey } from "@peerbit/crypto";
import { PubSubData } from "./messages.js";
import { Message, DataMessage, WaitForPeer, PeerEvents, DeliveryMode } from "@peerbit/stream-interface";
import { Message, DataMessage, WaitForPeer, PeerEvents, DeliveryMode, PriorityOptions } from "@peerbit/stream-interface";
import { EventHandler } from "@libp2p/interface";

@@ -64,3 +64,3 @@ export declare class SubscriptionEvent {

client?: string;
};
} & PriorityOptions;
export interface PubSub extends IEventEmitter<PubSubEvents>, WaitForPeer {

@@ -67,0 +67,0 @@ getSubscribers(topic: string): MaybePromise<PublicSignKey[] | undefined>;

{
"name": "@peerbit/pubsub-interface",
"version": "2.0.13",
"version": "3.0.0",
"description": "Block store streaming",

@@ -54,5 +54,5 @@ "type": "module",

"@peerbit/crypto": "2.1.7",
"@peerbit/stream-interface": "^3.0.9"
"@peerbit/stream-interface": "^4.0.0"
},
"gitHead": "9b281c236fbc086bbf7cd585e66a07bbc9e3ac17"
"gitHead": "9536898b1f74d42c4f97183b864945fa29422d3e"
}

@@ -8,3 +8,4 @@ import { PublicSignKey } from "@peerbit/crypto";

PeerEvents,
DeliveryMode
DeliveryMode,
PriorityOptions
} from "@peerbit/stream-interface";

@@ -125,3 +126,3 @@ import { EventHandler } from "@libp2p/interface";

}
) & { client?: string };
) & { client?: string } & PriorityOptions;

@@ -128,0 +129,0 @@ export interface PubSub extends IEventEmitter<PubSubEvents>, WaitForPeer {

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