@libp2p/interfaces
Advanced tools
Comparing version 1.3.18 to 1.3.19
@@ -34,16 +34,16 @@ import type { PeerId } from '../peer-id/index.js'; | ||
export interface PubSubRPCMessage { | ||
from?: Uint8Array | null; | ||
topic?: string | null; | ||
data?: Uint8Array | null; | ||
sequenceNumber?: Uint8Array | null; | ||
signature?: Uint8Array | null; | ||
key?: Uint8Array | null; | ||
from?: Uint8Array; | ||
topic?: string; | ||
data?: Uint8Array; | ||
sequenceNumber?: Uint8Array; | ||
signature?: Uint8Array; | ||
key?: Uint8Array; | ||
} | ||
export interface PubSubRPCSubscription { | ||
subscribe?: boolean | null; | ||
topic?: string | null; | ||
subscribe?: boolean; | ||
topic?: string; | ||
} | ||
export interface PubSubRPC { | ||
subscriptions?: PubSubRPCSubscription[] | null; | ||
messages?: PubSubRPCMessage[] | null; | ||
subscriptions: PubSubRPCSubscription[]; | ||
messages: PubSubRPCMessage[]; | ||
} | ||
@@ -50,0 +50,0 @@ export interface PeerStreams extends EventEmitter<PeerStreamEvents> { |
{ | ||
"name": "@libp2p/interfaces", | ||
"version": "1.3.18", | ||
"version": "1.3.19", | ||
"description": "Interfaces for JS Libp2p", | ||
@@ -224,8 +224,11 @@ "license": "Apache-2.0 OR MIT", | ||
"scripts": { | ||
"clean": "aegir clean", | ||
"lint": "aegir lint", | ||
"dep-check": "aegir dep-check dist/src/**/*.js dist/test/**/*.js", | ||
"build": "tsc" | ||
"dep-check": "aegir dep-check", | ||
"build": "aegir build", | ||
"release": "aegir release" | ||
}, | ||
"dependencies": { | ||
"@multiformats/multiaddr": "^10.1.5", | ||
"err-code": "^3.0.1", | ||
"interface-datastore": "^6.1.0", | ||
@@ -235,4 +238,4 @@ "multiformats": "^9.6.3" | ||
"devDependencies": { | ||
"aegir": "^36.1.3" | ||
"aegir": "^37.0.6" | ||
} | ||
} |
@@ -38,18 +38,18 @@ import type { PeerId } from '../peer-id/index.js' | ||
export interface PubSubRPCMessage { | ||
from?: Uint8Array | null | ||
topic?: string | null | ||
data?: Uint8Array | null | ||
sequenceNumber?: Uint8Array | null | ||
signature?: Uint8Array | null | ||
key?: Uint8Array | null | ||
from?: Uint8Array | ||
topic?: string | ||
data?: Uint8Array | ||
sequenceNumber?: Uint8Array | ||
signature?: Uint8Array | ||
key?: Uint8Array | ||
} | ||
export interface PubSubRPCSubscription { | ||
subscribe?: boolean | null | ||
topic?: string | null | ||
subscribe?: boolean | ||
topic?: string | ||
} | ||
export interface PubSubRPC { | ||
subscriptions?: PubSubRPCSubscription[] | null | ||
messages?: PubSubRPCMessage[] | null | ||
subscriptions: PubSubRPCSubscription[] | ||
messages: PubSubRPCMessage[] | ||
} | ||
@@ -56,0 +56,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1366419
4
+ Addederr-code@^3.0.1