diff --git a/package-lock.json b/package-lock.json index 0cffd32..6df12c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@orionprotocol/sdk", - "version": "0.19.89-rc3", + "version": "0.19.89-rc4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@orionprotocol/sdk", - "version": "0.19.89-rc3", + "version": "0.19.89-rc4", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index a89b8e5..8addc9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.19.89-rc3", + "version": "0.19.89-rc4", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/config/envs.json b/src/config/envs.json index bad0b9d..00e4268 100644 --- a/src/config/envs.json +++ b/src/config/envs.json @@ -17,7 +17,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } }, "liquidityMigratorAddress": "0x23a1820a47BcD022E29f6058a5FD224242F50D1A" @@ -36,7 +36,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -54,7 +54,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -72,7 +72,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -90,7 +90,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } } @@ -114,7 +114,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } }, "liquidityMigratorAddress": "0x01b10dds12478C88A5E18e2707E729906bC25CfF6" @@ -133,7 +133,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -151,7 +151,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -169,7 +169,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -187,7 +187,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -205,7 +205,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } } @@ -229,7 +229,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -247,7 +247,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -265,7 +265,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -283,7 +283,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -301,7 +301,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } } @@ -325,7 +325,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -343,7 +343,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } } @@ -367,7 +367,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } }, "liquidityMigratorAddress": "0x23a1820a47BcD022E29f6058a5FD224242F50D1A" @@ -386,7 +386,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -404,7 +404,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -422,7 +422,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } }, @@ -440,7 +440,7 @@ "all": "/price-feed" }, "integrator": { - "http": "http://65.109.97.170:33000" + "http": "/orion-integrator/" } } } diff --git a/src/services/Integrator/schemas/util-schemas.ts b/src/services/Integrator/schemas/util-schemas.ts index 0d58a75..f0e80b2 100644 --- a/src/services/Integrator/schemas/util-schemas.ts +++ b/src/services/Integrator/schemas/util-schemas.ts @@ -9,6 +9,6 @@ export const evmAddressSchema = z export const hexStringSchema = z .string() - .refine(ethers.utils.isAddress, (v) => ({ + .refine(ethers.utils.isHexString, (v) => ({ message: `${v} is not a valid hex string`, }));