Skip to content

Conversation

howydev
Copy link
Contributor

@howydev howydev commented Apr 2, 2025

Draft PR for now

  1. Add a new way to construct an MA v2 account, via a deferred action digest
  2. Given a digest, we parse it to:
    a. override nonce in getNonce
    b. prepend the deferred action in getDummySignature and signUserOperation
    c. add an executeUserOp wrapper to the calldata if hooks are to be installed

PR-Codex overview

This PR focuses on updating the version numbers across multiple packages to 4.21.0, introducing new features, and refining existing functionalities, including the addition of client header tracking and enhanced API key creation.

Detailed summary

  • Updated version from 4.17.0 to 4.21.0 in multiple files.
  • Added experimental_CreateApiKeyParams type in account-kit/signer/src/client/types.ts.
  • Introduced clientHeaderTrack function for enhanced client tracking.
  • Updated client parameters in various function signatures.
  • Enhanced documentation for several methods and classes.
  • Added support for new testnets: openlootSepolia, gensynTestnet, riseTestnet.
  • Fixed various bugs and improved existing functionalities across multiple packages.

The following files were skipped due to too many changes: account-kit/smart-contracts/src/ma-v2/modules/single-signer-validation/signer.ts, account-kit/rn-signer/ios/implementation/KeychainHelper.swift, account-kit/signer/CHANGELOG.md, account-kit/infra/src/client/decorators/smartAccount.ts, account-kit/infra/src/alchemyTrackerHeaders.ts, aa-sdk/core/src/actions/smartAccount/buildUserOperation.ts, aa-sdk/core/src/actions/smartAccount/buildUserOperationFromTx.ts, account-kit/smart-contracts/src/ma-v2/account/nativeSMASigner.ts, aa-sdk/core/src/client/smartAccountClient.ts, account-kit/rn-signer/ios/implementation/NativeTEKStamperImpl.swift, account-kit/signer/src/client/base.ts, account-kit/smart-contracts/src/ma-v2/utils.ts, account-kit/infra/src/client/smartAccountClient.test.ts, account-kit/infra/src/client/smartAccountClient.ts, aa-sdk/core/src/utils/traceHeader.ts, account-kit/smart-contracts/src/ma-v2/actions/DeferralActions.ts, site/pages/react/quickstart.mdx, account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts, CHANGELOG.md, account-kit/smart-contracts/src/ma-v2/client/client.test.ts, account-kit/smart-contracts/src/ma-v2/permissionBuilder.ts, yarn.lock

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

iykazrji and others added 22 commits March 21, 2025 16:46
* feat: update logo (#1454)

* fix: update keychain implementation to declear variables earlier during run

* feat: use struct for keychain utilities as opposed to class

---------

Co-authored-by: Rob <30500864+RobChangCA@users.noreply.github.com>
* docs: update docs for tailwind v4

* chore: revert changes to unrelated files

* docs: update docs for tw v4 in happy path

* chore: update yarn.lock

* chore: update comments in ui demo code preview

* chore: lint
* docs: use authenticateAsync

* docs: fix twoslash build

* docs: use authenticate
* fix: change card image and height

* fix: remove xl padding

* fix: cards align start
Co-authored-by: Pierre Jeanjacquot <26487010+PierreJeanjacquot@users.noreply.github.com>
* feat: add rise support to aa-sdk

* fix: lint
* feat: adding tracing to the header alchemy client

* fix(yarn build): variable shadowing

* feat: track everything that is alchemy transport by method

* feat: move the other actions with breadcrumbs

* feat: add the headers for the traceparent and the traceheader

* chore: update the breadcrumb to be json for ingestion

* chore: update the docs

* chore(wip): needing to add a different style of tracing header

* fix: get headers working with immutable transport

* fix: add the header to all the alchemy specific sites

* chore: push up changes with client and addbreadcrumb

* chore: cleanups for pr

* chore: add testing for the tracing of state

* chore: update mdx

* fix(tests): unit snapshots broken, updated

* chore: update test to use regex

* chore: add some breadcrumb comments

* chore: add some more documentation

* chore: add on the react tracking for the two

* chore: update a few files

* chore: remove bad logging

---------

Co-authored-by: moldy <michael.moldoveanu@alchemy.com>
Co-authored-by: jakehobbs <jacob.hobbs@alchemy.com>
Copy link

vercel bot commented Apr 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ❌ Failed (Inspect) Apr 3, 2025 4:56pm
aa-sdk-ui-demo ❌ Failed (Inspect) Apr 3, 2025 4:56pm

howydev and others added 4 commits April 2, 2025 16:28
* feat: add entity id and nonce reader

* chore: remove unused var

* Update account-kit/smart-contracts/src/ma-v2/client/client.test.ts

* Update account-kit/smart-contracts/src/ma-v2/client/client.test.ts

* fix: reviews

* fix: review2

---------

Co-authored-by: Zer0dot <zer0dot.dev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.