Skip to content

Commit

Permalink
chore: fix adapter build
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromcunha committed Feb 5, 2024
1 parent ccb7575 commit 989701f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
registry=https://registry.npmjs.org
https://registry.npmjs.org/:_authToken=${NPM_TOKEN}
https://registry.npmjs.org/:_authToken=${NPM_TOKEN}
auto-install-peers = true
1 change: 1 addition & 0 deletions packages/relay-ethers-wallet-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
},
"peerDependencies": {
"@reservoir0x/relay-sdk": "workspace:*",
"@ethersproject/abstract-signer": "^5.7.0",
"ethers": "^5.6.1",
"viem": "~1.19.15"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/relay-ethers-wallet-adapter/src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { hexToBigInt, type CustomTransport, type HttpTransport } from 'viem'

export const adaptEthersSigner = (
signer: Signer,
transport?: CustomTransport | HttpTransport
transport?: CustomTransport | HttpTransport,
): AdaptedWallet => {
return {
transport,
Expand Down Expand Up @@ -48,7 +48,7 @@ export const adaptEthersSigner = (
}),
...(stepData.maxPriorityFeePerGas && {
maxPriorityFeePerGas: hexToBigInt(
stepData.maxPriorityFeePerGas as any
stepData.maxPriorityFeePerGas as any,
),
}),
...(stepData.gas && {
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 989701f

Please sign in to comment.