From 86f7928b8a6619b4b10c88036dc27008b31df927 Mon Sep 17 00:00:00 2001 From: Jose D Robles Date: Tue, 26 Dec 2023 20:18:04 +0100 Subject: [PATCH] Fix RgbSwapStrategy interface (#444) --- lib/web/rgb.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/web/rgb.ts b/lib/web/rgb.ts index d8bb10d0..03a95ffe 100644 --- a/lib/web/rgb.ts +++ b/lib/web/rgb.ts @@ -812,10 +812,10 @@ export interface RgbOfferRequest { expireAt?: number; } -export interface RgbSwapStrategy { - auction?: string, - p2p?: string, - hotswap?: string, +export enum RgbSwapStrategy { + Auction = "auction", + P2P = "p2p", + HotSwap = "hotswap", } export interface RgbAuctionOfferRequest { signKeys: string[],