@azuro-org/dictionaries
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"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 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
308333
154
1