Remove mark methods from tags, move types dependencies to deps

This commit is contained in:
Jon Staab
2024-05-07 10:51:20 -07:00
parent f96bee686e
commit 199dbca32a
12 changed files with 20 additions and 31 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import type {Event, Filter} from 'nostr-tools'
import type {Message} from '@welshman/util'
import type {Message} from './Socket'
import type {Connection} from './Connection'
export type PublishMeta = {
+1 -1
View File
@@ -1,6 +1,6 @@
import type {Event, Filter} from 'nostr-tools'
import type {Emitter} from '@welshman/lib'
import type {Message} from '@welshman/util'
import type {Message} from './Socket'
import type {Connection} from './Connection'
import {NetworkContext} from './Context'
+2 -1
View File
@@ -1,6 +1,7 @@
import WebSocket from "isomorphic-ws"
import {Deferred, defer} from '@welshman/lib'
import type {Message} from '@welshman/util'
export type Message = [string, ...any[]]
export type PlexMessage = [{relays: string[]}, Message]
-1
View File
@@ -26,7 +26,6 @@
"fix": "gts fix"
},
"devDependencies": {
"@types/events": "^3.0.3",
"gts": "^5.0.1",
"tsc-multi": "^1.1.0",
"typescript": "~5.1.6"
+1 -1
View File
@@ -1,5 +1,5 @@
import {Emitter} from '@welshman/lib'
import type {Message} from '@welshman/util'
import type {Message} from '../Socket'
import type {Target} from '../Executor'
export class Multi extends Emitter {
+1 -2
View File
@@ -1,6 +1,5 @@
import {Emitter} from '@welshman/lib'
import type {Message} from '@welshman/util'
import type {PlexMessage} from '../Socket'
import type {PlexMessage, Message} from '../Socket'
import type {Connection} from '../Connection'
export class Plex extends Emitter {
+1 -1
View File
@@ -1,5 +1,5 @@
import {Emitter} from '@welshman/lib'
import type {Message} from '@welshman/util'
import type {Message} from '../Socket'
import type {Connection} from '../Connection'
export class Relay extends Emitter {
+1 -1
View File
@@ -1,5 +1,5 @@
import {Emitter} from '@welshman/lib'
import type {Message} from '@welshman/util'
import type {Message} from '../Socket'
import type {Connection} from '../Connection'
export class Relays extends Emitter {