From fad1e44ac18195e2454b79092e9b92e887e899c4 Mon Sep 17 00:00:00 2001 From: jmd3v Date: Wed, 29 May 2024 16:53:52 -0300 Subject: [PATCH] fix: missing types for details --- package.json | 2 +- src/routes/index.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6a0a310..ca40e3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xsquid/squid-types", - "version": "0.1.73", + "version": "0.1.74", "description": "JS and TS types relating to 0xsquid related projects.", "main": "dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/routes/index.ts b/src/routes/index.ts index 399721b..2bf1204 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -109,6 +109,8 @@ export interface WrapDetails { direction: WrapDirection; calls: ChainCall[]; custom?: Record; + logoURI?: string; + provider?: string; } export interface _SwapDetails extends Omit { @@ -133,6 +135,8 @@ export interface SwapDetails { exchangeProvider?: string; address?: string; custom?: Record; + logoURI?: string; + provider?: string; } export interface BridgeDetails { @@ -140,11 +144,14 @@ export interface BridgeDetails { provider: string; type: BridgeType; name: string; + logoURI?: string; calls?: ChainCall[]; } export interface CustomCallDetails { name: string; + logoURI?: string; + provider?: string; calls: ChainCall[]; }