Skip to content

Commit

Permalink
feat: new field
Browse files Browse the repository at this point in the history
  • Loading branch information
fringlesinthestreet committed Apr 30, 2024
1 parent e2f129e commit ae95fc5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.idea
.idea/**
sdk/*.tgz
node_modules/
2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.19.0-beta.0",
"version": "0.19.0-beta.1",
"name": "@rainbow-me/swaps",
"license": "GPL-3.0",
"main": "dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions sdk/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export interface CrosschainQuote extends Quote {
allowanceTarget?: string;
routes: SocketRoute[];
refuel: SocketRefuelData | null;
no_approval: boolean | undefined;
}

export interface TransactionOptions {
Expand Down
1 change: 1 addition & 0 deletions sdk/tests/utils/sanity_check.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function getQuote(
symbol: '',
},
fromChainId: chainID,
no_approval: false,
refuel: null,
routes: [],
sellAmount: '',
Expand Down

0 comments on commit ae95fc5

Please sign in to comment.