clarify the deprecation notice - #37

This commit is contained in:
Xmader 2020-10-22 18:24:24 -04:00
parent c8381cef1b
commit ad530b6242
2 changed files with 2 additions and 2 deletions

2
dist/main.js vendored
View File

@ -26641,7 +26641,7 @@ Please pipe the document into a Node stream.\
BtnAction.PROCESSING_TEXT = 'Processing…';
BtnAction.ERROR_TEXT = '❌Download Failed!';
const deprecationNotice = (btnName) => {
return `DEPRECATED! (may still work)\n\nUse \`${btnName}\` inside \`Individual Parts\` instead.`;
return `DEPRECATED!\nUse \`${btnName}\` inside \`Individual Parts\` instead.\n(This may still work. Click \`OK\` to continue.)`;
};
const normalizeUrlInput = (url) => {
if (typeof url === 'function')

View File

@ -88,7 +88,7 @@ export namespace BtnAction {
export const ERROR_TEXT = '❌Download Failed!'
const deprecationNotice = (btnName: string): string => {
return `DEPRECATED! (may still work)\n\nUse \`${btnName}\` inside \`Individual Parts\` instead.`
return `DEPRECATED!\nUse \`${btnName}\` inside \`Individual Parts\` instead.\n(This may still work. Click \`OK\` to continue.)`
}
type Promisable<T> = T | Promise<T>