Add sockets property to all targets
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "paravel",
|
"name": "paravel",
|
||||||
"version": "0.1.14",
|
"version": "0.1.15",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "paravel",
|
"name": "paravel",
|
||||||
"version": "0.1.14",
|
"version": "0.1.15",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "paravel",
|
"name": "paravel",
|
||||||
"version": "0.1.14",
|
"version": "0.1.15",
|
||||||
"description": "Yet another toolkit for nostr",
|
"description": "Yet another toolkit for nostr",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ export class Plex {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
get sockets() {
|
||||||
|
return [this.socket]
|
||||||
|
}
|
||||||
async send(...payload) {
|
async send(...payload) {
|
||||||
await this.socket.connect()
|
await this.socket.connect()
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ export class Relay {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
get sockets() {
|
||||||
|
return [this.socket]
|
||||||
|
}
|
||||||
async send(...payload) {
|
async send(...payload) {
|
||||||
await this.socket.connect()
|
await this.socket.connect()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user