@stacksjs/chat 0.70.73 → 0.70.75

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.
@@ -21,6 +21,13 @@ export declare function sendWebhook(webhookUrl: string, content: string, options
21
21
  */
22
22
  export declare function sendEmbed(webhookUrl: string, embed: DiscordEmbed, options?: Partial<DiscordMessage>): Promise<ChatResult>;
23
23
  export declare const driver: DiscordDriver;
24
+ declare const __dtsx_default_export__: {
25
+ send: typeof send;
26
+ sendWebhook: typeof sendWebhook;
27
+ sendEmbed: typeof sendEmbed;
28
+ configure: typeof configure;
29
+ DiscordDriver: typeof DiscordDriver
30
+ };
24
31
  export declare interface DiscordConfig {
25
32
  webhookUrl?: string
26
33
  botToken?: string
@@ -72,4 +79,4 @@ export declare class DiscordDriver extends BaseChatDriver {
72
79
  send(message: ChatMessage, options?: RenderOptions): Promise<ChatResult>;
73
80
  }
74
81
  export { DiscordDriver as Driver };
75
- export default { send, sendWebhook, sendEmbed, configure, DiscordDriver };
82
+ export default __dtsx_default_export__;
@@ -19,6 +19,12 @@ export declare function send(message: ChatMessage, options?: RenderOptions): Pro
19
19
  */
20
20
  export declare function sendWebhook(webhookUrl: string, text: string, options?: Partial<SlackMessage>): Promise<ChatResult>;
21
21
  export declare const driver: SlackDriver;
22
+ declare const __dtsx_default_export__: {
23
+ send: typeof send;
24
+ sendWebhook: typeof sendWebhook;
25
+ configure: typeof configure;
26
+ SlackDriver: typeof SlackDriver
27
+ };
22
28
  export declare interface SlackConfig {
23
29
  webhookUrl?: string
24
30
  botToken?: string
@@ -73,4 +79,4 @@ export declare class SlackDriver extends BaseChatDriver {
73
79
  send(message: ChatMessage, options?: RenderOptions): Promise<ChatResult>;
74
80
  }
75
81
  export { SlackDriver as Driver };
76
- export default { send, sendWebhook, configure, SlackDriver };
82
+ export default __dtsx_default_export__;
@@ -17,6 +17,13 @@ export declare function sendWebhook(webhookUrl: string, text: string): Promise<C
17
17
  */
18
18
  export declare function sendCard(webhookUrl: string, card: TeamsAdaptiveCard, summary?: string): Promise<ChatResult>;
19
19
  export declare const driver: TeamsDriver;
20
+ declare const __dtsx_default_export__: {
21
+ send: typeof send;
22
+ sendWebhook: typeof sendWebhook;
23
+ sendCard: typeof sendCard;
24
+ configure: typeof configure;
25
+ TeamsDriver: typeof TeamsDriver
26
+ };
20
27
  export declare interface TeamsConfig {
21
28
  webhookUrl?: string
22
29
  maxRetries?: number
@@ -66,4 +73,4 @@ export declare class TeamsDriver extends BaseChatDriver {
66
73
  send(message: ChatMessage, options?: RenderOptions): Promise<ChatResult>;
67
74
  }
68
75
  export { TeamsDriver as Driver };
69
- export default { send, sendWebhook, sendCard, configure, TeamsDriver };
76
+ export default __dtsx_default_export__;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/chat",
3
3
  "type": "module",
4
- "version": "0.70.73",
4
+ "version": "0.70.75",
5
5
  "description": "Easily interact with chat APIs.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -52,10 +52,10 @@
52
52
  "prepublishOnly": "bun run build"
53
53
  },
54
54
  "devDependencies": {
55
- "@stacksjs/cli": "0.70.73",
56
- "@stacksjs/config": "0.70.73",
57
- "better-dx": "^0.2.12",
58
- "@stacksjs/error-handling": "0.70.73",
59
- "@stacksjs/types": "0.70.73"
55
+ "@stacksjs/cli": "0.70.75",
56
+ "@stacksjs/config": "0.70.75",
57
+ "better-dx": "^0.2.16",
58
+ "@stacksjs/error-handling": "0.70.75",
59
+ "@stacksjs/types": "0.70.75"
60
60
  }
61
61
  }