@azuro-org/toolkit
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "@azuro-org/toolkit", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Set of helpers to work with Azuro protocol", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.es.js", |
@@ -52,3 +52,3 @@ # Toolkit Package | ||
conditions: game.conditions, | ||
dictionaries, // ** check the note below | ||
dictionaries, // ** | ||
}) | ||
@@ -70,3 +70,3 @@ ``` | ||
marketName: string | ||
outcomes: Outcome[][] | ||
outcomes: Outcome[][] // * | ||
}[] | ||
@@ -82,2 +82,4 @@ ``` | ||
--- | ||
You can pass additional data in outcomes if required, the helper will add it to outcomes in the result: | ||
@@ -88,10 +90,7 @@ | ||
game(id: $id) { | ||
liquidityPool { | ||
address | ||
} | ||
... | ||
conditions { | ||
conditionId | ||
coreAddress | ||
... | ||
outcomes { | ||
outcomeId | ||
... | ||
odds | ||
@@ -98,0 +97,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
16735
129