Files
js/packages/chains/CHANGELOG.md
T
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
1b052d63e9 Version Packages (#2409)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-03-06 15:23:29 -08:00

37 KiB

@thirdweb-dev/chains

0.1.77

Patch Changes

0.1.76

Patch Changes

0.1.75

Patch Changes

0.1.74

Patch Changes

0.1.73

Patch Changes

0.1.72

Patch Changes

0.1.71

Patch Changes

0.1.70

Patch Changes

0.1.69

Patch Changes

0.1.68

Patch Changes

0.1.67

Patch Changes

0.1.66

Patch Changes

0.1.65

Patch Changes

0.1.64

Patch Changes

0.1.63

Patch Changes

0.1.62

Patch Changes

0.1.61

Patch Changes

0.1.60

Patch Changes

0.1.59

Patch Changes

  • #1967 47b0ed51 Thanks @kien-ngo! - Add Arbitrum Sepolia to defaultChains

  • #1990 d4ce855e Thanks @jnsdls! - deprecate allChains getChainById and getChainBySlug

    all of these would (necessarily) pull in every single chain in the package (>600kb)

    instead these can be replaced with their async variants:

    • allChains -> await fetchChains()
    • getChainById(chainId) -> await getChainByIdAsync(chainId)
    • getChainBySlug(chainSlug) -> await getChainBySlugAsync(chainSlug)

    these async functions will return the same data as their sync counterparts, but without having to pull in every single chain at build-time.

0.1.58

Patch Changes

0.1.57

Patch Changes

0.1.56

Patch Changes

0.1.55

Patch Changes

0.1.54

Patch Changes

0.1.53

Patch Changes

0.1.52

Patch Changes

0.1.51

Patch Changes

0.1.50

Patch Changes

0.1.49

Patch Changes

  • #1540 b30566c6 Thanks @joaquim-verges! - updated chains

  • #1422 0f027069 Thanks @Marfuen! - CLI will now use an OAuth like login flow to authenticate the device with the wallet on the dashboard. Any actions performed by the CLI will be linked to your account / wallet on the dashboard, including but not limited to tracking your usage, and billing as needed.

  • #1551 f5aed34d Thanks @joaquim-verges! - Update chains

0.1.48

Patch Changes

0.1.47

Patch Changes

0.1.46

Patch Changes

0.1.45

Patch Changes

0.1.44

Patch Changes

  • #1499 8f3b685a Thanks @Marfuen! - Update deploy command from CLI to use show a public gateway url temporarily. Updated chains too.

0.1.43

Patch Changes

0.1.42

Patch Changes

0.1.41

Patch Changes

0.1.40

Patch Changes

0.1.39

Patch Changes

0.1.38

Patch Changes

0.1.37

Patch Changes

0.1.36

Patch Changes

0.1.35

Patch Changes

0.1.34

Patch Changes

0.1.33

Patch Changes

0.1.32

Patch Changes

0.1.31

Patch Changes

0.1.30

Patch Changes

0.1.29

Patch Changes

0.1.28

Patch Changes

0.1.27

Patch Changes

0.1.26

Patch Changes

0.1.25

Patch Changes

0.1.24

Patch Changes

0.1.23

Patch Changes

0.1.22

Patch Changes

0.1.21

Patch Changes

0.1.20

Patch Changes

0.1.19

Patch Changes

0.1.18

Patch Changes

0.1.17

Patch Changes

0.1.16

Patch Changes

  • #996 c3645c45 Thanks @MananTank! - - add theme in ConfiguredWallet.connectUI's props - to use theme aware UI for wallets

    • add useWalletConfig hook to get the ConfiguredWallet object for active wallet
    • add hooks useSetConnectedWallet, useSetConnectionStatus
    • rename useActiveChain to useChain - keep the useActiveChain also with deprecated tag
    • make useSafe hook await-able by returning the promise of connect() call
    • add hook useSmartWallet
    • allow rendering custom wallet details button via <ConnectWallet detailsButton={} /> prop
    • Rename "Export" to "Backup" in local wallet UI
  • #1011 470e0a14 Thanks @MananTank! - rename ConfiguredWallet to WalletConfig

    - import { ConfiguredWallet } from '@thirdweb-dev/react';
    + import { WalletConfig } from '@thirdweb-dev/react';
    
  • #995 482f6d1b Thanks @iketw! - [Chains] Update chains

  • #989 8db78299 Thanks @iketw! - [React/ReactNative] Updated useThirdwebWallet to useWalletContext

0.1.15

Patch Changes

0.1.14

Patch Changes

0.1.13

Patch Changes

0.1.12

Patch Changes

0.1.11

Patch Changes

0.1.10

Patch Changes

0.1.9

Patch Changes

0.1.8

Patch Changes

0.1.7

Patch Changes

  • #584 d01b135d Thanks @MananTank! - [Wallets, RN, React, ReactCore] New Wallets SDK implementation

    Breaking changes:

    React and React Native

    1. Replaced walletConnectors with supportedWallets in the ThirdwebProvider.
      import { coinbaseWallet, metamaskWallet, ThirdwebProvider } from "@thirdweb-dev/react";
    
      const App = () => {
      - return <ThirdwebProvider walletConnectors={["metamask", "coinbaseWallet"]}>{...}</ThirdwebProvider>
      + return <ThirdwebProvider supportedWallets={[metamaskWallet(), coinbaseWallet()]}>{...}</ThirdwebProvider>
      }
    
    1. magicLinkConnector not yet implemented in this version

    2. Removed desiredChainId, use activeChain instead

    3. DAppMetaData type now requires the url field to be passed in

    4. Removed chainRpc prop from the ThirdwebProvider. You can pass custom rpcs in the Chain object through the activeChain and supportedChains props.

    5. Replaced the useNetwork hook for useChain and useSwitchChain

    6. Updated ConnectWallet button in React:

    • Removed accentColor and colorMode
    • Added a theme prop with dark and light values
    1. Updated the Web3Button button in React:
    • Removed accentColor and colorMode
    • Added a theme prop with dark and light values

    Patch Changes

    • You can now pass a theme prop to the ThirdwebProvider. Values are light and dark
      import { ThirdwebProvider } from "@thirdweb-dev/react";
    
      const App = () => {
      return <ThirdwebProvider theme='light'>{...}</ThirdwebProvider>
      }
    
    • New wallet hooks added

      • useWallet()
      • useConenct()
      • useConnectionStatus()
      • useSwitchChain()
    • Removed wagmi dependency from the react-native-compat package and updated shims

    • New ConnectWallet and Web3Button components in React Native

    • New wallets package with support for the most common wallets. MetaMask, Coinbase, WalletConnect V1 and V2 and PaperWallet

    • Added autoSwitch prop to the ThirdwebProvider to control whether or not to automatically switch to wallet's network to active chain

      import { ThirdwebProvider } from "@thirdweb-dev/react";
    
      const App = () => {
      return <ThirdwebProvider autoSwitch>{...}</ThirdwebProvider>
      }
    
  • #771 e3161e59 Thanks @iketw! - [ReactNativeSDK] Use wallet metadata from the wallet class

  • #702 33d1cc7f Thanks @jnsdls! - enable browser export

  • #801 6b145d4b Thanks @jnsdls! - updated chains

  • #822 e2ec70c4 Thanks @jnsdls! - update chains again

  • #721 1baed0b1 Thanks @adam-maj! - Update chains

  • #748 2221f97d Thanks @MananTank! - [ReactCore] Inject api key to chains

  • #770 5c7c0923 Thanks @joaquim-verges! - update chains

  • #809 9a4a542c Thanks @jnsdls! - add new chains

  • #719 b2d0ffb0 Thanks @nachoiacovino! - Replace Goerli default faucet

0.1.6

Patch Changes

0.1.5

Patch Changes

0.1.4

Patch Changes

0.1.3

Patch Changes

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

  • af8cf40 Thanks @joaquim-verges! - Initial release for @thirdweb-dev/chains.

    Use this package to easily configure chains with @thirdweb-dev/sdk and @thirdweb-dev/react.

Patch Changes

  • 6a50719 Thanks @jnsdls! - add getChainRPCs export to get a list of RPCs instead of a single RPC via getChainRPC

  • 5d25ee1 Thanks @jnsdls! - fix getChainRPC() utility function logic

  • d0bcd2c Thanks @jnsdls! - add new chains + localhost special case

  • #589 017b0d5 Thanks @jnsdls! - add minimizeChain and configureChain util functions

  • 500a0e6 Thanks @jnsdls! - add thirdweb rpc to all available chains