applesauce-common 5.2.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casts/_circular-import.d.ts +7 -0
- package/dist/casts/_circular-import.js +9 -0
- package/dist/casts/article.d.ts +1 -1
- package/dist/casts/badge-award.d.ts +24 -0
- package/dist/casts/badge-award.js +39 -0
- package/dist/casts/badge.d.ts +19 -0
- package/dist/casts/badge.js +48 -0
- package/dist/casts/bookmarks.d.ts +5 -5
- package/dist/casts/cast.d.ts +1 -30
- package/dist/casts/cast.js +2 -67
- package/dist/casts/comment.d.ts +5 -5
- package/dist/casts/emoji-pack.d.ts +11 -0
- package/dist/casts/emoji-pack.js +25 -0
- package/dist/casts/favorite-emojis.d.ts +25 -0
- package/dist/casts/favorite-emojis.js +62 -0
- package/dist/casts/file-metadata.d.ts +22 -0
- package/dist/casts/file-metadata.js +55 -0
- package/dist/casts/groups.d.ts +1 -1
- package/dist/casts/index.d.ts +7 -0
- package/dist/casts/index.js +7 -0
- package/dist/casts/mutes.d.ts +1 -1
- package/dist/casts/note.d.ts +7 -7
- package/dist/casts/profile-badges.d.ts +28 -0
- package/dist/casts/profile-badges.js +59 -0
- package/dist/casts/reaction.d.ts +1 -1
- package/dist/casts/relay-lists.d.ts +1 -1
- package/dist/casts/relay-monitor.d.ts +1 -1
- package/dist/casts/report.d.ts +2 -2
- package/dist/casts/share.d.ts +2 -2
- package/dist/casts/stream.d.ts +9 -9
- package/dist/casts/torrent.d.ts +3 -3
- package/dist/casts/trusted-assertions.d.ts +144 -0
- package/dist/casts/trusted-assertions.js +281 -0
- package/dist/casts/user.d.ts +22 -40
- package/dist/casts/user.js +105 -161
- package/dist/casts/zap-goal.d.ts +2 -2
- package/dist/casts/zap.d.ts +4 -4
- package/dist/factories/app-data.d.ts +13 -0
- package/dist/factories/app-data.js +20 -0
- package/dist/factories/badge-award.d.ts +25 -0
- package/dist/factories/badge-award.js +41 -0
- package/dist/factories/badge.d.ts +32 -0
- package/dist/factories/badge.js +50 -0
- package/dist/factories/blocked-relays.d.ts +10 -0
- package/dist/factories/blocked-relays.js +16 -0
- package/dist/factories/blossom-server-list.d.ts +19 -0
- package/dist/factories/blossom-server-list.js +36 -0
- package/dist/factories/bookmark-list.d.ts +23 -0
- package/dist/factories/bookmark-list.js +45 -0
- package/dist/factories/bookmark-set.d.ts +25 -0
- package/dist/factories/bookmark-set.js +51 -0
- package/dist/factories/calendar-event.d.ts +88 -0
- package/dist/factories/calendar-event.js +175 -0
- package/dist/factories/calendar-rsvp.d.ts +22 -0
- package/dist/factories/calendar-rsvp.js +35 -0
- package/dist/factories/calendar.d.ts +20 -0
- package/dist/factories/calendar.js +36 -0
- package/dist/factories/code-snippet.d.ts +65 -0
- package/dist/factories/code-snippet.js +100 -0
- package/dist/factories/comment.d.ts +26 -0
- package/dist/factories/comment.js +49 -0
- package/dist/factories/contacts.d.ts +19 -0
- package/dist/factories/contacts.js +36 -0
- package/dist/factories/dm-relays.d.ts +10 -0
- package/dist/factories/dm-relays.js +16 -0
- package/dist/factories/favorite-relays.d.ts +16 -0
- package/dist/factories/favorite-relays.js +31 -0
- package/dist/factories/file-metadata.d.ts +54 -0
- package/dist/factories/file-metadata.js +92 -0
- package/dist/factories/follow-set.d.ts +12 -0
- package/dist/factories/follow-set.js +22 -0
- package/dist/factories/gift-wrap.d.ts +17 -0
- package/dist/factories/gift-wrap.js +21 -0
- package/dist/factories/group-management.d.ts +63 -0
- package/dist/factories/group-management.js +147 -0
- package/dist/factories/group.d.ts +35 -0
- package/dist/factories/group.js +69 -0
- package/dist/factories/highlight.d.ts +33 -0
- package/dist/factories/highlight.js +49 -0
- package/dist/factories/index.d.ts +41 -0
- package/dist/factories/index.js +41 -0
- package/dist/factories/legacy-message.d.ts +10 -0
- package/dist/factories/legacy-message.js +19 -0
- package/dist/factories/list.d.ts +56 -0
- package/dist/factories/list.js +120 -0
- package/dist/factories/live-stream.d.ts +48 -0
- package/dist/factories/live-stream.js +90 -0
- package/dist/factories/mute-list.d.ts +27 -0
- package/dist/factories/mute-list.js +57 -0
- package/dist/factories/note.d.ts +38 -0
- package/dist/factories/note.js +66 -0
- package/dist/factories/picture-post.d.ts +28 -0
- package/dist/factories/picture-post.js +46 -0
- package/dist/factories/pin-list.d.ts +14 -0
- package/dist/factories/pin-list.js +24 -0
- package/dist/factories/poll-response.d.ts +36 -0
- package/dist/factories/poll-response.js +46 -0
- package/dist/factories/poll.d.ts +35 -0
- package/dist/factories/poll.js +48 -0
- package/dist/factories/profile-badges.d.ts +31 -0
- package/dist/factories/profile-badges.js +52 -0
- package/dist/factories/reaction.d.ts +22 -0
- package/dist/factories/reaction.js +37 -0
- package/dist/factories/relay-set.d.ts +12 -0
- package/dist/factories/relay-set.js +22 -0
- package/dist/factories/search-relays.d.ts +10 -0
- package/dist/factories/search-relays.js +16 -0
- package/dist/factories/share.d.ts +26 -0
- package/dist/factories/share.js +44 -0
- package/dist/factories/stream-chat-message.d.ts +22 -0
- package/dist/factories/stream-chat-message.js +31 -0
- package/dist/factories/torrent.d.ts +57 -0
- package/dist/factories/torrent.js +93 -0
- package/dist/factories/wrapped-message.d.ts +22 -0
- package/dist/factories/wrapped-message.js +39 -0
- package/dist/factories/zap-goal.d.ts +35 -0
- package/dist/factories/zap-goal.js +49 -0
- package/dist/factories/zap-request.d.ts +28 -0
- package/dist/factories/zap-request.js +55 -0
- package/dist/factories/zap.d.ts +13 -0
- package/dist/factories/zap.js +21 -0
- package/dist/helpers/badge-award.d.ts +15 -0
- package/dist/helpers/badge-award.js +32 -0
- package/dist/helpers/badge.d.ts +27 -0
- package/dist/helpers/badge.js +59 -0
- package/dist/helpers/blossom.d.ts +29 -1
- package/dist/helpers/blossom.js +64 -7
- package/dist/helpers/emoji-pack.d.ts +43 -0
- package/dist/helpers/emoji-pack.js +108 -0
- package/dist/helpers/emoji.d.ts +0 -4
- package/dist/helpers/emoji.js +0 -16
- package/dist/helpers/file-metadata.d.ts +18 -13
- package/dist/helpers/file-metadata.js +10 -4
- package/dist/helpers/groups.d.ts +1 -0
- package/dist/helpers/groups.js +3 -2
- package/dist/helpers/hashtag.d.ts +1 -0
- package/dist/helpers/hashtag.js +3 -3
- package/dist/helpers/index.d.ts +7 -2
- package/dist/helpers/index.js +7 -2
- package/dist/helpers/lists.d.ts +8 -0
- package/dist/helpers/lists.js +27 -5
- package/dist/helpers/picture-post.d.ts +2 -2
- package/dist/helpers/profile-badges.d.ts +23 -0
- package/dist/helpers/profile-badges.js +51 -0
- package/dist/helpers/trusted-assertions.d.ts +81 -0
- package/dist/helpers/trusted-assertions.js +161 -0
- package/dist/helpers/zap.d.ts +8 -2
- package/dist/helpers/zap.js +31 -26
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/observable/chainable.d.ts +1 -36
- package/dist/observable/chainable.js +2 -72
- package/dist/operations/app-data.d.ts +8 -3
- package/dist/operations/app-data.js +9 -4
- package/dist/operations/badge-award.d.ts +17 -0
- package/dist/operations/badge-award.js +30 -0
- package/dist/operations/badge.d.ts +22 -0
- package/dist/operations/badge.js +54 -0
- package/dist/operations/blossom.d.ts +1 -1
- package/dist/operations/calendar-event.d.ts +1 -1
- package/dist/operations/calendar-rsvp.d.ts +1 -1
- package/dist/operations/calendar.d.ts +1 -1
- package/dist/operations/channel.d.ts +1 -1
- package/dist/operations/client.d.ts +1 -1
- package/dist/operations/client.js +2 -2
- package/dist/operations/code-snippet.d.ts +27 -0
- package/dist/operations/code-snippet.js +63 -0
- package/dist/operations/comment.d.ts +7 -3
- package/dist/operations/comment.js +8 -4
- package/dist/operations/file-metadata.d.ts +38 -4
- package/dist/operations/file-metadata.js +105 -19
- package/dist/operations/geohash.d.ts +1 -1
- package/dist/operations/gift-wrap.d.ts +19 -7
- package/dist/operations/gift-wrap.js +36 -26
- package/dist/operations/group.d.ts +1 -1
- package/dist/operations/hashtags.d.ts +1 -1
- package/dist/operations/highlight.d.ts +1 -1
- package/dist/operations/highlight.js +5 -5
- package/dist/operations/index.d.ts +7 -1
- package/dist/operations/index.js +7 -1
- package/dist/operations/legacy-message.d.ts +1 -1
- package/dist/operations/list.d.ts +1 -1
- package/dist/operations/live-stream.d.ts +7 -3
- package/dist/operations/live-stream.js +9 -5
- package/dist/operations/media-attachment.d.ts +3 -3
- package/dist/operations/note.d.ts +10 -4
- package/dist/operations/note.js +14 -8
- package/dist/operations/picture-post.d.ts +1 -1
- package/dist/operations/poll-response.d.ts +1 -1
- package/dist/operations/poll-response.js +1 -1
- package/dist/operations/poll.d.ts +1 -1
- package/dist/operations/profile-badges.d.ts +26 -0
- package/dist/operations/profile-badges.js +150 -0
- package/dist/operations/reaction.d.ts +8 -3
- package/dist/operations/reaction.js +10 -5
- package/dist/operations/share.d.ts +8 -3
- package/dist/operations/share.js +10 -5
- package/dist/operations/stream.d.ts +1 -1
- package/dist/operations/tag/bookmarks.d.ts +1 -1
- package/dist/operations/torrent.d.ts +1 -1
- package/dist/operations/wrapped-message.d.ts +1 -1
- package/dist/operations/zap-goal.d.ts +1 -1
- package/dist/operations/zap-request.d.ts +22 -0
- package/dist/operations/zap-request.js +40 -0
- package/dist/operations/zap-split.d.ts +8 -4
- package/dist/operations/zap-split.js +10 -6
- package/dist/operations/zap.d.ts +12 -0
- package/dist/operations/zap.js +34 -0
- package/package.json +12 -11
- package/dist/blueprints/__register__.d.ts +0 -7
- package/dist/blueprints/__register__.js +0 -8
- package/dist/blueprints/app-data.d.ts +0 -5
- package/dist/blueprints/app-data.js +0 -10
- package/dist/blueprints/calendar.d.ts +0 -5
- package/dist/blueprints/calendar.js +0 -7
- package/dist/blueprints/channels.d.ts +0 -6
- package/dist/blueprints/channels.js +0 -13
- package/dist/blueprints/comment.d.ts +0 -13
- package/dist/blueprints/comment.js +0 -15
- package/dist/blueprints/delete.d.ts +0 -9
- package/dist/blueprints/delete.js +0 -14
- package/dist/blueprints/file-metadata.d.ts +0 -8
- package/dist/blueprints/file-metadata.js +0 -11
- package/dist/blueprints/follow-set.d.ts +0 -11
- package/dist/blueprints/follow-set.js +0 -21
- package/dist/blueprints/gift-wrap.d.ts +0 -5
- package/dist/blueprints/gift-wrap.js +0 -6
- package/dist/blueprints/group-mangement.d.ts +0 -25
- package/dist/blueprints/group-mangement.js +0 -40
- package/dist/blueprints/group.d.ts +0 -9
- package/dist/blueprints/group.js +0 -17
- package/dist/blueprints/highlight.d.ts +0 -20
- package/dist/blueprints/highlight.js +0 -12
- package/dist/blueprints/index.d.ts +0 -25
- package/dist/blueprints/index.js +0 -26
- package/dist/blueprints/legacy-message.d.ts +0 -7
- package/dist/blueprints/legacy-message.js +0 -29
- package/dist/blueprints/live-stream.d.ts +0 -6
- package/dist/blueprints/live-stream.js +0 -9
- package/dist/blueprints/note.d.ts +0 -16
- package/dist/blueprints/note.js +0 -30
- package/dist/blueprints/picture-post.d.ts +0 -12
- package/dist/blueprints/picture-post.js +0 -17
- package/dist/blueprints/poll.d.ts +0 -41
- package/dist/blueprints/poll.js +0 -33
- package/dist/blueprints/profile.d.ts +0 -3
- package/dist/blueprints/profile.js +0 -7
- package/dist/blueprints/reaction.d.ts +0 -10
- package/dist/blueprints/reaction.js +0 -14
- package/dist/blueprints/share.d.ts +0 -12
- package/dist/blueprints/share.js +0 -25
- package/dist/blueprints/stream.d.ts +0 -6
- package/dist/blueprints/stream.js +0 -7
- package/dist/blueprints/torrent.d.ts +0 -30
- package/dist/blueprints/torrent.js +0 -29
- package/dist/blueprints/wrapped-message.d.ts +0 -20
- package/dist/blueprints/wrapped-message.js +0 -64
- package/dist/blueprints/zap-goal.d.ts +0 -16
- package/dist/blueprints/zap-goal.js +0 -12
- package/dist/register.d.ts +0 -2
- package/dist/register.js +0 -4
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { blueprint, EventFactory } from "applesauce-core/event-factory";
|
|
2
|
-
import { eventPipe } from "applesauce-core/helpers/pipeline";
|
|
3
|
-
import { setContent } from "applesauce-core/operations/content";
|
|
4
|
-
import { setMetaTags } from "applesauce-core/operations/event";
|
|
5
|
-
import { TORRENT_KIND } from "../helpers/torrent.js";
|
|
6
|
-
import { addTorrentExternalIdentifier, addTorrentFile, addTorrentSearchTag, addTorrentTracker, setTorrentCategory, setTorrentCategoryPath, setTorrentInfoHash, setTorrentTitle, } from "../operations/torrent.js";
|
|
7
|
-
/**
|
|
8
|
-
* NIP-35 Torrent event (kind 2003) blueprint
|
|
9
|
-
* Creates a torrent event with info hash and optional metadata
|
|
10
|
-
*/
|
|
11
|
-
export function TorrentBlueprint(infoHash, content, options) {
|
|
12
|
-
return blueprint(TORRENT_KIND, setTorrentInfoHash(infoHash), setContent(content), options?.title ? setTorrentTitle(options.title) : undefined, options?.categoryPath ? setTorrentCategoryPath(options.categoryPath) : undefined,
|
|
13
|
-
// Add files
|
|
14
|
-
options?.files ? eventPipe(...options.files.map((file) => addTorrentFile(file))) : undefined,
|
|
15
|
-
// Add trackers
|
|
16
|
-
options?.trackers ? eventPipe(...options.trackers.map((tracker) => addTorrentTracker(tracker))) : undefined,
|
|
17
|
-
// Set newznab category
|
|
18
|
-
options?.category !== undefined ? setTorrentCategory(options.category) : undefined,
|
|
19
|
-
// Add search tags
|
|
20
|
-
options?.searchTags ? eventPipe(...options.searchTags.map((tag) => addTorrentSearchTag(tag))) : undefined,
|
|
21
|
-
// Add external identifiers
|
|
22
|
-
options?.externalIdentifiers
|
|
23
|
-
? eventPipe(...options.externalIdentifiers.map((id) => addTorrentExternalIdentifier(id)))
|
|
24
|
-
: undefined, setMetaTags({ ...options, alt: options?.alt ?? `Torrent: ${options?.title ?? infoHash}` }));
|
|
25
|
-
}
|
|
26
|
-
// Register this blueprint with EventFactory
|
|
27
|
-
EventFactory.prototype.torrent = function (infoHash, content, options) {
|
|
28
|
-
return this.create(TorrentBlueprint, infoHash, content, options);
|
|
29
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Emoji } from "applesauce-core/event-factory";
|
|
2
|
-
import { EventBlueprint } from "applesauce-core/event-factory";
|
|
3
|
-
import { Rumor } from "../helpers/gift-wrap.js";
|
|
4
|
-
export type WrappedMessageBlueprintOptions = {
|
|
5
|
-
emojis?: Emoji[];
|
|
6
|
-
subject?: string;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* A blueprint that creates a wrapped message event to a conversation
|
|
10
|
-
* @param participants - The conversation identifier (pubkey1:pubkey2:pubkey3), a users pubkey, or a list of participant pubkeys
|
|
11
|
-
* @param message - The message to wrap
|
|
12
|
-
* @returns A blueprint that creates a wrapped message event to a conversation
|
|
13
|
-
*/
|
|
14
|
-
export declare function WrappedMessageBlueprint(participants: string | string[], message: string, opts?: WrappedMessageBlueprintOptions): EventBlueprint<Rumor>;
|
|
15
|
-
/**
|
|
16
|
-
* A blueprint that creates a reply to a wrapped message event
|
|
17
|
-
* @param message - The message to wrap
|
|
18
|
-
* @returns A blueprint that creates a wrapped message event to a conversation
|
|
19
|
-
*/
|
|
20
|
-
export declare function WrappedMessageReplyBlueprint(parent: Rumor, message: string, opts?: WrappedMessageBlueprintOptions): EventBlueprint<Rumor>;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { blueprint } from "applesauce-core/event-factory";
|
|
2
|
-
import { kinds } from "applesauce-core/helpers/event";
|
|
3
|
-
import { repairNostrLinks, setContent } from "applesauce-core/operations";
|
|
4
|
-
import { setConversation, setParent, setSubject } from "../operations/wrapped-message.js";
|
|
5
|
-
import { includeEmojis } from "applesauce-core/operations/content";
|
|
6
|
-
import { toRumor } from "../operations/gift-wrap.js";
|
|
7
|
-
import { getConversationParticipants } from "../helpers/messages.js";
|
|
8
|
-
/**
|
|
9
|
-
* A blueprint that creates a wrapped message event to a conversation
|
|
10
|
-
* @param participants - The conversation identifier (pubkey1:pubkey2:pubkey3), a users pubkey, or a list of participant pubkeys
|
|
11
|
-
* @param message - The message to wrap
|
|
12
|
-
* @returns A blueprint that creates a wrapped message event to a conversation
|
|
13
|
-
*/
|
|
14
|
-
export function WrappedMessageBlueprint(participants, message, opts) {
|
|
15
|
-
return async (context) => {
|
|
16
|
-
if (!context.signer)
|
|
17
|
-
throw new Error("Missing signer");
|
|
18
|
-
const self = await context.signer.getPublicKey();
|
|
19
|
-
return blueprint(kinds.PrivateDirectMessage,
|
|
20
|
-
// set text content
|
|
21
|
-
setContent(message),
|
|
22
|
-
// fix @ mentions
|
|
23
|
-
repairNostrLinks(),
|
|
24
|
-
// Include the "p" tags for the conversation
|
|
25
|
-
setConversation(participants, self),
|
|
26
|
-
// include "emoji" tags
|
|
27
|
-
opts?.emojis ? includeEmojis(opts.emojis) : undefined,
|
|
28
|
-
// Include the subject if provided
|
|
29
|
-
opts?.subject ? setSubject(opts.subject) : undefined,
|
|
30
|
-
// Convert the event to a rumor
|
|
31
|
-
toRumor())(context);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* A blueprint that creates a reply to a wrapped message event
|
|
36
|
-
* @param message - The message to wrap
|
|
37
|
-
* @returns A blueprint that creates a wrapped message event to a conversation
|
|
38
|
-
*/
|
|
39
|
-
export function WrappedMessageReplyBlueprint(parent, message, opts) {
|
|
40
|
-
return async (context) => {
|
|
41
|
-
if (typeof parent !== "string" && parent.kind !== kinds.PrivateDirectMessage)
|
|
42
|
-
throw new Error("Parent must be a wrapped message event (kind 14)");
|
|
43
|
-
if (!context.signer)
|
|
44
|
-
throw new Error("Missing signer");
|
|
45
|
-
const self = await context.signer.getPublicKey();
|
|
46
|
-
// Get the identifier for the conversation
|
|
47
|
-
const participants = getConversationParticipants(parent);
|
|
48
|
-
return blueprint(kinds.PrivateDirectMessage,
|
|
49
|
-
// set text content
|
|
50
|
-
setContent(message),
|
|
51
|
-
// fix @ mentions
|
|
52
|
-
repairNostrLinks(),
|
|
53
|
-
// Include the "p" tags for the conversation
|
|
54
|
-
setConversation(participants, self),
|
|
55
|
-
// Include the parent message id
|
|
56
|
-
setParent(parent),
|
|
57
|
-
// include "emoji" tags
|
|
58
|
-
opts?.emojis ? includeEmojis(opts.emojis) : undefined,
|
|
59
|
-
// Include the subject if provided
|
|
60
|
-
opts?.subject ? setSubject(opts.subject) : undefined,
|
|
61
|
-
// Convert the event to a rumor
|
|
62
|
-
toRumor())(context);
|
|
63
|
-
};
|
|
64
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventBlueprint } from "applesauce-core/event-factory";
|
|
2
|
-
import { MetaTagOptions } from "applesauce-core/operations";
|
|
3
|
-
import { ZapOptions } from "../operations/zap-split.js";
|
|
4
|
-
export type ZapGoalBlueprintOptions = MetaTagOptions & ZapOptions & {
|
|
5
|
-
/** Unix timestamp when the goal closes */
|
|
6
|
-
closedAt?: number;
|
|
7
|
-
/** Image URL for the goal */
|
|
8
|
-
image?: string;
|
|
9
|
-
/** Brief summary of the goal */
|
|
10
|
-
summary?: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NIP-75 Zap Goal event (kind 9041) blueprint
|
|
14
|
-
* Creates a zap goal event with description, target amount, and relays
|
|
15
|
-
*/
|
|
16
|
-
export declare function ZapGoalBlueprint(description: string, amount: number, relays: string[], opts?: ZapGoalBlueprintOptions): EventBlueprint;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { blueprint } from "applesauce-core/event-factory";
|
|
2
|
-
import { setContent, setMetaTags } from "applesauce-core/operations";
|
|
3
|
-
import { ZAP_GOAL_KIND } from "../helpers/zap-goal.js";
|
|
4
|
-
import * as ZapGoal from "../operations/zap-goal.js";
|
|
5
|
-
import { setZapSplit } from "../operations/zap-split.js";
|
|
6
|
-
/**
|
|
7
|
-
* NIP-75 Zap Goal event (kind 9041) blueprint
|
|
8
|
-
* Creates a zap goal event with description, target amount, and relays
|
|
9
|
-
*/
|
|
10
|
-
export function ZapGoalBlueprint(description, amount, relays, opts) {
|
|
11
|
-
return blueprint(ZAP_GOAL_KIND, setContent(description), ZapGoal.setAmount(amount), ZapGoal.setRelays(relays), opts?.closedAt ? ZapGoal.setClosedAt(opts.closedAt) : undefined, opts?.image ? ZapGoal.setImage(opts.image) : undefined, opts?.summary ? ZapGoal.setSummary(opts.summary) : undefined, setZapSplit(opts), setMetaTags({ ...opts, alt: opts?.alt ?? `Zap Goal: ${opts?.summary || description}` }));
|
|
12
|
-
}
|
package/dist/register.d.ts
DELETED
package/dist/register.js
DELETED