- Implementation of Prettier and EsLint to the code base
- Remove postinstall script
- Updated
@etherspot/modular-sdk
with new wallet factory contract address IMPORTANT
: To access previous wallet factory contract address, please use 0.14.1 or below, and move assets from wallets before updating to 0.15.0+
- Added
MODULE_TYPE
enum andModuleInfo
type frometherspot-modular
- Version update of
etherspot-modular
- Added Etherspot Modular SDK
getAllModules
andisModuleInstalled
to hookuseEtherspotModules
- Updated
uninstallModule
with Etherspot Modular SDKgenerateModuleDeInitData
to hookuseEtherspotModules
which allows to install and uninstall several modules
- Updated
getAssets
which accepts optional propschainId
andname
getSDK
include a param to choose to instantiate the Prime SDK instead of the Modular SDK- Added Etherspot Modular SDK
installModule
anduninstallModule
to hookuseEtherspotModules
- Added
isModular
to contextEtherspotContextProvider
- Etherspot Modular SDK implemented to TransactionKit as the default
accountTemplate
- Changed the
etherspot-prime
wallet type toetherspot
wallet type
- Links updated on README file
- Added Etherspot Prime SDK
getSupportedAssets
to hookuseEtherspotAssets
- Added Etherspot Prime SDK
getQuotes
to hookuseEtherspotSwaps
- Added Etherspot Prime SDK
getTransactionStatus
to hookuseEtherspotHistory
- Default bridging provider for all above new functions is
Connext
- Updated
@etherspot/prime-sdk
to version1.8.1
- Added
chainId
param touseEtherspotNfts
hook'sgetTransactions
andgetTransaction
methods - Fixed
useEtherspotNfts
hook'sgetTransactions
method returned result to match back-end changes
- Transactions returned by
useEtherspotNfts
hook'sgetTransactions
method are now different type calledUserOpTransaction
- Fixes and optimizations on SDK initialization
- Updated
@etherspot/prime-sdk
to version1.6.4
with config changes
- Etherspot project keys are now split as
dataApiKey
andbundlerApiKey
to support separation of bundler and data services, howeverTransactionKit
still carries embedded keys with low frequency usage API calls support
- Cast
chainId
to number throughout the library to make it failproof for string chain IDs
- Chore on Etherspot Prime project keys
- Updated
@etherspot/prime-sdk
to version1.6.2
with data service changes - Hook
useEtherspotSwaps
temporarily unavailable forgetOffers
method
- Updated
useEtherspotTransactions
hook'sestimate
andsend
methods to return actual gas cost onestimated
key and nicer error messages onerrorMessage
key - Changed return type to
JSX.Element
forEtherspotApprovalTransaction
,EtherspotContractTransaction
andEtherspotTokenTransferTransaction
components
- Added
chainId
param touseEtherspotNfts
hook'sgetAccountNfts
method
- Added Etherspot Prime SDK computed account pull from SDK instance state
- Added missing
tokenDecimals
param to<EtherspotTokenTransferTransaction />
and<EtherspotApprovalTransaction />
components
- Added
chainId
param touseEtherspotAssets
hook'sgetAssets
method
- Fixed
<EtherspotTokenTransferTransaction />
component's used transfer method
- Fixed
useEtherspotBalances
hook'sgetAccountBalances
accepted params type
- Added
chainId
param touseEtherspotBalances
hook'sgetAccountBalances
method
- Added
isSending
,isEstimating
,containsSendingError
,containsEstimatingError
touseEtherspotTransactions
hook
- Added Etherspot Prime SDK
projectKey
to<EtherspotTransactionKit />
, it allows usage of SDK data services
- Removed
reflect-metadata
andrxjs
dependencies - Fixed
@etherspot/eip1271-verification-util
to version0.1.3
- Added Pull Request template
- Updated
@etherspot/prime-sdk
to version1.3.112
that removesapi_key
param frompaymaster
prop, now it's passed viaurl
param
- Updated
@etherspot/prime-sdk
to version1.3.10
that includes better error message handling under the hood
- Fixed
<EtherspotBatches />
componentpaymaster.context
issues
- Fixed
<EtherspotBatches />
componentpaymaster
prop issues
- Added accepted
provider
to<EtherspotTransactionKit />
component that supports most of providers by Prime SDK
- Updated
@etherspot/prime-sdk
to version1.3.8
withaccountTemplate
(SDKfactoryWallet
) fixes
- Added
accountTemplate
to<EtherspotTransactionKit />
component that allows passing customfactoryWallet
supported by Prime SDK
- Added missing
useEtherspotTransactions
hook tests forsend
method
- Added missing
useEtherspotTransactions
hook tests forestimate
method - Fixed
skip
prop to ignore batch group estimations - Fixed batching for same chain ID SDK instance
- Updated
example
React code to latest changes - Updated
@etherspot/prime-sdk
to version1.3.4
- Removed
etherspot
dependency - Removed
@etherspot/react-etherspot
dependency - Updated
provider
prop as required for<EtherspotTransactionKit />
component - Removed
getSdkForChainId
fromuseEtherspot
hook, replaced withgetSdk
that returnsPrime SDK
instance asPromise
- Removed
connect
fromuseEtherspot
therefore it's no longer required to start SDK session - Removed
accountAddress
andproviderWalletAddress
fromuseEtherspot
hook, please useuseWalletAddress
hook - Removed
sdk
fromuseEtherspot
hook, please usegetSdk
onuseEtherspot
hook - Removed
etherspotSessionStorage
from<EtherspotTransactionKit />
component, session is now handled internally
- Method
getOffers
for same chain swaps onuseEtherspotSwaps
hook is not working on this release - Methods
getAccountTransactions
andgetAccountTransaction
onuseEtherspotHistory
hook are not working on this release
- Removed
etherspot
wallet type fromuseWalletAddress
hook - Removed
via
prop from<EtherspotBatches />
component - Default
useWalletAddress
and<EtherspotBatches />
provider is set toetherspot-prime
- Removed
gasTokenAddress
prop from<EtherspotBatches />
component due being unsupported in defaultetherspot-prime
provider
- Added
gasCost
toetherspot-prime
estimations
react
dependencies chore.
- Downgraded
react
peer dependency to version>=16.13.0
- Updated
@etherspot/prime-sdk
to version1.2.11
- Added
paymaster
prop to<EtherspotBatches />
which is used for setting custompaymaster
sent viaetherspot-prime
provider
- Updated
@etherspot/prime-sdk
to version1.2.10
- Updated
@etherspot/prime-sdk
to version1.2.9
- Removed
ethereumjs-util
dependency - Updated address
checksum
util and tests - Made library compatible with latest
react-scripts
(5.0.1)
- Chore on
@etherspot/prime-sdk
version1.1.1
- Updated
@etherspot/prime-sdk
to version1.1.1
- Fixed transaction sending after recent
@etherspot/prime-sdk
update to version1.1.0
- Updated
@etherspot/prime-sdk
to version1.1.0
- Updated
@etherspot/react-etherspot
to version1.2.0
withprovider
state update fixes - Added Etherspot Prime SDK saved instances fix to support
provider
change
- Added updated Etherspot Prime SDK that supports Arbitrum chain
- Added improvements how
chainId
is handled
- Added updated Etherspot Prime SDK that solves multiple issues within their SDK
- Added fixes and improvements how Etherspot Prime SDK is created and handled
- Added
userOpHash
andvia
type toSentBatches
type to to able to tell if it isetherspot
batchHash
oretherspot-prime
userOpHash
- Updated
@etherspot/eip1271-verification-util
to version0.1.2
- Added
via
prop to<EtherspotBatches />
component that accepts defaultetherspot
provider or newly added SDK provideretherspot-prime
that can be used to send EIP-4337 (Account Abstraction / UserOperation) transactions via Etherspot bundler - Added
useWalletAddres
hook to getetherspot
,etherspot-prime
and connectedprovider
wallet address by type - Added deprecation warning for
useEtherspotAddresses
hook,useWalletAddress('etherspot', chainId)
should be used instead
- Fixed
batches
ordering issue that were affecting renders with few<EtherspotBatches />
components rendered at the same time
- Added
useEtherspotSwaps
hook for cross chain and same chain asset swaps
- Added
useEtherspotPrices
hook for asset prices
- Updated
window
context to not be used within non-browser environments.
- Updated
@etherspot/eip1271-verification-util
to version0.1.1
.
- Added
rimraf
to suport developers inWindows
environment. - Added provider wallet transaction component
<ProviderWalletTransaction />
- Added
useProviderWalletTransaction
hook for provider wallet transaction management
- Added
useEtherspotBalances
hook for Etherspot/EVM related contract - Added
useEtherspotUtils
hook for Etherspot/EVM related utils - Added
useEtherspotHistory
hook for Etherspot account transactions history - Added
useEtherspotNfts
hook for Etherspot account owned NFTs - Added
CHANGELOG.md
to track library changes - Improved Etherspot SDK session connection flows
- Added missing warning logs throughout the library
- Removed current output of
useEtherspotAssets
and added methodgetAssets: () => Promise<TokenListToken[]>
that returns a list of assets instead of putting asseets automatically into the state