Skip to content

Commit

Permalink
export emoji set
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Dec 6, 2024
1 parent fd622eb commit 9f4ae13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export declare const DEFAULT_SERVER = "https://ntfy.sh";
export declare const DEFAULT_PRIORITY: NtfyMessagePriority;
export default function publish(ntfyMessage: NtfyMessageOptions): Promise<boolean>;
export type { FetchHeaders, NtfyMessageOptions, NtfyMessagePriority } from './types.js';
export { NtfyTagEmojis } from './emoji.js';
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ export default async function publish(ntfyMessage) {
});
return response.ok;
}
export { NtfyTagEmojis } from './emoji.js';
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const DEFAULT_PRIORITY: NtfyMessagePriority = 'default'
/**
* Send a message through an ntfy server.
* @param ntfyMessage The message to post.
* @returns True if the message was posted successfully.
* @returns `true` if the message was posted.
*/
export default async function publish(
ntfyMessage: NtfyMessageOptions
Expand Down Expand Up @@ -99,3 +99,5 @@ export type {
NtfyMessageOptions,
NtfyMessagePriority
} from './types.js'

export { NtfyTagEmojis } from './emoji.js'

0 comments on commit 9f4ae13

Please sign in to comment.