nuxt-generation-emails 0.1.31 → 0.1.42

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/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=4.0.0"
6
6
  },
7
- "version": "0.1.31",
7
+ "version": "0.1.42",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-generation-emails",
3
- "version": "0.1.31",
3
+ "version": "0.1.42",
4
4
  "description": "A Nuxt module for authoring, previewing, and sending transactional email templates with Vue Email.",
5
5
  "author": "nullcarry@icloud.com",
6
6
  "repository": {
@@ -1,8 +0,0 @@
1
- /**
2
- * Get the sendGenEmails handler function from runtime config
3
- * This allows users to provide a custom function for sending emails
4
- * while keeping the logic decoupled from the API routes
5
- *
6
- * @returns The sendGenEmails function if provided, or null
7
- */
8
- export declare function getSendGenEmailsHandler(): ((html: string, data: Record<string, unknown>) => Promise<void> | void) | null;
@@ -1,8 +0,0 @@
1
- import { useRuntimeConfig } from "#imports";
2
- export function getSendGenEmailsHandler() {
3
- const config = useRuntimeConfig();
4
- if (config.nuxtGenEmails?.sendGenEmails && typeof config.nuxtGenEmails.sendGenEmails === "function") {
5
- return config.nuxtGenEmails.sendGenEmails;
6
- }
7
- return null;
8
- }