@azuro-org/toolkit 4.1.3 → 4.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5372,8 +5372,8 @@ const getBetStatus = (props) => {
5372
5372
  return;
5373
5373
  }
5374
5374
  const marketKey = getMarketKey(outcomeId);
5375
- const marketName = customMarketName || getMarketName({ outcomeId });
5376
- const selectionName = customSelectionName || getSelectionName({ outcomeId, withPoint: true });
5375
+ const marketName = customMarketName && customMarketName !== 'null' ? customMarketName : getMarketName({ outcomeId });
5376
+ const selectionName = customSelectionName && customSelectionName !== 'null' ? customSelectionName : getSelectionName({ outcomeId, withPoint: true });
5377
5377
  const marketDescription = getMarketDescription({ outcomeId });
5378
5378
  const outcome = {
5379
5379
  coreAddress: coreAddress,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "Set of helpers to work with Azuro protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",