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 2.0.0 to 2.0.1

2

package.json
{
"name": "@azuro-org/dictionaries",
"version": "2.0.0",
"version": "2.0.1",
"description": "CLI and set of helpers to work with Azuro protocol dictionaries",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Azuro-protocol/dictionaries/blob/main/packages/dictionaries",

@@ -15,4 +15,6 @@ # Dictionaries Package

## CLI `get-dictionaries`
## CLI
### CLI `get-dictionaries`
All dictionaries are stored in a [public repository](https://github.com/Azuro-protocol/public-config/tree/main/dictionaries)

@@ -34,3 +36,3 @@ on GitHub. To download them use CLI.

## CLI `get-outcomes`
### CLI `get-outcomes`

@@ -82,4 +84,2 @@ If you need to get a list of `outcomeId`s related to a specific market name, you can use the `get-outcomes` command.

### Usage
To use the package in your project, you can import the desired helpers from the package:

@@ -130,2 +130,7 @@

```js
getMarketName({ outcomeId: '42', dictionaries }) // "Whole game - Winner of match Goal"
getMarketDescription({ outcomeId: '42', dictionaries }) // undefined
```
### `getSelectionName`

@@ -132,0 +137,0 @@

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