@tap-payments/os-micro-frontend-shared 0.1.103-test.115 → 0.1.103-test.117

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.
@@ -31,21 +31,4 @@ function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded,
31
31
  } }, { children: ListItemWrapper })));
32
32
  } }))) })));
33
33
  }
34
- export default memo(VirtualTable, (prevProps, nextProps) => {
35
- var _a, _b, _c;
36
- const propsToCompare = [
37
- 'columnsData',
38
- 'itemCount',
39
- 'lastItemIndex',
40
- 'areAllRowsLoaded',
41
- 'isPinned',
42
- 'fixedWidth',
43
- 'scrollToIndex',
44
- 'areTotalRowsNotFillingHeight',
45
- 'overscanCount',
46
- ];
47
- const areCriticalPropsSame = propsToCompare.every((key) => prevProps[key] === nextProps[key]);
48
- const areColumnsDataSame = ((_a = prevProps.columnsData) === null || _a === void 0 ? void 0 : _a.length) === ((_b = nextProps.columnsData) === null || _b === void 0 ? void 0 : _b.length) &&
49
- ((_c = prevProps.columnsData) === null || _c === void 0 ? void 0 : _c.every((col, index) => { var _a, _b, _c, _d; return col.id === ((_b = (_a = nextProps.columnsData) === null || _a === void 0 ? void 0 : _a[index]) === null || _b === void 0 ? void 0 : _b.id) && col.width === ((_d = (_c = nextProps.columnsData) === null || _c === void 0 ? void 0 : _c[index]) === null || _d === void 0 ? void 0 : _d.width); }));
50
- return areCriticalPropsSame && areColumnsDataSame;
51
- });
34
+ export default memo(VirtualTable);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.103-test.115",
5
- "testVersion": 115,
4
+ "version": "0.1.103-test.117",
5
+ "testVersion": 117,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",