From 46477df270fce0d20845d5357fe66a6ebcaa52f2 Mon Sep 17 00:00:00 2001 From: J Date: Thu, 1 Aug 2024 13:16:05 -0300 Subject: [PATCH] feat: improve path finder request type (#99) --- package.json | 2 +- src/path/index.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 38515e4..ce9e248 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xsquid/squid-types", - "version": "0.1.93", + "version": "0.1.94", "description": "JS and TS types relating to 0xsquid related projects.", "main": "dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/path/index.ts b/src/path/index.ts index 374ae13..3b42635 100644 --- a/src/path/index.ts +++ b/src/path/index.ts @@ -80,8 +80,6 @@ export interface PathAction { export interface PathParams { fromChainId: string; toChainId: string; - fromToken: Pick; - toToken: Pick; - maxResults?: number; - subgraphIds?: string[]; + fromToken: string; + toToken: string; }