@peerbit/pubsub-interface
Advanced tools
Comparing version 1.1.0 to 1.1.1
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
41208
+ Added@peerbit/crypto@1.0.6(transitive)
- Removed@libp2p/crypto@1.0.17(transitive)
- Removed@libp2p/interface-keys@1.0.8(transitive)
- Removed@libp2p/interface-peer-id@2.0.2(transitive)
- Removed@libp2p/peer-id@2.0.4(transitive)
- Removed@noble/ed25519@1.7.3(transitive)
- Removed@noble/secp256k1@1.7.1(transitive)
- Removed@peerbit/crypto@1.0.5(transitive)
- Removedmultiformats@11.0.2(transitive)
Updated@peerbit/crypto@1.0.6