expensify-common 2.0.81 → 2.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/CONST.d.ts CHANGED
@@ -366,6 +366,7 @@ declare const CONST: {
366
366
  readonly CLOUDFRONT_FILES: "https://d2k5nsl2zxldvw.cloudfront.net/files/";
367
367
  readonly EXPENSIFY_SYNC_MANAGER: "quickbooksdesktop/Expensify_QuickBooksDesktop_Setup_2300802.exe";
368
368
  readonly USEDOT_ROOT: "https://use.expensify.com/";
369
+ readonly HELPDOT_ROOT: "https://help.expensify.com/";
369
370
  readonly ITUNES_SUBSCRIPTION: "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions";
370
371
  };
371
372
  readonly DATE: {
package/dist/CONST.js CHANGED
@@ -374,6 +374,7 @@ const CONST = {
374
374
  CLOUDFRONT_FILES: 'https://d2k5nsl2zxldvw.cloudfront.net/files/',
375
375
  EXPENSIFY_SYNC_MANAGER: 'quickbooksdesktop/Expensify_QuickBooksDesktop_Setup_2300802.exe',
376
376
  USEDOT_ROOT: 'https://use.expensify.com/',
377
+ HELPDOT_ROOT: 'https://help.expensify.com/',
377
378
  ITUNES_SUBSCRIPTION: 'https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions',
378
379
  },
379
380
  DATE: {
@@ -653,13 +653,13 @@ class ExpensiMark {
653
653
  name: 'userMention',
654
654
  regex: /<mention-user accountID="(\d+)" *\/>/gi,
655
655
  replacement: (extras, _match, g1, _offset, _string) => {
656
- var _a;
656
+ var _a, _b;
657
657
  const accountToNameMap = extras.accountIDToName;
658
658
  if (!accountToNameMap || !accountToNameMap[g1]) {
659
659
  ExpensiMark.Log.alert('[ExpensiMark] Missing account name', { accountID: g1 });
660
660
  return '@Hidden';
661
661
  }
662
- return `@${(_a = extras.accountIDToName) === null || _a === void 0 ? void 0 : _a[g1]}`;
662
+ return `@${str_1.default.removeSMSDomain((_b = (_a = extras.accountIDToName) === null || _a === void 0 ? void 0 : _a[g1]) !== null && _b !== void 0 ? _b : '')}`;
663
663
  },
664
664
  },
665
665
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expensify-common",
3
- "version": "2.0.81",
3
+ "version": "2.0.83",
4
4
  "author": "Expensify, Inc.",
5
5
  "description": "Expensify libraries and components shared across different repos",
6
6
  "homepage": "https://expensify.com",