Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azuro-org/dictionaries

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azuro-org/dictionaries - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

4

dist/index.es.js

@@ -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)"
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc