@azuro-org/toolkit 4.1.3 → 4.1.5

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.
@@ -7,7 +7,6 @@ export type PrematchConditionsBatchQuery = {
7
7
  __typename?: 'Query';
8
8
  conditions: Array<{
9
9
  __typename?: 'Condition';
10
- id: string;
11
10
  status: Types.ConditionStatus;
12
11
  conditionId: string;
13
12
  outcomes: Array<{
package/dist/index.js CHANGED
@@ -4230,7 +4230,6 @@ const chainsData = {
4230
4230
  ${PrematchConditionFragmentDoc}`;const PrematchConditionsBatchDocument = gql `
4231
4231
  query PrematchConditionsBatch($conditionFilter: Condition_filter) {
4232
4232
  conditions(where: $conditionFilter, first: 1000, subgraphError: allow) {
4233
- id
4234
4233
  status
4235
4234
  conditionId
4236
4235
  outcomes {
@@ -5372,8 +5371,8 @@ const getBetStatus = (props) => {
5372
5371
  return;
5373
5372
  }
5374
5373
  const marketKey = getMarketKey(outcomeId);
5375
- const marketName = customMarketName || getMarketName({ outcomeId });
5376
- const selectionName = customSelectionName || getSelectionName({ outcomeId, withPoint: true });
5374
+ const marketName = customMarketName && customMarketName !== 'null' ? customMarketName : getMarketName({ outcomeId });
5375
+ const selectionName = customSelectionName && customSelectionName !== 'null' ? customSelectionName : getSelectionName({ outcomeId, withPoint: true });
5377
5376
  const marketDescription = getMarketDescription({ outcomeId });
5378
5377
  const outcome = {
5379
5378
  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.5",
4
4
  "description": "Set of helpers to work with Azuro protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",