Skip to content

Latest commit

 

History

History
144 lines (73 loc) · 9.07 KB

CHANGELOG.md

File metadata and controls

144 lines (73 loc) · 9.07 KB

@scio-labs/use-inkathon

0.10.0

Minor Changes

0.9.0

Minor Changes

  • ca1c28b Thanks @wottpal! - Add option to pass supportedWallets to the provider to only allow a subset of allSubstrateWallets or pass custom wallets.

  • 4a1ec00 Thanks @wottpal! - Prevent NightlyConnect to pop up on init when no other wallet is available

0.8.1

Patch Changes

  • 3dda3e1 Thanks @wottpal! - Revert to previous (silently failing) behavior when loading deployment metadata, due to it's async nature.

0.8.0

Minor Changes

  • #59 7865a62 Thanks @peetzweg! - throws Error when trying to access unavailable contract deployment

  • #60 2e23a13 Thanks @peetzweg! - marks rococo chains data as deprecated and should be replaced with contracts, as rococo is the testnet relay chain not the smart contracts chain users interact with

Patch Changes

0.7.0

Minor Changes

  • #57 7d356d7 Thanks @wottpal! - Add support for type-safe contract-interactions via typechain-polkadot. A new hook useRegisteredTypedContract enables easy instantiation with automatic assignment of api instance, network-dependant contract address, and the connected signer. Currently, only queries (read-only) are supported with those instances. – See README.md for more information.

0.6.3

Patch Changes

  • decead0 Thanks @wottpal! - Add & export explicit return type definition for deployContract (DeployedContract).

0.6.2

Patch Changes

0.6.1

Patch Changes

0.6.0

Minor Changes

  • 2e5bc70 Thanks @wottpal! - Enable sub-path package imports (e.g. via @scio-labs/use-inkathon/helpers) for better ssr compatability.

Patch Changes

  • 0a0565f Thanks @wottpal! - Wait for crypto APIs to be ready to prevent polkadot.js initialization issues.

0.5.0

Minor Changes

  • #47 64f6e51 Thanks @ical10! - Improve PSP22 balance helpers to only fetch tokens applicable for the active chain.

  • #47 35d0f00 Thanks @ical10! - - usePSP22Balances checks if originChain matches activeChain before fetching PSP22 tokens balance.

    • Improve formats and add INW testnet contract address on PSP22_ASSETS.json.

Patch Changes

0.4.4

Patch Changes

  • b9cfa60 Thanks @wottpal! - Rename chain id t0rn to t0rn-testnet for consistency.

0.4.3

Patch Changes

  • 8333727 Thanks @wottpal! - Build NightlyConnectAdapter non-lazy when (re)connecting on init.

0.4.2

Patch Changes

  • d01b9f3 Thanks @wottpal! - Fix isWalletInstalled declaration to be synchronous again.

0.4.1

Patch Changes

  • 77a1904 Thanks @wottpal! - Fix Next.js module import error by making nightlylabs/wallet-selector-polkadot a normal peer dependency (non-option) for now. Let's re-evaluate this in the future.

0.4.0

Minor Changes

  • 020aeb1 Thanks @wottpal! - Add support for NightlyConnect on Aleph Zero. This is a WalletConnect-like connection dialog for using the Nightly Wallet mobile app or browser extension. IMPORTANT: To use it, install the optional peer-dependency @nightlylabs/wallet-selector-polkadot.

  • 81da31b Thanks @wottpal! - BREAKING: enableWallet is now async and needs to be awaited. If you were only using the provided connect function, nothing changes for you.

0.3.0

Minor Changes

  • 73b3f53 Thanks @wottpal! - Refactor React (TS) example components and add dialog component to transfer native tokens that showcases transferBalance.

  • 8fdb64f Thanks @wottpal! - Improve transfer & contract tx utils (i.e. transferBalance, transferFullBalance, contractTx) with better error decoding and minimum balance checks upfront.

0.2.0

Minor Changes

  • #36 a8e633d Thanks @ical10! - Added native support for more !ink compatible testnets (t0rn, Bit.Country, Peaq, Pendulum, Phala) and mainnets (Khala, Phala, Amplitude, Pendulum)

0.1.1

Patch Changes

  • #38 9542a0c Thanks @wottpal! - Add example packages (Vanilla React & Basic Scripts) to the workspace for development ease and demonstration purposes.

  • #38 bd57d66 Thanks @wottpal! - Fix the incorrect Rococo Contracts node RPC URL

0.1.0

Minor Changes