Skip to content

v1-v2#339

Open
Dargon789 wants to merge 828 commits intoDargon789:codesandbox-dev-project-wagmi-dappfrom
0xsequence:master
Open

v1-v2#339
Dargon789 wants to merge 828 commits intoDargon789:codesandbox-dev-project-wagmi-dappfrom
0xsequence:master

Conversation

@Dargon789
Copy link
Owner

tolgahan-arikan and others added 30 commits July 24, 2025 14:27
* Update dapp-client exports

* More exports
* added type exports

* export TransportMode
add missing type export ModifySessionPayload
…e unused origin param from ModifySessionPayload, add clearAllData for storage (#827)
* fix redirect mode for modify session & reject request

* Add event for explicit session handling, and some other refactor

---------

Co-authored-by: Tolgahan Arikan <tolgahan.arikan@gmail.com>
* Added better test coverage for permission-builder and fixed param mismatch bug and empty function signature bug

* Adding tests for preconditions codec, selectors, and types

* Adding tests for state utils

* Adding tests for state/cached

* Adding envelope tests

* Move permission builder test

* relayer tests
initial guard v3 integration
* wdk: Adding more wallets tests

* Adding message tests

* wdk: Adding guard tests

* Adding identity-signer.test.ts

* Adding authcode test

* Otp tests

* Adding passkeys tests

* Adding tests for authcode and auth dbs

* Removing throw from otp handler
* Update dapp-client package config to match others

* pnpm-lock.yaml update

* Remove test scripts from dapp-client package.json
* add valueForwarder call for ETH fee option

* Fix value encoding order for incrementPermissions

* added chain id for Session

* Merge branch 'fix/dapp-client-fee-option' of https://github.com/0xsequence/sequence.js into fix/dapp-client-fee-option

* Store permissions for explicit session info

* Transaction hash type is Hex.Hex

* added value forwarder address to constants

---------

Co-authored-by: Michael Standen <mstan@horizon.io>
identity-instrument: use canonical JSON for request signing
* Update networks list

* Remove deprecated chains, add Somnia Mainnet

---------

Co-authored-by: Taylan Pince <taylanpince@gmail.com>
AlexanderKolberg and others added 6 commits February 23, 2026 16:25
…ages/indexer (#969)

* Move indexer clients to packages/services/indexer and remove old packages/indexer

* Disable noUncheckedIndexedAccess for indexer package
Co-authored-by: marino39 <722509+marino39@users.noreply.github.com>
@codesandbox
Copy link

codesandbox bot commented Mar 6, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, we are unable to review this pull request

The GitHub API does not allow us to fetch diffs exceeding 300 files, and this pull request has 781

@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sequence.js Canceled Canceled Mar 6, 2026 6:02am
wagmi-project Error Error Mar 6, 2026 6:02am

@vercel
Copy link

vercel bot commented Mar 6, 2026

@tolgahan-arikan is attempting to deploy a commit to the Foundry development Team on Vercel.

A member of the Team first needs to authorize it.

@snyk-io
Copy link

snyk-io bot commented Mar 6, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
🔚 Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@mergify
Copy link

mergify bot commented Mar 6, 2026

⚠️ The sha of the head commit of this PR conflicts with #321. Mergify cannot evaluate rules on this PR. Once #321 is merged or closed, Mergify will resume processing this PR. ⚠️

@Dargon789 Dargon789 enabled auto-merge (squash) March 6, 2026 06:06
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request represents a significant upgrade to the project's structure and tooling. It migrates the project to a monorepo architecture, enhances the development workflow with modern tools, and provides updated documentation and examples. These changes aim to improve maintainability, developer experience, and overall project quality.

Highlights

  • Monorepo Restructuring: This PR restructures the project into a monorepo, improving code organization and dependency management.
  • Dependency Updates: The PR updates various dependencies, including pnpm and actions/cache, to their latest versions.
  • Tooling Improvements: The PR introduces lefthook for git hooks, removes outdated tooling like babel, and adds vscode configuration files for better developer experience.
  • Documentation and Examples: The PR adds a new documentation app using Next.js and updates the README to reflect the new project structure and usage.
Changelog
  • .changeset/README.md
    • Updated the documentation link to point to the 'main' branch instead of 'master'.
  • .changeset/config.json
    • Updated the changeset configuration to use a newer schema version, restrict access, and ignore specific packages.
  • .eslintignore
    • Removed .eslintrc.js and packages/**/dist from the eslint ignore list.
  • .eslintrc.js
    • Removed the eslint configuration file.
  • .github/CODEOWNERS
    • Added a CODEOWNERS file to specify code ownership for certain parts of the repository.
  • .github/actions/install-dependencies/action.yml
    • Updated the install-dependencies GitHub Action to use Node 20 and pnpm 10, and streamlined the caching setup.
  • .gitignore
    • Updated the .gitignore file to include more comprehensive ignore patterns for dependencies, build outputs, and debug files.
  • .nycrc
    • Removed the .nycrc configuration file.
  • .prettierrc
    • Updated the .prettierrc file to simplify the formatting rules.
  • .vscode/launch.json
    • Added a launch configuration for debugging the primitives-cli server in VS Code.
  • .vscode/settings.json
    • Added VS Code settings to automatically detect ESLint working directories.
  • LICENSE
    • Removed the old copyright notice and updated the license to Apache-2.0.
  • README.md
    • Updated the README to reflect the new project structure, packages, and development workflow for v3.
  • babel.config.js
    • Removed the babel configuration file.
  • extras/docs/.gitignore
    • Added a .gitignore file for the documentation app.
  • extras/docs/README.md
    • Added a README file for the documentation app.
  • extras/docs/app/globals.css
    • Added global CSS styles for the documentation app.
  • extras/docs/app/layout.tsx
    • Added a layout component for the documentation app.
  • extras/docs/app/page.module.css
    • Added CSS modules for the documentation app's main page.
  • extras/docs/app/page.tsx
    • Added the main page component for the documentation app.
  • extras/docs/eslint.config.js
    • Added an ESLint configuration file for the documentation app.
  • extras/docs/next.config.js
    • Added a Next.js configuration file for the documentation app.
  • extras/docs/package.json
    • Added a package.json file for the documentation app.
  • extras/docs/public/file-text.svg
    • Added a file-text SVG icon for the documentation app.
  • extras/docs/public/globe.svg
    • Added a globe SVG icon for the documentation app.
  • extras/docs/public/next.svg
    • Added a Next.js SVG icon for the documentation app.
  • extras/docs/public/turborepo-dark.svg
    • Added a dark-themed Turborepo SVG logo for the documentation app.
  • extras/docs/public/turborepo-light.svg
    • Added a light-themed Turborepo SVG logo for the documentation app.
  • extras/docs/public/vercel.svg
    • Added a Vercel SVG icon for the documentation app.
  • extras/docs/public/window.svg
    • Added a window SVG icon for the documentation app.
  • extras/docs/tsconfig.json
    • Added a TypeScript configuration file for the documentation app.
  • extras/web/.gitignore
    • Added a .gitignore file for the web app.
  • extras/web/README.md
    • Added a README file for the web app.
  • extras/web/app/globals.css
    • Added global CSS styles for the web app.
  • extras/web/app/layout.tsx
    • Added a layout component for the web app.
  • extras/web/app/page.module.css
    • Added CSS modules for the web app's main page.
  • extras/web/app/page.tsx
    • Added the main page component for the web app.
  • extras/web/eslint.config.js
    • Added an ESLint configuration file for the web app.
  • extras/web/next.config.js
    • Added a Next.js configuration file for the web app.
  • extras/web/package.json
    • Added a package.json file for the web app.
  • extras/web/public/file-text.svg
    • Added a file-text SVG icon for the web app.
  • extras/web/public/globe.svg
    • Added a globe SVG icon for the web app.
  • extras/web/public/next.svg
    • Added a Next.js SVG icon for the web app.
  • extras/web/public/turborepo-dark.svg
    • Added a dark-themed Turborepo SVG logo for the web app.
  • extras/web/public/turborepo-light.svg
    • Added a light-themed Turborepo SVG logo for the web app.
  • extras/web/public/vercel.svg
    • Added a Vercel SVG icon for the web app.
  • extras/web/public/window.svg
    • Added a window SVG icon for the web app.
  • extras/web/tsconfig.json
    • Added a TypeScript configuration file for the web app.
  • lefthook.yml
    • Added a lefthook configuration file to manage git hooks for linting, formatting, and type checking.
  • package.json
    • Updated the root package.json to include new scripts for building, testing, linting, and formatting, and updated devDependencies.
  • packages/0xsequence/README.md
    • Removed the README file.
  • packages/0xsequence/hardhat.config.js
    • Removed the hardhat configuration file.
  • packages/0xsequence/hardhat2.config.js
    • Removed the hardhat2 configuration file.
  • packages/0xsequence/package.json
    • Removed the package.json file.
  • packages/0xsequence/src/abi.ts
    • Removed the abi.ts file.
  • packages/0xsequence/src/account.ts
    • Removed the account.ts file.
  • packages/0xsequence/src/api.ts
    • Removed the api.ts file.
  • packages/0xsequence/src/auth.ts
    • Removed the auth.ts file.
  • packages/0xsequence/src/core.ts
    • Removed the core.ts file.
  • packages/0xsequence/src/guard.ts
    • Removed the guard.ts file.
  • packages/0xsequence/src/index.ts
    • Removed the index.ts file.
  • packages/0xsequence/src/indexer.ts
    • Removed the indexer.ts file.
  • packages/0xsequence/src/metadata.ts
    • Removed the metadata.ts file.
  • packages/0xsequence/src/migration.ts
    • Removed the migration.ts file.
  • packages/0xsequence/src/multicall.ts
    • Removed the multicall.ts file.
  • packages/0xsequence/src/network.ts
    • Removed the network.ts file.
  • packages/0xsequence/src/provider.ts
    • Removed the provider.ts file.
  • packages/0xsequence/src/relayer.ts
    • Removed the relayer.ts file.
  • packages/0xsequence/src/sequence.ts
    • Removed the sequence.ts file.
  • packages/0xsequence/src/sessions.ts
    • Removed the sessions.ts file.
  • packages/0xsequence/src/signhub.ts
    • Removed the signhub.ts file.
  • packages/0xsequence/src/transactions.ts
    • Removed the transactions.ts file.
  • packages/0xsequence/src/utils.ts
    • Removed the utils.ts file.
  • packages/0xsequence/tests/browser/json-rpc-provider/rpc.test.ts
    • Removed the rpc.test.ts file.
  • packages/0xsequence/tests/browser/mock-wallet/mock-wallet.test.ts
    • Removed the mock-wallet.test.ts file.
  • packages/0xsequence/tests/browser/mux-transport/mux.test.ts
    • Removed the mux.test.ts file.
  • packages/0xsequence/tests/browser/proxy-transport/channel.test.ts
    • Removed the channel.test.ts file.
  • packages/0xsequence/tests/browser/testutils/accounts.ts
    • Removed the accounts.ts file.
  • packages/0xsequence/tests/browser/testutils/deploy-wallet-context.ts
    • Removed the deploy-wallet-context.ts file.
  • packages/0xsequence/tests/browser/testutils/index.ts
    • Removed the index.ts file.
  • packages/0xsequence/tests/browser/testutils/wallet.ts
    • Removed the wallet.ts file.
  • packages/0xsequence/tests/browser/wallet-provider/dapp.test.ts
    • Removed the dapp.test.ts file.
  • packages/0xsequence/tests/browser/wallet-provider/dapp2.test.ts
    • Removed the dapp2.test.ts file.
  • packages/0xsequence/tests/browser/window-transport/dapp.test.ts
    • Removed the dapp.test.ts file.
  • packages/0xsequence/tests/json-rpc-provider.spec.ts
    • Removed the json-rpc-provider.spec.ts file.
  • packages/0xsequence/tests/mock-wallet.spec.ts
    • Removed the mock-wallet.spec.ts file.
  • packages/0xsequence/tests/mux-transport.spec.ts
    • Removed the mux-transport.spec.ts file.
  • packages/0xsequence/tests/proxy-transport.spec.ts
    • Removed the proxy-transport.spec.ts file.
  • packages/0xsequence/tests/utils/assert.ts
    • Removed the assert.ts file.
  • packages/0xsequence/tests/utils/browser-test-runner.ts
    • Removed the browser-test-runner.ts file.
  • packages/0xsequence/tests/utils/webpack-test-server.ts
    • Removed the webpack-test-server.ts file.
  • packages/0xsequence/tests/wallet-provider.spec.ts
    • Removed the wallet-provider.spec.ts file.
  • packages/0xsequence/tests/webpack.config.js
    • Removed the webpack.config.js file.
  • packages/account/CHANGELOG.md
    • Removed the CHANGELOG.md file.
  • packages/account/hardhat.config.js
    • Removed the hardhat configuration file.
  • packages/account/hardhat2.config.js
    • Removed the hardhat2 configuration file.
  • packages/account/package.json
    • Removed the package.json file.
  • packages/account/src/account.ts
    • Removed the account.ts file.
  • packages/account/src/index.ts
    • Removed the index.ts file.
  • packages/account/src/orchestrator/wrapper.ts
    • Removed the wrapper.ts file.
  • packages/account/src/signer.ts
    • Removed the signer.ts file.
  • packages/account/src/utils.ts
    • Removed the utils.ts file.
  • packages/account/tests/account.spec.ts
    • Removed the account.spec.ts file.
  • packages/account/tests/signer.spec.ts
    • Removed the signer.spec.ts file.
  • packages/api/package.json
    • Removed the package.json file.
  • packages/api/src/api.gen.ts
    • Removed the api.gen.ts file.
  • packages/auth/hardhat.config.js
    • Removed the hardhat configuration file.
  • packages/auth/package.json
    • Removed the package.json file.
  • packages/auth/src/authorization.ts
    • Removed the authorization.ts file.
  • packages/auth/src/index.ts
    • Removed the index.ts file.
  • packages/auth/src/proof.ts
    • Removed the proof.ts file.
  • packages/auth/src/services.ts
    • Removed the services.ts file.
  • packages/auth/tests/session.spec.ts
    • Removed the session.spec.ts file.
  • packages/auth/tests/utils/index.ts
    • Removed the index.ts file.
  • packages/core/CHANGELOG.md
    • Removed the CHANGELOG.md file.
  • packages/core/package.json
    • Removed the package.json file.
  • packages/core/src/commons/config.ts
    • Removed the config.ts file.
  • packages/core/src/commons/context.ts
    • Removed the context.ts file.
  • packages/core/src/commons/index.ts
    • Removed the index.ts file.
  • packages/core/src/commons/orchestrator.ts
    • Removed the orchestrator.ts file.
  • packages/core/src/commons/reader.ts
    • Removed the reader.ts file.
  • packages/core/src/commons/signature.ts
    • Removed the signature.ts file.
  • packages/core/src/commons/signer.ts
    • Removed the signer.ts file.
  • packages/core/src/commons/transaction.ts
    • Removed the transaction.ts file.
  • packages/core/src/commons/validateEIP1271.ts
    • Removed the validateEIP1271.ts file.
  • packages/core/src/commons/validateEIP6492.ts
    • Removed the validateEIP6492.ts file.
  • packages/core/src/index.ts
    • Removed the index.ts file.
  • packages/core/src/universal/index.ts
    • Removed the index.ts file.
  • packages/core/src/v1/config.ts
    • Removed the config.ts file.
  • packages/core/src/v1/index.ts
    • Removed the index.ts file.
  • packages/core/src/v1/signature.ts
    • Removed the signature.ts file.
  • packages/core/src/v2/chained.ts
    • Removed the chained.ts file.
  • packages/core/src/v2/config.ts
    • Removed the config.ts file.
  • packages/core/src/v2/context.ts
    • Removed the context.ts file.
  • packages/core/src/v2/index.ts
    • Removed the index.ts file.
  • packages/core/src/version.ts
    • Removed the version.ts file.
  • packages/deployer/package.json
    • Removed the package.json file.
  • packages/guard/package.json
    • Removed the package.json file.
  • packages/metadata/package.json
    • Removed the package.json file.
  • packages/migration/package.json
    • Removed the package.json file.
  • packages/multicall/package.json
    • Removed the package.json file.
  • packages/network/package.json
    • Removed the package.json file.
  • packages/provider/package.json
    • Removed the package.json file.
  • packages/relayer/package.json
    • Removed the package.json file.
  • packages/sessions/package.json
    • Removed the package.json file.
  • packages/signhub/package.json
    • Removed the package.json file.
  • packages/tests/package.json
    • Removed the package.json file.
  • packages/ui/package.json
    • Removed the package.json file.
  • packages/utils/package.json
    • Removed the package.json file.
  • packages/wallet/package.json
    • Removed the package.json file.
Ignored Files
  • Ignored by pattern: .github/workflows/** (3)
    • .github/workflows/on_pr_pnpm-format-label.yml
    • .github/workflows/pnpm-format.yml
    • .github/workflows/tests.yml
Activity
  • The pull request includes significant changes to the project structure, moving to a monorepo setup.
  • Several dependencies have been updated to their latest versions.
  • Tooling has been improved with the addition of lefthook and vscode configuration files.
  • A new documentation app has been added using Next.js.
  • The README has been updated to reflect the new project structure and usage.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a significant overhaul of the repository, migrating it to a Turborepo setup for v3. It includes updates to dependencies, CI/CD workflows, and project structure, along with the removal of many v1/v2 packages. My review highlights a potential inconsistency in the changeset configuration regarding the base branch and raises a concern about using a pre-release version of Next.js in the new application packages.

* Update test names

* Fix handling for multiple explicit signers
auto-merge was automatically disabled March 6, 2026 11:20

Head branch was pushed to by a user without write access

@mergify
Copy link

mergify bot commented Mar 6, 2026

⚠️ The sha of the head commit of this PR conflicts with #321. Mergify cannot evaluate rules on this PR. Once #321 is merged or closed, Mergify will resume processing this PR. ⚠️

@Dargon789 Dargon789 enabled auto-merge (squash) March 6, 2026 12:33
@mergify
Copy link

mergify bot commented Mar 6, 2026

⚠️ The sha of the head commit of this PR conflicts with #321. Mergify cannot evaluate rules on this PR. Once #321 is merged or closed, Mergify will resume processing this PR. ⚠️

@Dargon789
Copy link
Owner Author

@Mergifyio update

@Dargon789
Copy link
Owner Author

@Mergifyio refresh

@mergify
Copy link

mergify bot commented Mar 8, 2026

update

☑️ Nothing to do, the required conditions are not met

Details
  • -conflict [📌 update requirement]
  • #commits-behind > 0 [📌 update requirement]
  • -closed [📌 update requirement]
  • queue-position = -1 [📌 update requirement]

@mergify
Copy link

mergify bot commented Mar 8, 2026

refresh

✅ Pull request refreshed

auto-merge was automatically disabled March 8, 2026 20:04

Head branch was pushed to by a user without write access

@mergify
Copy link

mergify bot commented Mar 8, 2026

⚠️ The sha of the head commit of this PR conflicts with #321. Mergify cannot evaluate rules on this PR. Once #321 is merged or closed, Mergify will resume processing this PR. ⚠️

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.