Bicrypto 6.1.3
9 January 2026
This release has upgrade notes. Read them before updating — they describe behaviour changes that need your attention.
Core v6.1.3
Release Date: January 9, 2026 Tags: TYPE SAFETY, DATABASE INTEGRITY, BUG FIXES, TYPESCRIPT, CRITICAL
Overview
Version 6.1.3 is a critical maintenance release that achieves 100% TypeScript type safety across both backend and frontend codebases. This release includes a major database schema fix for the Binary AI Engine tier system and resolves 3,040 TypeScript compilation errors that were preventing proper type checking and IntelliSense functionality.
Update Instructions
Step 1: Stop Your Application
pnpm stopStep 2: Clean Backend Type Definitions
The backend now uses an automated type generation system. Clean old manual type definitions:
cd backend
rm -rf types/models.tsThe types will be automatically regenerated during the build process.
Step 3: Update Dependencies (if needed)
pnpm installStep 4: Rebuild Backend
cd backend
pnpm buildThe build process will automatically generate fresh type definitions from the database models, detect whether those models have changed since the last build, and store the result so later builds can skip the work.
Step 5: Rebuild Frontend
cd frontend
pnpm buildStep 6: Restart Application
pnpm restartUpgrade Notes
No breaking changes. This release is fully backward compatible. All changes are internal type improvements and bug fixes.
What to check after updating
- Binary AI Engine: that the tier system loads, user tier assignments are correct, and tier-based win rate bonuses apply.
- Binary Trading: place a demo trade and confirm the wallet balance updates on win and loss, that Trading Analytics shows data afterwards, and that order processing now runs every minute.
- MLM / Affiliate: direct referral rewards are created once and not duplicated, the claim reward modal shows the real amount, F2/F3 multi-level rewards process, and the network diagram renders for DIRECT, BINARY and UNILEVEL. Test with a legacy user to confirm missing binary nodes are created automatically.
- KYC: the form on a mobile device (fields should stack vertically), and that a Level 1 user cannot open a Level 2 form directly.
- Finance Transfer: the currency search on the "Select Target Currency" step, including on mobile.
- Trading Bots: the dashboard loads, and bot creation, editing and the marketplace work.
- Data Tables: pagination, filtering, sorting and row actions.
- Error Boundaries: error handling in the FAQ and P2P sections, and that translated text displays correctly.
Support
- Visit our Support Center
- Review the Documentation
- Check TypeScript Best Practices
- Report issues on GitHub
Added
Automated model type generation
- Added automatic generation of type definitions from the database models during the build, so the types can no longer drift from the models they describe.
- Added change detection, so types are regenerated only when a model has actually changed and unchanged builds are not slowed down.
Changed
Strict type checking across the platform
- Changed both the backend and the frontend to compile cleanly under strict type checking — 2,890 and 150 errors respectively, now zero — so null and undefined access is caught at build time rather than surfacing as a runtime error in front of a customer.
Fixed
Binary AI Engine user tiers could not initialise
- Fixed a column name mismatch in the Binary AI Engine user tier table that caused database initialisation to fail with
Key column 'tierName' doesn't exist in table. The model definitions, the seed data and the tier APIs now agree on one name, and the unique index was recreated to match.
MLM / Affiliate system
- Fixed direct rewards not checking for an existing reward before creating one, which produced duplicates.
- Fixed the claim reward modal showing $0.00 instead of the actual reward amount.
- Fixed F2/F3 multi-level rewards not being processed correctly.
- Fixed the affiliate network tree diagram not rendering.
- Fixed legacy users having no binary node. A missing node is now created automatically when their referrals are listed.
- Fixed unilevel referrals being read from the node structure rather than from the referral records themselves, so referrals that had no node were missing from the list.
- Fixed the referral response not reporting which MLM system is in use, so the interface could not tell which layout to show.
KYC system
- Fixed the dynamic KYC form being cramped on mobile devices. Fields now stack vertically on small screens.
- Fixed a Level 1 user being able to open a Level 2 KYC application directly. The level is now validated on the server.
- Fixed higher KYC levels being reachable without their prerequisites, on both the read and submit paths.
Binary trading
- Fixed the wallet balance not updating when a trade won or lost.
- Fixed expired binary orders waiting up to an hour to be processed. They are now swept every minute.
- Added detailed logging of wallet credit operations to make future balance queries diagnosable.
Finance module
- Fixed the "Select Target Currency" step of the transfer page having no way to search a long currency list. It now has a search input that filters as you type, on every screen size including mobile.
Component and data-table props
- Fixed prop mismatches on the stats cards, hero sections and data tables that produced broken or missing elements on the trading bot pages, the Binary AI Engine admin, the sign-in and sign-up forms, the navigation headers, the FAQ and P2P error boundaries, the grid layout, the panel resizer, push notifications and the ecommerce checkout address step.