PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/account-lib/dist/src/utils/messages
Просмотр файла: index.d.ts
export declare const MIDNIGHT_TNC_HASH = "31a6bab50a84b8439adcfb786bb2020f6807e6e8fda629b424110fc7bb1c6b8b";
/**
* Validates a message against a set of whitelisted templates.
* The templates can contain placeholders like {{variable}} which will be replaced with a wildcard in the regex.
*
* @param {string} messageRaw - The raw message to validate.
* @returns {boolean} - Returns true if the message matches any of the whitelisted templates, false otherwise.
*/
export declare function validateAgainstMessageTemplates(messageRaw: string): boolean;
//# sourceMappingURL=index.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!