From 02d6819ebfdc5b18d65c83c4077a040466960bac Mon Sep 17 00:00:00 2001 From: bndw Date: Mon, 16 Feb 2026 12:04:20 -0800 Subject: refactor: migrate nostr dependency to code.northwest.io Updated all import references from northwest.io/nostr to code.northwest.io/nostr and removed the local replace directive from go.mod. The module is now resolved from the published repository. --- internal/handler/grpc/convert.go | 2 +- internal/handler/grpc/convert_test.go | 2 +- internal/handler/grpc/server_test.go | 2 +- internal/handler/websocket/convert.go | 2 +- internal/handler/websocket/handler.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'internal/handler') diff --git a/internal/handler/grpc/convert.go b/internal/handler/grpc/convert.go index 6f1bec3..a79b13a 100644 --- a/internal/handler/grpc/convert.go +++ b/internal/handler/grpc/convert.go @@ -2,7 +2,7 @@ package grpc import ( pb "northwest.io/muxstr/api/nostr/v1" - "northwest.io/nostr" + "code.northwest.io/nostr" ) func NostrToPB(n *nostr.Event) *pb.Event { diff --git a/internal/handler/grpc/convert_test.go b/internal/handler/grpc/convert_test.go index 7ef08f9..64f5b73 100644 --- a/internal/handler/grpc/convert_test.go +++ b/internal/handler/grpc/convert_test.go @@ -4,7 +4,7 @@ import ( "testing" pb "northwest.io/muxstr/api/nostr/v1" - "northwest.io/nostr" + "code.northwest.io/nostr" ) func TestNostrToPB(t *testing.T) { diff --git a/internal/handler/grpc/server_test.go b/internal/handler/grpc/server_test.go index 8bd48ea..99feee0 100644 --- a/internal/handler/grpc/server_test.go +++ b/internal/handler/grpc/server_test.go @@ -8,7 +8,7 @@ import ( pb "northwest.io/muxstr/api/nostr/v1" "northwest.io/muxstr/internal/storage" - "northwest.io/nostr" + "code.northwest.io/nostr" ) func TestPublishEvent(t *testing.T) { diff --git a/internal/handler/websocket/convert.go b/internal/handler/websocket/convert.go index 5a5692a..6072a3e 100644 --- a/internal/handler/websocket/convert.go +++ b/internal/handler/websocket/convert.go @@ -2,7 +2,7 @@ package websocket import ( pb "northwest.io/muxstr/api/nostr/v1" - "northwest.io/nostr" + "code.northwest.io/nostr" ) func NostrToPB(n *nostr.Event) *pb.Event { diff --git a/internal/handler/websocket/handler.go b/internal/handler/websocket/handler.go index 51288bc..6eb8763 100644 --- a/internal/handler/websocket/handler.go +++ b/internal/handler/websocket/handler.go @@ -12,7 +12,7 @@ import ( "northwest.io/muxstr/internal/storage" "northwest.io/muxstr/internal/subscription" "northwest.io/muxstr/internal/websocket" - "northwest.io/nostr" + "code.northwest.io/nostr" ) type EventStore interface { -- cgit v1.2.3