@azuro-org/toolkit 4.1.2 → 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 +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4318,7 +4318,7 @@ const chainsData = {
4318
4318
  id
4319
4319
  slug
4320
4320
  name
4321
- leagues {
4321
+ leagues(where: {games_: $where}) {
4322
4322
  id
4323
4323
  slug
4324
4324
  name
@@ -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.2",
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",