update getAtomicSwapFee url

This commit is contained in:
TheJuze
2024-06-17 22:32:14 +03:00
parent ad6de65143
commit 7a8f5554c4
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@orionprotocol/sdk",
"version": "0.23.0-rc4",
"version": "0.23.0-rc5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@orionprotocol/sdk",
"version": "0.23.0-rc4",
"version": "0.23.0-rc5",
"hasInstallScript": true,
"license": "ISC",
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.23.0-rc4",
"version": "0.23.0-rc5",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -498,7 +498,7 @@ class BlockchainService {
* @returns Fee in percents
*/
getAtomicSwapFee = () => fetchWithValidation(
`${this.apiUrl}/api/v1/atomic/swap-fee`,
`${this.apiUrl}/api/atomic/swap-fee`,
z.string(),
{ headers: this.basicAuthHeaders },
errorSchema,