mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-13 21:52:36 +03:00
fix: bridge secret
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.20.86",
|
||||
"version": "0.20.87-rc1",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
|
||||
@@ -199,6 +199,7 @@ export default class Bridge {
|
||||
redeemTx: atomicInMap.redeemTx ?? redeemTx,
|
||||
refundTx: atomicInMap.refundTx ?? secretHashTxs?.refundTx,
|
||||
liquidityMigrationTx: atomicInMap.liquidityMigrationTx ?? liquidityMigrationTx,
|
||||
secret: atomicInMap.secret ?? atomic.secret,
|
||||
});
|
||||
} else {
|
||||
invariant(atomic.targetChainId, 'Target chain id is not defined');
|
||||
|
||||
Reference in New Issue
Block a user