@azuro-org/toolkit
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -21,6 +21,7 @@ import { type Dictionaries } from '@azuro-org/dictionaries'; | ||
outcomeId: string; | ||
core: { | ||
address: string; | ||
}; | ||
}[]; | ||
core: { | ||
[key: string]: any; | ||
address: string; | ||
}; | ||
}[]; | ||
@@ -27,0 +28,0 @@ dictionaries: Dictionaries; |
@@ -7,5 +7,5 @@ import {getMarketKey,getMarketName,assembleSelectionName}from'@azuro-org/dictionaries';function aggregateOutcomesByMarkets(props) { | ||
conditions.forEach(function (_a) { | ||
var conditionId = _a.conditionId, outcomes = _a.outcomes; | ||
var conditionId = _a.conditionId, outcomes = _a.outcomes, core = _a.core; | ||
outcomes.forEach(function (_a) { | ||
var outcomeId = _a.outcomeId, core = _a.core; | ||
var outcomeId = _a.outcomeId; | ||
var marketKey = getMarketKey(outcomeId, dictionaries); | ||
@@ -12,0 +12,0 @@ var marketName = getMarketName(outcomeId, dictionaries); |
@@ -21,6 +21,7 @@ import { type Dictionaries } from '@azuro-org/dictionaries'; | ||
outcomeId: string; | ||
core: { | ||
address: string; | ||
}; | ||
}[]; | ||
core: { | ||
[key: string]: any; | ||
address: string; | ||
}; | ||
}[]; | ||
@@ -27,0 +28,0 @@ dictionaries: Dictionaries; |
@@ -7,5 +7,5 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var dictionaries=require('@azuro-org/dictionaries');function aggregateOutcomesByMarkets(props) { | ||
conditions.forEach(function (_a) { | ||
var conditionId = _a.conditionId, outcomes = _a.outcomes; | ||
var conditionId = _a.conditionId, outcomes = _a.outcomes, core = _a.core; | ||
outcomes.forEach(function (_a) { | ||
var outcomeId = _a.outcomeId, core = _a.core; | ||
var outcomeId = _a.outcomeId; | ||
var marketKey = dictionaries.getMarketKey(outcomeId, dictionaries$1); | ||
@@ -12,0 +12,0 @@ var marketName = dictionaries.getMarketName(outcomeId, dictionaries$1); |
{ | ||
"name": "@azuro-org/toolkit", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Set of helpers to work with Azuro protocol", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.es.js", |
14424
235