dependency updates
This commit is contained in:
parent
fceb6d7258
commit
fae52d42e5
8 changed files with 151 additions and 158 deletions
4
go.mod
4
go.mod
|
@ -4,11 +4,11 @@ go 1.23.1
|
||||||
|
|
||||||
require (
|
require (
|
||||||
git.devvul.com/asara/gologger v0.9.0
|
git.devvul.com/asara/gologger v0.9.0
|
||||||
github.com/fiatjaf/eventstore v0.13.0
|
github.com/fiatjaf/eventstore v0.14.0
|
||||||
github.com/fiatjaf/khatru v0.11.0
|
github.com/fiatjaf/khatru v0.11.0
|
||||||
github.com/jmoiron/sqlx v1.4.0
|
github.com/jmoiron/sqlx v1.4.0
|
||||||
github.com/lib/pq v1.10.9
|
github.com/lib/pq v1.10.9
|
||||||
github.com/nbd-wtf/go-nostr v0.42.0
|
github.com/nbd-wtf/go-nostr v0.42.2
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
|
16
go.sum
16
go.sum
|
@ -24,12 +24,10 @@ github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 h1:rpfIENRNNilwHwZeG5+P150SMrnN
|
||||||
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0=
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0=
|
||||||
github.com/fasthttp/websocket v1.5.10 h1:bc7NIGyrg1L6sd5pRzCIbXpro54SZLEluZCu0rOpcN4=
|
github.com/fasthttp/websocket v1.5.10 h1:bc7NIGyrg1L6sd5pRzCIbXpro54SZLEluZCu0rOpcN4=
|
||||||
github.com/fasthttp/websocket v1.5.10/go.mod h1:BwHeuXGWzCW1/BIKUKD3+qfCl+cTdsHu/f243NcAI/Q=
|
github.com/fasthttp/websocket v1.5.10/go.mod h1:BwHeuXGWzCW1/BIKUKD3+qfCl+cTdsHu/f243NcAI/Q=
|
||||||
github.com/fiatjaf/eventstore v0.12.0 h1:ZdL+dZkIgBgIp5A3+3XLdPg/uucv5Tiws6DHzNfZG4M=
|
|
||||||
github.com/fiatjaf/eventstore v0.12.0/go.mod h1:PxeYbZ3MsH0XLobANsp6c0cJjJYkfmBJ3TwrplFy/08=
|
|
||||||
github.com/fiatjaf/eventstore v0.13.0 h1:60cE/oIUdVHoE6aOayjIyubiQIhMW6jezLjdvcl29Y4=
|
github.com/fiatjaf/eventstore v0.13.0 h1:60cE/oIUdVHoE6aOayjIyubiQIhMW6jezLjdvcl29Y4=
|
||||||
github.com/fiatjaf/eventstore v0.13.0/go.mod h1:XOl5B6WGBX1a0ww6s3WT94QVOmye/6zDTtyWHVtHQ5U=
|
github.com/fiatjaf/eventstore v0.13.0/go.mod h1:XOl5B6WGBX1a0ww6s3WT94QVOmye/6zDTtyWHVtHQ5U=
|
||||||
github.com/fiatjaf/khatru v0.9.1 h1:QjgEKKOxF+IZ5avztOSjgrWZ0+GPc/HVpdOlZAX5g74=
|
github.com/fiatjaf/eventstore v0.14.0 h1:eAyugJGFRCrXYJLCc2nC/BIApmBbQN/Z4dxvNz1SIvI=
|
||||||
github.com/fiatjaf/khatru v0.9.1/go.mod h1:WpsAMTmmN8d+ijdFu2RBHJkOVr4DPHMxqR1I/GutZCI=
|
github.com/fiatjaf/eventstore v0.14.0/go.mod h1:XOl5B6WGBX1a0ww6s3WT94QVOmye/6zDTtyWHVtHQ5U=
|
||||||
github.com/fiatjaf/khatru v0.11.0 h1:6f0iCNMCsg3Ka/L+zbn7iPwnueFPqnvqECrVsdrOVag=
|
github.com/fiatjaf/khatru v0.11.0 h1:6f0iCNMCsg3Ka/L+zbn7iPwnueFPqnvqECrVsdrOVag=
|
||||||
github.com/fiatjaf/khatru v0.11.0/go.mod h1:GfKKAR27sMxBmepv709QnL7C9lEmlhaj41LFm/ueATc=
|
github.com/fiatjaf/khatru v0.11.0/go.mod h1:GfKKAR27sMxBmepv709QnL7C9lEmlhaj41LFm/ueATc=
|
||||||
github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y=
|
github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y=
|
||||||
|
@ -61,10 +59,10 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
|
||||||
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
||||||
github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU=
|
github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU=
|
||||||
github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
|
github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
|
||||||
github.com/nbd-wtf/go-nostr v0.40.1 h1:+ogxn+CeRwjQSMSU161fOxKWtVWTEz/p++X4O8VKhMw=
|
|
||||||
github.com/nbd-wtf/go-nostr v0.40.1/go.mod h1:FBa4FBJO7NuANvkeKSlrf0BIyxGufmrUbuelr6Q4Ick=
|
|
||||||
github.com/nbd-wtf/go-nostr v0.42.0 h1:EofWfXEhKic9AYVf4RHuXZr+kKUZE2jVyJtJByNe1rE=
|
github.com/nbd-wtf/go-nostr v0.42.0 h1:EofWfXEhKic9AYVf4RHuXZr+kKUZE2jVyJtJByNe1rE=
|
||||||
github.com/nbd-wtf/go-nostr v0.42.0/go.mod h1:FBa4FBJO7NuANvkeKSlrf0BIyxGufmrUbuelr6Q4Ick=
|
github.com/nbd-wtf/go-nostr v0.42.0/go.mod h1:FBa4FBJO7NuANvkeKSlrf0BIyxGufmrUbuelr6Q4Ick=
|
||||||
|
github.com/nbd-wtf/go-nostr v0.42.2 h1:X8vpfLutvmyxqjsroKPHdIyPliNa6sYD8+CA0kDVySw=
|
||||||
|
github.com/nbd-wtf/go-nostr v0.42.2/go.mod h1:FBa4FBJO7NuANvkeKSlrf0BIyxGufmrUbuelr6Q4Ick=
|
||||||
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
|
@ -98,19 +96,13 @@ github.com/valyala/fasthttp v1.57.0 h1:Xw8SjWGEP/+wAAgyy5XTvgrWlOD1+TxbbvNADYCm1
|
||||||
github.com/valyala/fasthttp v1.57.0/go.mod h1:h6ZBaPRlzpZ6O3H5t2gEk1Qi33+TmLvfwgLLp0t9CpE=
|
github.com/valyala/fasthttp v1.57.0/go.mod h1:h6ZBaPRlzpZ6O3H5t2gEk1Qi33+TmLvfwgLLp0t9CpE=
|
||||||
github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU=
|
github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU=
|
||||||
github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E=
|
github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E=
|
||||||
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY=
|
|
||||||
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8=
|
|
||||||
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo=
|
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo=
|
||||||
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak=
|
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak=
|
||||||
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
|
|
||||||
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
|
|
||||||
golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo=
|
golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo=
|
||||||
golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM=
|
golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM=
|
||||||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
|
|
||||||
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
|
||||||
golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s=
|
golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s=
|
||||||
golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
|
|
18
vendor/github.com/nbd-wtf/go-nostr/envelopes.go
generated
vendored
18
vendor/github.com/nbd-wtf/go-nostr/envelopes.go
generated
vendored
|
@ -91,7 +91,7 @@ func (v *EventEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v EventEnvelope) MarshalJSON() ([]byte, error) {
|
func (v EventEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["EVENT",`)
|
w.RawString(`["EVENT",`)
|
||||||
if v.SubscriptionID != nil {
|
if v.SubscriptionID != nil {
|
||||||
w.RawString(`"` + *v.SubscriptionID + `",`)
|
w.RawString(`"` + *v.SubscriptionID + `",`)
|
||||||
|
@ -128,7 +128,7 @@ func (v *ReqEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v ReqEnvelope) MarshalJSON() ([]byte, error) {
|
func (v ReqEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["REQ",`)
|
w.RawString(`["REQ",`)
|
||||||
w.RawString(`"` + v.SubscriptionID + `"`)
|
w.RawString(`"` + v.SubscriptionID + `"`)
|
||||||
for _, filter := range v.Filters {
|
for _, filter := range v.Filters {
|
||||||
|
@ -183,7 +183,7 @@ func (v *CountEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v CountEnvelope) MarshalJSON() ([]byte, error) {
|
func (v CountEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["COUNT",`)
|
w.RawString(`["COUNT",`)
|
||||||
w.RawString(`"` + v.SubscriptionID + `"`)
|
w.RawString(`"` + v.SubscriptionID + `"`)
|
||||||
if v.Count != nil {
|
if v.Count != nil {
|
||||||
|
@ -219,7 +219,7 @@ func (v *NoticeEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v NoticeEnvelope) MarshalJSON() ([]byte, error) {
|
func (v NoticeEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["NOTICE",`)
|
w.RawString(`["NOTICE",`)
|
||||||
w.Raw(json.Marshal(string(v)))
|
w.Raw(json.Marshal(string(v)))
|
||||||
w.RawString(`]`)
|
w.RawString(`]`)
|
||||||
|
@ -245,7 +245,7 @@ func (v *EOSEEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v EOSEEnvelope) MarshalJSON() ([]byte, error) {
|
func (v EOSEEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["EOSE",`)
|
w.RawString(`["EOSE",`)
|
||||||
w.Raw(json.Marshal(string(v)))
|
w.Raw(json.Marshal(string(v)))
|
||||||
w.RawString(`]`)
|
w.RawString(`]`)
|
||||||
|
@ -273,7 +273,7 @@ func (v *CloseEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v CloseEnvelope) MarshalJSON() ([]byte, error) {
|
func (v CloseEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["CLOSE",`)
|
w.RawString(`["CLOSE",`)
|
||||||
w.Raw(json.Marshal(string(v)))
|
w.Raw(json.Marshal(string(v)))
|
||||||
w.RawString(`]`)
|
w.RawString(`]`)
|
||||||
|
@ -304,7 +304,7 @@ func (v *ClosedEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v ClosedEnvelope) MarshalJSON() ([]byte, error) {
|
func (v ClosedEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["CLOSED",`)
|
w.RawString(`["CLOSED",`)
|
||||||
w.Raw(json.Marshal(string(v.SubscriptionID)))
|
w.Raw(json.Marshal(string(v.SubscriptionID)))
|
||||||
w.RawString(`,`)
|
w.RawString(`,`)
|
||||||
|
@ -339,7 +339,7 @@ func (v *OKEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v OKEnvelope) MarshalJSON() ([]byte, error) {
|
func (v OKEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["OK",`)
|
w.RawString(`["OK",`)
|
||||||
w.RawString(`"` + v.EventID + `",`)
|
w.RawString(`"` + v.EventID + `",`)
|
||||||
ok := "false"
|
ok := "false"
|
||||||
|
@ -379,7 +379,7 @@ func (v *AuthEnvelope) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v AuthEnvelope) MarshalJSON() ([]byte, error) {
|
func (v AuthEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
w.RawString(`["AUTH",`)
|
w.RawString(`["AUTH",`)
|
||||||
if v.Challenge != nil {
|
if v.Challenge != nil {
|
||||||
w.Raw(json.Marshal(*v.Challenge))
|
w.Raw(json.Marshal(*v.Challenge))
|
||||||
|
|
3
vendor/github.com/nbd-wtf/go-nostr/event_easyjson.go
generated
vendored
3
vendor/github.com/nbd-wtf/go-nostr/event_easyjson.go
generated
vendored
|
@ -169,13 +169,14 @@ func easyjsonF642ad3eEncodeGithubComNbdWtfGoNostr(out *jwriter.Writer, in Event)
|
||||||
|
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v Event) MarshalJSON() ([]byte, error) {
|
func (v Event) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
easyjsonF642ad3eEncodeGithubComNbdWtfGoNostr(&w, v)
|
easyjsonF642ad3eEncodeGithubComNbdWtfGoNostr(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v Event) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v Event) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
|
w.NoEscapeHTML = true
|
||||||
easyjsonF642ad3eEncodeGithubComNbdWtfGoNostr(w, v)
|
easyjsonF642ad3eEncodeGithubComNbdWtfGoNostr(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
3
vendor/github.com/nbd-wtf/go-nostr/filter_easyjson.go
generated
vendored
3
vendor/github.com/nbd-wtf/go-nostr/filter_easyjson.go
generated
vendored
|
@ -288,13 +288,14 @@ func easyjson4d398eaaEncodeGithubComNbdWtfGoNostr(out *jwriter.Writer, in Filter
|
||||||
|
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v Filter) MarshalJSON() ([]byte, error) {
|
func (v Filter) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
easyjson4d398eaaEncodeGithubComNbdWtfGoNostr(&w, v)
|
easyjson4d398eaaEncodeGithubComNbdWtfGoNostr(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v Filter) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v Filter) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
|
w.NoEscapeHTML = true
|
||||||
easyjson4d398eaaEncodeGithubComNbdWtfGoNostr(w, v)
|
easyjson4d398eaaEncodeGithubComNbdWtfGoNostr(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
259
vendor/github.com/nbd-wtf/go-nostr/kinds.go
generated
vendored
259
vendor/github.com/nbd-wtf/go-nostr/kinds.go
generated
vendored
|
@ -1,136 +1,135 @@
|
||||||
package nostr
|
package nostr
|
||||||
|
|
||||||
const (
|
const (
|
||||||
KindProfileMetadata int = 0
|
KindProfileMetadata int = 0
|
||||||
KindTextNote int = 1
|
KindTextNote int = 1
|
||||||
KindRecommendServer int = 2
|
KindRecommendServer int = 2
|
||||||
KindFollowList int = 3
|
KindFollowList int = 3
|
||||||
KindEncryptedDirectMessage int = 4
|
KindEncryptedDirectMessage int = 4
|
||||||
KindDeletion int = 5
|
KindDeletion int = 5
|
||||||
KindRepost int = 6
|
KindRepost int = 6
|
||||||
KindReaction int = 7
|
KindReaction int = 7
|
||||||
KindBadgeAward int = 8
|
KindBadgeAward int = 8
|
||||||
KindSimpleGroupChatMessage int = 9
|
KindSimpleGroupChatMessage int = 9
|
||||||
KindSimpleGroupThreadedReply int = 10
|
KindSimpleGroupThreadedReply int = 10
|
||||||
KindSimpleGroupThread int = 11
|
KindSimpleGroupThread int = 11
|
||||||
KindSimpleGroupReply int = 12
|
KindSimpleGroupReply int = 12
|
||||||
KindSeal int = 13
|
KindSeal int = 13
|
||||||
KindDirectMessage int = 14
|
KindDirectMessage int = 14
|
||||||
KindGenericRepost int = 16
|
KindGenericRepost int = 16
|
||||||
KindReactionToWebsite int = 17
|
KindReactionToWebsite int = 17
|
||||||
KindChannelCreation int = 40
|
KindChannelCreation int = 40
|
||||||
KindChannelMetadata int = 41
|
KindChannelMetadata int = 41
|
||||||
KindChannelMessage int = 42
|
KindChannelMessage int = 42
|
||||||
KindChannelHideMessage int = 43
|
KindChannelHideMessage int = 43
|
||||||
KindChannelMuteUser int = 44
|
KindChannelMuteUser int = 44
|
||||||
KindChess int = 64
|
KindChess int = 64
|
||||||
KindMergeRequests int = 818
|
KindMergeRequests int = 818
|
||||||
KindBid int = 1021
|
KindBid int = 1021
|
||||||
KIndBidConfirmation int = 1022
|
KIndBidConfirmation int = 1022
|
||||||
KindOpenTimestamps int = 1040
|
KindOpenTimestamps int = 1040
|
||||||
KindGiftWrap int = 1059
|
KindGiftWrap int = 1059
|
||||||
KindFileMetadata int = 1063
|
KindFileMetadata int = 1063
|
||||||
KindLiveChatMessage int = 1311
|
KindLiveChatMessage int = 1311
|
||||||
KindPatch int = 1617
|
KindPatch int = 1617
|
||||||
KindIssue int = 1621
|
KindIssue int = 1621
|
||||||
KindReply int = 1622
|
KindReply int = 1622
|
||||||
KindStatusOpen int = 1630
|
KindStatusOpen int = 1630
|
||||||
KindStatusApplied int = 1631
|
KindStatusApplied int = 1631
|
||||||
KindStatusClosed int = 1632
|
KindStatusClosed int = 1632
|
||||||
KindStatusDraft int = 1633
|
KindStatusDraft int = 1633
|
||||||
KindProblemTracker int = 1971
|
KindProblemTracker int = 1971
|
||||||
KindReporting int = 1984
|
KindReporting int = 1984
|
||||||
KindLabel int = 1985
|
KindLabel int = 1985
|
||||||
KindRelayReviews int = 1986
|
KindRelayReviews int = 1986
|
||||||
KindAIEmbeddings int = 1987
|
KindAIEmbeddings int = 1987
|
||||||
KindTorrent int = 2003
|
KindTorrent int = 2003
|
||||||
KindTorrentComment int = 2004
|
KindTorrentComment int = 2004
|
||||||
KindCoinjoinPool int = 2022
|
KindCoinjoinPool int = 2022
|
||||||
KindCommunityPostApproval int = 4550
|
KindCommunityPostApproval int = 4550
|
||||||
KindJobFeedback int = 7000
|
KindJobFeedback int = 7000
|
||||||
KindSimpleGroupAddUser int = 9000
|
KindSimpleGroupPutUser int = 9000
|
||||||
KindSimpleGroupRemoveUser int = 9001
|
KindSimpleGroupRemoveUser int = 9001
|
||||||
KindSimpleGroupEditMetadata int = 9002
|
KindSimpleGroupEditMetadata int = 9002
|
||||||
KindSimpleGroupAddPermission int = 9003
|
KindSimpleGroupDeleteEvent int = 9005
|
||||||
KindSimpleGroupRemovePermission int = 9004
|
KindSimpleGroupCreateGroup int = 9007
|
||||||
KindSimpleGroupDeleteEvent int = 9005
|
KindSimpleGroupDeleteGroup int = 9008
|
||||||
KindSimpleGroupEditGroupStatus int = 9006
|
KindSimpleGroupCreateInvite int = 9009
|
||||||
KindSimpleGroupCreateGroup int = 9007
|
KindSimpleGroupJoinRequest int = 9021
|
||||||
KindSimpleGroupDeleteGroup int = 9008
|
KindSimpleGroupLeaveRequest int = 9022
|
||||||
KindSimpleGroupJoinRequest int = 9021
|
KindZapGoal int = 9041
|
||||||
KindSimpleGroupLeaveRequest int = 9022
|
KindTidalLogin int = 9467
|
||||||
KindZapGoal int = 9041
|
KindZapRequest int = 9734
|
||||||
KindTidalLogin int = 9467
|
KindZap int = 9735
|
||||||
KindZapRequest int = 9734
|
KindHighlights int = 9802
|
||||||
KindZap int = 9735
|
KindMuteList int = 10000
|
||||||
KindHighlights int = 9802
|
KindPinList int = 10001
|
||||||
KindMuteList int = 10000
|
KindRelayListMetadata int = 10002
|
||||||
KindPinList int = 10001
|
KindBookmarkList int = 10003
|
||||||
KindRelayListMetadata int = 10002
|
KindCommunityList int = 10004
|
||||||
KindBookmarkList int = 10003
|
KindPublicChatList int = 10005
|
||||||
KindCommunityList int = 10004
|
KindBlockedRelayList int = 10006
|
||||||
KindPublicChatList int = 10005
|
KindSearchRelayList int = 10007
|
||||||
KindBlockedRelayList int = 10006
|
KindSimpleGroupList int = 10009
|
||||||
KindSearchRelayList int = 10007
|
KindInterestList int = 10015
|
||||||
KindSimpleGroupList int = 10009
|
KindEmojiList int = 10030
|
||||||
KindInterestList int = 10015
|
KindDMRelayList int = 10050
|
||||||
KindEmojiList int = 10030
|
KindUserServerList int = 10063
|
||||||
KindDMRelayList int = 10050
|
KindFileStorageServerList int = 10096
|
||||||
KindUserServerList int = 10063
|
KindGoodWikiAuthorList int = 10101
|
||||||
KindFileStorageServerList int = 10096
|
KindGoodWikiRelayList int = 10102
|
||||||
KindGoodWikiAuthorList int = 10101
|
KindNWCWalletInfo int = 13194
|
||||||
KindGoodWikiRelayList int = 10102
|
KindLightningPubRPC int = 21000
|
||||||
KindNWCWalletInfo int = 13194
|
KindClientAuthentication int = 22242
|
||||||
KindLightningPubRPC int = 21000
|
KindNWCWalletRequest int = 23194
|
||||||
KindClientAuthentication int = 22242
|
KindNWCWalletResponse int = 23195
|
||||||
KindNWCWalletRequest int = 23194
|
KindNostrConnect int = 24133
|
||||||
KindNWCWalletResponse int = 23195
|
KindBlobs int = 24242
|
||||||
KindNostrConnect int = 24133
|
KindHTTPAuth int = 27235
|
||||||
KindBlobs int = 24242
|
KindCategorizedPeopleList int = 30000
|
||||||
KindHTTPAuth int = 27235
|
KindCategorizedBookmarksList int = 30001
|
||||||
KindCategorizedPeopleList int = 30000
|
KindRelaySets int = 30002
|
||||||
KindCategorizedBookmarksList int = 30001
|
KindBookmarkSets int = 30003
|
||||||
KindRelaySets int = 30002
|
KindCuratedSets int = 30004
|
||||||
KindBookmarkSets int = 30003
|
KindCuratedVideoSets int = 30005
|
||||||
KindCuratedSets int = 30004
|
KindMuteSets int = 30007
|
||||||
KindCuratedVideoSets int = 30005
|
KindProfileBadges int = 30008
|
||||||
KindMuteSets int = 30007
|
KindBadgeDefinition int = 30009
|
||||||
KindProfileBadges int = 30008
|
KindInterestSets int = 30015
|
||||||
KindBadgeDefinition int = 30009
|
KindStallDefinition int = 30017
|
||||||
KindInterestSets int = 30015
|
KindProductDefinition int = 30018
|
||||||
KindStallDefinition int = 30017
|
KindMarketplaceUI int = 30019
|
||||||
KindProductDefinition int = 30018
|
KindProductSoldAsAuction int = 30020
|
||||||
KindMarketplaceUI int = 30019
|
KindArticle int = 30023
|
||||||
KindProductSoldAsAuction int = 30020
|
KindDraftArticle int = 30024
|
||||||
KindArticle int = 30023
|
KindEmojiSets int = 30030
|
||||||
KindDraftArticle int = 30024
|
KindModularArticleHeader int = 30040
|
||||||
KindEmojiSets int = 30030
|
KindModularArticleContent int = 30041
|
||||||
KindModularArticleHeader int = 30040
|
KindReleaseArtifactSets int = 30063
|
||||||
KindModularArticleContent int = 30041
|
KindApplicationSpecificData int = 30078
|
||||||
KindReleaseArtifactSets int = 30063
|
KindLiveEvent int = 30311
|
||||||
KindApplicationSpecificData int = 30078
|
KindUserStatuses int = 30315
|
||||||
KindLiveEvent int = 30311
|
KindClassifiedListing int = 30402
|
||||||
KindUserStatuses int = 30315
|
KindDraftClassifiedListing int = 30403
|
||||||
KindClassifiedListing int = 30402
|
KindRepositoryAnnouncement int = 30617
|
||||||
KindDraftClassifiedListing int = 30403
|
KindRepositoryState int = 30618
|
||||||
KindRepositoryAnnouncement int = 30617
|
KindSimpleGroupMetadata int = 39000
|
||||||
KindRepositoryState int = 30618
|
KindSimpleGroupAdmins int = 39001
|
||||||
KindSimpleGroupMetadata int = 39000
|
KindSimpleGroupMembers int = 39002
|
||||||
KindWikiArticle int = 30818
|
KindSimpleGroupRoles int = 39003
|
||||||
KindRedirects int = 30819
|
KindWikiArticle int = 30818
|
||||||
KindFeed int = 31890
|
KindRedirects int = 30819
|
||||||
KindDateCalendarEvent int = 31922
|
KindFeed int = 31890
|
||||||
KindTimeCalendarEvent int = 31923
|
KindDateCalendarEvent int = 31922
|
||||||
KindCalendar int = 31924
|
KindTimeCalendarEvent int = 31923
|
||||||
KindCalendarEventRSVP int = 31925
|
KindCalendar int = 31924
|
||||||
KindHandlerRecommendation int = 31989
|
KindCalendarEventRSVP int = 31925
|
||||||
KindHandlerInformation int = 31990
|
KindHandlerRecommendation int = 31989
|
||||||
KindVideoEvent int = 34235
|
KindHandlerInformation int = 31990
|
||||||
KindShortVideoEvent int = 34236
|
KindVideoEvent int = 34235
|
||||||
KindVideoViewEvent int = 34237
|
KindShortVideoEvent int = 34236
|
||||||
KindCommunityDefinition int = 34550
|
KindVideoViewEvent int = 34237
|
||||||
KindSimpleGroupAdmins int = 39001
|
KindCommunityDefinition int = 34550
|
||||||
KindSimpleGroupMembers int = 39002
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func IsRegularKind(kind int) bool {
|
func IsRegularKind(kind int) bool {
|
||||||
|
|
2
vendor/github.com/nbd-wtf/go-nostr/nip77/envelopes.go
generated
vendored
2
vendor/github.com/nbd-wtf/go-nostr/nip77/envelopes.go
generated
vendored
|
@ -75,7 +75,7 @@ func (v OpenEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
res.WriteString(v.SubscriptionID)
|
res.WriteString(v.SubscriptionID)
|
||||||
res.WriteString(`",`)
|
res.WriteString(`",`)
|
||||||
|
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{NoEscapeHTML: true}
|
||||||
v.Filter.MarshalEasyJSON(&w)
|
v.Filter.MarshalEasyJSON(&w)
|
||||||
w.Buffer.DumpTo(res)
|
w.Buffer.DumpTo(res)
|
||||||
|
|
||||||
|
|
4
vendor/modules.txt
vendored
4
vendor/modules.txt
vendored
|
@ -29,7 +29,7 @@ github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr
|
||||||
# github.com/fasthttp/websocket v1.5.10
|
# github.com/fasthttp/websocket v1.5.10
|
||||||
## explicit; go 1.20
|
## explicit; go 1.20
|
||||||
github.com/fasthttp/websocket
|
github.com/fasthttp/websocket
|
||||||
# github.com/fiatjaf/eventstore v0.13.0
|
# github.com/fiatjaf/eventstore v0.14.0
|
||||||
## explicit; go 1.23.1
|
## explicit; go 1.23.1
|
||||||
github.com/fiatjaf/eventstore
|
github.com/fiatjaf/eventstore
|
||||||
github.com/fiatjaf/eventstore/postgresql
|
github.com/fiatjaf/eventstore/postgresql
|
||||||
|
@ -90,7 +90,7 @@ github.com/mattn/go-colorable
|
||||||
# github.com/mattn/go-isatty v0.0.20
|
# github.com/mattn/go-isatty v0.0.20
|
||||||
## explicit; go 1.15
|
## explicit; go 1.15
|
||||||
github.com/mattn/go-isatty
|
github.com/mattn/go-isatty
|
||||||
# github.com/nbd-wtf/go-nostr v0.42.0
|
# github.com/nbd-wtf/go-nostr v0.42.2
|
||||||
## explicit; go 1.23.1
|
## explicit; go 1.23.1
|
||||||
github.com/nbd-wtf/go-nostr
|
github.com/nbd-wtf/go-nostr
|
||||||
github.com/nbd-wtf/go-nostr/nip11
|
github.com/nbd-wtf/go-nostr/nip11
|
||||||
|
|
Loading…
Reference in a new issue