@daimo/pay
Version:
Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.
17 lines (14 loc) • 485 B
JavaScript
import { daimoPayVersion } from './exports.js';
function getSupportUrl(payId, screen) {
const email = "support@daimo.com";
const subject = `Support${payId ? ` #${payId}` : ""}`;
let body = [
`Transaction: ${screen}`,
`Version: ${daimoPayVersion}`,
``,
`Tell us how we can help`
].join("\n");
return `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
}
export { getSupportUrl };
//# sourceMappingURL=supportUrl.js.map