Remove relay package, move everything into net

This commit is contained in:
Jon Staab
2025-10-20 13:09:53 -07:00
parent 88650fb166
commit 0be540c0d2
42 changed files with 128 additions and 528 deletions
+3 -3
View File
@@ -13,8 +13,8 @@ import {
getPubkey,
ISigner,
} from "@welshman/signer"
import {WrapManager} from "@welshman/relay"
import {relay, tracker} from "./core.js"
import {WrapManager} from "@welshman/net"
import {tracker, repository} from "./core.js"
export enum SessionMethod {
Nip01 = "nip01",
@@ -279,7 +279,7 @@ export const nip44EncryptToSelf = (payload: string) => {
// Gift wrap utilities
export const wrapManager = new WrapManager({relay, tracker})
export const wrapManager = new WrapManager({repository, tracker})
export const shouldUnwrap = withGetter(writable(false))