Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@wagmi/svelte #4365

Draft
wants to merge 57 commits into
base: main
Choose a base branch
from
Draft

@wagmi/svelte #4365

wants to merge 57 commits into from

Commits on Oct 22, 2024

  1. feat: init svelte

    ByteAtATime committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    8f18445 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    acb9888 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. feat: add useConfig hook

    ByteAtATime committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    40a8cdb View commit details
    Browse the repository at this point in the history
  2. ci: ignore .svelte files

    Biome currently only has partial support for Svelte files. It can successfully format the <script> portion, but when linting it doesn't check the HTML part, leading to many variables being marked as unused.
    ByteAtATime committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    15df9ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    993c5c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d20e42 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5ea08c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b2bdb19 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a8894cf View commit details
    Browse the repository at this point in the history
  8. refactor: use RuneParameters type for parameters

    This allows us to accept a function as a parameter, which allows for reactivity (if we pass a raw value, it won't be reactive).
    ByteAtATime committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    0e5c463 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c9241f0 View commit details
    Browse the repository at this point in the history
  10. test: refactor svelte tests into packages/svelte folder

    I'm not sure how to get Svelte tests into the Vitest workspace. Without installing a bunch of dependencies into the root folder, it cannot run the Svelte-specific code.
    ByteAtATime committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    80f0e88 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. feat: add useChainId

    This required a bit more refactoring on the testing system. There are still a few things I haven't figured out yet, but we're getting there :).
    ByteAtATime committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    a2f270d View commit details
    Browse the repository at this point in the history
  2. feat: add useChainId hook

    ByteAtATime committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    30a9574 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    520af73 View commit details
    Browse the repository at this point in the history
  4. feat: remove non-function parameter option

    Not only was this a bad choice for users (as they might not know why it's not being reactive), it also turns out to be harder to use in types.
    ByteAtATime committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    d3b838c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1dcdbef View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2024

  1. feat: add useBalance hook

    ByteAtATime committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    663e516 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5af6c65 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    35e0c55 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. feat: useChains hook

    ByteAtATime committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    4fe43d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f2b8b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    f2becb9 View commit details
    Browse the repository at this point in the history
  2. feat: useConnections hook

    ByteAtATime committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    db8bbd6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b217be9 View commit details
    Browse the repository at this point in the history
  4. feat: useConnectors hook

    ByteAtATime committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    1f371ca View commit details
    Browse the repository at this point in the history
  5. feat: useAccount hook

    ByteAtATime committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    ddd909f View commit details
    Browse the repository at this point in the history
  6. feat; useConnect hook

    ByteAtATime committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    4be7ddd View commit details
    Browse the repository at this point in the history
  7. refactor: formatting

    ByteAtATime committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    a8ae0fb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    072a84f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c0bfcff View commit details
    Browse the repository at this point in the history
  10. feat: useDisconnect hook

    ByteAtATime committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    92d0400 View commit details
    Browse the repository at this point in the history
  11. fix: don't get context when parameters change

    Svelte only allows us to call getContext() when a component initializes.
    ByteAtATime committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    b772015 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a83c89e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1694af7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e9eb337 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. feat: add viem as peerDep

    ByteAtATime committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    3578f1a View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    9453e6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    310f3b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa07613 View commit details
    Browse the repository at this point in the history
  4. feat: useEnsName hook

    ByteAtATime committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    93eca29 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    17c34c4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca097fb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4242d66 View commit details
    Browse the repository at this point in the history
  8. feat: useSwitchChain hook

    ByteAtATime committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    9a59af0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cda9ce7 View commit details
    Browse the repository at this point in the history
  10. feat: useSignMessage hook

    ByteAtATime committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    e3ae569 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1e98452 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    bdc6457 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    dda0aca View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0de269a View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    40d9799 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df90bbe View commit details
    Browse the repository at this point in the history
  3. refactor: formatting

    ByteAtATime committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    a45dbaf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d5e06d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ab060d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cb934d1 View commit details
    Browse the repository at this point in the history