Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
320cd46
P-1525 React Native SDK
yosriady Jan 29, 2026
239fc7c
Fix TypeScript build errors
yosriady Jan 29, 2026
d2fe5aa
Fix cleanup race condition and reset session state
yosriady Jan 29, 2026
2760ad2
Fix race conditions and consent key collision
yosriady Jan 29, 2026
be619e2
Fix event deduplication and wagmi config tracking
yosriady Jan 29, 2026
610d344
Fix multiple bugs identified in code review
yosriady Jan 29, 2026
fbb0953
Fix multiple bugs from code review
yosriady Jan 29, 2026
29ee10e
Simplify consent key and document deduplication behavior
yosriady Jan 29, 2026
08b75a5
Improve security and fix chain tracking issues
yosriady Jan 29, 2026
235af1d
Fix recursive call in status change processing
yosriady Jan 29, 2026
721af74
Improve useFormo hook and cleanup error handling
yosriady Jan 29, 2026
389ea2b
Fix code review issues: options ref, flush mutex, cleanup leak
yosriady Jan 29, 2026
f4f90a7
Fix Date object corruption in toSnakeCase
yosriady Jan 30, 2026
ae27956
Add error handling for flush() in enqueue threshold check
yosriady Jan 30, 2026
b30eef2
Fix cleanup() to flush all queued events
yosriady Jan 30, 2026
27c6836
Fix storage fallback caching and chainId validation consistency
yosriady Jan 30, 2026
5e04c24
push
yosriady Jan 30, 2026
f783740
Add rdns to connect event from wagmi integration
yosriady Jan 30, 2026
abb689f
Add chainId validation to handleSignatureMutation
yosriady Jan 30, 2026
b3ea77f
Make chainId required for signature() method
yosriady Jan 30, 2026
8262340
fix build warnings
yosriady Feb 3, 2026
5c8c95c
Add enhanced mobile context properties and UTM tracking
yosriady Feb 3, 2026
21d8f4b
Use full SHA-256 hash for message_id to match web SDK format
yosriady Feb 4, 2026
151e8a3
Add unit tests
yosriady Feb 4, 2026
3ef6db7
Fix type interface, cleanup safety, and provider race condition
yosriady Feb 4, 2026
b5e3ea2
Add CI workflow for running tests and build
yosriady Feb 4, 2026
461249c
update lockfile
yosriady Feb 4, 2026
cd3668a
Fix CI workflow pnpm version conflict and duplicate runs
yosriady Feb 4, 2026
89bdafc
Fix CI workflow and TypeScript errors in tests
yosriady Feb 4, 2026
e8025f3
Add Expo Go compatibility for device info
yosriady Feb 4, 2026
bbb5088
Fix CI lockfile issue and add missing test mocks
yosriady Feb 4, 2026
786f73f
Use --no-frozen-lockfile in CI to handle package.json updates
yosriady Feb 4, 2026
a67ff3e
Fix Jest configuration and useFormo warning spam
yosriady Feb 4, 2026
2e5d788
Use --frozen-lockfile in CI for reproducible builds
yosriady Feb 4, 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
74 changes: 74 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: CI

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

# Cancel in-progress runs when a new commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run type check
run: pnpm run typecheck

- name: Run tests with coverage
run: pnpm run test:coverage
Copy link

Choose a reason for hiding this comment

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

CI runs tests twice causing redundant execution

Low Severity

The CI workflow runs tests twice sequentially: first with pnpm test (which executes jest) and then with pnpm run test:coverage (which executes jest --coverage). Since jest --coverage runs all tests while also collecting coverage, the first test run is redundant and doubles CI execution time unnecessarily. Only the coverage run is needed.

Fix in Cursor Fix in Web


- name: Upload coverage reports
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

build:
runs-on: ubuntu-latest
needs: test

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm run build

- name: Verify build output exists
run: |
test -d lib/commonjs || (echo "lib/commonjs not found" && exit 1)
test -d lib/module || (echo "lib/module not found" && exit 1)
test -d lib/typescript || (echo "lib/typescript not found" && exit 1)
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
node_modules

# Build output (top-level lib/ directory only, not src/lib/)
/lib/

# IDE
.idea/
.vscode/
*.swp
*.swo

# OS
.DS_Store
Thumbs.db

# Test coverage
coverage/

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment
.env
.env.local
.env.*.local
Loading