Bump nostr-editr/editor
This commit is contained in:
Generated
+5
-5
@@ -3863,9 +3863,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/nostr-editor": {
|
"node_modules/nostr-editor": {
|
||||||
"version": "0.0.4-pre.6",
|
"version": "0.0.4-pre.7",
|
||||||
"resolved": "https://registry.npmjs.org/nostr-editor/-/nostr-editor-0.0.4-pre.6.tgz",
|
"resolved": "https://registry.npmjs.org/nostr-editor/-/nostr-editor-0.0.4-pre.7.tgz",
|
||||||
"integrity": "sha512-njOWThC8tfvyw59rcCeJjwTycZ0QdwBYURpMJAzPVoWFjxZmzmTeBNNznf00g3U7jwXde0VuI9OElzAaTdkz8w==",
|
"integrity": "sha512-Xg+562ywJLLUa2nZ+XoJDarqRjx7fdc2/oKNuuxoAitp95LFTXGyupDBigJs8Q9o9GVpGLsfCbXTeIGT/b9G8g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -5818,7 +5818,7 @@
|
|||||||
"@tiptap/pm": "^2.9.1",
|
"@tiptap/pm": "^2.9.1",
|
||||||
"@welshman/lib": "~0.0.36",
|
"@welshman/lib": "~0.0.36",
|
||||||
"@welshman/util": "~0.0.53",
|
"@welshman/util": "~0.0.53",
|
||||||
"nostr-editor": "^0.0.4-pre.6",
|
"nostr-editor": "^0.0.4-pre.7",
|
||||||
"nostr-tools": "^2.10.4",
|
"nostr-tools": "^2.10.4",
|
||||||
"publint": "^0.2.0",
|
"publint": "^0.2.0",
|
||||||
"svelte": "^4.0.0",
|
"svelte": "^4.0.0",
|
||||||
@@ -5844,7 +5844,7 @@
|
|||||||
"@tiptap/suggestion": "^2.9.1",
|
"@tiptap/suggestion": "^2.9.1",
|
||||||
"@welshman/lib": "~0.0.36",
|
"@welshman/lib": "~0.0.36",
|
||||||
"@welshman/util": "~0.0.53",
|
"@welshman/util": "~0.0.53",
|
||||||
"nostr-editor": "^0.0.4-pre.6",
|
"nostr-editor": "^0.0.4-pre.7",
|
||||||
"nostr-tools": "^2.8.1",
|
"nostr-tools": "^2.8.1",
|
||||||
"svelte": "^4.0.0",
|
"svelte": "^4.0.0",
|
||||||
"svelte-tiptap": "^1.0.0"
|
"svelte-tiptap": "^1.0.0"
|
||||||
|
|||||||
@@ -38,6 +38,13 @@ export const tagEvent = (event: TrustedEvent, mark = "") => {
|
|||||||
export const tagEventPubkeys = (event: TrustedEvent) =>
|
export const tagEventPubkeys = (event: TrustedEvent) =>
|
||||||
remove(pubkey.get()!, [event.pubkey, ...getPubkeyTagValues(event.tags)]).map(tagPubkey)
|
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) => {
|
export const tagEventForReply = (event: TrustedEvent) => {
|
||||||
const tags = tagEventPubkeys(event)
|
const tags = tagEventPubkeys(event)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@welshman/editor",
|
"name": "@welshman/editor",
|
||||||
"version": "0.0.8",
|
"version": "0.0.9",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run check && npm run build && npm publish",
|
"pub": "npm run check && npm run build && npm publish",
|
||||||
"fix": "",
|
"fix": "",
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
"@tiptap/suggestion": "^2.9.1",
|
"@tiptap/suggestion": "^2.9.1",
|
||||||
"@welshman/lib": "~0.0.36",
|
"@welshman/lib": "~0.0.36",
|
||||||
"@welshman/util": "~0.0.53",
|
"@welshman/util": "~0.0.53",
|
||||||
"nostr-editor": "^0.0.4-pre.6",
|
"nostr-editor": "^0.0.4-pre.7",
|
||||||
"nostr-tools": "^2.8.1",
|
"nostr-tools": "^2.8.1",
|
||||||
"svelte": "^4.0.0",
|
"svelte": "^4.0.0",
|
||||||
"svelte-tiptap": "^1.0.0"
|
"svelte-tiptap": "^1.0.0"
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
"@tiptap/pm": "^2.9.1",
|
"@tiptap/pm": "^2.9.1",
|
||||||
"@welshman/lib": "~0.0.36",
|
"@welshman/lib": "~0.0.36",
|
||||||
"@welshman/util": "~0.0.53",
|
"@welshman/util": "~0.0.53",
|
||||||
"nostr-editor": "^0.0.4-pre.6",
|
"nostr-editor": "^0.0.4-pre.7",
|
||||||
"nostr-tools": "^2.10.4",
|
"nostr-tools": "^2.10.4",
|
||||||
"publint": "^0.2.0",
|
"publint": "^0.2.0",
|
||||||
"svelte": "^4.0.0",
|
"svelte": "^4.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user