Skip to content

1.5.0

Choose a tag to compare

@napalmpapalam napalmpapalam released this 01 Jun 11:39
· 229 commits to main since this release
5a9c212

[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 to 0.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 component RarimoPayButon
  • @rarimo/react-nft-checkout: Exported context provider DappContextProvider with core methods for NFT checkout
  • root: @rarimo/providers-evm package
  • root: @rarimo/providers-near package
  • root: @rarimo/providers-solana package
  • all - browser resolution path in the package.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 modules
  • root: 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 - Extended RuntimeError with orginalError 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 from tsc to swc to build packages
  • all - Migrate from ts-jest to swc-jest to run tests
  • root - SDK now required Node.js version >= 18
  • @rarimo/nft-checkout: Bundle argument in NFTCheckoutOperation.checkout function is now optional
  • @rarimo/nft-checkout: recipient field from the Target 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 issues
  • all - Replace type imports with import type syntax according to the SWC tsc migration guide
  • all - Moved exclude tests to the tsconfig.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 - Unused tsconfig.eslint.json
  • @rarimo/nft-checkout: address field from the Target interface