feat: add purchase url (#695)

* feat: add purchase url

* chore: bump snjs

* fix: reuse existing function
This commit is contained in:
Mo
2021-10-21 12:41:58 -05:00
committed by GitHub
parent 397e4963bd
commit e79811afda
8 changed files with 31 additions and 22 deletions

View File

@@ -5,13 +5,6 @@ import Bugsnag from '@bugsnag/js';
import { WebCrypto } from '../crypto';
import { AppVersion } from '@/version';
declare global {
interface Window {
// eslint-disable-next-line camelcase
_bugsnag_api_key?: string;
}
}
function redactFilePath(line: string): string {
const fileName = line.match(/\w+\.(html|js)/)?.[0];
const redacted = '<redacted file path>';