feat(finance): BTC basket flows, client scoping, and jewelry-box store

- Finance API: baskets, holdings, rebalances, deposits, bridge withdrawals, vault checks.
- Schemas: btc-basket; api-client finance types; workspace lockfile update.
- Vitest config for finance service; expanded tests.

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-07 22:59:32 -07:00
parent 923b703d97
commit 3f7cc0f854
18 changed files with 1825 additions and 494 deletions
+2 -3
View File
@@ -77,9 +77,9 @@ export function createSecurityTestData() {
export async function testAuthenticationBypass(
makeRequest: (headers?: Record<string, string>) => Promise<{ status: number }>
): Promise<boolean> {
const testCases = [
const testCases: Array<Record<string, string> | undefined> = [
// Missing token
{},
undefined,
// Invalid token
{ Authorization: 'Bearer invalid-token' },
// Expired token
@@ -226,4 +226,3 @@ export async function testCSRFProtection(
return true; // CSRF protection is working correctly
}