forked from 0xsequence/sequence.js
-
Notifications
You must be signed in to change notification settings - Fork 1
v1-v2 #339
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
Open
Dargon789
wants to merge
829
commits into
Dargon789:codesandbox-dev-project-wagmi-dapp
Choose a base branch
from
0xsequence:master
base: codesandbox-dev-project-wagmi-dapp
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
v1-v2 #339
Changes from all commits
Commits
Show all changes
829 commits
Select commit
Hold shift + click to select a range
f83c903
Fix export type (#823)
tolgahan-arikan c452cb1
added modifyExplicitPermission to dapp-client (#824)
VGabriel45 a694370
added type exports (#825)
VGabriel45 a3f5062
add missing type export ModifySessionPayload
VGabriel45 1c56a0c
Merge pull request #826 from 0xsequence/fix/add_missing_type_export
VGabriel45 5213920
Check related redirect data to get chain id to handle redirect, remov…
tolgahan-arikan bf19d7d
fix redirect mode for modify session & reject request (#828)
VGabriel45 9dac324
Core tests (#829)
corbanbrook b1fbd7f
Merge branch 'master' into guard-v3
patrislav 5c6a5a2
Merge branch 'master' into guard-v3
Agusx1211 297a33b
remove witness signing with guard
patrislav fb825bf
remove unnecessary emit call for 'sessionsUpdated' in _loadStateFromS…
tolgahan-arikan 7a8f637
Merge pull request #799 from 0xsequence/guard-v3
patrislav e90d5d2
Wdk tests (#831)
corbanbrook f1ed01a
refactor: update redirect handling and parameters in DappClient and C…
tolgahan-arikan 0d12d6d
signer-tests (#833)
corbanbrook 65ae29e
Update dapp-client package config to match other packages (#835)
tolgahan-arikan 6093b3f
Fix/dapp client fee option (#836)
VGabriel45 66e808e
identity-instrument: use canonical JSON for request signing
patrislav ced36ca
identity-instrument: use updated KeyType names
patrislav 3c23226
fix tests
patrislav c61bd61
Merge pull request #834 from 0xsequence/seq-id-46
patrislav 83c0fd3
use identity instrument signer scoping
patrislav 53612bb
Merge pull request #837 from 0xsequence/identity-instrument-scope
patrislav 41ebd78
wdk: return Kinds.Guard only if the guard address is defined
patrislav 81bdfab
Update networks list (#838)
ScreamingHawk 8ce43e8
Fix wallet login type and email info regression (#839)
tolgahan-arikan 68b78a3
Update Network chains
ScreamingHawk f2ca063
RPC in network obj
ScreamingHawk 0fded44
Renaming BlockExplorer rootUrl to url
corbanbrook d90a7a0
use getLogoUrl function
corbanbrook dbf8c28
Rename logoURI to logoUrl
corbanbrook 969d5d8
Adding typecheck script to wallet packages
corbanbrook f0eb45b
Renaming rpc to rpcUrl
corbanbrook b91006b
Removing NetworkType.LOCAL and HARDHAT Chains and Network configs
corbanbrook 9a9bc8b
Rename nativeToken to nativeCurrency
corbanbrook ba3c106
Remove deprecated chains
ScreamingHawk 86fe835
Merge pull request #840 from 0xsequence/networks
ScreamingHawk c1e11c8
Remove out of place log
Agusx1211 e4ea0c9
Migrate ChainId from bigint to number (#841)
corbanbrook 7e15d64
wallet-primitives: recurse nested leaves (#843)
patrislav 9f43f1e
Update dapp-client new session creation behavior (#844)
tolgahan-arikan ed51759
Fix typo in CreatePasskeyOptions
corbanbrook 55da752
Adding readySigners to MnemonicHandler so that they can hold onto it …
corbanbrook 7c278a3
Fixing mnemonic tests
corbanbrook 44fe04b
Adding onStatusChange to signup for granular status reporting
corbanbrook fa725f3
dapp-client config changes for projectAccessKey, relayer and nodes ur…
tolgahan-arikan 1197e03
Fix session manager param order
tolgahan-arikan e6c0f9b
Default to validating configuration updates
Agusx1211 f3eb429
Merge pull request #849 from 0xsequence/detect-ignored-update
Agusx1211 5aa1b08
core: sequence state provider: recover passkey signatures (#850)
attente d920b7e
Fix mnemonic and passkey loginType issue (#851)
tolgahan-arikan efb3354
Use guard for sessions (#845)
patrislav be4e216
Store credentials when creating a passkey so we can optimize the logi…
corbanbrook 2200050
Add missing params for saveExplicitSession
tolgahan-arikan 01cdf88
fix broken guard private key
patrislav effd037
Expose access to passkey credential list
corbanbrook 54dcfb3
Dapp client direct txn request (#856)
tolgahan-arikan 718f6e2
Update dapp-client exports (#858)
tolgahan-arikan b8ca546
Add hasPermission method to DappClient (#859)
tolgahan-arikan 228bd3b
Save discovered passkey credentials upon login
corbanbrook b7435a1
Expose name property in PasskeySignupArgs
corbanbrook 66fb9ad
Fix blacklist sort
Agusx1211 897150f
Add multi server script
Agusx1211 1b47188
Merge pull request #860 from 0xsequence/blacklist-fix
ScreamingHawk 5d2ff88
relayer: /SimulateV3 (#857)
attente c6e130c
Add await for handleOpenDB scheduleExpiration
tolgahan-arikan 1b974d9
Update increment to always include native once used
ScreamingHawk 52badd8
Fix session tests
ScreamingHawk 143304f
Merge pull request #862 from 0xsequence/explicit-value
Agusx1211 af81750
Adding lastLoginAt to PasskeyCredential
corbanbrook ef60024
LoginToPasskeyArgs now accept a credentialId which is used to specify…
corbanbrook 4c938a6
Adding onSignatureRequestStatus function to register single use callb…
corbanbrook 6a8a526
When a login is cancelled we can remove the wallet which is logging-in
corbanbrook 1f1f02a
Add RC3 contracts
Agusx1211 a735843
Sessions space restriction
ScreamingHawk d59b9ad
Dedupe signers for encoding
ScreamingHawk 03e7505
Support RC3 sessions
ScreamingHawk 78051eb
Tightly increment call validation
ScreamingHawk 9da60c6
CLI defaults to RC3 wallet code
ScreamingHawk afeba52
Rc3 address test
ScreamingHawk 122994e
Fix hashing tests
ScreamingHawk 5c23e1d
Add deprecated encoding test
ScreamingHawk b8268b5
Merge pull request #866 from 0xsequence/sessions-rc3
ScreamingHawk 289a94d
wdk: throw errors from otp respond callback (#864)
patrislav 1928b4f
Handle guard 2FA (#861)
patrislav 328c9fc
Merge pull request #863 from 0xsequence/rc3
Agusx1211 eb747c8
Update relayer and api gen.ts, force public packages
taylanpince cd3e557
Add standalone fetch queued payloads
Agusx1211 bc25379
Merge pull request #870 from 0xsequence/fetch-queued-txs
Agusx1211 478f73e
Replacing GuardRole enum with string union type, as well as replacing…
corbanbrook b12cce8
Fallback to chain for non-logged in recovery
Agusx1211 7dc4fcf
Add Katana, Sandbox Tesnet, Incentiv Testnet v2 (#873)
taylanpince c416da6
Merge pull request #871 from 0xsequence/fix-recovery-signer
Agusx1211 0a99faf
Update a few remaining dev1 contract addresses to rc3 (#874)
patrislav b03c649
Remove unnecessary console.error where we already throw error
tolgahan-arikan 7cc43b5
Improve DappClient hasPermission method
tolgahan-arikan 97954de
Wallet db try checksum and lowercase
Agusx1211 35c2670
Merge pull request #876 from 0xsequence/normalize-wallet-db-get
Agusx1211 9707954
Update dapp client json utils to include Map reviver and replacer
tolgahan-arikan e8c516d
Update type name, update exports for dapp client
tolgahan-arikan c3c41b7
Expired explicit sessions can't sign
ScreamingHawk 91d16e7
Improve session validity test
ScreamingHawk 7dfa4f6
session isValid returns invalid reason
ScreamingHawk 6d7c428
InvalidReason is typed
ScreamingHawk 2b881ae
Merge pull request #877 from 0xsequence/deadline
ScreamingHawk 426afca
Support multiple identity signers in sessions configuration
ScreamingHawk 3fa42fb
Device signers can approve implicit sessions
ScreamingHawk c6dca5b
Remove invalid test
ScreamingHawk 111d64b
Fix recursion
ScreamingHawk 7091556
Fix comment
ScreamingHawk 0b4eaea
Improve test stability by reducing race conditions
ScreamingHawk 3183235
Do not set passkey signer as identity signer
ScreamingHawk d33d7b4
Use length checks
ScreamingHawk 82a5415
Throw on missing identity signer
ScreamingHawk 9d8ec4d
Encoding requires identity signer to encode
ScreamingHawk 75eaacb
Fix test
ScreamingHawk 429237f
Refactor/types namings tsdoc redundant code (#880)
VGabriel45 ed2a81a
Fix check for explicit session for the updated type in dapp-client
tolgahan-arikan e191d3e
Merge remote-tracking branch 'origin/master' into implicit
ScreamingHawk 4a80c5d
Merge pull request #878 from 0xsequence/implicit
ScreamingHawk 6281b2c
Update api.gen.ts and relayer.gen.ts
taylanpince 85494a5
Add missing chainId for dapp client event
tolgahan-arikan 46bc602
Fix initializing new chain session manager on redirect
tolgahan-arikan 830c08d
Add support for non-viem, custom Sequence chains (#882)
taylanpince 044abf5
Provider sent to prepareBlankEnvelope
ScreamingHawk 1571538
Merge pull request #884 from 0xsequence/migration
ScreamingHawk c484c00
Add session signature decoding
ScreamingHawk c30c3ea
Add feeTokens endpoint to relayer (#885)
ScreamingHawk ff7077d
const for node length
ScreamingHawk 74ff7da
Clearer blacklist size encoding
ScreamingHawk bb047b6
identity signer node length
ScreamingHawk 11c060b
Merge remote-tracking branch 'origin/master' into decodeSessionSignature
ScreamingHawk d2329ab
Merge pull request #886 from 0xsequence/decodeSessionSignature
ScreamingHawk ed4064a
add getFeeTokens to dapp client (#889)
VGabriel45 7e9b483
make getFeeTokens independent of chain session manager and initialize…
VGabriel45 3831cc2
Throw specific error when trying to sign with an expired session (#887)
ScreamingHawk f59aeb9
Make dapp-client implicit sessions chain agnostic (#893)
tolgahan-arikan ec43955
Add Monad, remove LAOS and Root Network
taylanpince 0357ead
Add support for sessionless dapp connection (#896)
tolgahan-arikan b06a1cf
Refactor relayer package & update dependant packages (#891)
VGabriel45 8a27049
refactor exports for relayer (#900)
VGabriel45 bddb8a3
Add Arc Testnet
taylanpince 5556e7e
Fix changelog config
taylanpince bb92e56
Sessionless connection upgrade and error handling in DappClient (#902)
tolgahan-arikan 9c2f3a1
dapp-client: add sessionless snapshot restore flow
tolgahan-arikan 7bef40e
Allow to logout a wallet with skipRemoveDevice even if the wallet is …
corbanbrook 0909e3e
Pass request to PromptCodeHandler in guard registerUI (#909)
corbanbrook 9ecb034
guard: allow using recovery code as 2FA token (#910)
patrislav ec60b5b
Add a way to reset 2fa when using a backup code (#911)
patrislav 9175b15
Add rc4 contracts
Agusx1211 bbc06f9
Set rc4 as default and add it to lists
Agusx1211 87da6b9
Session enhanced replay protection
ScreamingHawk f1e5dcc
New sessions replay protection hashes payload
ScreamingHawk 8541844
Use the 4337 factory wrapper
ScreamingHawk 7ed9aae
Merge pull request #913 from 0xsequence/v3-rc4
ScreamingHawk d91f510
Update keymachine url in dapp-client constants
tolgahan-arikan 5db6520
Update keymachine url in Provider constructor
tolgahan-arikan f2cd671
SSR safety (#915)
ScreamingHawk fe4f5bb
SSR safety test
ScreamingHawk c625027
Fix CI job
ScreamingHawk 0205061
Guard dapp-client for SSR (lazy transport, browser checks, gated stor…
tolgahan-arikan b993b2a
Fix guard topology (#918)
Agusx1211 8282eb9
Switch prod manager settings (#917)
taylanpince a7ad874
Small JS tweaks (#919)
Agusx1211 98ce34f
Update api.gen.ts
taylanpince 031a633
Update metadata.gen.ts
taylanpince 1375472
Update marketplace.gen.ts
taylanpince 5245434
Update guard.gen.ts
taylanpince fdb1807
Update relayer.gen.ts and TransactionPrecondition interface (#920)
taylanpince 6d5de25
3.0.0-beta.1
taylanpince 2de6df4
identity-instrument: generate nonce from current time (#921)
patrislav c574526
Remove publish-dists.yml github action (#923)
corbanbrook 98ce38b
3.0.0-beta.2
taylanpince 83a0201
Clean up changeset config
taylanpince bdaefa0
Merge pull request #916 from 0xsequence/ssr-safe
ScreamingHawk c6fd090
Improve test stability by removing race conditions
ScreamingHawk 3f7b18b
Ensure build before test
ScreamingHawk 2d38f59
Merge pull request #924 from 0xsequence/test-stability
ScreamingHawk 38289e4
Updating happy-dom to 20.0.10 (#926)
corbanbrook 8f87199
Add support for custom auth providers (authcode & authcode-pkce only)…
patrislav 6bd75c9
Updating Deps November 2025 (#927)
corbanbrook 21d2fcd
Update ox to v9.17.0 (#928)
corbanbrook 05ff518
Fix explicitSessionRequested check in dapp client
tolgahan-arikan bfbe7b9
Typescript 5.9.3 (#930)
corbanbrook d3f0089
Don't catch errors thrown by Guard 2FA or reject early to allow multi…
corbanbrook 24539de
Update pnpm
taylanpince 91bf932
Mark @0xsequence/wallet-primitives-cli as private
taylanpince 7c6c811
3.0.0-beta.3
taylanpince a56b151
changeset cleanup
taylanpince 4c3659e
Fix rc4 4337 factory (#933)
Agusx1211 12658df
Add rc5 and set it as default (#934)
Agusx1211 934acd1
3.0.0-beta.4
taylanpince b53f734
Bump next from 15.5.5 to 15.5.7 (#936)
dependabot[bot] 393fc21
add userdata service client (#940)
patrislav dea43c2
Skip LocalDevice identity signers not on current device (#942)
tolgahan-arikan d5017e8
3.0.0-beta.5
taylanpince 2adc7c5
Bump next from 15.5.7 to 15.5.9 (#944)
dependabot[bot] ccdafe6
Pin foundry to v1.5.0 instead of nightly (#947)
taylanpince ee06442
Include repo and extras in syncpack config to ensure deps are synced …
corbanbrook a774491
Short circuit 404s (#949)
Agusx1211 e7de3b1
3.0.0-beta.6
taylanpince 2c49090
Fix apple auth scope (#950)
tolgahan-arikan 0b63113
3.0.0-beta.7
taylanpince 15de255
Update apple auth scope (#951)
tolgahan-arikan e5e1a03
3.0.0-beta.8
taylanpince d62fe68
dapp-client: export TransportMessage and MessageType
corbanbrook 9fb48f7
Adding eoa LoginMethod to dapp-client
corbanbrook 40c19ff
3.0.0-beta.9
taylanpince 110e26c
chore(dapp-client): re-export network/util helpers and add explicit s…
tolgahan-arikan f5f6a7a
3.0.0-beta.10
taylanpince 221699f
fix(dapp-client): tighten transport message source validation
tolgahan-arikan 549871b
feat(dapp-client): cache signed calls from fee options
tolgahan-arikan 11b3bb4
Add new userdata client (#954)
yigiterdev 1a060ea
Fix build error
tolgahan-arikan 30e1f1a
3.0.0-beta.10
taylanpince fc6d552
fix(dapp-client): remove _refreshExplicitSession use that causes bloc…
tolgahan-arikan 3411232
3.0.0-beta.12
taylanpince 0db3f80
Update user data client (#960)
yigiterdev a89134a
3.0.0-beta.13
taylanpince 0b22b7f
Bump next from 15.5.9 to 15.5.10 (#961)
dependabot[bot] 93aa730
[AUTOMATED] Update: api/proto/clients/api.gen.ts (#958)
0xsequence-bot c75e77f
Seq.js uses to address for feeOptions (#962)
ScreamingHawk 747e6b5
3.0.0-beta.14
taylanpince 9c73e31
Add env injection for core and wdk (#955)
tolgahan-arikan 3c1f13f
Add Etherlink Shadownet Testnet
taylanpince 49d8a2f
3.0.0-beta.15
taylanpince e2fc5a4
feat: add ethauth option for dapp client connect (#963)
tolgahan-arikan f68be62
3.0.0-beta.16
taylanpince 0d4670e
Use Address.isEqual for address comparison in recovery module
corbanbrook 6ab2179
Recovery.fetchQueuedPayloads can continue after encountering a node e…
corbanbrook 46dfab7
chore: update company name references (#964)
taylanpince b9c2524
[AUTOMATED] Update files from 0xsequence/indexer (#897)
0xsequence-bot a4db649
Add Berachain, Sonic, HyperEVM
taylanpince 12100c5
fix(relayer): match wallet-webapp FeeOptions request shape (#966)
taylanpince 23cb9e9
3.0.0-beta.17
taylanpince 8f6a29a
Use multicall3 to aggregate queued payload checking across N signers …
corbanbrook 493836f
3.0.0-beta.18
taylanpince 800bbd1
Feb 2026: Updating Dev Dependencies (#970)
corbanbrook 9d558a8
Move indexer clients to packages/services/indexer and remove old pack…
AlexanderKolberg 3bb98d9
Ensure eslint is properly configured for all packages (#971)
corbanbrook 24a5fab
3.0.0-beta.19
taylanpince 18f7710
[AUTOMATED] Update: proto/clients/indexer*.gen.ts (#973)
0xsequence-bot 9e8ed38
3.0.0
taylanpince 09bd0aa
fix: Base network title
tolgahan-arikan 6da5f9b
Fix handling for multiple explicit signers (#975)
ScreamingHawk 86b75c0
Add Incentiv mainnet
taylanpince 948321f
use isIncrementCall in signCall
Agusx1211 dbaa75c
Merge pull request #976 from 0xsequence/session-increment
ScreamingHawk 5e2ad39
3.0.1
taylanpince File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,11 @@ | ||
| { | ||
| "$schema": "https://unpkg.com/@changesets/config@1.4.0/schema.json", | ||
| "changelog": [ | ||
| "@changesets/cli/changelog", | ||
| { "repo": "0xsequence/sequence.js" } | ||
| ], | ||
| "$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json", | ||
| "changelog": "@changesets/cli/changelog", | ||
| "commit": false, | ||
| "linked": [ | ||
| [ | ||
| "@0xsequence/*" | ||
| ] | ||
| ], | ||
| "access": "public", | ||
| "fixed": [], | ||
| "linked": [], | ||
| "access": "restricted", | ||
| "baseBranch": "master", | ||
| "ignore": [], | ||
| "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { | ||
| "updateInternalDependents": "always" | ||
| } | ||
| "updateInternalDependencies": "patch", | ||
| "ignore": ["@0xsequence/wallet-primitives-cli", "docs", "web"] | ||
| } | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * @0xsequence/disable-codeowners-notifications @0xsequence/core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| name: pnpm-format-label | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [labeled] | ||
|
|
||
| jobs: | ||
| proto: | ||
| if: ${{ github.event.label.name == 'pnpm format' }} | ||
| uses: ./.github/workflows/pnpm-format.yml | ||
| secrets: inherit | ||
|
|
||
| rm: | ||
| if: ${{ github.event.label.name == 'pnpm format' }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Remove the label | ||
| run: | | ||
| LABEL=$(echo "${{ github.event.label.name }}" | sed 's/ /%20/g') | ||
| curl -X DELETE \ | ||
| -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ | ||
| -H "Accept: application/vnd.github.v3+json" \ | ||
| https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels/$LABEL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: pnpm format | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| jobs: | ||
| run: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| ref: ${{ github.head_ref }} | ||
| fetch-depth: 20 | ||
|
|
||
| - uses: ./.github/actions/install-dependencies | ||
|
|
||
| - run: pnpm format | ||
|
|
||
| - name: Commit back | ||
| uses: 0xsequence/actions/git-commit@v0.0.4 | ||
| env: | ||
| API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN_GIT_COMMIT }} | ||
| with: | ||
| files: './' | ||
| branch: ${{ github.head_ref }} | ||
| commit_message: '[AUTOMATED] pnpm format' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.