@rpg-engine/long-bow 0.8.158 → 0.8.160

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.
@@ -46961,7 +46961,9 @@ var Marketplace = function Marketplace(props) {
46961
46961
  historySelectedType = _props$historySelecte === void 0 ? 'All' : _props$historySelecte,
46962
46962
  onHistoryTypeChange = props.onHistoryTypeChange,
46963
46963
  onHistoryPageChange = props.onHistoryPageChange,
46964
- walletProps = props.walletProps;
46964
+ walletProps = props.walletProps,
46965
+ _props$showWalletTab = props.showWalletTab,
46966
+ showWalletTab = _props$showWalletTab === void 0 ? true : _props$showWalletTab;
46965
46967
  var _useState = useState('marketplace'),
46966
46968
  activeTab = _useState[0],
46967
46969
  setActiveTab = _useState[1];
@@ -47024,7 +47026,7 @@ var Marketplace = function Marketplace(props) {
47024
47026
  width: 18,
47025
47027
  height: 18
47026
47028
  })
47027
- }].concat(walletProps ? [{
47029
+ }].concat(showWalletTab && walletProps ? [{
47028
47030
  id: 'wallet',
47029
47031
  label: 'Wallet',
47030
47032
  icon: React.createElement(Wallet, {
@@ -47092,7 +47094,7 @@ var Marketplace = function Marketplace(props) {
47092
47094
  atlasJSON: props.atlasJSON,
47093
47095
  atlasIMG: props.atlasIMG,
47094
47096
  dcToGoldSwapRate: props.dcToGoldSwapRate
47095
- }), activeTab === 'wallet' && walletProps && React.createElement(DCWalletContent, Object.assign({}, walletProps)), activeTab === 'settings' && React.createElement(MarketplaceSettingsPanel, {
47097
+ }), activeTab === 'wallet' && showWalletTab && walletProps && React.createElement(DCWalletContent, Object.assign({}, walletProps)), activeTab === 'settings' && React.createElement(MarketplaceSettingsPanel, {
47096
47098
  acceptedCurrency: acceptedCurrency,
47097
47099
  onAcceptedCurrencyChange: handleCurrencyChange
47098
47100
  }), showSharedPager && React.createElement(PagerContainer$3, null, React.createElement(Pager, Object.assign({}, props))));