diff --git a/jsr.json b/jsr.json index 8d4aa78..9416218 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@nostr/tools", - "version": "2.19.2", + "version": "2.19.3", "exports": { ".": "./index.ts", "./core": "./core.ts", diff --git a/kinds.ts b/kinds.ts index e717d55..eba840c 100644 --- a/kinds.ts +++ b/kinds.ts @@ -55,12 +55,24 @@ export const Reaction = 7 export type Reaction = typeof Reaction export const BadgeAward = 8 export type BadgeAward = typeof BadgeAward +export const ChatMessage = 9 +export type ChatMessage = typeof ChatMessage +export const ForumThread = 11 +export type ForumThread = typeof ForumThread export const Seal = 13 export type Seal = typeof Seal export const PrivateDirectMessage = 14 export type PrivateDirectMessage = typeof PrivateDirectMessage +export const FileMessage = 15 +export type FileMessage = typeof FileMessage export const GenericRepost = 16 export type GenericRepost = typeof GenericRepost +export const Photo = 20 +export type Photo = typeof Photo +export const NormalVideo = 21 +export type NormalVideo = typeof NormalVideo +export const ShortVideo = 22 +export type ShortVideo = typeof ShortVideo export const ChannelCreation = 40 export type ChannelCreation = typeof ChannelCreation export const ChannelMetadata = 41 @@ -75,10 +87,18 @@ export const OpenTimestamps = 1040 export type OpenTimestamps = typeof OpenTimestamps export const GiftWrap = 1059 export type GiftWrap = typeof GiftWrap +export const Poll = 1068 +export type Poll = typeof Poll export const FileMetadata = 1063 export type FileMetadata = typeof FileMetadata +export const Comment = 1111 +export type Comment = typeof Comment export const LiveChatMessage = 1311 export type LiveChatMessage = typeof LiveChatMessage +export const Voice = 1222 +export type Voice = typeof Voice +export const VoiceComment = 1244 +export type VoiceComment = typeof VoiceComment export const ProblemTracker = 1971 export type ProblemTracker = typeof ProblemTracker export const Report = 1984 @@ -103,6 +123,8 @@ export const Zap = 9735 export type Zap = typeof Zap export const Highlights = 9802 export type Highlights = typeof Highlights +export const PollResponse = 1018 +export type PollResponse = typeof PollResponse export const Mutelist = 10000 export type Mutelist = typeof Mutelist export const Pinlist = 10001 @@ -119,6 +141,8 @@ export const BlockedRelaysList = 10006 export type BlockedRelaysList = typeof BlockedRelaysList export const SearchRelaysList = 10007 export type SearchRelaysList = typeof SearchRelaysList +export const FavoriteRelays = 10012 +export type FavoriteRelays = typeof FavoriteRelays export const InterestsList = 10015 export type InterestsList = typeof InterestsList export const UserEmojiList = 10030 @@ -127,6 +151,8 @@ export const DirectMessageRelaysList = 10050 export type DirectMessageRelaysList = typeof DirectMessageRelaysList export const FileServerPreference = 10096 export type FileServerPreference = typeof FileServerPreference +export const BlossomServerList = 10063 +export type BlossomServerList = typeof BlossomServerList export const NWCWalletInfo = 13194 export type NWCWalletInfo = typeof NWCWalletInfo export const LightningPubRPC = 21000 @@ -185,9 +211,13 @@ export const Calendar = 31924 export type Calendar = typeof Calendar export const CalendarEventRSVP = 31925 export type CalendarEventRSVP = typeof CalendarEventRSVP +export const RelayReview = 31987 +export type RelayReview = typeof RelayReview export const Handlerrecommendation = 31989 export type Handlerrecommendation = typeof Handlerrecommendation export const Handlerinformation = 31990 export type Handlerinformation = typeof Handlerinformation export const CommunityDefinition = 34550 export type CommunityDefinition = typeof CommunityDefinition +export const GroupMetadata = 39000 +export type GroupMetadata = typeof GroupMetadata diff --git a/package.json b/package.json index e7e784d..6837541 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "nostr-tools", - "version": "2.19.2", + "version": "2.19.3", "description": "Tools for making a Nostr client.", "repository": { "type": "git",