Skip to content

Commit

Permalink
Merge branch 'next' into feature/integ-1208-liquidate-all-positions-w…
Browse files Browse the repository at this point in the history
…ith-bad-debt
  • Loading branch information
Jean-Grimal authored Dec 18, 2024
2 parents af268ec + a091134 commit 108ac15
Show file tree
Hide file tree
Showing 6 changed files with 308 additions and 320 deletions.
2 changes: 1 addition & 1 deletion packages/blue-api-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@graphql-codegen/typescript": "^4.1.2",
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"graphql": "^16.9.0",
"graphql": "^16.10.0",
"typescript": "^5.7.2"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/bundler-sdk-viem/src/types/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type {
Chain,
Client,
Hex,
SendTransactionRequest,
TransactionRequest,
Transport,
} from "viem";

Expand Down Expand Up @@ -250,7 +250,7 @@ export type Requirements = {
[T in TransactionRequirementType]: {
type: T;
args: TransactionRequirementArgs[T];
tx: SendTransactionRequest;
tx: TransactionRequest & { to: Address; data: Hex };
};
};

Expand All @@ -273,5 +273,5 @@ export interface ActionBundle {
signatures: SignatureRequirement[];
txs: TransactionRequirement[];
};
tx: () => SendTransactionRequest;
tx: () => TransactionRequest & { to: Address; data: Hex };
}
11 changes: 6 additions & 5 deletions packages/liquidation-sdk-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@
},
"dependencies": {
"@paraswap/sdk": "^7.0.0",
"executooor-viem": "^1.3.3",
"graphql": "^16.9.0",
"graphql-request": "^6.1.0",
"graphql-tag": "2.11.0"
"executooor-viem": "^1.3.3"
},
"peerDependencies": {
"@morpho-org/blue-api-sdk": "workspace:^",
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"evm-maths": "^7.0.0",
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
"graphql-request": "^6.1.0",
"graphql-tag": "^2.12.6",
"viem": "^2.0.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/import-types-preset": "^3.0.0",
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-graphql-request": "^6.2.0",
"@graphql-codegen/typescript-operations": "^4.3.1",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@morpho-org/blue-api-sdk": "workspace:^",
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/blue-sdk-viem": "workspace:^",
Expand All @@ -49,6 +49,7 @@
"evm-maths": "^7.0.1",
"executooor-viem": "^1.3.3",
"fetch-mock": "^11.1.5",
"graphql": "^16.10.0",
"hardhat": "^2.22.17",
"nock": "beta",
"typescript": "^5.7.2",
Expand Down
15 changes: 7 additions & 8 deletions packages/liquidity-sdk-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,24 @@
"build": "tsc --build tsconfig.build.json",
"codegen": "graphql-codegen --config codegen.ts"
},
"dependencies": {
"dataloader": "^2.2.3",
"graphql": "^16.9.0",
"graphql-request": "^6.1.0",
"graphql-tag": "2.11.0"
},
"peerDependencies": {
"@morpho-org/blue-api-sdk": "workspace:^",
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/blue-sdk-ethers": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"@morpho-org/simulation-sdk": "workspace:^",
"ethers": "^6.0.0"
"dataloader": "^2.2.3",
"ethers": "^6.0.0",
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
"graphql-request": "^6.1.0",
"graphql-tag": "^2.12.6"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/import-types-preset": "^3.0.0",
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-graphql-request": "^6.2.0",
"@graphql-codegen/typescript-operations": "^4.3.1",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@morpho-org/blue-api-sdk": "workspace:^",
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/blue-sdk-ethers": "workspace:^",
Expand All @@ -45,6 +43,7 @@
"@morpho-org/simulation-sdk": "workspace:^",
"@morpho-org/test": "workspace:^",
"@types/node": "^22.10.1",
"graphql": "^16.10.0",
"nock": "beta",
"typescript": "^5.7.2",
"ethers": "^6.0.0",
Expand Down
13 changes: 6 additions & 7 deletions packages/liquidity-sdk-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,24 @@
"build": "tsc --build tsconfig.build.json",
"codegen": "graphql-codegen --config codegen.ts"
},
"dependencies": {
"dataloader": "^2.2.3",
"graphql": "^16.9.0",
"graphql-request": "^6.1.0",
"graphql-tag": "2.11.0"
},
"peerDependencies": {
"@morpho-org/blue-api-sdk": "workspace:^",
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/blue-sdk-viem": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"@morpho-org/simulation-sdk": "workspace:^",
"dataloader": "^2.2.3",
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
"graphql-request": "^6.1.0",
"graphql-tag": "^2.12.6",
"viem": "^2.0.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/import-types-preset": "^3.0.0",
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-graphql-request": "^6.2.0",
"@graphql-codegen/typescript-operations": "^4.3.1",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@morpho-org/blue-api-sdk": "workspace:^",
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/blue-sdk-viem": "workspace:^",
Expand All @@ -45,6 +43,7 @@
"@morpho-org/simulation-sdk": "workspace:^",
"@morpho-org/test": "workspace:^",
"@types/node": "^22.10.1",
"graphql": "^16.10.0",
"nock": "beta",
"typescript": "^5.7.2",
"viem": "^2.21.54",
Expand Down
Loading

0 comments on commit 108ac15

Please sign in to comment.