change chainId to targetChainId

This commit is contained in:
TheJuze
2024-05-31 10:47:59 +03:00
parent 0c2b95ada6
commit 517f127b29
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.22.0-rc15",
"version": "0.22.0-rc16",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@orionprotocol/sdk",
"version": "0.22.0-rc15",
"version": "0.22.0-rc16",
"hasInstallScript": true,
"license": "ISC",
"dependencies": {

View File

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

View File

@@ -76,7 +76,7 @@ export const signCrossChainOrder = async ({
const crossChainOrder = {
limitOrder: order,
chainId: Number(chainId),
chainId: Number(targetChainId),
secretHash,
lockOrderExpiration
}