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

docs: add skeleton for new docs #766

Merged
merged 18 commits into from
Jul 12, 2024
Merged

docs: add skeleton for new docs #766

merged 18 commits into from
Jul 12, 2024

Conversation

moldy530
Copy link
Collaborator

@moldy530 moldy530 commented Jun 20, 2024

Pull Request Checklist


PR-Codex overview

The focus of this PR is to reorganize the project structure, update dependencies, and improve documentation.

Detailed summary

  • Deleted unused account-related files and tests
  • Added new overview pages for different sections
  • Updated dependencies and configuration files
  • Added autogenerated version constant
  • Updated sidebar items for different sections
  • Updated and added new functions in various packages
  • Improved documentation for functions and methods

The following files were skipped due to too many changes: account-kit/core/src/actions/watchSigner.ts, site/sidebar/intro.ts, site/pages/reference/aa-sdk/core/functions/resolveProperties.mdx, account-kit/react/src/hooks/useConnect.ts, account-kit/core/package.json, account-kit/core/src/utils/replacer.ts, account-kit/core/src/utils/reviver.ts, account-kit/plugingen/src/utils/findConfig.ts, aa-sdk/core/package.json, account-kit/react/src/hooks/useAuthError.ts, account-kit/core/src/actions/reconnect.ts, .eslintrc, account-kit/infra/package.json, aa-sdk/core/src/middleware/defaults/gasEstimator.ts, account-kit/smart-contracts/package.json, account-kit/infra/src/client/internal/smartAccountClientFromRpc.ts, site/pages/reference/aa-sdk/ethers/functions/convertWalletToAccountSigner.mdx, account-kit/react/package.json, account-kit/react/src/hooks/useConnection.ts, account-kit/signer/package.json, templates/eslint/src/utils.ts, aa-sdk/core/src/transport/split.ts, site/pages/reference/account-kit/react/hooks/useSigner.mdx, aa-sdk/core/src/client/bundlerClient.ts, site/pages/reference/account-kit/react/hooks/useAuthError.mdx, account-kit/react/src/tailwind/components/colorsvars.ts, site/pages/reference/aa-sdk/ethers/functions/convertEthersSignerToAccountSigner.mdx, site/pages/reference/account-kit/core/functions/cookieStorage.mdx, site/pages/reference/account-kit/core/functions/defaultAccountState.mdx, site/sidebar/reference/aa-sdk/ethers.ts, site/pages/reference/aa-sdk/core/functions/isSigner.mdx, site/pages/reference/aa-sdk/core/functions/isSmartAccountClient.mdx, account-kit/core/src/actions/getConnection.ts, site/pages/reference/aa-sdk/core/functions/noopMiddleware.mdx, site/pages/reference/account-kit/core/functions/cookieToInitialState.mdx, site/pages/reference/account-kit/core/functions/getConnection.mdx, site/pages/reference/account-kit/core/functions/reconnect.mdx, account-kit/core/src/store/core.ts, aa-sdk/core/src/actions/smartAccount/internal/sendUserOperation.ts, doc-gen/inject-version.ts, site/pages/reference/account-kit/smart-contracts/functions/defaultLightAccountVersion.mdx, aa-sdk/core/src/middleware/noopMiddleware.ts, site/pages/reference/account-kit/core/functions/getUser.mdx, site/pages/reference/account-kit/react/hooks/useSignerStatus.mdx, site/package.json, site/pages/reference/aa-sdk/core/functions/isEntryPointVersion.mdx, site/pages/reference/account-kit/smart-contracts/functions/getDefaultMultisigModularAccountFactoryAddress.mdx, doc-gen/src/logger.ts, site/pages/reference/account-kit/react/hooks/useUser.mdx, site/pages/reference/aa-sdk/core/functions/defaultGasEstimator.mdx, site/pages/reference/account-kit/smart-contracts/functions/getDefaultMultiOwnerModularAccountFactoryAddress.mdx, site/pages/reference/aa-sdk/core/functions/filterUndefined.mdx, site/pages/reference/account-kit/smart-contracts/functions/getLightAccountVersionDef.mdx, aa-sdk/core/src/actions/smartAccount/estimateUserOperationGas.ts, site/pages/reference/account-kit/smart-contracts/functions/getDefaultLightAccountFactoryAddress.mdx, aa-sdk/ethers/package.json, site/pages/reference/aa-sdk/core/functions/middlewareActions.mdx, site/pages/reference/account-kit/react/hooks/useBundlerClient.mdx, site/pages/reference/account-kit/react/hooks/useAuthModal.mdx, site/pages/reference/account-kit/core/functions/getBundlerClient.mdx, site/pages/reference/aa-sdk/core/functions/pick.mdx, aa-sdk/core/src/utils/bytes.ts, site/pages/reference/account-kit/core/functions/setChain.mdx, site/pages/reference/aa-sdk/core/functions/createSimpleSmartAccount.mdx, site/pages/reference/account-kit/core/functions/getSignerStatus.mdx, site/pages/reference/aa-sdk/core/functions/convertChainIdToCoinType.mdx, aa-sdk/core/src/errors/useroperation.ts, aa-sdk/core/src/middleware/actions.ts, site/pages/reference/aa-sdk/core/functions/convertCoinTypeToChain.mdx, site/pages/reference/account-kit/infra/functions/getAlchemyPaymasterAddress.mdx, site/pages/reference/aa-sdk/core/functions/isSmartAccountWithSigner.mdx, account-kit/signer/src/signer.ts, site/pages/reference/account-kit/core/functions/getSigner.mdx, site/pages/reference/account-kit/infra/functions/alchemyGasManagerMiddleware.mdx, site/pages/reference/account-kit/core/functions/watchChain.mdx, site/pages/reference/aa-sdk/core/functions/smartAccountClientActions.mdx, site/pages/reference/aa-sdk/core/functions/defaultPaymasterAndData.mdx, site/pages/reference/account-kit/react/hooks/useAlchemyAccountContext.mdx, site/pages/reference/aa-sdk/core/functions/bundlerActions.mdx, site/pages/reference/account-kit/core/functions/watchConnection.mdx, aa-sdk/core/src/errors/transaction.ts, account-kit/react/src/components/auth/hooks/usePasskeyVerify.ts, site/pages/reference/aa-sdk/core/functions/convertCoinTypeToChainId.mdx, site/pages/reference/account-kit/core/functions/watchSigner.mdx, site/pages/reference/account-kit/react/components/AuthCard.mdx, site/pages/reference/account-kit/core/functions/watchUser.mdx, account-kit/react/src/hooks/useAuthModal.ts, aa-sdk/ethers/src/utils.ts, aa-sdk/core/src/client/isSmartAccountClient.ts, site/pages/reference/account-kit/infra/functions/alchemyActions.mdx, site/pages/reference/account-kit/react/hooks/useLogout.mdx, site/pages/reference/aa-sdk/core/functions/createBundlerClient.mdx, site/pages/reference/account-kit/infra/functions/isAlchemySmartAccountClient.mdx, site/pages/reference/aa-sdk/core/functions/parseFactoryAddressFromAccountInitCode.mdx, account-kit/smart-contracts/src/msca/plugins/multisig/utils/formatSignatures.ts, site/pages/reference/account-kit/core/functions/createConfig.mdx, site/pages/reference/account-kit/react/hooks/useAccount.mdx, site/pages/reference/aa-sdk/core/functions/wrapSignatureWith6492.mdx, site/pages/reference/aa-sdk/core/functions/createBundlerClientFromExisting.mdx, site/pages/reference/account-kit/infra/functions/getDefaultUserOperationFeeOptions.mdx, account-kit/core/src/actions/setChain.ts, site/pages/reference/account-kit/core/functions/getAccount.mdx, site/pages/reference/account-kit/react/hooks/useAddPasskey.mdx, site/pages/reference/account-kit/core/functions/hydrate.mdx, site/pages/reference/account-kit/core/functions/watchSignerStatus.mdx, site/pages/reference/account-kit/infra/functions/defineAlchemyChain.mdx, account-kit/react/src/hooks/useClientActions.ts, site/pages/reference/account-kit/smart-contracts/functions/pluginManagerActions.mdx, aa-sdk/core/src/actions/smartAccount/internal/initUserOperation.ts, site/pages/reference/aa-sdk/core/functions/toRecord.mdx, site/pages/reference/account-kit/core/functions/watchBundlerClient.mdx, account-kit/core/src/actions/getUser.ts, site/pages/reference/account-kit/core/functions/watchAccount.mdx, site/pages/reference/account-kit/react/hooks/useExportAccount.mdx, site/pages/reference/account-kit/react/hooks/useSignMessage.mdx, site/pages/reference/account-kit/smart-contracts/functions/splitAggregatedSignature.mdx, site/pages/reference/account-kit/smart-contracts/functions/sessionKeyPluginActions.mdx, site/pages/reference/account-kit/core/functions/createAccount.mdx, site/pages/reference/account-kit/infra/functions/alchemyUserOperationSimulator.mdx, site/pages/reference/account-kit/infra/functions/createAlchemySmartAccountClient.mdx, site/pages/reference/aa-sdk/core/functions/getEntryPoint.mdx, account-kit/react/src/hydrate.ts, site/pages/reference/account-kit/smart-contracts/functions/combineSignatures.mdx, site/pages/reference/account-kit/react/hooks/useAuthenticate.mdx, site/pages/reference/account-kit/smart-contracts/functions/multisigPluginActions.mdx, aa-sdk/core/src/errors/entrypoint.ts, site/pages/reference/account-kit/react/hooks/useSignTypedData.mdx, site/pages/reference/aa-sdk/core/functions/defaultUserOpSigner.mdx, site/pages/reference/account-kit/smart-contracts/functions/accountLoupeActions.mdx, account-kit/core/src/actions/getSigner.ts, site/pages/reference/account-kit/smart-contracts/functions/multiOwnerPluginActions.mdx, site/pages/reference/account-kit/smart-contracts/functions/formatSignatures.mdx, doc-gen/src/cli.ts, site/pages/reference/aa-sdk/core/functions/defaultFeeEstimator.mdx, site/pages/reference/aa-sdk/core/functions/createSmartAccountClient.mdx, site/pages/reference/account-kit/react/hooks/useSmartAccountClient.mdx, site/pages/reference/account-kit/infra/functions/alchemyEnhancedApiActions.mdx, site/snippets/aa-ethers/ethers-provider.ts, site/pages/reference/account-kit/infra/functions/alchemyFeeEstimator.mdx, site/pages/reference/account-kit/smart-contracts/functions/getMSCAUpgradeToData.mdx, site/pages/reference/account-kit/smart-contracts/functions/getSignerType.mdx, site/pages/reference/account-kit/smart-contracts/functions/lightAccountClientActions.mdx, site/pages/reference/aa-sdk/core/functions/createSmartAccountClientFromExisting.mdx, aa-sdk/core/src/index.ts, site/pages/reference/account-kit/infra/functions/simulateUserOperationChanges.mdx, site/pages/reference/aa-sdk/core/functions/split.mdx, site/pages/reference/account-kit/react/hooks/useChain.mdx, site/pages/reference/account-kit/smart-contracts/functions/buildSessionKeysToRemoveStruct.mdx, site/pages/reference/aa-sdk/core/functions/sendUserOperation.mdx, account-kit/react/src/index.ts, site/pages/reference/account-kit/smart-contracts/functions/createLightAccountAlchemyClient.mdx, site/pages/reference/account-kit/smart-contracts/functions/createModularAccountAlchemyClient.mdx, site/pages/reference/account-kit/react/hooks/useDropAndReplaceUserOperation.mdx, aa-sdk/core/src/middleware/types.ts, account-kit/smart-contracts/src/msca/utils.ts, site/pages/reference/account-kit/react/hooks/useClientActions.mdx, site/pages/reference/account-kit/smart-contracts/functions/createLightAccount.mdx, aa-sdk/core/src/errors/client.ts, aa-sdk/ethers/src/__tests__/provider-adapter.test.ts, site/pages/reference/account-kit/react/hooks/useWaitForUserOperationTransaction.mdx, site/pages/reference/aa-sdk/core/functions/sendTransactions.mdx, site/pages/reference/account-kit/smart-contracts/functions/multiOwnerLightAccountClientActions.mdx, site/pages/reference/account-kit/smart-contracts/functions/installPlugin.mdx, aa-sdk/core/src/actions/smartAccount/internal/runMiddlewareStack.ts, site/pages/reference/account-kit/smart-contracts/functions/createMultiOwnerLightAccountAlchemyClient.mdx, package.json, site/pages/reference/aa-sdk/core/functions/getAccountAddress.mdx, site/pages/reference/aa-sdk/core/functions/buildUserOperation.mdx, site/pages/reference/aa-sdk/core/functions/sendTransaction.mdx, templates/eslint/src/resolveReExport.ts, site/pages/reference/account-kit/smart-contracts/functions/createMultiOwnerLightAccount.mdx, site/pages/reference/account-kit/react/hooks/useSendTransaction.mdx, site/pages/reference/account-kit/smart-contracts/functions/createMultiOwnerLightAccountClient.mdx, aa-sdk/core/src/actions/smartAccount/sendUserOperation.ts, account-kit/core/src/errors.ts, site/pages/reference/account-kit/smart-contracts/functions/createMultiOwnerModularAccount.mdx, site/pages/reference/account-kit/smart-contracts/functions/multisigSignatureMiddleware.mdx, site/pages/reference/account-kit/smart-contracts/functions/createLightAccountClient.mdx, site/pages/reference/account-kit/smart-contracts/functions/createMultiOwnerModularAccountClient.mdx, site/pages/reference/aa-sdk/core/functions/dropAndReplaceUserOperation.mdx, account-kit/core/src/createConfig.ts, site/pages/reference/account-kit/smart-contracts/functions/createMultisigModularAccount.mdx, site/pages/reference/account-kit/smart-contracts/functions/getMAInitializationData.mdx, site/pages/reference/account-kit/infra/functions/createAlchemyPublicRpcClient.mdx, account-kit/smart-contracts/src/msca/plugins/multisig/middleware.ts, site/pages/reference/account-kit/react/components/AlchemyAccountProvider.mdx, site/pages/reference/account-kit/react/hooks/useSendUserOperation.mdx, site/pages/reference/account-kit/react/hooks/useSendTransactions.mdx, site/pages/reference/aa-sdk/core/functions/waitForUserOperationTransaction.mdx, account-kit/core/src/store/client.ts, account-kit/react/src/tailwind/plugin.ts, site/pages/reference/account-kit/smart-contracts/functions/createMultisigAccountAlchemyClient.mdx, site/pages/reference/account-kit/smart-contracts/functions/createMultisigModularAccountClient.mdx, account-kit/react/src/hooks/useChain.ts, account-kit/core/src/hydrate.ts, account-kit/react/src/hooks/useSendTransaction.ts, doc-gen/src/templates/functionTemplate.ts, site/pages/reference/aa-sdk/core/functions/checkGasSponsorshipEligibility.mdx, site/sidebar/reference/account-kit/infra.ts, account-kit/react/src/components/auth/card/index.tsx, account-kit/smart-contracts/src/msca/plugins/multisig/utils/splitAggregatedSignature.ts, doc-gen/package.json, aa-sdk/core/src/utils/defaults.ts, account-kit/core/src/utils/cookies.ts, account-kit/react/src/errors.ts, templates/eslint/src/fixers/openai-worker.ts, account-kit/react/src/hooks/useSendUserOperation.ts, account-kit/react/src/hooks/useSendTransactions.ts, site/scripts/prebuild.ts, site/sidebar/reference/account-kit/core.ts, aa-sdk/core/src/utils/index.ts, site/pages/reference/aa-sdk/core/functions/buildUserOperationFromTx.mdx, account-kit/react/src/tailwind/utils.ts, aa-sdk/core/src/account/smartContractAccount.ts, aa-sdk/core/src/actions/smartAccount/checkGasSponsorshipEligibility.ts, site/pages/reference/aa-sdk/core/functions/buildUserOperationFromTxs.mdx, site/pages/migration-guides/migrating-to-v3.md, site/sidebar/reference/account-kit/react.ts, site/sidebar/react.ts, aa-sdk/core/src/utils/bigint.ts, templates/eslint/src/fixers/re-export-fixer.ts, aa-sdk/core/src/logger.ts, account-kit/react/src/context.tsx, account-kit/smart-contracts/src/msca/plugins/session-key/signer.ts, doc-gen/src/commands/generate.ts, aa-sdk/core/src/signer/wallet-client.ts, site/pages/reference/aa-sdk/core/functions/toSmartContractAccount.mdx, account-kit/infra/src/middleware/gasManager.ts, aa-sdk/core/src/signer/local-account.ts, aa-sdk/ethers/src/provider-adapter.ts, aa-sdk/core/src/actions/smartAccount/buildUserOperationFromTx.ts, site/sidebar/reference/aa-sdk/core.ts, site/sidebar/reference/account-kit/smart-contracts.ts, aa-sdk/core/src/actions/smartAccount/buildUserOperationFromTxs.ts, account-kit/signer/src/client/base.ts, aa-sdk/core/src/errors/account.ts, account-kit/smart-contracts/src/msca/plugins/session-key/permissions.ts, account-kit/smart-contracts/src/light-account/utils.ts, site/pages/index_old.mdx, site/pages/index.mdx, site/pages/intro/index.mdx, aa-sdk/ethers/src/account-signer.ts, aa-sdk/core/src/utils/userop.ts, account-kit/signer/src/client/index.ts, site/sidebar/old.ts, templates/eslint/src/rules/jsdoc-reexported-functions.ts, site/vocs.config.tsx, account-kit/signer/src/base.ts, yarn.lock

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

Copy link

vercel bot commented Jun 20, 2024

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

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 21 unresolved Jul 12, 2024 8:50pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 12, 2024 8:50pm

@moldy530 moldy530 marked this pull request as ready for review June 28, 2024 19:26
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.

1 participant