Skip to content
Merged

Proto #198

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d20dd05
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
marino39 Oct 17, 2025
b920e59
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
marino39 Nov 18, 2025
d19f601
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
pkieltyka Nov 24, 2025
ac25c7f
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
marino39 Nov 25, 2025
03a67db
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
xiam Nov 25, 2025
afcffbd
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
marino39 Nov 27, 2025
a8c0df2
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
marino39 Nov 27, 2025
e9161c2
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
marino39 Dec 1, 2025
b43069d
Fix Docker Hub credentials comment in config.yml (#148)
Dargon789 Dec 26, 2025
a62e089
Add workflow to publish package distributions (#152)
Dargon789 Dec 26, 2025
9d789d3
Remove permissions from pnpm-format-label workflow (#151)
Dargon789 Dec 26, 2025
94bad6c
Bump happy-dom (#150)
dependabot[bot] Dec 26, 2025
d640003
Update Anvil fork URL for testing workflow (#154)
Dargon789 Dec 26, 2025
5de34d6
Merge branch '0xsequence:master' into proto
Dargon789 Dec 27, 2025
2c49090
Fix apple auth scope (#950)
tolgahan-arikan Jan 6, 2026
0b63113
3.0.0-beta.7
taylanpince Jan 6, 2026
15de255
Update apple auth scope (#951)
tolgahan-arikan Jan 6, 2026
e5e1a03
3.0.0-beta.8
taylanpince Jan 6, 2026
d62fe68
dapp-client: export TransportMessage and MessageType
corbanbrook Jan 7, 2026
557210c
Merge branch '0xsequence:master' into proto
Dargon789 Jan 7, 2026
3cd6da3
Merge branch '0xsequence:master' into snyk-fix-1a42f46a3694152c28f6d1…
Dargon789 Jan 9, 2026
b4e210e
Merge branch 'proto' into snyk-fix-1a42f46a3694152c28f6d1d4dc5aea44
Dargon789 Jan 9, 2026
980ba9c
Potential fix for code scanning alert no. 92: Insecure randomness
Dargon789 Jan 9, 2026
a03fd01
Potential fix for code scanning alert no. 94: Insecure randomness
Dargon789 Jan 9, 2026
dbed8f8
Potential fix for code scanning alert no. 93: Incomplete regular expr…
Dargon789 Jan 9, 2026
47ad7c2
Potential fix for code scanning alert no. 95: Information exposure th…
Dargon789 Jan 9, 2026
1716625
Merge pull request #196 from Dargon789/snyk-fix-1a42f46a3694152c28f6d…
Dargon789 Jan 9, 2026
0c989c2
Merge branch 'master' into proto
Dargon789 Jan 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions .github/workflows/Publish-Dists.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Publish Dists for Packages

permissions:
contents: write

on:
workflow_dispatch:
push:
branches:
- master

jobs:
build-and-push:
runs-on: ubuntu-latest

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
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
# Fork latest mainnet state
- name: Start Anvil in background
run: anvil --fork-url https://nodes.sequence.app/arbitrum &
run: anvil --fork-url https://reth-ethereum.ithaca.xyz/nodes.sequence.app/rpc &
- run: pnpm test

# NOTE: if you'd like to see example of how to run
Expand Down