@azuro-org/dictionaries
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -47,2 +47,4 @@ var MARKET_IDS___DONT_GROUP_MARKETS_BY_TEAM_PLAYER_ID = [3]; | ||
return marketDescriptions[marketKey]; | ||
};export{assembleMarketName,assembleSelectionName,getMarketDescription,getMarketKey,getMarketName}; | ||
};var getSelectionName = function (outcomeId, dictionaries) { | ||
return assembleSelectionName(outcomeId, dictionaries); | ||
};export{assembleMarketName,assembleSelectionName,getMarketDescription,getMarketKey,getMarketName,getSelectionName}; |
@@ -47,2 +47,4 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var MARKET_IDS___DONT_GROUP_MARKETS_BY_TEAM_PLAYER_ID = [3]; | ||
return marketDescriptions[marketKey]; | ||
};exports.assembleMarketName=assembleMarketName;exports.assembleSelectionName=assembleSelectionName;exports.getMarketDescription=getMarketDescription;exports.getMarketKey=getMarketKey;exports.getMarketName=getMarketName; | ||
};var getSelectionName = function (outcomeId, dictionaries) { | ||
return assembleSelectionName(outcomeId, dictionaries); | ||
};exports.assembleMarketName=assembleMarketName;exports.assembleSelectionName=assembleSelectionName;exports.getMarketDescription=getMarketDescription;exports.getMarketKey=getMarketKey;exports.getMarketName=getMarketName;exports.getSelectionName=getSelectionName; |
{ | ||
"name": "@azuro-org/dictionaries", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "CLI and set of helpers to work with Azuro protocol dictionaries", | ||
@@ -5,0 +5,0 @@ "bin": "bin.js", |
@@ -116,10 +116,10 @@ # Dictionaries Package | ||
```js | ||
import { assembleSelectionName } from '@azuro-org/dictionaries' | ||
import { getSelectionName } from '@azuro-org/dictionaries' | ||
import dictionaries from './dist' | ||
const outcomeId = 1 | ||
const selectionName = assembleSelectionName(outcomeId, dictionaries) // "Yes" | ||
const selectionName = getSelectionName(outcomeId, dictionaries) // "Yes" | ||
const outcomeId = 4 | ||
const selectionName = assembleSelectionName(outcomeId, dictionaries) // "Team 2 (4.5)" | ||
const selectionName = getSelectionName(outcomeId, dictionaries) // "Team 2 (4.5)" | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14826
227