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
148
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.2 to 2.0.3

3

lib/esm/index.d.ts

@@ -5,3 +5,2 @@ import { PublicSignKey } from "@peerbit/crypto";

import { EventHandler } from "@libp2p/interface";
import { PeerId as Libp2pPeerId } from "@libp2p/interface/peer-id";
export declare class SubscriptionEvent {

@@ -58,7 +57,5 @@ from: PublicSignKey;

topics?: string[];
to?: (string | PublicSignKey | Libp2pPeerId)[];
mode?: DeliveryMode | undefined;
} | {
topics: string[];
to: (string | PublicSignKey | Libp2pPeerId)[];
mode?: DeliveryMode | undefined;

@@ -65,0 +62,0 @@ }) & {

8

package.json
{
"name": "@peerbit/pubsub-interface",
"version": "2.0.2",
"version": "2.0.3",
"description": "Block store streaming",

@@ -53,6 +53,6 @@ "type": "module",

"@dao-xyz/borsh": "^5.1.8",
"@peerbit/crypto": "2.1.0",
"@peerbit/stream-interface": "^2.0.1"
"@peerbit/crypto": "2.1.1",
"@peerbit/stream-interface": "^2.0.2"
},
"gitHead": "c88b8601709962f01398be6c9e81f05f3daa3654"
"gitHead": "f4cb6a526d26e98360c32fd28dcdf9eb7ea10551"
}

@@ -111,3 +111,2 @@ import { PublicSignKey } from "@peerbit/crypto";

topics?: string[];
to?: (string | PublicSignKey | Libp2pPeerId)[];
mode?: DeliveryMode | undefined;

@@ -117,3 +116,2 @@ }

topics: string[];
to: (string | PublicSignKey | Libp2pPeerId)[];
mode?: DeliveryMode | undefined;

@@ -120,0 +118,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