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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
11
vendor/github.com/nbd-wtf/go-nostr/kinds.go
generated
vendored
11
vendor/github.com/nbd-wtf/go-nostr/kinds.go
generated
vendored
|
@ -48,15 +48,13 @@ const (
|
||||||
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
|
|
||||||
KindSimpleGroupRemovePermission int = 9004
|
|
||||||
KindSimpleGroupDeleteEvent int = 9005
|
KindSimpleGroupDeleteEvent int = 9005
|
||||||
KindSimpleGroupEditGroupStatus int = 9006
|
|
||||||
KindSimpleGroupCreateGroup int = 9007
|
KindSimpleGroupCreateGroup int = 9007
|
||||||
KindSimpleGroupDeleteGroup int = 9008
|
KindSimpleGroupDeleteGroup int = 9008
|
||||||
|
KindSimpleGroupCreateInvite int = 9009
|
||||||
KindSimpleGroupJoinRequest int = 9021
|
KindSimpleGroupJoinRequest int = 9021
|
||||||
KindSimpleGroupLeaveRequest int = 9022
|
KindSimpleGroupLeaveRequest int = 9022
|
||||||
KindZapGoal int = 9041
|
KindZapGoal int = 9041
|
||||||
|
@ -116,6 +114,9 @@ const (
|
||||||
KindRepositoryAnnouncement int = 30617
|
KindRepositoryAnnouncement int = 30617
|
||||||
KindRepositoryState int = 30618
|
KindRepositoryState int = 30618
|
||||||
KindSimpleGroupMetadata int = 39000
|
KindSimpleGroupMetadata int = 39000
|
||||||
|
KindSimpleGroupAdmins int = 39001
|
||||||
|
KindSimpleGroupMembers int = 39002
|
||||||
|
KindSimpleGroupRoles int = 39003
|
||||||
KindWikiArticle int = 30818
|
KindWikiArticle int = 30818
|
||||||
KindRedirects int = 30819
|
KindRedirects int = 30819
|
||||||
KindFeed int = 31890
|
KindFeed int = 31890
|
||||||
|
@ -129,8 +130,6 @@ const (
|
||||||
KindShortVideoEvent int = 34236
|
KindShortVideoEvent int = 34236
|
||||||
KindVideoViewEvent int = 34237
|
KindVideoViewEvent int = 34237
|
||||||
KindCommunityDefinition int = 34550
|
KindCommunityDefinition int = 34550
|
||||||
KindSimpleGroupAdmins int = 39001
|
|
||||||
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