Bump nostr-editr/editor

This commit is contained in:
Jon Staab
2025-01-28 08:17:44 -08:00
parent 15d36c5c3a
commit 038687e890
3 changed files with 15 additions and 8 deletions
+5 -5
View File
@@ -3863,9 +3863,9 @@
}
},
"node_modules/nostr-editor": {
"version": "0.0.4-pre.6",
"resolved": "https://registry.npmjs.org/nostr-editor/-/nostr-editor-0.0.4-pre.6.tgz",
"integrity": "sha512-njOWThC8tfvyw59rcCeJjwTycZ0QdwBYURpMJAzPVoWFjxZmzmTeBNNznf00g3U7jwXde0VuI9OElzAaTdkz8w==",
"version": "0.0.4-pre.7",
"resolved": "https://registry.npmjs.org/nostr-editor/-/nostr-editor-0.0.4-pre.7.tgz",
"integrity": "sha512-Xg+562ywJLLUa2nZ+XoJDarqRjx7fdc2/oKNuuxoAitp95LFTXGyupDBigJs8Q9o9GVpGLsfCbXTeIGT/b9G8g==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5818,7 +5818,7 @@
"@tiptap/pm": "^2.9.1",
"@welshman/lib": "~0.0.36",
"@welshman/util": "~0.0.53",
"nostr-editor": "^0.0.4-pre.6",
"nostr-editor": "^0.0.4-pre.7",
"nostr-tools": "^2.10.4",
"publint": "^0.2.0",
"svelte": "^4.0.0",
@@ -5844,7 +5844,7 @@
"@tiptap/suggestion": "^2.9.1",
"@welshman/lib": "~0.0.36",
"@welshman/util": "~0.0.53",
"nostr-editor": "^0.0.4-pre.6",
"nostr-editor": "^0.0.4-pre.7",
"nostr-tools": "^2.8.1",
"svelte": "^4.0.0",
"svelte-tiptap": "^1.0.0"
+7
View File
@@ -38,6 +38,13 @@ export const tagEvent = (event: TrustedEvent, mark = "") => {
export const tagEventPubkeys = (event: TrustedEvent) =>
remove(pubkey.get()!, [event.pubkey, ...getPubkeyTagValues(event.tags)]).map(tagPubkey)
export const tagEventForQuote = (event: TrustedEvent) => [
"q",
event.id,
ctx.app.router.Event(event).getUrl(),
event.pubkey,
]
export const tagEventForReply = (event: TrustedEvent) => {
const tags = tagEventPubkeys(event)
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@welshman/editor",
"version": "0.0.8",
"version": "0.0.9",
"scripts": {
"pub": "npm run check && npm run build && npm publish",
"fix": "",
@@ -44,7 +44,7 @@
"@tiptap/suggestion": "^2.9.1",
"@welshman/lib": "~0.0.36",
"@welshman/util": "~0.0.53",
"nostr-editor": "^0.0.4-pre.6",
"nostr-editor": "^0.0.4-pre.7",
"nostr-tools": "^2.8.1",
"svelte": "^4.0.0",
"svelte-tiptap": "^1.0.0"
@@ -67,7 +67,7 @@
"@tiptap/pm": "^2.9.1",
"@welshman/lib": "~0.0.36",
"@welshman/util": "~0.0.53",
"nostr-editor": "^0.0.4-pre.6",
"nostr-editor": "^0.0.4-pre.7",
"nostr-tools": "^2.10.4",
"publint": "^0.2.0",
"svelte": "^4.0.0",