Skip to content
Merged

V3 #257

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
694 commits
Select commit Hold shift + click to select a range
2b8f10a
Merge pull request #782 from 0xsequence/demo-anypay
shunkakinoki Jun 4, 2025
1d3aa02
fix: update @0xsequence/anypay-sdk and wallet dependencies to use Git…
shunkakinoki Jun 4, 2025
9ac334b
fix: update @0xsequence/anypay-sdk and wallet dependencies to use wor…
shunkakinoki Jun 4, 2025
6212b03
feat: add wrangler configuration for demo-anypay project
shunkakinoki Jun 4, 2025
4ddcd4d
fix: update @0xsequence/api dependency version and adjust build scrip…
shunkakinoki Jun 4, 2025
1997d12
fix: fallback to VITE_PROJECT_ACCESS_KEY for sequence API key in widg…
shunkakinoki Jun 4, 2025
aad140c
anypay-sdk: Add indexer client config options
miguelmota Jun 4, 2025
f65a38b
Merge
miguelmota Jun 4, 2025
3e5f42c
chore: empty commit for anypay release
shunkakinoki Jun 4, 2025
173653b
fix: update dependencies to latest versions across multiple packages
shunkakinoki Jun 4, 2025
e818ba3
Merge remote-tracking branch 'origin/master' into demo-anypay-release
shunkakinoki Jun 4, 2025
29a22c1
fix: update package versions in pnpm-lock.yaml for improved compatibi…
shunkakinoki Jun 4, 2025
07da0ff
fix: update dependencies to use specific GitHub references for improv…
shunkakinoki Jun 4, 2025
03c0a21
Merge pull request #784 from 0xsequence/demo-anypay-release
shunkakinoki Jun 4, 2025
ae34766
fix: update dependencies to use workspace references for improved com…
shunkakinoki Jun 4, 2025
ed59e3d
anypay-sdk: improve config handling
miguelmota Jun 4, 2025
735ad5a
fix: comment out unused environment variable in widget component
shunkakinoki Jun 4, 2025
937be1f
fix: add environment variable to AnyPayWidget component
shunkakinoki Jun 4, 2025
472491a
Merge branch 'master' of github.com:0xsequence/sequence.js into feat/…
miguelmota Jun 4, 2025
7a046de
anypay-sdk: set chain id to mainnet for ens lookup
miguelmota Jun 4, 2025
62303af
Merge branch 'feat/anypay-sdk-widget' of github.com:0xsequence/sequen…
miguelmota Jun 4, 2025
9ad76d3
Merge pull request #783 from 0xsequence/feat/anypay-sdk-widget
miguelmota Jun 4, 2025
3e2f692
OTP will use signer without ui if available
ScreamingHawk May 28, 2025
5b8eaac
fix: update API URL to use v3 endpoint
shunkakinoki Jun 5, 2025
a30401b
Merge pull request #770 from 0xsequence/otp
ScreamingHawk Jun 5, 2025
dda002b
Fix session increment usage index
ScreamingHawk Jun 5, 2025
98cdab6
Add permission mask constants
ScreamingHawk Jun 5, 2025
0330074
update tee-verifier
patrislav Jun 6, 2025
3d7cc82
Add and update dev2
Agusx1211 Jun 6, 2025
56ffaa8
Merge pull request #791 from 0xsequence/permissions
ScreamingHawk Jun 9, 2025
aa22909
Merge branch 'master' of github.com:0xsequence/sequence.js into dev2
Agusx1211 Jun 9, 2025
8f47976
Fix run tests on anypay
Agusx1211 Jun 9, 2025
527e4eb
Merge pull request #789 from 0xsequence/dev2
Agusx1211 Jun 9, 2025
547b290
linting
bunnybones1 Jun 9, 2025
9429a2f
Add issued at to attestation
ScreamingHawk Jun 9, 2025
3b9ce55
Reduce deadline to uint64
ScreamingHawk Jun 9, 2025
bded387
Update sessionmanager address
ScreamingHawk Jun 9, 2025
168128e
Filter transaction.relayerOptions based on the chainId of the relayer
corbanbrook Jun 10, 2025
505e794
Merge pull request #793 from 0xsequence/attestation-issuance
ScreamingHawk Jun 10, 2025
2a61aea
readNonce: pass block tag
attente Jun 10, 2025
14b6bba
Fixing unbounded reference to mapRpcFeeOptionToFeeOption
corbanbrook Jun 10, 2025
8eeb357
export sequence relayer
attente Jun 11, 2025
6ede2f5
Prepend fee transaction
attente Jun 11, 2025
4e32fb9
Use Dev1
ScreamingHawk Jun 11, 2025
715c2c3
Seperate anypay build
ScreamingHawk Jun 11, 2025
7a9a5d0
Update emitter address
ScreamingHawk Jun 11, 2025
b4cfd80
Update Dev1 context
ScreamingHawk Jun 11, 2025
a5c8cd0
Remove unused import
ScreamingHawk Jun 11, 2025
91a93fb
Remove anypay (#794)
taylanpince Jun 12, 2025
b63a632
Update identity instrument gen (#795)
tolgahan-arikan Jun 12, 2025
dd08faf
Updating DefaultGuest address
corbanbrook Jun 12, 2025
1a92fb0
move and rename items contracts. They're token contracts with support…
bunnybones1 Jun 6, 2025
0287845
Merge pull request #790 from 0xsequence/token-abis
ScreamingHawk Jun 12, 2025
1d195b9
Add login email to manager wallet db (#796)
tolgahan-arikan Jun 13, 2025
9b97753
Adding opStatus: Relayer.OperationStatus to TransactionRelayed
corbanbrook Jun 13, 2025
1466c1c
rpc relayer: fix ophash
attente Jun 13, 2025
6a724ef
Adding getNetwork method to manager
corbanbrook Jun 13, 2025
6af9f91
Adding getNetworks method to manager
corbanbrook Jun 13, 2025
767b975
Don't block on relayer.status when relaying a transaction
corbanbrook Jun 13, 2025
d617629
Only clear pending config updates
ScreamingHawk Jun 16, 2025
79a04d2
Fix naming to prevent Windows issue
taylanpince Jun 18, 2025
3c7c736
initial guard v3 integration
patrislav Jun 19, 2025
06739ee
wdk: guard signing aux msg should be serialized typed data
patrislav Jun 19, 2025
77077c6
Do not pass refs on memory store
Agusx1211 Jun 19, 2025
6458f87
Save encrypted db key always as lowercase
Agusx1211 Jun 19, 2025
d92f815
mnemonic: case-insensitive address check
attente Jun 19, 2025
9d4d5d4
Filter device address correctly
Agusx1211 Jun 19, 2025
4a97c61
wdk: sessions.test.ts: case-insensitive address check
attente Jun 19, 2025
0ab4eb0
Temp fix local relayer
Agusx1211 Jun 19, 2025
30d7e8a
Merge branch 'master' of github.com:0xsequence/sequence.js
Agusx1211 Jun 19, 2025
2e43617
Eip6963 Support (#800)
corbanbrook Jun 19, 2025
c4baca4
Adding name and icon to relayer options
corbanbrook Jun 19, 2025
48c1617
Fix address selector mask
ScreamingHawk Jun 19, 2025
a6ce065
Add permission builder
ScreamingHawk Jun 19, 2025
fb95d0a
Add dynamic param support to PermissionHelper
ScreamingHawk Jun 23, 2025
e38e7f4
Add permission builders for ERC20/721/1155
ScreamingHawk Jun 23, 2025
015842a
Remove FIXME comment
ScreamingHawk Jun 23, 2025
22fd4a1
Correct limits on helpers
ScreamingHawk Jun 23, 2025
28c88cd
Limit permissions are cumulative
ScreamingHawk Jun 23, 2025
d1bb0e5
Use PermissionHelper in other tests
ScreamingHawk Jun 23, 2025
774de8b
Merge pull request #798 from 0xsequence/permissions
ScreamingHawk Jun 23, 2025
a159aa1
address review comments
patrislav Jun 24, 2025
34c9921
Add typed data test
ScreamingHawk Jun 24, 2025
f5ff64f
Merge pull request #801 from 0xsequence/typed-data
Agusx1211 Jun 25, 2025
7172205
fix build errors
patrislav Jun 25, 2025
7f63f43
Add exact calldata match permission generator
ScreamingHawk Jun 25, 2025
9e866aa
Remove anypay (keeps perconditions)
ScreamingHawk Jun 25, 2025
5f25a40
Merge pull request #803 from 0xsequence/remove-anypay
ScreamingHawk Jun 26, 2025
d3f3e5f
core: state: sequence provider
attente May 31, 2025
56ac794
core: state: debug multiplexer
attente Jun 10, 2025
9e7a038
core: state: sequence: point to remote service
attente Jun 26, 2025
a073367
Revert "core: state: sequence: point to remote service"
attente Jun 26, 2025
a2cccd5
core: state: sequence: point to remote service
attente Jun 26, 2025
99a9b5b
Merge pull request #802 from 0xsequence/permissions
ScreamingHawk Jun 26, 2025
d2400e0
Fixing unique ids of Eip6963 relayers and adding a relayer type property
corbanbrook Jul 2, 2025
205c315
Adding relayerType to RelayerOption
corbanbrook Jul 2, 2025
f526793
4337 support (#804)
Agusx1211 Jul 3, 2025
e39bb38
Require chain id for explicit sessions
ScreamingHawk Jul 3, 2025
2cfa36e
Fix PermissionBuilder for exactcalldata
ScreamingHawk Jul 3, 2025
f973f6b
always pass block tag for eth_call requests (#805)
attente Jul 4, 2025
4685913
Merge branch 'master' into permissions
ScreamingHawk Jul 6, 2025
6a9c75a
Merge pull request #806 from 0xsequence/permissions
ScreamingHawk Jul 7, 2025
84d88cd
update dev guard address
patrislav Jul 7, 2025
01a49e6
Merge branch 'master' into guard-v3
patrislav Jul 7, 2025
5a8145f
fix chainId issue when communicating with the guard
patrislav Jul 8, 2025
b771069
Add session manager leaf if missing (#809)
ScreamingHawk Jul 8, 2025
c431e53
Using Address.isEqual
corbanbrook Jul 14, 2025
e6df661
New manager api (#808)
Agusx1211 Jul 15, 2025
a8e0b04
Constants.ZeroAddress (#813)
corbanbrook Jul 15, 2025
f2726c5
Fix completeRedirect method to return target path instead of wallet a…
tolgahan-arikan Jul 16, 2025
2098b1a
Ensure getWallets returns wallet addresses as checksums and deduplpic…
corbanbrook Jul 16, 2025
9281fc7
Fix comment related to isSignUp flag (#816)
tolgahan-arikan Jul 17, 2025
abb85d3
Fixing getWitness address normalization bugs in Local state provider
corbanbrook Jul 17, 2025
7eecab8
Adding coverage reporting to wallet/wdk and wallet/core
corbanbrook Jul 17, 2025
5368682
added metadata for fee option token (#815)
VGabriel45 Jul 17, 2025
dfd5020
added listDevices
VGabriel45 Jul 18, 2025
a6351b3
added remote logout + tests
VGabriel45 Jul 18, 2025
3d3158f
Add modify explicit session
ScreamingHawk Jul 14, 2025
286bd28
Merge pull request #812 from 0xsequence/modifySession
ScreamingHawk Jul 21, 2025
db44d86
added test for modifyExplicitSession + refactor to reduce code duplic…
VGabriel45 Jul 21, 2025
3d47334
Adding test setup for wallet/primitives package
corbanbrook Jul 21, 2025
38fe856
remove viem from test
VGabriel45 Jul 21, 2025
6cf53e4
wallet/primitive tests for attestation config and utils
corbanbrook Jul 21, 2025
034922e
wallet/primitives tests for erc 6492, generic tree, and payload
corbanbrook Jul 21, 2025
f27c251
wallet/primitives tests for permission, precondition, session-config …
corbanbrook Jul 21, 2025
e2716a7
wallet/primitives tests for passkeys, recovery, session-signature and…
corbanbrook Jul 21, 2025
b912015
Merge pull request #819 from 0xsequence/feat/sessions_modifyExplicitS…
ScreamingHawk Jul 21, 2025
f1d38c3
Updating tests
corbanbrook Jul 21, 2025
4f41344
Merge pull request #817 from 0xsequence/feat/wdk-list-devices
Agusx1211 Jul 22, 2025
5c2b285
Fixing passkeys length === 32 bugs
corbanbrook Jul 22, 2025
53492d3
Merge pull request #818 from 0xsequence/feat/wdk-devices-remote-logout
Agusx1211 Jul 22, 2025
2761e82
Increase signature test coverage
corbanbrook Jul 22, 2025
24f6107
Fixing sapient encoding types
corbanbrook Jul 22, 2025
6c2c535
Feat/session dapp client (#820)
VGabriel45 Jul 23, 2025
7ee2a87
Update dapp-client exports (#822)
tolgahan-arikan Jul 24, 2025
f83c903
Fix export type (#823)
tolgahan-arikan Jul 24, 2025
c452cb1
added modifyExplicitPermission to dapp-client (#824)
VGabriel45 Jul 24, 2025
a694370
added type exports (#825)
VGabriel45 Jul 24, 2025
a3f5062
add missing type export ModifySessionPayload
VGabriel45 Jul 24, 2025
1c56a0c
Merge pull request #826 from 0xsequence/fix/add_missing_type_export
VGabriel45 Jul 24, 2025
5213920
Check related redirect data to get chain id to handle redirect, remov…
tolgahan-arikan Jul 24, 2025
bf19d7d
fix redirect mode for modify session & reject request (#828)
VGabriel45 Jul 25, 2025
9dac324
Core tests (#829)
corbanbrook Jul 29, 2025
b1fbd7f
Merge branch 'master' into guard-v3
patrislav Jul 30, 2025
5c6a5a2
Merge branch 'master' into guard-v3
Agusx1211 Jul 30, 2025
297a33b
remove witness signing with guard
patrislav Jul 30, 2025
fb825bf
remove unnecessary emit call for 'sessionsUpdated' in _loadStateFromS…
tolgahan-arikan Jul 30, 2025
7a8f637
Merge pull request #799 from 0xsequence/guard-v3
patrislav Jul 30, 2025
e90d5d2
Wdk tests (#831)
corbanbrook Jul 31, 2025
f1ed01a
refactor: update redirect handling and parameters in DappClient and C…
tolgahan-arikan Aug 1, 2025
0d12d6d
signer-tests (#833)
corbanbrook Aug 4, 2025
65ae29e
Update dapp-client package config to match other packages (#835)
tolgahan-arikan Aug 7, 2025
6093b3f
Fix/dapp client fee option (#836)
VGabriel45 Aug 11, 2025
66e808e
identity-instrument: use canonical JSON for request signing
patrislav Aug 5, 2025
ced36ca
identity-instrument: use updated KeyType names
patrislav Aug 7, 2025
3c23226
fix tests
patrislav Aug 7, 2025
c61bd61
Merge pull request #834 from 0xsequence/seq-id-46
patrislav Aug 11, 2025
83c0fd3
use identity instrument signer scoping
patrislav Aug 12, 2025
53612bb
Merge pull request #837 from 0xsequence/identity-instrument-scope
patrislav Aug 12, 2025
41ebd78
wdk: return Kinds.Guard only if the guard address is defined
patrislav Aug 12, 2025
81bdfab
Update networks list (#838)
ScreamingHawk Aug 13, 2025
8ce43e8
Fix wallet login type and email info regression (#839)
tolgahan-arikan Aug 13, 2025
68b78a3
Update Network chains
ScreamingHawk Aug 13, 2025
f2ca063
RPC in network obj
ScreamingHawk Aug 13, 2025
0fded44
Renaming BlockExplorer rootUrl to url
corbanbrook Aug 14, 2025
d90a7a0
use getLogoUrl function
corbanbrook Aug 14, 2025
dbf8c28
Rename logoURI to logoUrl
corbanbrook Aug 14, 2025
969d5d8
Adding typecheck script to wallet packages
corbanbrook Aug 14, 2025
f0eb45b
Renaming rpc to rpcUrl
corbanbrook Aug 14, 2025
b91006b
Removing NetworkType.LOCAL and HARDHAT Chains and Network configs
corbanbrook Aug 14, 2025
9a9bc8b
Rename nativeToken to nativeCurrency
corbanbrook Aug 14, 2025
ba3c106
Remove deprecated chains
ScreamingHawk Aug 14, 2025
86fe835
Merge pull request #840 from 0xsequence/networks
ScreamingHawk Aug 14, 2025
c1e11c8
Remove out of place log
Agusx1211 Aug 15, 2025
e4ea0c9
Migrate ChainId from bigint to number (#841)
corbanbrook Aug 19, 2025
7e15d64
wallet-primitives: recurse nested leaves (#843)
patrislav Aug 20, 2025
9f43f1e
Update dapp-client new session creation behavior (#844)
tolgahan-arikan Aug 20, 2025
ed51759
Fix typo in CreatePasskeyOptions
corbanbrook Aug 20, 2025
55da752
Adding readySigners to MnemonicHandler so that they can hold onto it …
corbanbrook Aug 20, 2025
7c278a3
Fixing mnemonic tests
corbanbrook Aug 20, 2025
44fe04b
Adding onStatusChange to signup for granular status reporting
corbanbrook Aug 22, 2025
fa725f3
dapp-client config changes for projectAccessKey, relayer and nodes ur…
tolgahan-arikan Aug 22, 2025
1197e03
Fix session manager param order
tolgahan-arikan Aug 22, 2025
e6c0f9b
Default to validating configuration updates
Agusx1211 Aug 22, 2025
f3eb429
Merge pull request #849 from 0xsequence/detect-ignored-update
Agusx1211 Aug 22, 2025
5aa1b08
core: sequence state provider: recover passkey signatures (#850)
attente Aug 24, 2025
d920b7e
Fix mnemonic and passkey loginType issue (#851)
tolgahan-arikan Aug 26, 2025
efb3354
Use guard for sessions (#845)
patrislav Aug 27, 2025
be4e216
Store credentials when creating a passkey so we can optimize the logi…
corbanbrook Aug 27, 2025
2200050
Add missing params for saveExplicitSession
tolgahan-arikan Aug 27, 2025
01cdf88
fix broken guard private key
patrislav Aug 27, 2025
effd037
Expose access to passkey credential list
corbanbrook Aug 27, 2025
54dcfb3
Dapp client direct txn request (#856)
tolgahan-arikan Aug 31, 2025
718f6e2
Update dapp-client exports (#858)
tolgahan-arikan Sep 1, 2025
b8ca546
Add hasPermission method to DappClient (#859)
tolgahan-arikan Sep 1, 2025
228bd3b
Save discovered passkey credentials upon login
corbanbrook Sep 2, 2025
b7435a1
Expose name property in PasskeySignupArgs
corbanbrook Sep 2, 2025
66fb9ad
Fix blacklist sort
Agusx1211 Sep 2, 2025
897150f
Add multi server script
Agusx1211 Sep 2, 2025
1b47188
Merge pull request #860 from 0xsequence/blacklist-fix
ScreamingHawk Sep 2, 2025
5d2ff88
relayer: /SimulateV3 (#857)
attente Sep 3, 2025
c6e130c
Add await for handleOpenDB scheduleExpiration
tolgahan-arikan Sep 3, 2025
1b974d9
Update increment to always include native once used
ScreamingHawk Sep 2, 2025
52badd8
Fix session tests
ScreamingHawk Sep 3, 2025
143304f
Merge pull request #862 from 0xsequence/explicit-value
Agusx1211 Sep 3, 2025
af81750
Adding lastLoginAt to PasskeyCredential
corbanbrook Sep 3, 2025
ef60024
LoginToPasskeyArgs now accept a credentialId which is used to specify…
corbanbrook Sep 4, 2025
4c938a6
Adding onSignatureRequestStatus function to register single use callb…
corbanbrook Sep 4, 2025
6a8a526
When a login is cancelled we can remove the wallet which is logging-in
corbanbrook Sep 4, 2025
1f1f02a
Add RC3 contracts
Agusx1211 Sep 5, 2025
a735843
Sessions space restriction
ScreamingHawk Sep 7, 2025
d59b9ad
Dedupe signers for encoding
ScreamingHawk Sep 7, 2025
03e7505
Support RC3 sessions
ScreamingHawk Sep 7, 2025
78051eb
Tightly increment call validation
ScreamingHawk Sep 7, 2025
9da60c6
CLI defaults to RC3 wallet code
ScreamingHawk Sep 7, 2025
afeba52
Rc3 address test
ScreamingHawk Sep 7, 2025
122994e
Fix hashing tests
ScreamingHawk Sep 7, 2025
5c23e1d
Add deprecated encoding test
ScreamingHawk Sep 7, 2025
b8268b5
Merge pull request #866 from 0xsequence/sessions-rc3
ScreamingHawk Sep 8, 2025
289a94d
wdk: throw errors from otp respond callback (#864)
patrislav Sep 9, 2025
1928b4f
Handle guard 2FA (#861)
patrislav Sep 11, 2025
328c9fc
Merge pull request #863 from 0xsequence/rc3
Agusx1211 Sep 11, 2025
eb747c8
Update relayer and api gen.ts, force public packages
taylanpince Sep 11, 2025
cd3e557
Add standalone fetch queued payloads
Agusx1211 Sep 11, 2025
bc25379
Merge pull request #870 from 0xsequence/fetch-queued-txs
Agusx1211 Sep 11, 2025
478f73e
Replacing GuardRole enum with string union type, as well as replacing…
corbanbrook Sep 11, 2025
b12cce8
Fallback to chain for non-logged in recovery
Agusx1211 Sep 12, 2025
7dc4fcf
Add Katana, Sandbox Tesnet, Incentiv Testnet v2 (#873)
taylanpince Sep 12, 2025
c416da6
Merge pull request #871 from 0xsequence/fix-recovery-signer
Agusx1211 Sep 12, 2025
0a99faf
Update a few remaining dev1 contract addresses to rc3 (#874)
patrislav Sep 12, 2025
b03c649
Remove unnecessary console.error where we already throw error
tolgahan-arikan Sep 15, 2025
7cc43b5
Improve DappClient hasPermission method
tolgahan-arikan Sep 15, 2025
97954de
Wallet db try checksum and lowercase
Agusx1211 Sep 16, 2025
35c2670
Merge pull request #876 from 0xsequence/normalize-wallet-db-get
Agusx1211 Sep 16, 2025
9707954
Update dapp client json utils to include Map reviver and replacer
tolgahan-arikan Sep 17, 2025
2e02a66
Bump next in the npm_and_yarn group across 1 directory
dependabot[bot] Sep 17, 2025
e8c516d
Update type name, update exports for dapp client
tolgahan-arikan Sep 17, 2025
c3c41b7
Expired explicit sessions can't sign
ScreamingHawk Sep 16, 2025
91d16e7
Improve session validity test
ScreamingHawk Sep 16, 2025
7dfa4f6
session isValid returns invalid reason
ScreamingHawk Sep 17, 2025
6d7c428
InvalidReason is typed
ScreamingHawk Sep 17, 2025
16474c1
Merge branch '0xsequence:master' into master
Dargon789 Sep 19, 2025
2b881ae
Merge pull request #877 from 0xsequence/deadline
ScreamingHawk Sep 21, 2025
039742e
Merge branch '0xsequence:master' into master
Dargon789 Sep 21, 2025
ceb95d4
Update issue templates
Dargon789 Sep 27, 2025
4a6ac5d
Vercel/react server components CVE vu qan1bu (#256)
Dargon789 Jan 31, 2026
64367c9
Potential fix for code scanning alert no. 83: Workflow does not conta…
Dargon789 Jan 31, 2026
785b063
Potential fix for code scanning alert no. 82: Workflow does not conta…
Dargon789 Jan 31, 2026
b44a924
Merge branch 'codesandbox' into v3
Dargon789 Jan 31, 2026
966d0ec
Update publish-dists.yml
Dargon789 Jan 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .changeset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ with multi-package repos, or single-package repos to help you version and publis
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference

version: 2.1
executors:
my-custom-executor:
docker:
- image: cimg/base:stable
auth:
# ensure you have first added these secrets
# visit app.circleci.com/settings/project/github/Dargon789/foundry/environment-variables
Comment thread
Dargon789 marked this conversation as resolved.
username: $DOCKER_HUB_USER
password: $DOCKER_HUB_PASSWORD
jobs:
web3-defi-game-project-:

executor: my-custom-executor
steps:
- checkout
- run: |
# echo Hello, World!
Comment thread
Dargon789 marked this conversation as resolved.

workflows:
my-custom-workflow:
jobs:
- web3-defi-game-project-
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

48 changes: 0 additions & 48 deletions .eslintrc.js

This file was deleted.

93 changes: 93 additions & 0 deletions .github/workflows/publish-dists.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Publish Dists for Packages

on:
workflow_dispatch:
push:
branches:
- master

jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/install-dependencies

- name: Build package
run: pnpm run build

- name: Prepare dist branch
run: |
PACKAGES=("services/guard" "services/identity-instrument" "services/relayer" "wallet/core" "wallet/primitives" "wallet/wdk" "wallet/dapp-client")

for PACKAGE in "${PACKAGES[@]}"; do
BRANCH="dists/$PACKAGE"
PKG_DIR="packages/$PACKAGE"

echo "📦 Publishing $PACKAGE to $BRANCH"

mkdir -p "/tmp/$PACKAGE"
cp -r "$PKG_DIR"/. "/tmp/$PACKAGE" || true

cd /tmp/$PACKAGE
git init
git checkout -b $BRANCH

git config user.name "github-actions"
git config user.email "actions@github.com"

echo "🔧 Rewriting workspace: deps in package.json..."
node -e '
const fs = require("fs");
const path = require("path");
const pkgPath = path.resolve("package.json");
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf8"));
const repo = "github:0xsequence/sequence.js";

const versions = {
"@0xsequence/guard": `${repo}#dists/services/guard`,
"@0xsequence/identity-instrument": `${repo}#dists/services/identity-instrument`,
"@0xsequence/relayer": `${repo}#dists/services/relayer`,
"@0xsequence/wallet-core": `${repo}#dists/wallet/core`,
"@0xsequence/wallet-primitives": `${repo}#dists/wallet/primitives`,
"@0xsequence/wallet-wdk": `${repo}#dists/wallet/wdk`,
};

const rewrite = (deps = {}) => {
for (const k in deps) {
if (deps[k].startsWith("workspace:")) {
const version = versions[k];

if (!version) {
console.warn(`No version found for ${k}, skipping...`);
continue;
}

deps[k] = version;
console.log(`→ ${k} → ${deps[k]}`);
}
}
};

['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'].forEach((field) => {
if (pkg[field]) {
rewrite(pkg[field]);
}
});
fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2));
'

git add .
git commit -m "Build: publish $PACKAGE dist"

git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git push -f origin HEAD:$BRANCH

cd -
done
51 changes: 33 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

node_modules/
cache/
build/
dist/
# Dependencies
node_modules
.pnp
.pnp.js

test_chain/
# Local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

*.js.map
PROD.env

.DS_Store
.vscode
.idea
*.iml
.cache
package-lock.json
# Testing
coverage
.rts2_cache*

# Turbo
.turbo

# Vercel
.vercel

# Build Outputs
.next/
out/
build
dist


# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

.nyc_output/
# Misc
.DS_Store
*.pem

# Husky
.husky/
26 changes: 0 additions & 26 deletions .nycrc

This file was deleted.

8 changes: 2 additions & 6 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"tabWidth": 2,
"useTabs": false,
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"printWidth": 130
"singleQuote": true
}
17 changes: 0 additions & 17 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
Copyright (c) 2017-present Horizon Blockchain Games Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


------------------------------------------------------------------------


Apache License
Version 2.0, January 2004
Expand Down
Loading
Loading