@tap-payments/auth-jsconnect 2.10.20-development → 2.10.21-development

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.
@@ -1778,7 +1778,7 @@ export var connectSlice = createSlice({
1778
1778
  state.error = null;
1779
1779
  })
1780
1780
  .addCase(retrieveEntityListAsync.fulfilled, function (state, action) {
1781
- var _a, _b;
1781
+ var _a, _b, _c, _d;
1782
1782
  state.loading = false;
1783
1783
  var data = action.payload;
1784
1784
  var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
@@ -1798,7 +1798,8 @@ export var connectSlice = createSlice({
1798
1798
  }
1799
1799
  }
1800
1800
  licenseList = __spreadArray(__spreadArray([], licenseList, true), [OTHER_CR_LICENSE, OTHER_FL_LICENSE], false);
1801
- var _c = ((_b = state.data.responseData) === null || _b === void 0 ? void 0 : _b.leadData) || {}, license_number = _c.license_number, license_type = _c.license_type, unified_number = _c.unified_number;
1801
+ var _e = ((_b = state.data.responseData) === null || _b === void 0 ? void 0 : _b.leadData) || {}, license_number = _e.license_number, license_type = _e.license_type, entity = _e.entity;
1802
+ var unified_number = (_d = (_c = entity === null || entity === void 0 ? void 0 : entity.license) === null || _c === void 0 ? void 0 : _c.additional_info) === null || _d === void 0 ? void 0 : _d.unified_number;
1802
1803
  var selectedLicense = undefined;
1803
1804
  if (license_number) {
1804
1805
  var findLicense = licenseList.find(function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.10.20-development",
3
+ "version": "2.10.21-development",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",