diff --git a/package.json b/package.json index b76bdde..f9d21e0 100644 --- a/package.json +++ b/package.json @@ -13,12 +13,12 @@ "@ethereumjs/common": "^4.3.0", "@ethereumjs/tx": "^5.3.0", "@ethereumjs/util": "^9.0.3", - "@near-wallet-selector/core": "^8.9.10", - "@near-wallet-selector/here-wallet": "^8.9.10", - "@near-wallet-selector/meteor-wallet": "^8.9.10", - "@near-wallet-selector/modal-ui": "^8.9.10", - "@near-wallet-selector/my-near-wallet": "^8.9.10", - "@near-wallet-selector/bitte-wallet": "^8.9.10", + "@near-wallet-selector/core": "^8.9.13", + "@near-wallet-selector/here-wallet": "^8.9.13", + "@near-wallet-selector/meteor-wallet": "^8.9.13", + "@near-wallet-selector/modal-ui": "^8.9.13", + "@near-wallet-selector/my-near-wallet": "^8.9.13", + "@near-wallet-selector/bitte-wallet": "^8.9.13", "@vitejs/plugin-react": "^4.2.1", "axios": "^1.6.8", "bitcoinjs-lib": "^6.1.5", @@ -29,7 +29,7 @@ "hash.js": "^1.1.7", "js-sha3": "^0.9.3", "keccak": "^3.0.4", - "near-api-js": "^3.0.4", + "near-api-js": "^5.0.0", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -39,7 +39,7 @@ "web3": "^4.6.0" }, "overrides": { - "near-api-js": "^3.0.4" + "near-api-js": "^5.0.0" }, "devDependencies": { "@types/react": "^18.2.64", diff --git a/src/services/ethereum.js b/src/services/ethereum.js index 090c551..6585a6e 100644 --- a/src/services/ethereum.js +++ b/src/services/ethereum.js @@ -77,7 +77,7 @@ export class Ethereum { sessionStorage.setItem('derivation', path); const payload = Array.from(ethPayload); - const { big_r, s, recovery_id } = await wallet.callMethod({ contractId, method: 'sign', args: { request: { payload, path, key_version: 0 } }, gas: '250000000000000', deposit: parseNearAmount('0.05') }); + const { big_r, s, recovery_id } = await wallet.callMethod({ contractId, method: 'sign', args: { request: { payload, path, key_version: 0 } }, gas: '250000000000000', deposit: parseNearAmount('0.25') }); return { big_r, s, recovery_id }; }