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 (
|
||||
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/jmoiron/sqlx v1.4.0
|
||||
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 (
|
||||
|
|
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/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/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/go.mod h1:XOl5B6WGBX1a0ww6s3WT94QVOmye/6zDTtyWHVtHQ5U=
|
||||
github.com/fiatjaf/khatru v0.9.1 h1:QjgEKKOxF+IZ5avztOSjgrWZ0+GPc/HVpdOlZAX5g74=
|
||||
github.com/fiatjaf/khatru v0.9.1/go.mod h1:WpsAMTmmN8d+ijdFu2RBHJkOVr4DPHMxqR1I/GutZCI=
|
||||
github.com/fiatjaf/eventstore v0.14.0 h1:eAyugJGFRCrXYJLCc2nC/BIApmBbQN/Z4dxvNz1SIvI=
|
||||
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/go.mod h1:GfKKAR27sMxBmepv709QnL7C9lEmlhaj41LFm/ueATc=
|
||||
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-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/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/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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||
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/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU=
|
||||
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/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/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.6.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/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
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) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["EVENT",`)
|
||||
if v.SubscriptionID != nil {
|
||||
w.RawString(`"` + *v.SubscriptionID + `",`)
|
||||
|
@ -128,7 +128,7 @@ func (v *ReqEnvelope) UnmarshalJSON(data []byte) error {
|
|||
}
|
||||
|
||||
func (v ReqEnvelope) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["REQ",`)
|
||||
w.RawString(`"` + v.SubscriptionID + `"`)
|
||||
for _, filter := range v.Filters {
|
||||
|
@ -183,7 +183,7 @@ func (v *CountEnvelope) UnmarshalJSON(data []byte) error {
|
|||
}
|
||||
|
||||
func (v CountEnvelope) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["COUNT",`)
|
||||
w.RawString(`"` + v.SubscriptionID + `"`)
|
||||
if v.Count != nil {
|
||||
|
@ -219,7 +219,7 @@ func (v *NoticeEnvelope) UnmarshalJSON(data []byte) error {
|
|||
}
|
||||
|
||||
func (v NoticeEnvelope) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["NOTICE",`)
|
||||
w.Raw(json.Marshal(string(v)))
|
||||
w.RawString(`]`)
|
||||
|
@ -245,7 +245,7 @@ func (v *EOSEEnvelope) UnmarshalJSON(data []byte) error {
|
|||
}
|
||||
|
||||
func (v EOSEEnvelope) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["EOSE",`)
|
||||
w.Raw(json.Marshal(string(v)))
|
||||
w.RawString(`]`)
|
||||
|
@ -273,7 +273,7 @@ func (v *CloseEnvelope) UnmarshalJSON(data []byte) error {
|
|||
}
|
||||
|
||||
func (v CloseEnvelope) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["CLOSE",`)
|
||||
w.Raw(json.Marshal(string(v)))
|
||||
w.RawString(`]`)
|
||||
|
@ -304,7 +304,7 @@ func (v *ClosedEnvelope) UnmarshalJSON(data []byte) error {
|
|||
}
|
||||
|
||||
func (v ClosedEnvelope) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["CLOSED",`)
|
||||
w.Raw(json.Marshal(string(v.SubscriptionID)))
|
||||
w.RawString(`,`)
|
||||
|
@ -339,7 +339,7 @@ func (v *OKEnvelope) UnmarshalJSON(data []byte) error {
|
|||
}
|
||||
|
||||
func (v OKEnvelope) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["OK",`)
|
||||
w.RawString(`"` + v.EventID + `",`)
|
||||
ok := "false"
|
||||
|
@ -379,7 +379,7 @@ func (v *AuthEnvelope) UnmarshalJSON(data []byte) error {
|
|||
}
|
||||
|
||||
func (v AuthEnvelope) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
w.RawString(`["AUTH",`)
|
||||
if v.Challenge != nil {
|
||||
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
|
||||
func (v Event) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
easyjsonF642ad3eEncodeGithubComNbdWtfGoNostr(&w, v)
|
||||
return w.Buffer.BuildBytes(), w.Error
|
||||
}
|
||||
|
||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||
func (v Event) MarshalEasyJSON(w *jwriter.Writer) {
|
||||
w.NoEscapeHTML = true
|
||||
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
|
||||
func (v Filter) MarshalJSON() ([]byte, error) {
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
easyjson4d398eaaEncodeGithubComNbdWtfGoNostr(&w, v)
|
||||
return w.Buffer.BuildBytes(), w.Error
|
||||
}
|
||||
|
||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||
func (v Filter) MarshalEasyJSON(w *jwriter.Writer) {
|
||||
w.NoEscapeHTML = true
|
||||
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
|
||||
|
||||
const (
|
||||
KindProfileMetadata int = 0
|
||||
KindTextNote int = 1
|
||||
KindRecommendServer int = 2
|
||||
KindFollowList int = 3
|
||||
KindEncryptedDirectMessage int = 4
|
||||
KindDeletion int = 5
|
||||
KindRepost int = 6
|
||||
KindReaction int = 7
|
||||
KindBadgeAward int = 8
|
||||
KindSimpleGroupChatMessage int = 9
|
||||
KindSimpleGroupThreadedReply int = 10
|
||||
KindSimpleGroupThread int = 11
|
||||
KindSimpleGroupReply int = 12
|
||||
KindSeal int = 13
|
||||
KindDirectMessage int = 14
|
||||
KindGenericRepost int = 16
|
||||
KindReactionToWebsite int = 17
|
||||
KindChannelCreation int = 40
|
||||
KindChannelMetadata int = 41
|
||||
KindChannelMessage int = 42
|
||||
KindChannelHideMessage int = 43
|
||||
KindChannelMuteUser int = 44
|
||||
KindChess int = 64
|
||||
KindMergeRequests int = 818
|
||||
KindBid int = 1021
|
||||
KIndBidConfirmation int = 1022
|
||||
KindOpenTimestamps int = 1040
|
||||
KindGiftWrap int = 1059
|
||||
KindFileMetadata int = 1063
|
||||
KindLiveChatMessage int = 1311
|
||||
KindPatch int = 1617
|
||||
KindIssue int = 1621
|
||||
KindReply int = 1622
|
||||
KindStatusOpen int = 1630
|
||||
KindStatusApplied int = 1631
|
||||
KindStatusClosed int = 1632
|
||||
KindStatusDraft int = 1633
|
||||
KindProblemTracker int = 1971
|
||||
KindReporting int = 1984
|
||||
KindLabel int = 1985
|
||||
KindRelayReviews int = 1986
|
||||
KindAIEmbeddings int = 1987
|
||||
KindTorrent int = 2003
|
||||
KindTorrentComment int = 2004
|
||||
KindCoinjoinPool int = 2022
|
||||
KindCommunityPostApproval int = 4550
|
||||
KindJobFeedback int = 7000
|
||||
KindSimpleGroupAddUser int = 9000
|
||||
KindSimpleGroupRemoveUser int = 9001
|
||||
KindSimpleGroupEditMetadata int = 9002
|
||||
KindSimpleGroupAddPermission int = 9003
|
||||
KindSimpleGroupRemovePermission int = 9004
|
||||
KindSimpleGroupDeleteEvent int = 9005
|
||||
KindSimpleGroupEditGroupStatus int = 9006
|
||||
KindSimpleGroupCreateGroup int = 9007
|
||||
KindSimpleGroupDeleteGroup int = 9008
|
||||
KindSimpleGroupJoinRequest int = 9021
|
||||
KindSimpleGroupLeaveRequest int = 9022
|
||||
KindZapGoal int = 9041
|
||||
KindTidalLogin int = 9467
|
||||
KindZapRequest int = 9734
|
||||
KindZap int = 9735
|
||||
KindHighlights int = 9802
|
||||
KindMuteList int = 10000
|
||||
KindPinList int = 10001
|
||||
KindRelayListMetadata int = 10002
|
||||
KindBookmarkList int = 10003
|
||||
KindCommunityList int = 10004
|
||||
KindPublicChatList int = 10005
|
||||
KindBlockedRelayList int = 10006
|
||||
KindSearchRelayList int = 10007
|
||||
KindSimpleGroupList int = 10009
|
||||
KindInterestList int = 10015
|
||||
KindEmojiList int = 10030
|
||||
KindDMRelayList int = 10050
|
||||
KindUserServerList int = 10063
|
||||
KindFileStorageServerList int = 10096
|
||||
KindGoodWikiAuthorList int = 10101
|
||||
KindGoodWikiRelayList int = 10102
|
||||
KindNWCWalletInfo int = 13194
|
||||
KindLightningPubRPC int = 21000
|
||||
KindClientAuthentication int = 22242
|
||||
KindNWCWalletRequest int = 23194
|
||||
KindNWCWalletResponse int = 23195
|
||||
KindNostrConnect int = 24133
|
||||
KindBlobs int = 24242
|
||||
KindHTTPAuth int = 27235
|
||||
KindCategorizedPeopleList int = 30000
|
||||
KindCategorizedBookmarksList int = 30001
|
||||
KindRelaySets int = 30002
|
||||
KindBookmarkSets int = 30003
|
||||
KindCuratedSets int = 30004
|
||||
KindCuratedVideoSets int = 30005
|
||||
KindMuteSets int = 30007
|
||||
KindProfileBadges int = 30008
|
||||
KindBadgeDefinition int = 30009
|
||||
KindInterestSets int = 30015
|
||||
KindStallDefinition int = 30017
|
||||
KindProductDefinition int = 30018
|
||||
KindMarketplaceUI int = 30019
|
||||
KindProductSoldAsAuction int = 30020
|
||||
KindArticle int = 30023
|
||||
KindDraftArticle int = 30024
|
||||
KindEmojiSets int = 30030
|
||||
KindModularArticleHeader int = 30040
|
||||
KindModularArticleContent int = 30041
|
||||
KindReleaseArtifactSets int = 30063
|
||||
KindApplicationSpecificData int = 30078
|
||||
KindLiveEvent int = 30311
|
||||
KindUserStatuses int = 30315
|
||||
KindClassifiedListing int = 30402
|
||||
KindDraftClassifiedListing int = 30403
|
||||
KindRepositoryAnnouncement int = 30617
|
||||
KindRepositoryState int = 30618
|
||||
KindSimpleGroupMetadata int = 39000
|
||||
KindWikiArticle int = 30818
|
||||
KindRedirects int = 30819
|
||||
KindFeed int = 31890
|
||||
KindDateCalendarEvent int = 31922
|
||||
KindTimeCalendarEvent int = 31923
|
||||
KindCalendar int = 31924
|
||||
KindCalendarEventRSVP int = 31925
|
||||
KindHandlerRecommendation int = 31989
|
||||
KindHandlerInformation int = 31990
|
||||
KindVideoEvent int = 34235
|
||||
KindShortVideoEvent int = 34236
|
||||
KindVideoViewEvent int = 34237
|
||||
KindCommunityDefinition int = 34550
|
||||
KindSimpleGroupAdmins int = 39001
|
||||
KindSimpleGroupMembers int = 39002
|
||||
KindProfileMetadata int = 0
|
||||
KindTextNote int = 1
|
||||
KindRecommendServer int = 2
|
||||
KindFollowList int = 3
|
||||
KindEncryptedDirectMessage int = 4
|
||||
KindDeletion int = 5
|
||||
KindRepost int = 6
|
||||
KindReaction int = 7
|
||||
KindBadgeAward int = 8
|
||||
KindSimpleGroupChatMessage int = 9
|
||||
KindSimpleGroupThreadedReply int = 10
|
||||
KindSimpleGroupThread int = 11
|
||||
KindSimpleGroupReply int = 12
|
||||
KindSeal int = 13
|
||||
KindDirectMessage int = 14
|
||||
KindGenericRepost int = 16
|
||||
KindReactionToWebsite int = 17
|
||||
KindChannelCreation int = 40
|
||||
KindChannelMetadata int = 41
|
||||
KindChannelMessage int = 42
|
||||
KindChannelHideMessage int = 43
|
||||
KindChannelMuteUser int = 44
|
||||
KindChess int = 64
|
||||
KindMergeRequests int = 818
|
||||
KindBid int = 1021
|
||||
KIndBidConfirmation int = 1022
|
||||
KindOpenTimestamps int = 1040
|
||||
KindGiftWrap int = 1059
|
||||
KindFileMetadata int = 1063
|
||||
KindLiveChatMessage int = 1311
|
||||
KindPatch int = 1617
|
||||
KindIssue int = 1621
|
||||
KindReply int = 1622
|
||||
KindStatusOpen int = 1630
|
||||
KindStatusApplied int = 1631
|
||||
KindStatusClosed int = 1632
|
||||
KindStatusDraft int = 1633
|
||||
KindProblemTracker int = 1971
|
||||
KindReporting int = 1984
|
||||
KindLabel int = 1985
|
||||
KindRelayReviews int = 1986
|
||||
KindAIEmbeddings int = 1987
|
||||
KindTorrent int = 2003
|
||||
KindTorrentComment int = 2004
|
||||
KindCoinjoinPool int = 2022
|
||||
KindCommunityPostApproval int = 4550
|
||||
KindJobFeedback int = 7000
|
||||
KindSimpleGroupPutUser int = 9000
|
||||
KindSimpleGroupRemoveUser int = 9001
|
||||
KindSimpleGroupEditMetadata int = 9002
|
||||
KindSimpleGroupDeleteEvent int = 9005
|
||||
KindSimpleGroupCreateGroup int = 9007
|
||||
KindSimpleGroupDeleteGroup int = 9008
|
||||
KindSimpleGroupCreateInvite int = 9009
|
||||
KindSimpleGroupJoinRequest int = 9021
|
||||
KindSimpleGroupLeaveRequest int = 9022
|
||||
KindZapGoal int = 9041
|
||||
KindTidalLogin int = 9467
|
||||
KindZapRequest int = 9734
|
||||
KindZap int = 9735
|
||||
KindHighlights int = 9802
|
||||
KindMuteList int = 10000
|
||||
KindPinList int = 10001
|
||||
KindRelayListMetadata int = 10002
|
||||
KindBookmarkList int = 10003
|
||||
KindCommunityList int = 10004
|
||||
KindPublicChatList int = 10005
|
||||
KindBlockedRelayList int = 10006
|
||||
KindSearchRelayList int = 10007
|
||||
KindSimpleGroupList int = 10009
|
||||
KindInterestList int = 10015
|
||||
KindEmojiList int = 10030
|
||||
KindDMRelayList int = 10050
|
||||
KindUserServerList int = 10063
|
||||
KindFileStorageServerList int = 10096
|
||||
KindGoodWikiAuthorList int = 10101
|
||||
KindGoodWikiRelayList int = 10102
|
||||
KindNWCWalletInfo int = 13194
|
||||
KindLightningPubRPC int = 21000
|
||||
KindClientAuthentication int = 22242
|
||||
KindNWCWalletRequest int = 23194
|
||||
KindNWCWalletResponse int = 23195
|
||||
KindNostrConnect int = 24133
|
||||
KindBlobs int = 24242
|
||||
KindHTTPAuth int = 27235
|
||||
KindCategorizedPeopleList int = 30000
|
||||
KindCategorizedBookmarksList int = 30001
|
||||
KindRelaySets int = 30002
|
||||
KindBookmarkSets int = 30003
|
||||
KindCuratedSets int = 30004
|
||||
KindCuratedVideoSets int = 30005
|
||||
KindMuteSets int = 30007
|
||||
KindProfileBadges int = 30008
|
||||
KindBadgeDefinition int = 30009
|
||||
KindInterestSets int = 30015
|
||||
KindStallDefinition int = 30017
|
||||
KindProductDefinition int = 30018
|
||||
KindMarketplaceUI int = 30019
|
||||
KindProductSoldAsAuction int = 30020
|
||||
KindArticle int = 30023
|
||||
KindDraftArticle int = 30024
|
||||
KindEmojiSets int = 30030
|
||||
KindModularArticleHeader int = 30040
|
||||
KindModularArticleContent int = 30041
|
||||
KindReleaseArtifactSets int = 30063
|
||||
KindApplicationSpecificData int = 30078
|
||||
KindLiveEvent int = 30311
|
||||
KindUserStatuses int = 30315
|
||||
KindClassifiedListing int = 30402
|
||||
KindDraftClassifiedListing int = 30403
|
||||
KindRepositoryAnnouncement int = 30617
|
||||
KindRepositoryState int = 30618
|
||||
KindSimpleGroupMetadata int = 39000
|
||||
KindSimpleGroupAdmins int = 39001
|
||||
KindSimpleGroupMembers int = 39002
|
||||
KindSimpleGroupRoles int = 39003
|
||||
KindWikiArticle int = 30818
|
||||
KindRedirects int = 30819
|
||||
KindFeed int = 31890
|
||||
KindDateCalendarEvent int = 31922
|
||||
KindTimeCalendarEvent int = 31923
|
||||
KindCalendar int = 31924
|
||||
KindCalendarEventRSVP int = 31925
|
||||
KindHandlerRecommendation int = 31989
|
||||
KindHandlerInformation int = 31990
|
||||
KindVideoEvent int = 34235
|
||||
KindShortVideoEvent int = 34236
|
||||
KindVideoViewEvent int = 34237
|
||||
KindCommunityDefinition int = 34550
|
||||
)
|
||||
|
||||
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(`",`)
|
||||
|
||||
w := jwriter.Writer{}
|
||||
w := jwriter.Writer{NoEscapeHTML: true}
|
||||
v.Filter.MarshalEasyJSON(&w)
|
||||
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
|
||||
## explicit; go 1.20
|
||||
github.com/fasthttp/websocket
|
||||
# github.com/fiatjaf/eventstore v0.13.0
|
||||
# github.com/fiatjaf/eventstore v0.14.0
|
||||
## explicit; go 1.23.1
|
||||
github.com/fiatjaf/eventstore
|
||||
github.com/fiatjaf/eventstore/postgresql
|
||||
|
@ -90,7 +90,7 @@ github.com/mattn/go-colorable
|
|||
# github.com/mattn/go-isatty v0.0.20
|
||||
## explicit; go 1.15
|
||||
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
|
||||
github.com/nbd-wtf/go-nostr
|
||||
github.com/nbd-wtf/go-nostr/nip11
|
||||
|
|
Loading…
Reference in a new issue