Skip to content

Commit

Permalink
Merge pull request #75 from rabbitholegg/update_questdk_1018
Browse files Browse the repository at this point in the history
Chore(pnpm): update questdk
  • Loading branch information
Quazia authored Oct 19, 2023
2 parents b7cdacd + 901047d commit 9d2d5be
Show file tree
Hide file tree
Showing 16 changed files with 55 additions and 60 deletions.
2 changes: 1 addition & 1 deletion packages/across/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"vitest": "0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/arbitrum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"vitest": "0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/camelot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"vitest": "0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/connext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@connext/nxtp-txservice": "^2.0.0",
"@connext/nxtp-utils": "^2.0.4",
"@connext/smart-contracts": "^2.0.0",
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "^1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/gmx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"vitest": "0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"axios": "1.5.0",
"viem": "1.2.15"
}
Expand Down
23 changes: 9 additions & 14 deletions packages/gmx/src/GMX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,15 @@ export const swap = async (swap: SwapActionParams) => {
to: contractAddress, // The contract address of the swap
chainId: chainId, // The chain id of the swap
input: {
$abi: GMX_SWAPV2_ABI,
data: {
$some: {
$abi: GMX_SWAPV2_ABI,
params: {
numbers: {
minOutputAmount: amountOut,
},
orderType: OrderType.MarketSwap,
addresses: {
receiver: recipient,
swapPath: [tokenIn, tokenOut],
},
},
$abiAbstract: GMX_SWAPV2_ABI,
params: {
numbers: {
minOutputAmount: amountOut,
},
orderType: OrderType.MarketSwap,
addresses: {
receiver: recipient,
swapPath: [tokenIn, tokenOut],
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/hop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"dependencies": {
"@hop-protocol/core": "0.0.1-beta.182",
"@hop-protocol/sdk": "0.0.1-beta.535",
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/optimism/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"@eth-optimism/contracts-ts": "0.15.0",
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/paraswap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"dependencies": {
"@paraswap/sdk": "^6.2.2",
"axios": "1.5.0",
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/polygon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"@maticnetwork/pos-portal": "1.5.2",
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"vitest": "^0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"@rabbitholegg/questdk-plugin-connext": "workspace:*",
"@rabbitholegg/questdk-plugin-uniswap": "workspace:*",
"@rabbitholegg/questdk-plugin-stargate": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"vitest": "0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "1.6.7"
}
}
2 changes: 1 addition & 1 deletion packages/tally/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"vitest": "^0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "^1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"vitest": "^0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"viem": "^1.2.15"
}
}
2 changes: 1 addition & 1 deletion packages/uniswap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"vitest": "^0.33.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.21",
"@rabbitholegg/questdk": "2.0.0-alpha.22",
"@uniswap/universal-router": "^1.4.3",
"@uniswap/universal-router-sdk": "^1.5.4",
"viem": "^1.2.15"
Expand Down
Loading

0 comments on commit 9d2d5be

Please sign in to comment.