@azuro-org/toolkit
Advanced tools
Comparing version 0.1.8 to 2.0.0
@@ -1,2 +0,2 @@ | ||
import {getMarketKey,getMarketName,assembleSelectionName}from'@azuro-org/dictionaries';/****************************************************************************** | ||
import {getMarketKey,getMarketName,getSelectionName}from'@azuro-org/dictionaries';/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -45,6 +45,6 @@ | ||
// we are using the same key format that was discussed earlier | ||
var marketKey = getMarketKey(outcomeId, dictionaries); | ||
var marketKey = getMarketKey({ outcomeId: outcomeId, dictionaries: dictionaries }); | ||
// we are obtaining the human-readable names of each market and the corresponding outcome selections | ||
var marketName = getMarketName(outcomeId, dictionaries); | ||
var selectionName = assembleSelectionName(outcomeId, dictionaries); | ||
var marketName = getMarketName({ outcomeId: outcomeId, dictionaries: dictionaries }); | ||
var selectionName = getSelectionName({ outcomeId: outcomeId, dictionaries: dictionaries }); | ||
var outcome = __assign({ conditionId: conditionId, outcomeId: outcomeId, lpAddress: lpAddress, coreAddress: coreAddress, selectionName: selectionName }, rest); | ||
@@ -51,0 +51,0 @@ if (!marketsMap[marketKey]) { |
@@ -45,6 +45,6 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var dictionaries=require('@azuro-org/dictionaries');/****************************************************************************** | ||
// we are using the same key format that was discussed earlier | ||
var marketKey = dictionaries.getMarketKey(outcomeId, dictionaries$1); | ||
var marketKey = dictionaries.getMarketKey({ outcomeId: outcomeId, dictionaries: dictionaries$1 }); | ||
// we are obtaining the human-readable names of each market and the corresponding outcome selections | ||
var marketName = dictionaries.getMarketName(outcomeId, dictionaries$1); | ||
var selectionName = dictionaries.assembleSelectionName(outcomeId, dictionaries$1); | ||
var marketName = dictionaries.getMarketName({ outcomeId: outcomeId, dictionaries: dictionaries$1 }); | ||
var selectionName = dictionaries.getSelectionName({ outcomeId: outcomeId, dictionaries: dictionaries$1 }); | ||
var outcome = __assign({ conditionId: conditionId, outcomeId: outcomeId, lpAddress: lpAddress, coreAddress: coreAddress, selectionName: selectionName }, rest); | ||
@@ -51,0 +51,0 @@ if (!marketsMap[marketKey]) { |
{ | ||
"name": "@azuro-org/toolkit", | ||
"version": "0.1.8", | ||
"version": "2.0.0", | ||
"description": "Set of helpers to work with Azuro protocol", | ||
@@ -30,3 +30,3 @@ "module": "dist/index.es.js", | ||
"peerDependencies": { | ||
"@azuro-org/dictionaries": "^1.0.5" | ||
"@azuro-org/dictionaries": "^2.0.2" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
16777
0