From 44efdd08a9cb4d182119ad625d79253319b94bd4 Mon Sep 17 00:00:00 2001 From: Aleksandr Kraiz Date: Wed, 23 Aug 2023 18:27:22 +0400 Subject: [PATCH] Export one more types --- package.json | 2 +- src/types.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e0a017f..5e4d05d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.19.62", + "version": "0.19.63", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/types.ts b/src/types.ts index 828fc2a..0314e1c 100644 --- a/src/types.ts +++ b/src/types.ts @@ -358,14 +358,14 @@ export type TxSwapThroughOrionPoolPayload = { } }; -type TxBridgePayload = { +export type TxBridgePayload = { type: TxType.BRIDGE_LOCK | TxType.BRIDGE_REDEEM | TxType.BRIDGE_REFUND data: { secretHash: string } } -type TxLiquidityMigrationPayload = { +export type TxLiquidityMigrationPayload = { type: TxType.LIQUIDITY_MIGRATION data: { source: SupportedChainId @@ -387,7 +387,7 @@ type TxLiquidityMigrationPayload = { } } -type TxRedeemTwoAtomicsPayload = { +export type TxRedeemTwoAtomicsPayload = { type: TxType.REDEEM_TWO_ATOMICS data: { secretHash1: string