Releases: rarimo/js-sdk
Releases · rarimo/js-sdk
2.0.0-rc.34
adding CreateWorldCoinIdentityTransferOp
1.5.0
[1.5.0] - 2023-06-01
Added
@rarimo/providers-evm
- EthersProvider class is specifically designed to handle ethers.provider.Web3Provider instead of injected provider@rarimo/nft-checkout
- Lock@pancakeswap/swap-sdk-core
version to0.0.1
@rarimo/nft-checkout
- Extend token list for Ethereum, Binance Smart Chain to resolve target token by address got from backend@rarimo/nft-checkout
- Checking if payment token has liquidity pair with the target token@rarimo/nft-checkout
:NFTCheckoutOperation
status to track the operation status during the flow@rarimo/nft-checkout
:NFTCheckoutOperation.getDestinationTx
method@rarimo/react-nft-checkout
: React implementation of@rarimo/nft-checkout
package@rarimo/react-nft-checkout
: Exported UI componentRarimoPayButon
@rarimo/react-nft-checkout
: Exported context providerDappContextProvider
with core methods for NFT checkoutroot
:@rarimo/providers-evm
packageroot
:@rarimo/providers-near
packageroot
:@rarimo/providers-solana
packageall
-browser
resolution path in thepackage.json
@rarimo/nft-checkout
:@distributedlab/jac
dependency to perform JSON API requests@rarimo/provider
:createProvider
options now accepts listener for provider change state events@rarimo/react-provider
:NODE_ENV=production
to the build script force Vite to resolve production modulesroot
:apply-version
Script to easier bump version
Changed
@rarimo/nft-checkout
- Use multi hop routes for the swap price estimating on BSC instead of direct routes@rarimo/provider
- ExtendedRuntimeError
withorginalError
field@rarimo/nft-checkout
: Chain and token logos are stored locally@rarimo/provider
: Wallet wrappers split to the several packages:@rarimo/providers-evm
,@rarimo/providers-near
,@rarimo/providers-solana
all
- Migrate fromtsc
toswc
to build packagesall
- Migrate fromts-jest
toswc-jest
to run testsroot
- SDK now required Node.js version >= 18@rarimo/nft-checkout
: Bundle argument inNFTCheckoutOperation.checkout
function is now optional@rarimo/nft-checkout
:recipient
field from theTarget
interface become optional
Fixed
@rarimo/nft-checkout
- Checking decimals for non-zero for the payment token@rarimo/react-provider
- Calling clear handlers on non-existent provider@rarimo/nft-checkout
: Parsing of the balance received after multicall@rarimo/nft-checkout
: Uniswap V3 token list url changed to the new one to omit gateway issuesall
- Replace type imports withimport type
syntax according to the SWC tsc migration guideall
- Moved exclude tests to thetsconfig.build.json
file to make ESLint work in the tests@rarimo/react-nft-checkout
: Fetching token in the dev mode@rarimo/react-provider
:useProvider
hook reactivity@rarimo/nft-checkout
: Use of provided recipient address during building swap transaction@rarimo/provider
: Emit of connect and disconnect events@rarimo/react-nft-checkout
: Types path@rarimo/react-nft-checkout
: npmignore@rarimo/react-provider
: npmignore@rarimo/react-provider
: near-api-js vite build issue
Removed
root
- Unusedtsconfig.eslint.json
@rarimo/nft-checkout
:address
field from theTarget
interface
1.4.0
[1.4.0] - 2023-03-13
Added
@rarimo/nft-checkout
: Mumbai chain swap contract address@rarimo/nft-checkout
: Chapel test tokens@rarimo/nft-checkout
: Throwing error ifswapTargetTokenSymbol
is native token, because it's not supported on the smart contracts side@rarimo/react-provider
: React@rarimo/provider
adapter package
Changed
@rarimo/nft-checkout
: Fuji chain swap contract addressall
: Migrated to@distributedlab/tools
from@distributedlab/utils
@rarimo/nft-checkout
: checkout method now return transaction hash string@rarimo/nft-checkout
: Polygon support moved to the QuickSwap DEX@rarimo/nft-checkout
:@distributedlab/tools
package version bumped to0.1.6
Fixed
@rarimo/nft-checkout
: Fix price calculation for estimates@rarimo/provider
: Not changing provider state on events@rarimo/provider
: Emitting provider change state events@rarimo/nft-checkout
: Goerli and Sepolia names@rarimo/nft-checkout
: Uniswap V3 native to erc20 path encoding@rarimo/nft-checkout
: Multiple copies of the native token in the token listall
: Typedoc export types
1.3.0
1.3.0 - 2023-03-03
Added
all
: Build to CommonJS and ES modulesall
:tsc-alias
package to use aliases in TypeScriptroot
:yarn rsc
Release Sanity Check scriptroot
: Publish to NPM GitHub Action@rarimo/nft-checkout
: Mainnet contract to the chain list
Fixed
@rarimo/provider
: Solflare wallet naming issue@rarimo/nft-checkout
: Estimate swap for input native token
1.2.0
1.2.0 - 2023-02-28
Added
root
: Yarn TypeScript plugin which automatically adds @types/ packages into your dependencies when you add a package that doesn't include its own types@rarimo/provider
: Support of Phantom wallet@rarimo/provider
: Support of Coinbase wallet@rarimo/provider
: Support of Solfare wallet@rarimo/provider
: Provider now implementsProviderSubscriber
interface, which allows to subscribe to provider change state events@rarimo/nft-checkout
: NFT checkout operation now implementsOperationSubscriber
interface, which allows to subscribe to operation change state events@rarimo/nft-checkout
:supportedTokens
method toINFTCheckoutOperation
interface to get supported tokens for swap on the selected chain@rarimo/nft-checkout
: PancakeSwap integration@rarimo/nft-checkout
: Ability to provide slippage in target object
Changed
root
: Added some more info about SDK to the readmeall
: Moved all changelogs to the one file in the root of the repoall
: Operator errors moved into from@rarimo/provider
to@rarimo/nft-checkout
@rarimo/nft-checkout
: Target object now has the required fieldswapTargetTokenSymbol
, which need to determine output token for swap.@rarimo/nft-checkout
: Price type refactored to class, which provides developer friendly interface to create price instance
Removed
root
:esbuild
from dependenciesroot
:@babel/*
from dependencies to simplify and speed up build processall
:@/ -> ./src
aliases to remove@babel/*
and all related packages@rarimo/nft-checkout
: Swap contract addresses removed from EVM mainnet chains till they will be deployed
Fixed
@rarimo/nft-checkout
: Swap for input native token