diff --git a/CHANGELOG.md b/CHANGELOG.md index d87f93c3..76238a75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [2.4.3](https://github.com/lifinance/sdk/compare/v2.4.1...v2.4.3) (2023-10-03) + + +### Bug Fixes + +* wallet analytics API request changes ([#167](https://github.com/lifinance/sdk/issues/167)) ([e4a145d](https://github.com/lifinance/sdk/commit/e4a145de96ef986b8ea52134cfb095d4a5fc5f44)) + ### [2.4.2](https://github.com/lifinance/sdk/compare/v2.4.1...v2.4.2) (2023-10-03) diff --git a/package.json b/package.json index de4caad4..1f893595 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/sdk", - "version": "2.4.2", + "version": "2.4.3", "description": "LI.FI Any-to-Any Cross-Chain-Swap SDK", "main": "./dist/cjs/index.js", "module": "./dist/index.js", diff --git a/src/allowance/checkAllowance.ts b/src/allowance/checkAllowance.ts index 69c251cb..82b8bd70 100644 --- a/src/allowance/checkAllowance.ts +++ b/src/allowance/checkAllowance.ts @@ -52,9 +52,8 @@ export const checkAllowance = async ( } if (settings.updateTransactionRequestHook) { - const config = await settings.updateTransactionRequestHook( - approvalRequest - ) + const config = + await settings.updateTransactionRequestHook(approvalRequest) approvalRequest.gasLimit = config.gasLimit approvalRequest.gasPrice = config.gasPrice diff --git a/src/execution/StepExecutionManager.ts b/src/execution/StepExecutionManager.ts index 09979cdb..740103e9 100644 --- a/src/execution/StepExecutionManager.ts +++ b/src/execution/StepExecutionManager.ts @@ -161,9 +161,8 @@ export class StepExecutionManager { // Create new transaction if (!step.transactionRequest) { const personalizedStep = await personalizeStep(signer, step) - const updatedStep = await ApiService.getStepTransaction( - personalizedStep - ) + const updatedStep = + await ApiService.getStepTransaction(personalizedStep) const comparedStep = await stepComparison( statusManager, personalizedStep, @@ -224,9 +223,8 @@ export class StepExecutionManager { transactionRequest.maxFeePerGas = customConfig.maxFeePerGas } else { try { - const estimatedGasLimit = await signer.estimateGas( - transactionRequest - ) + const estimatedGasLimit = + await signer.estimateGas(transactionRequest) if (estimatedGasLimit) { transactionRequest.gasLimit = BigNumber.from( @@ -249,9 +247,8 @@ export class StepExecutionManager { shouldBatchTransactions && config.multisigConfig?.sendBatchTransaction ) { - const { to, data, value } = await signer.populateTransaction( - transactionRequest - ) + const { to, data, value } = + await signer.populateTransaction(transactionRequest) const isValidTransaction = to && data diff --git a/src/version.ts b/src/version.ts index a11d2878..56038ab6 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ export const name = '@lifi/sdk' -export const version = '2.4.2' +export const version = '2.4.3'