diff --git a/deno.json b/deno.json index d501531..4076058 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@blah/core", - "version": "0.4.1", + "version": "0.4.2", "exports": { "./crypto": "./crypto/mod.ts", "./identity": "./identity/mod.ts", diff --git a/richText/span.ts b/richText/span.ts index 8090984..2ab5052 100644 --- a/richText/span.ts +++ b/richText/span.ts @@ -7,6 +7,7 @@ export const blahRichTextSpanAttributesSchema = z.object({ s: z.boolean().default(false), m: z.boolean().default(false), tag: z.boolean().default(false), + spoiler: z.boolean().default(false), link: z.string().url().optional(), }); @@ -17,6 +18,7 @@ export type BlahRichTextSpanAttributes = { s?: boolean; m?: boolean; tag?: boolean; + spoiler?: boolean; link?: string | undefined; };