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

Bump @coinbase/onchainkit from 0.27.1 to 0.33.0 #178

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 20, 2024

Bumps @coinbase/onchainkit from 0.27.1 to 0.33.0.

Release notes

Sourced from @​coinbase/onchainkit's releases.

v0.33.0

Minor Changes

  • 8904699: - feat: set v2 as default API for Swap. by @​0xAlec #1254

    • chore: updated SwapSettingsSlippageInput to use the input config defaultMaxSlippage value. By @​cpcramer #1263
    • feat: added batched Swap transactions from ERC-20. by @​0xAlec #1272

    Breaking Changes

    Updated LifecycleStatus in Swap component for swaps from ERC-20 tokens. Previously, there were 2 transactions when swapping from an ERC-20 token. Now, there is an extra approval. (Approve ERC-20 against Permit2 -> Approve Uniswap to spend the approved ERC-20s on Permit2 -> Execute Swap Transaction) Additionally, for Coinbase Smart Wallet users, transaction calls are now batched so only one transactionApproved lifecycle status will be emitted under the Batched transaction type for swaps from ERC-20s. If you're listening to the LifecycleStatus in Swap, please make sure your app accounts for the extra transaction.

v0.32.0

Minor Changes

  • feat: re-typed walletCapabilities object in OnchainKitConfig. By @​0xAlec #1238
  • fix: removed mt-4 from <TransactionButton>, ensuring the primary component maintains a clean and consistent design without outer margin. By @​zizzamia #1258
  • fix: renamed LifeCycle to Lifecycle. By @​zizzamia #1257
  • fix: SwapSlippageInput was visually resetting to default value on error. By @​cpcramer #1250
  • fix: removed context states and use lifecyclestatus as the source of truth, also persisted all lifecycle status data (except errors). By @​alessey #1249
  • fix: extracting SwapMessage to constants to avoid circular dependency. By @​alessey #1255
  • feat: enhanced Framegear Home component with layout, loading state, and placeholder improvements. By @​adarshswaminath #1241

Breaking Changes

Removed walletCapabilities from the OnchainKitConfig and improved the internal types by using the native Viem wallet capabilities type. This update ensures that wallet capabilities are now used solely as read info, avoiding accidental changes to wallet capabilities.

The <TransactionButton> will no longer have a preset margin, allowing you to customize your app's spacing. Please check your app to see if you need to add a 4px margin. We aim to provide more neutral spacing, giving you the flexibility to add margin as needed.

The LifeCycleStatus type is now renamed LifecycleStatus. This update aligns with React's lifecycle naming best practices, ensuring a smoother experience with your app. Please take note of this improvement.

v0.31.6

Patch Changes

  • 6147155: - feat: added custom max slippage support in the Swap component along with a new settings dropdown UI. By @​cpcramer #1176 #1248

v0.31.5

Patch Changes

... (truncated)

Changelog

Sourced from @​coinbase/onchainkit's changelog.

0.33.0

Minor Changes

  • 8904699: - feat: set v2 as default API for Swap. by @​0xAlec #1254

    • chore: updated SwapSettingsSlippageInput to use the input config defaultMaxSlippage value. By @​cpcramer #1263
    • feat: added batched Swap transactions from ERC-20. by @​0xAlec #1272

    Breaking Changes

    Updated LifecycleStatus in Swap component for swaps from ERC-20 tokens. Previously, there were 2 transactions when swapping from an ERC-20 token. Now, there is an extra approval. (Approve ERC-20 against Permit2 -> Approve Uniswap to spend the approved ERC-20s on Permit2 -> Execute Swap Transaction) Additionally, for Coinbase Smart Wallet users, transaction calls are now batched so only one transactionApproved lifecycle status will be emitted under the Batched transaction type for swaps from ERC-20s. If you're listening to the LifecycleStatus in Swap, please make sure your app accounts for the extra transaction.

0.32.0

Minor Changes

  • 7e18c98: - feat: re-typed walletCapabilities object in OnchainKitConfig. By @​0xAlec #1238

    • fix: removed mt-4 from <TransactionButton>, ensuring the primary component maintains a clean and consistent design without outer margin. By @​zizzamia #1258
    • fix: renamed LifeCycle to Lifecycle. By @​zizzamia #1257
    • fix: SwapSlippageInput was visually resetting to default value on error. By @​cpcramer #1250
    • fix: removed context states and use lifecyclestatus as the source of truth, also persisted all lifecycle status data (except errors). By @​alessey #1249
    • fix: extracting SwapMessage to constants to avoid circular dependency. By @​alessey #1255
    • feat: enhanced Framegear Home component with layout, loading state, and placeholder improvements. By @​adarshswaminath #1241

    Breaking Changes

    Removed walletCapabilities from the OnchainKitConfig and improved the internal types by using the native Viem wallet capabilities type. This update ensures that wallet capabilities are now used solely as read info, avoiding accidental changes to wallet capabilities.

    The <TransactionButton> will no longer have a preset margin, allowing you to customize your app's spacing. Please check your app to see if you need to add a 4px margin. We aim to provide more neutral spacing, giving you the flexibility to add margin as needed.

    The LifeCycleStatus type is now renamed LifecycleStatus. This update aligns with React's lifecycle naming best practices, ensuring a smoother experience with your app. Please take note of this improvement.

0.31.6

Patch Changes

  • feat: added custom max slippage support in the Swap component along with a new settings dropdown UI. By @​cpcramer #1176 #1248
  • feat: added type LifecycleStatusDataShared to the LifeCycleStatus to hold shared lifeCycle state. By @​zizzamia #1234 #1240
  • feat: introduced config for the Swap component, with the first option for maxSlippage. By @​zizzamia & @​cpcramer #1242
  • fix: added spacing between swap input and token select. By @​alessey #1229

0.31.5

Patch Changes

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@coinbase/onchainkit](https://github.com/coinbase/onchainkit) from 0.27.1 to 0.33.0.
- [Release notes](https://github.com/coinbase/onchainkit/releases)
- [Changelog](https://github.com/coinbase/onchainkit/blob/main/CHANGELOG.md)
- [Commits](coinbase/onchainkit@v0.27.1...v0.33.0)

---
updated-dependencies:
- dependency-name: "@coinbase/onchainkit"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 20, 2024
Copy link

cloudflare-workers-and-pages bot commented Sep 20, 2024

Deploying poapin-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: d2b66a7
Status: ✅  Deploy successful!
Preview URL: https://49173254.poapin-web.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-coin-6bc6.poapin-web.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants