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-coreversion 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:NFTCheckoutOperationstatus to track the operation status during the flow@rarimo/nft-checkout:NFTCheckoutOperation.getDestinationTxmethod@rarimo/react-nft-checkout: React implementation of@rarimo/nft-checkoutpackage@rarimo/react-nft-checkout: Exported UI componentRarimoPayButon@rarimo/react-nft-checkout: Exported context providerDappContextProviderwith core methods for NFT checkoutroot:@rarimo/providers-evmpackageroot:@rarimo/providers-nearpackageroot:@rarimo/providers-solanapackageall-browserresolution path in thepackage.json@rarimo/nft-checkout:@distributedlab/jacdependency to perform JSON API requests@rarimo/provider:createProvideroptions now accepts listener for provider change state events@rarimo/react-provider:NODE_ENV=productionto the build script force Vite to resolve production modulesroot:apply-versionScript 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- ExtendedRuntimeErrorwithorginalErrorfield@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-solanaall- Migrate fromtsctoswcto build packagesall- Migrate fromts-jesttoswc-jestto run testsroot- SDK now required Node.js version >= 18@rarimo/nft-checkout: Bundle argument inNFTCheckoutOperation.checkoutfunction is now optional@rarimo/nft-checkout:recipientfield from theTargetinterface 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 typesyntax according to the SWC tsc migration guideall- Moved exclude tests to thetsconfig.build.jsonfile to make ESLint work in the tests@rarimo/react-nft-checkout: Fetching token in the dev mode@rarimo/react-provider:useProviderhook 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:addressfield from theTargetinterface
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 ifswapTargetTokenSymbolis native token, because it's not supported on the smart contracts side@rarimo/react-provider: React@rarimo/provideradapter package
Changed
@rarimo/nft-checkout: Fuji chain swap contract addressall: Migrated to@distributedlab/toolsfrom@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/toolspackage 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-aliaspackage to use aliases in TypeScriptroot:yarn rscRelease 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 implementsProviderSubscriberinterface, which allows to subscribe to provider change state events@rarimo/nft-checkout: NFT checkout operation now implementsOperationSubscriberinterface, which allows to subscribe to operation change state events@rarimo/nft-checkout:supportedTokensmethod toINFTCheckoutOperationinterface 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/providerto@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:esbuildfrom dependenciesroot:@babel/*from dependencies to simplify and speed up build processall:@/ -> ./srcaliases 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