@azuro-org/toolkit 6.0.0-beta.4 → 6.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -7982,7 +7982,7 @@ const getBetCalculation = async (props) => {
7982
7982
  if (account && isAddress(account)) {
7983
7983
  params.wallet = account;
7984
7984
  }
7985
- const response = await fetch(`${api}/bet/calculation_new`, {
7985
+ const response = await fetch(`${api}/bet/calculation`, {
7986
7986
  method: 'POST',
7987
7987
  headers: {
7988
7988
  'Accept': 'application/json',
@@ -8046,7 +8046,7 @@ const getBetsByBettor = async (props) => {
8046
8046
  environment,
8047
8047
  offset: offset || 0,
8048
8048
  limit: limit || 100,
8049
- state,
8049
+ states: state,
8050
8050
  result,
8051
8051
  affiliate,
8052
8052
  isRedeemed,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "6.0.0-beta.4",
3
+ "version": "6.0.0-beta.5",
4
4
  "description": "This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -60,7 +60,7 @@
60
60
  "eslint": "9.39.2",
61
61
  "eslint-import-resolver-typescript": "^3.6.1",
62
62
  "eslint-plugin-import": "^1.14.0",
63
- "minimist": "^1.2.7",
63
+ "minimist": "^1.2.8",
64
64
  "rimraf": "^6.1.3",
65
65
  "rollup": "^2.79.2",
66
66
  "rollup-plugin-typescript2": "^0.34.1",