Skip to content

Commit

Permalink
Fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Stadnyk committed Jul 14, 2024
1 parent 3eced6b commit e8c6469
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion frontend/app/backups/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ import editIcon from '@/images/edit.svg';
import ghostIcon from '@/images/ghost.svg';
import useSmartAccountClient from '@/hooks/useSmartAccountClient';
import { getBackups, getBackup } from '@/services/getBackups';
import useUniversalAccountInfo from '@/hooks/useUniversalAccountInfo';

import { useSafeInfoContextProvider } from "@/context/SafeInfoContextProvider";

// import { wingmanModuleAddress, publicClient } from '@/services/consts';
// import abi from '@/services/module.abi.json';

Expand Down
2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
"@safe-global/safe-apps-sdk": "^9.1.0",
"@safe-global/safe-apps-web3modal": "^23.0.0",
"@tanstack/react-query": "^5.51.1",
"@web3modal/scaffold": "^5.0.6",
"@web3modal/scaffold-utils": "^5.0.6",
"@web3modal/wagmi": "^5.0.6",
"clsx": "2.1.1",
"framer-motion": "~11.1.1",
Expand Down
7 changes: 6 additions & 1 deletion frontend/services/createBackup.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,14 @@ export async function createBackup(owner, smartAccountAddress, name, unlockAt, b

const gasPrice = await bundlerClient.getUserOperationGasPrice()

const nonce = await getAccountNonce(publicClient, {
entryPoint: ENTRYPOINT_ADDRESS_V07,
sender: senderAddress
})

const userOperation = {
sender: smartAccountAddress,
nonce: 0n,
nonce: nonce,
factory: factory,
factoryData,
callData,
Expand Down
4 changes: 2 additions & 2 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3545,7 +3545,7 @@
"@web3modal/wallet" "5.0.6"
lit "3.1.0"

"@web3modal/[email protected]":
"@web3modal/[email protected]", "@web3modal/scaffold-utils@^5.0.6":
version "5.0.6"
resolved "https://registry.yarnpkg.com/@web3modal/scaffold-utils/-/scaffold-utils-5.0.6.tgz#7dd234a9f08b5e73afd21ef57cdd9087e08830b2"
integrity sha512-/yNwlo/SlvY0Vi3kr/qoUCdhz978A7XlUqdcnk4mdEBFs0X0BzJbdfQ75xuKHXD+1ZU38HTV3lRH/XAbxbT5IA==
Expand All @@ -3561,7 +3561,7 @@
dependencies:
"@web3modal/scaffold" "5.0.6"

"@web3modal/[email protected]":
"@web3modal/[email protected]", "@web3modal/scaffold@^5.0.6":
version "5.0.6"
resolved "https://registry.yarnpkg.com/@web3modal/scaffold/-/scaffold-5.0.6.tgz#90367c53b2056fcafb8fdaa50f62bc5c4204b7ba"
integrity sha512-KqcFJH5V8pMh4OHLV7dsTZTCNXUjsB7EKPEPpyq9bru60fiCz5PniS6nWRrZEmS7+BMNDr3cv/SVvg3+Rrvl+g==
Expand Down

0 comments on commit e8c6469

Please sign in to comment.