From 905a68cd91015df9ae945f383a35b20d3e6e53d9 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 26 Jan 2023 20:03:50 -0300 Subject: [PATCH] update dependencies. --- go.mod | 2 +- go.sum | 4 ++-- start_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 0bc0240..08d23ee 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/kelseyhightower/envconfig v1.4.0 github.com/lib/pq v1.10.3 github.com/mmcdole/gofeed v1.1.3 - github.com/nbd-wtf/go-nostr v0.11.1 + github.com/nbd-wtf/go-nostr v0.12.0 github.com/rif/cache2go v1.0.0 github.com/rs/cors v1.7.0 github.com/stevelacy/daz v0.1.4 diff --git a/go.sum b/go.sum index a26c9df..a2f502e 100644 --- a/go.sum +++ b/go.sum @@ -320,8 +320,8 @@ github.com/moul/http2curl v1.0.0/go.mod h1:8UbvGypXm98wA/IqH45anm5Y2Z6ep6O31QGOA github.com/nats-io/nats.go v1.8.1/go.mod h1:BrFz9vVn0fU3AcH9Vn4Kd7W0NpJ651tD5omQ3M8LwxM= github.com/nats-io/nkeys v0.0.2/go.mod h1:dab7URMsZm6Z/jp9Z5UGa87Uutgc2mVpXLC4B7TDb/4= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -github.com/nbd-wtf/go-nostr v0.11.1 h1:kJn2Q3v1WJ4fvQ1tmwrL2Ke+t/rTj9jlwD3tdUPMgRI= -github.com/nbd-wtf/go-nostr v0.11.1/go.mod h1:qFFTIxh15H5GGN0WsBI/P73DteqsevnhSEW/yk8nEf4= +github.com/nbd-wtf/go-nostr v0.12.0 h1:6uo6D6jhcNzrzm6Fi8nA3jfZQqoXbeTWi9dIX5MsgZc= +github.com/nbd-wtf/go-nostr v0.12.0/go.mod h1:qFFTIxh15H5GGN0WsBI/P73DteqsevnhSEW/yk8nEf4= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nwaples/rardecode v1.1.2 h1:Cj0yZY6T1Zx1R7AhTbyGSALm44/Mmq+BAPc4B/p/d3M= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= diff --git a/start_test.go b/start_test.go index 50267ad..137ed3c 100644 --- a/start_test.go +++ b/start_test.go @@ -82,7 +82,7 @@ func TestServerShutdownWebsocket(t *testing.T) { // connect a client to it ctx1, cancel := context.WithTimeout(context.Background(), 2*time.Second) defer cancel() - client, err := nostr.RelayConnectContext(ctx1, "ws://"+srv.Addr()) + client, err := nostr.RelayConnect(ctx1, "ws://"+srv.Addr()) if err != nil { t.Fatalf("nostr.RelayConnectContext: %v", err) }