summaryrefslogtreecommitdiffstats
path: root/internal/auth
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-16 12:04:20 -0800
committerbndw <ben@bdw.to>2026-02-16 12:04:20 -0800
commit02d6819ebfdc5b18d65c83c4077a040466960bac (patch)
tree7a9b0875c7910a93b314d28759da8a171dc1a190 /internal/auth
parente7c37e80f0ebd0894df45cf2e9f4f29e16a781d7 (diff)
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.
Diffstat (limited to 'internal/auth')
-rw-r--r--internal/auth/auth_test.go2
-rw-r--r--internal/auth/credentials.go2
-rw-r--r--internal/auth/validation.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/internal/auth/auth_test.go b/internal/auth/auth_test.go
index 68c68f5..b350fda 100644
--- a/internal/auth/auth_test.go
+++ b/internal/auth/auth_test.go
@@ -8,7 +8,7 @@ import (
8 "time" 8 "time"
9 9
10 "google.golang.org/grpc/metadata" 10 "google.golang.org/grpc/metadata"
11 "northwest.io/nostr" 11 "code.northwest.io/nostr"
12) 12)
13 13
14func TestNostrCredentials(t *testing.T) { 14func TestNostrCredentials(t *testing.T) {
diff --git a/internal/auth/credentials.go b/internal/auth/credentials.go
index 8e8aae8..6019a28 100644
--- a/internal/auth/credentials.go
+++ b/internal/auth/credentials.go
@@ -8,7 +8,7 @@ import (
8 "fmt" 8 "fmt"
9 "time" 9 "time"
10 10
11 "northwest.io/nostr" 11 "code.northwest.io/nostr"
12) 12)
13 13
14// NostrCredentials implements credentials.PerRPCCredentials for NIP-98 auth. 14// NostrCredentials implements credentials.PerRPCCredentials for NIP-98 auth.
diff --git a/internal/auth/validation.go b/internal/auth/validation.go
index 8b9d8a1..366c8e9 100644
--- a/internal/auth/validation.go
+++ b/internal/auth/validation.go
@@ -7,7 +7,7 @@ import (
7 "strings" 7 "strings"
8 "time" 8 "time"
9 9
10 "northwest.io/nostr" 10 "code.northwest.io/nostr"
11) 11)
12 12
13type ValidationOptions struct { 13type ValidationOptions struct {