Skip to content

Latest commit

 

History

History
631 lines (517 loc) · 25.9 KB

CHANGELOG.md

File metadata and controls

631 lines (517 loc) · 25.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.6.0 - 2024-06-27

Added

  • @rarimo/client:
    • PROPOSAL_STATUS_INVALID proposal status
    • ArbitrarySigningProposal proposal type

2.5.0 - 2024-05-01

Added

  • @rarimo/client:
    • ReplaceCSCAListProposal & EditCSCAListProposal proposal types

2.4.0 - 2024-03-22

Added

  • @rarimo/client:
    • Expose helpers
    • add keplr helpers
    • add getting chain info method for RarimoClient

2.3.0 - 2024-03-22

Added

  • @rarimo/client - Submit text proposal

2.2.0 - 2024-03-19

Added

  • @rarimo/client - Proposal type

2.1.0 - 2024-03-12

Added

  • @rarimo/client - Send method

2.0.0 - 2024-03-06

Added

  • @rarimo/client - Wallet injection

Removed

  • @rarimo/zkp-gen-iden3
  • @rarimo/auth-zkp-iden3
  • @rarimo/identity-gen-iden3
  • @rarimo/shared-zkp-iden3

2.0.0-rc.34 - 2024-03-05

Added

  • @rarimo/client - WorldId message type

2.0.0-rc.33 - 2023-12-11

Fixed

  • @rarimo/client - Parse cosmos context type error

2.0.0-rc.32 - 2023-12-01

Added

  • @rarimo/client - Core types

2.0.0-rc.31 - 2023-11-23

Added

  • @rarimo/client - CreateIdentityGISTTransferOp, CreateIdentityStateTransferOp message types

2.0.0-rc.30 - 2023-11-02

Fixed

  • @rarimo/react-nft-checkout - Internal errors

2.0.0-rc.29 - 2023-11-01

Changed

  • @rarimo/shared - Dex pairs oracle service api base URL
  • @rarimo/nft-checkout - Checkout service api base URL

2.0.0-rc.28 - 2023-10-31

Added

  • @rarimo/client - Send withdraw delegator's rewards via MsgExec

2.0.0-rc.27 - 2023-10-30

Added

  • @rarimo/client - Send delegations and vote proposals via MsgExec

2.0.0-rc.26 - 2023-09-20

Fixed

  • @rarimo/nft-checkout - CheckoutOperation type

2.0.0-rc.25 - 2023-09-19

Added

  • @rarimo/nft-checkout - getBundlerAddress method

Changed

  • @rarimo/nft-checkout - EVMOperation modifying salt

2.0.0-rc.24 - 2023-09-12

Fixed

  • @rarimo/zkp-gen-iden3 - endianSwappedCoreStateHashHex

2.0.0-rc.23 - 2023-09-07

Added

  • @rarimo/client - Build rarimo querier opts

Changed

  • @rarimo/zkp-gen-iden3 - Fetching merkle proof by block height

2.0.0-rc.22 - 2023-09-04

Changed

  • @rarimo/react-provider - Updated vite react plugin version
  • @rarimo/react-nft-checkout - Updated vite react plugin version
  • @rarimo/client - Harcoded fee amount in the broadcaster for transaction to estimating gas

Removed

  • @rarimo/client - Hardcoded fee amount from config

2.0.0-rc.21 - 2023-08-31

Changed

  • @rarimo/shared-zkp-iden3 - getting Gist proof
  • @rarimo/zkp-gen-iden3 - getting issuer state revocation statuses and gist proof

2.0.0-rc.20 - 2023-08-25

Added

  • @rarimo/client - getOperation method and followed types
  • @rarimo/zkp-gen-iden3 - getOperation method

Changed

  • @rarimo/zkp-gen-iden3 - getting params for transiting state (loadParamsForTransitState)

Removed

  • @rarimo/client - getIdentityParams method and followed types
  • @rarimo/shared-zkp-iden3 - IdentityNode query

2.0.0-rc.19 - 2023-08-22

Changed

  • @rarimo/auth-zkp-iden3 - config options
  • @rarimo/zkp-gen-iden3 - decompose loading state details
  • @rarimo/shared-zkp-iden3 - Gist helpers

2.0.0-rc.18 - 2023-08-17

Fixed

  • @rarimo/auth-zkp-iden3 - add options for circuits files loading, add abilities to preload and set circuits outside
  • @rarimo/zkp-gen-iden3 - add options for circuits files loading, add abilities to preload and set circuits outside

2.0.0-rc.17 - 2023-08-14

Fixed

  • @rarimo/client - getAccount return value

2.0.0-rc.16 - 2023-08-09

Added

  • @rarimo/client - Identity related query methods
  • @rarimo/zkp-gen-iden3 - States manipulations
  • @rarimo/shared-zkp-iden3 - State details helpers

2.0.0-rc.15 - 2023-08-09

Fixed

  • @rarimo/client - getProposal return value

2.0.0-rc.14 - 2023-08-09

Added

  • @rarimo/client - Config extended with chainName and chainIconUrl fields

2.0.0-rc.13 - 2023-08-04

Changed

  • @rarimo/zkp-gen-iden3 - generating inputs for credentialAtomicQueryMTPV2, credentialAtomicQueryMTPV2OnChain, credentialAtomicQuerySigV2, credentialAtomicQuerySigV2OnChain circuits

2.0.0-rc.12 - 2023-08-04

Changed

  • all - Updated @distributedlab packages to the latest versions (1.0.0-rc.6)

2.0.0-rc.11 - 2023-08-01

Fixed

  • @rarimo/nft-checkout - Unwrap native without bundle if target token is native
  • @rarimo/nft-checkout - Transferring remaining tokens after the operation to the receiver if specified

2.0.0-rc.10 - 2023-08-01

Added

  • root - @rarimo/client package

Changed

  • all - Updated @distributedlab packages to the latest versions (1.0.0-rc.4)

2.0.0-rc.9 - 2023-07-25

Fixed

  • @rarimo/zkp-gen-iden3 - credentialSubject[variableName] converting

2.0.0-rc.8 - 2023-07-25

Changed

  • @rarimo/auth-zkp-iden3 - replaced hardcoded NatualPerson claim schema type with method parameter

2.0.0-rc.7 - 2023-07-17

Changed

  • all - Updated @distributedlab packages to the latest versions (1.0.0-rc.1)

2.0.0-rc.6 - 2023-07-14

Changed

  • all - Updated @distributedlab packages to the latest versions (1.0.0-rc.0)

2.0.0-rc.5 - 2023-07-13

Fixed

  • @rarimo/identity-gen-iden3 - fix global config
  • @rarimo/auth-zkp-iden3 - fix global config
  • @rarimo/zkp-gen-iden3 - fix global config

2.0.0-rc.4 - 2023-07-13

Added

  • @rarimo/nft-checkout
    • Multiple token payment support
    • USDC Intermediate token support
    • isMultiplePayment flag to the CheckoutOperationParams type
  • @rarimo/shared - Max retries for the getDestinationTx function

Changed

  • @rarimo/bridge - Bridge.loadSupportedChains method renamed to the getSupportedChains
  • @rarimo/nft-checkout
    • CheckoutOperation.loadSupportedChains method renamed to the getSupportedChains
    • CheckoutOperation.loadPaymentTokens method renamed to the getPaymentTokens
    • CheckoutOperation.estimatePrice method accepts PaymentToken[] instead of PaymentToken
    • CheckoutOperation.checkout method accepts SwapEstimation[] instead of SwapEstimation
    • Swap estimations moved to the backend service
  • @rarimo/swap
    • Building execution data refactored
    • Swapper.loadSupportedChains method renamed to the getSupportedChains
  • all - @distributedlab packages updated to the latest versions (0.2.0-rc.24)

Removed

  • @rarimo/bridge - Bridge.getInternalTokenMapping method
  • @rarimo/swapper - Swapper.getInternalTokenMapping method
  • @rarimo/nft-checkout
    • @pancakeswap/sdk dependency
    • @pancakeswap/smart-router dependency
    • @pancakeswap/swap-sdk-core dependency
    • @rarimo/quickswap-sdk dependency
    • @traderjoe-xyz/sdk dependency
    • @uniswap/router-sdk dependency
    • @uniswap/sdk-core dependency
    • @uniswap/smart-order-router dependency
    • @uniswap/token-lists dependency
    • @uniswap/v2-sdk dependency
    • @uniswap/v3-sdk dependency
    • events dependency
    • jsbi dependency
    • @pancakeswap/swap-sdk-core yarn resolution and npm override
    • CheckoutOperation.loadPaymentTokens optional chain parameter
    • Sepolia and Mumbai chains
    • Handling bridge deposit token via internal token mapping, now deposit token always will be USDC

Fixed

  • root - .editorconfig max-line-length
  • @rarimo/bridge - IPFS protocol image links
  • @rarimo/shared - window is undefined issue in Node.js environment

2.0.0-rc.3 - 2023-07-04

Added

  • root - @rarimo/identity-gen-iden3 package
  • root - @rarimo/auth-zkp-iden3 package
  • root - @rarimo/zkp-gen-iden3 package
  • root - @rarimo/shared-zkp-iden3 package
  • @rarimo/shared - export createApi method

2.0.0-rc.2 - 2023-06-13

Fixed

  • @rarimo/shared - ipfs:// token image uris

2.0.0-rc.1 - 2023-06-13

Added

  • root - Known issues to the README.md file
  • @rarimo/bridge - @distributedlab/reactivity dependency
  • @rarimo/shared - All internal API interactions with the core and dex services

Changed

  • @rarimo/bridge - Moved all internal API interactions to the @rarimo/shared package
  • @rarimo/nft-checkout - Refactored with the @distributedlab/reactivity package
  • @rarimo/nft-checkout - supportedChains method in the CheckoutOperation renamed to the loadSupportedChains

Removed

  • @rarimo/bridge - @distributedlab/jac dependency
  • @rarimo/nft-checkout - Hardcoded chain list
  • @rarimo/nft-checkout - ethereum-erc20-token-balances-multicall dependency
  • @rarimo/nft-checkout - @distributedlab/fetcher dependency

2.0.0-rc.0 - 2023-06-01

Added

  • @rarimo/shared - Utility functions, types and constants shared across @rarimo packages.
  • @rarimo/bridge - All bridge related functionality for the Rarimo Protocol.
  • @rarimo/swap - Rarimo swap package.

Changed

  • @rarimo/nft-checkout - Moved some reusable types, const, helpers, enums to the @rarimo/shared package
  • @rarimo/provider - Moved some reusable types, const, helpers, enums to the @rarimo/shared package
  • @rarimo/provider - Bump @distributedlab/tools to 0.2.0-rc.9
  • @rarimo/nft-checkout - Bump @distributedlab/tools, @distributedlab/fetcher, @distributedlab/jac to the last versions
  • @rarimo/nft-checkout - Move building of the transaction to the Swapper from @rarimo/swap which implementation based on the evm-swap-v2 contracts
    • all - Migrate to TypeScript 5.0.4

Fixed

  • all - Node resolution in the package.json files

1.5.0 - 2023-06-01

Fixed

  • @rarimo/nft-checkout - Pulling internal tokens mapping for testnets

1.5.0-rc.25 - 2023-05-25

Fixed

  • @rarimo/provider - RawProvider type

1.5.0-rc.24 - 2023-05-25

Added

  • @rarimo/providers-evm - EthersProvider class is specifically designed to handle ethers.provider.Web3Provider instead of injected provider

1.5.0-rc.23 - 2023-05-25

Changed

  • @rarimo/nft-checkout - Replace resolutions @pancakeswap/swap-sdk-core to overrides

1.5.0-rc.22 - 2023-05-25

Fixed

  • @rarimo/nft-checkout - @pancakeswap/swap-sdk-core version resolution

1.5.0-rc.21 - 2023-05-25

Fixed

  • root - @pancakeswap/swap-sdk-core version resolution

1.5.0-rc.20 - 2023-05-25

Added

  • @rarimo/nft-checkout - Lock @pancakeswap/swap-sdk-core version to 0.0.1

Changed

  • @rarimo/nft-checkout - Revert bump @pancakeswap packages versions

1.5.0-rc.19 - 2023-05-24

Changed

  • @rarimo/nft-checkout - Bump @pancakeswap packages versions

1.5.0-rc.18 - 2023-05-24

Changed

  • @rarimo/nft-checkout - Use multi hop routes for the swap price estimating on BSC instead of direct routes

1.5.0-rc.17 - 2023-05-23

Fixed

  • @rarimo/nft-checkout - Extended USDC token address for the Binance Smart Chain

1.5.0-rc.16 - 2023-05-23

Changed

  • @rarimo/nft-checkout - Extend token list for Ethereum, Binance Smart Chain to resolve target token by address got from backend

1.5.0-rc.15 - 2023-05-23

Fixed

  • @rarimo/nft-checkout - Checking decimals for non-zero for the payment token

1.5.0-rc.14 - 2023-05-22

Added

  • @rarimo/nft-checkout - Checking if payment token has liquidity pair with the target token

1.5.0-rc.13 - 2023-05-22

Fixed

  • @rarimo/react-provider - Calling clear handlers on non-existent provider
  • @rarimo/provider - Extended RuntimeEнфкrror with orginalError field

1.5.0-rc.12 - 2023-05-17

Fixed

  • @rarimo/nft-checkout: Parsing of the balance received after multicall

1.5.0-rc.11 - 2023-05-16

Added

  • @rarimo/react-nft-checkout: getDestinationTx method into DappContextProvider

Changed

  • @rarimo/nft-checkout: Chain and token logos are stored locally

1.5.0-rc.10 - 2023-05-15

Added

  • @rarimo/nft-checkout: NFTCheckoutOperation status to track the operation status during the flow

1.5.0-rc.9 - 2023-05-12

Added

  • root: @rarimo/providers-evm package
  • root: @rarimo/providers-near package
  • root: @rarimo/providers-solana package

Changed

  • @rarimo/provider: Wallet wrappers split to the several packages: @rarimo/providers-evm, @rarimo/providers-near, @rarimo/providers-solana

Fixed

  • @rarimo/nft-checkout: Uniswap V3 token list url changed to the new one to omit gateway issues

1.5.0-rc.8 - 2023-04-25

Added

  • all - browser resolution path in the package.json

Changed

  • @rarimo/nft-checkout - Bump all @distributedlab/web-kit dependencies to 0.2.0-rc.2
  • all - Migrate from tsc to swc to build packages
  • all - Migrate from ts-jest to swc-jest to run tests

Fixed

  • 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

Removed

  • root - Unused tsconfig.eslint.json

1.5.0-rc.7 - 2023-04-21

Added

  • @rarimo/nft-checkout: NFTCheckoutOperation.getDestinationTx method
  • @rarimo/nft-checkout: @distributedlab/jac dependency to perform JSON API requests

Changed

  • root - SDK now required Node.js version >= 18

Fixed

  • @rarimo/react-nft-checkout: Fetching token in the dev mode

1.5.0-rc.6 - 2023-04-19

Added

  • @rarimo/provider: createProvider options now accepts listener for provider change state events

Changed

  • @rarimo/nft-checkout: Bundle argument in NFTCheckoutOperation.checkout function is now optional
  • @rarimo/nft-checkout: Avalanche C-Chain swap contract address
  • @rarimo/nft-checkout: recipient field from the Target interface become optional
  • @rarimo/provider: Refactored provider event bus payload to one type for all events

Fixed

  • @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

Removed

  • @rarimo/nft-checkout: address field from the Target interface

1.5.0-rc.5 - 2023-03-30

Added

  • @rarimo/nft-checkout: Selectable token to swap
  • @rarimo/nft-checkout: Disabled native token and wrapped native tokens

Fixed

  • @rarimo/nft-checkout: Automatic change chain
  • @rarimo/provider: Automatic change chain
  • @rarimo/provider: Load supported tokens

1.5.0-rc.4 - 2023-03-24

Fixed

  • @rarimo/react-nft-checkout: yarn.lock jsbi version

1.5.0-rc.3 - 2023-03-24

Fixed

  • @rarimo/react-nft-checkout: Trying to fix jsbi dependency issue, added @uniswap/router-sdk alias to the vite config to resolve esm module

1.5.0-rc.2 - 2023-03-24

Added

  • @rarimo/react-nft-checkout: jsbi dependency to cover @uniswap/smart-order-router peer-dependency

1.5.0-rc.1 - 2023-03-24

Added

  • @rarimo/react-nft-checkout: NODE_ENV=production to the build script to force Vite to resolve production modules
  • @rarimo/react-provider: NODE_ENV=production to the build script force Vite to resolve production modules
  • root: apply-version Script to easier bump version

Fixed

  • @rarimo/react-nft-checkout: Types path
  • @rarimo/react-nft-checkout: npmignore
  • @rarimo/react-provider: npmignore

1.5.0-rc.0 - 2023-03-23

Added

  • @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

Fixed

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 - 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 - 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 Solflare 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
  • @rarimo/provider: Support of Near wallet

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
  • @rarimo/provider: dependence on the web3

Fixed

  • @rarimo/nft-checkout: Swap for input native token

1.1.0 - 2023-02-20

Added

  • @rarimo/nft-checkout: createCheckoutOperation function simplifies create NFT checkout operation.
  • @rarimo/provider -createProvider function, to simplify interface, which will create provider instance, user need to pass provider proxy implementation for needed wallet and web3 instance optionally.

Changed

  • @rarimo/nft-checkout: Moved to the new swap contracts
  • @rarimo/provider: Provider initiation, now constructor accepts one proxy implementation instead of map

Fixed

  • @rarimo/nft-checkout: Approving non swap contract address, which cause error "transfer amount exceeds spender allowance"

1.0.1 - 2023-02-16

Added

  • @rarimo/nft-checkout: events dependency to resolve a Node emulation issue for use in packagers such as Vite

1.0.0 - 2023-02-16

Under the hood changes

  • Initiated repo with @rarimo/provider and @rarimo/nft-checkout packages