Skip to content

Releases: rarimo/js-sdk

2.0.0-rc.34

05 Mar 16:07
Compare
Choose a tag to compare
adding CreateWorldCoinIdentityTransferOp

1.5.0

01 Jun 11:39
5a9c212
Compare
Choose a tag to compare

[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

1.4.0

13 Mar 12:37
Compare
Choose a tag to compare

[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 if swapTargetTokenSymbol 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 address
  • all: 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 to 0.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 list
  • all: Typedoc export types

1.3.0

03 Mar 18:42
Compare
Choose a tag to compare

1.3.0 - 2023-03-03

Added

  • all: Build to CommonJS and ES modules
  • all: tsc-alias package to use aliases in TypeScript
  • root: yarn rsc Release Sanity Check script
  • root: 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

28 Feb 13:24
Compare
Choose a tag to compare

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 implements ProviderSubscriber interface, which allows to subscribe to provider change state events
  • @rarimo/nft-checkout: NFT checkout operation now implements OperationSubscriber interface, which allows to subscribe to operation change state events
  • @rarimo/nft-checkout: supportedTokens method to INFTCheckoutOperation 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 readme
  • all: Moved all changelogs to the one file in the root of the repo
  • all: Operator errors moved into from @rarimo/provider to @rarimo/nft-checkout
  • @rarimo/nft-checkout: Target object now has the required field swapTargetTokenSymbol, 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 dependencies
  • root: @babel/* from dependencies to simplify and speed up build process
  • all: @/ -> ./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