@stokr/components-library 3.1.0 → 3.1.1

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.
@@ -126,7 +126,7 @@ function generateCoreChecklistTasks(user) {
126
126
  };
127
127
  }
128
128
  const { country, user_type, wallets = [], self_declaration, countryObj, taxId } = user;
129
- const isFromAllowedCountry = countryObj?.isAllowed;
129
+ const isFromAllowedCountry = Boolean(countryObj?.isAllowed) || Boolean(user.allowedByBoardResolution);
130
130
  const liquidWallets = wallets.filter((wallet2) => wallet2.type === walletTypes.LIQUID) || [];
131
131
  const hasWallet = liquidWallets.length > 0;
132
132
  const isEntity = user_type === UserTypes.investor_entity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "STOKR - Components Library",
5
5
  "author": "Bilal Hodzic <bilal@stokr.io>",
6
6
  "license": "MIT",