-
Notifications
You must be signed in to change notification settings - Fork 0
[DEV-3183] Add conditions to KycFinancialData #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Kolibri1990
wants to merge
480
commits into
main
Choose a base branch
from
develop
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* [DEV-3384] extend BankAccount DTO * [NO-TASK] add onClick ability to StyledDataTableRow
Changes: - Add `?includeTx=true` parameter to sell receiveFor endpoint - Update confirmSell to return Transaction instead of void - Change confirmSell HTTP method from POST to PUT to match API
Changed confirmSwap return type from Promise<void> to Promise<Transaction> to match the actual API endpoint response type (TransactionDto). This fixes TypeScript compilation errors when using the confirmSwap hook with EIP-7702 delegation flow where transaction.id is accessed.
Convert native fetch errors (TypeError, network failures) into ApiError objects with statusCode 0 to enable uniform error handling across the application. The original error message is preserved for debugging.
Replace plain objects with Error subclass so that error handlers (webpack-dev-server overlay, browser console, logging tools) can properly display the error message instead of [object Object]. ApiException extends Error and implements ApiError, maintaining backward compatibility with existing error handling code. Changes: - Add ApiException class extending Error - Add Object.setPrototypeOf fix for ES5 compatibility - Wrap network errors in ApiException - Wrap API error responses in ApiException with fallback handling
- Add includeTx parameter to sell.hook.ts receiveFor (default: false) - Add includeTx parameter to swap.hook.ts receiveFor (default: false) - Only request depositTx when explicitly needed (e.g., when user clicks send button) - Prevents 'insufficient funds for intrinsic transaction cost' errors during quote requests This fixes the issue where the API would attempt to create a deposit transaction even when the user is just viewing a price quote, causing errors when the wallet has insufficient gas for transaction estimation.
Add optional fields for ERC-5792 wallet_sendCalls Paymaster integration: - usePaymaster: boolean flag to indicate gasless transaction via Paymaster - paymasterUrl: URL of the Paymaster service for ERC-7677 requests
- Remove Eip7702DelegationData, Eip7702SignedData, Eip7702Authorization - Add Eip5792Data, Eip5792Call interfaces for wallet_sendCalls - Update UnsignedTx to use eip5792 instead of eip7702 - Update ConfirmSellData/ConfirmSwapData to use txHash instead of eip7702 EIP-5792 wallet_sendCalls with paymasterService capability replaces the eth_sign-based EIP-7702 flow that was blocked by MetaMask.
…rs (#121) New error types to support KYC step redirection: - RECOMMENDATION_REQUIRED: user needs to complete RECOMMENDATION step - EMAIL_REQUIRED: user needs to complete CONTACT_DATA step
- Add bankRefund URL to TransactionUrl
- Add BankRefundData interface with creditor fields (name, address, etc.)
- Add setTransactionBankRefund() hook function for PUT /transaction/{id}/bank-refund
- Export BankRefundData and RefundBankDetails from index.ts
Enables frontend to submit creditor data (name, address, zip, city, country)
when customers request bank refunds for buy transactions.
Change from /transaction/:id/bank-refund to /transaction/:id/refund/bank to match the backend API endpoint.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.