@bot-whatsapp/bot
Advanced tools
Comparing version 0.1.3-alpha.10 to 0.1.3-alpha.11
@@ -1,10 +0,16 @@ | ||
type EventFunctionList = { | ||
[key: string]: string; | ||
}; | ||
type EventFunctionRegex = { | ||
[key: string]: RegExp; | ||
}; | ||
declare const LIST_ALL: EventFunctionList; | ||
declare const LIST_ALL: { | ||
WELCOME: string; | ||
MEDIA: string; | ||
LOCATION: string; | ||
DOCUMENT: string; | ||
VOICE_NOTE: string; | ||
ACTION: string; | ||
ORDER: string; | ||
TEMPLATE: string; | ||
}; | ||
declare const LIST_REGEX: EventFunctionRegex; | ||
export { LIST_ALL, LIST_REGEX }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,2 +5,3 @@ /** | ||
import type { IdleState } from './context'; | ||
import { ProviderClass } from './provider'; | ||
import type { Queue } from './utils'; | ||
@@ -186,2 +187,10 @@ export type Button = { | ||
} | ||
export interface SendOptions { | ||
buttons?: Button[]; | ||
media?: string; | ||
[key: string]: any; | ||
} | ||
export type BotCtxMiddleware = Partial<ProviderClass & { | ||
provider: any; | ||
}>; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@bot-whatsapp/bot", | ||
"version": "0.1.3-alpha.10", | ||
"version": "0.1.3-alpha.11", | ||
"description": "core typescript", | ||
@@ -58,3 +58,3 @@ "author": "Leifer Mendez <leifer33@gmail.com>", | ||
}, | ||
"gitHead": "84097f4744f722fe246a515b0c7918ee9f2f7708" | ||
"gitHead": "5ee78c1196a1856d7fab0103afc7b4534026bb39" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
328322
14865