@azuro-org/toolkit 4.2.0 → 4.2.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5488,6 +5488,7 @@ const getBetStatus = (props) => {
5488
5488
  const outcomesSelections = outcomes.map((outcome) => (dictionaries.outcomes[String(outcome.outcomeId)].selectionId));
5489
5489
  const isValid = validSelections.every(selection => outcomesSelections.includes(selection));
5490
5490
  if (!isValid) {
5491
+ delete result[marketKey];
5491
5492
  return;
5492
5493
  }
5493
5494
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Set of helpers to work with Azuro protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",