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 1.1.0 to 1.1.1

4

lib/esm/index.d.ts
import { PublicSignKey } from "@peerbit/crypto";
import { PubSubData, Subscription } from "./messages.js";
import { Message, DataMessage, WaitForPeer, PeerEvents } from "@peerbit/stream-interface";
import { EventHandler } from "@libp2p/interfaces/events";
import { PeerId as Libp2pPeerId } from "@libp2p/interface-peer-id";
import { EventHandler } from "@libp2p/interface/events";
import { PeerId as Libp2pPeerId } from "@libp2p/interface/peer-id";
export declare class SubscriptionEvent {

@@ -7,0 +7,0 @@ from: PublicSignKey;

@@ -12,3 +12,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { PubSubData, Subscription } from "./messages.js";
import { DataMessage, } from "@peerbit/stream-interface";
import { DataMessage } from "@peerbit/stream-interface";
import { field, option, vec } from "@dao-xyz/borsh";

@@ -83,3 +83,3 @@ export class SubscriptionEvent {

field({
type: option(Uint8Array),
type: option(Uint8Array)
}),

@@ -86,0 +86,0 @@ __metadata("design:type", Uint8Array)

@@ -12,3 +12,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { Uint8ArrayList } from "uint8arraylist";
import { field, vec, variant, serialize, deserialize, option, } from "@dao-xyz/borsh";
import { field, vec, variant, serialize, deserialize, option } from "@dao-xyz/borsh";
export class PubSubMessage {

@@ -15,0 +15,0 @@ static from(bytes) {

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

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

"@dao-xyz/borsh": "^5.1.5",
"@peerbit/crypto": "1.0.5",
"@peerbit/stream-interface": "^1.0.6"
"@peerbit/crypto": "1.0.6",
"@peerbit/stream-interface": "^1.0.7"
},
"gitHead": "464e807d679e24b897b7811ac99d6f85fbd756f9"
"gitHead": "0cfa376bc90c31e1063ddaf5435c828b490e0228"
}

@@ -7,6 +7,6 @@ import { PublicSignKey } from "@peerbit/crypto";

WaitForPeer,
PeerEvents,
PeerEvents
} from "@peerbit/stream-interface";
import { EventHandler } from "@libp2p/interfaces/events";
import { PeerId as Libp2pPeerId } from "@libp2p/interface-peer-id";
import { EventHandler } from "@libp2p/interface/events";
import { PeerId as Libp2pPeerId } from "@libp2p/interface/peer-id";
import { field, option, vec } from "@dao-xyz/borsh";

@@ -60,3 +60,3 @@

@field({
type: option(Uint8Array),
type: option(Uint8Array)
})

@@ -63,0 +63,0 @@ data?: Uint8Array;

@@ -8,3 +8,3 @@ import { Uint8ArrayList } from "uint8arraylist";

deserialize,
option,
option
} from "@dao-xyz/borsh";

@@ -11,0 +11,0 @@ export abstract class PubSubMessage {

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