expensify-common 2.0.82 → 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.
@@ -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.82",
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",