Skip to content

Commit

Permalink
fix: missing types for details
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdev3 committed May 29, 2024
1 parent 609cb35 commit fad1e44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 7 additions & 0 deletions src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ export interface WrapDetails {
direction: WrapDirection;
calls: ChainCall[];
custom?: Record<string, any>;
logoURI?: string;
provider?: string;
}

export interface _SwapDetails extends Omit<SwapDetails, "dex"> {
Expand All @@ -133,18 +135,23 @@ export interface SwapDetails {
exchangeProvider?: string;
address?: string;
custom?: Record<string, any>;
logoURI?: string;
provider?: string;
}

export interface BridgeDetails {
target: string;
provider: string;
type: BridgeType;
name: string;
logoURI?: string;
calls?: ChainCall[];
}

export interface CustomCallDetails {
name: string;
logoURI?: string;
provider?: string;
calls: ChainCall[];
}

Expand Down

0 comments on commit fad1e44

Please sign in to comment.