@stacksjs/email 0.70.256 → 0.70.258
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/sdk/index.d.ts +3 -3
- package/package.json +6 -6
package/dist/sdk/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Export singleton instance
|
|
2
2
|
export declare const emailSDK: EmailSDK;
|
|
3
3
|
// Export convenience functions
|
|
4
|
-
export declare const sendEmail: (message: EmailMessage) => unknown
|
|
4
|
+
export declare const sendEmail: (message: EmailMessage) => ReturnType<unknown.send>;
|
|
5
5
|
export declare const getInbox: (mailbox: string, options?: { limit?: number; offset?: number }) => unknown;
|
|
6
|
-
export declare const getInboxStats: (mailbox: string) => unknown
|
|
7
|
-
export declare const getUnreadCount: (mailbox: string) => unknown
|
|
6
|
+
export declare const getInboxStats: (mailbox: string) => ReturnType<unknown.getInboxStats>;
|
|
7
|
+
export declare const getUnreadCount: (mailbox: string) => ReturnType<unknown.getUnreadCount>;
|
|
8
8
|
export declare const searchEmails: (mailbox: string, options: EmailSearchOptions) => unknown;
|
|
9
9
|
export declare const deleteEmail: (mailbox: string, messageId: string) => unknown;
|
|
10
10
|
export declare interface EmailAddress {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/email",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.70.
|
|
5
|
+
"version": "0.70.258",
|
|
6
6
|
"description": "The Stacks Email integration. Painlessly create & manage your inboxes, templates, and send emails.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"prepublishOnly": "bun run build"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@stacksjs/ts-cloud": "^0.7.
|
|
56
|
+
"@stacksjs/ts-cloud": "^0.7.94"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@stacksjs/cli": "0.70.
|
|
60
|
-
"@stacksjs/config": "0.70.
|
|
59
|
+
"@stacksjs/cli": "0.70.258",
|
|
60
|
+
"@stacksjs/config": "0.70.258",
|
|
61
61
|
"better-dx": "^0.2.17",
|
|
62
|
-
"@stacksjs/error-handling": "0.70.
|
|
63
|
-
"@stacksjs/types": "0.70.
|
|
62
|
+
"@stacksjs/error-handling": "0.70.258",
|
|
63
|
+
"@stacksjs/types": "0.70.258"
|
|
64
64
|
}
|
|
65
65
|
}
|