Skip to content

Conversation

@Kolibri1990
Copy link
Contributor

No description provided.

lapatric and others added 30 commits January 8, 2025 10:22
* [DEV-3384] extend BankAccount DTO

* [NO-TASK] add onClick ability to StyledDataTableRow
 - @dfx.swiss/react@1.3.0-beta.112
 - @dfx.swiss/react-components@1.3.0-beta.112
 - @dfx.swiss/react@1.3.0-beta.113
 - @dfx.swiss/react-components@1.3.0-beta.113
 - @dfx.swiss/react@1.3.0-beta.114
 - @dfx.swiss/react-components@1.3.0-beta.114
 - @dfx.swiss/react@1.3.0-beta.115
 - @dfx.swiss/react-components@1.3.0-beta.115
 - @dfx.swiss/react@1.3.0-beta.116
 - @dfx.swiss/react-components@1.3.0-beta.116
 - @dfx.swiss/react@1.3.0-beta.117
 - @dfx.swiss/react-components@1.3.0-beta.117
 - @dfx.swiss/react@1.3.0-beta.118
 - @dfx.swiss/react-components@1.3.0-beta.118
 - @dfx.swiss/react@1.3.0-beta.119
 - @dfx.swiss/react-components@1.3.0-beta.119
 - @dfx.swiss/react@1.3.0-beta.120
 - @dfx.swiss/react-components@1.3.0-beta.120
 - @dfx.swiss/react@1.3.0-beta.121
 - @dfx.swiss/react-components@1.3.0-beta.121
 - @dfx.swiss/react@1.3.0-beta.122
 - @dfx.swiss/react-components@1.3.0-beta.122
 - @dfx.swiss/react@1.3.0-beta.123
 - @dfx.swiss/react-components@1.3.0-beta.123
 - @dfx.swiss/react@1.3.0-beta.124
 - @dfx.swiss/react-components@1.3.0-beta.124
 - @dfx.swiss/react@1.3.0-beta.125
 - @dfx.swiss/react-components@1.3.0-beta.125
DFX and others added 30 commits December 30, 2025 00:08
 - @dfx.swiss/react@1.3.0-beta.218
 - @dfx.swiss/react-components@1.3.0-beta.218
 - @dfx.swiss/react@1.3.0-beta.219
 - @dfx.swiss/react-components@1.3.0-beta.219
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
 - @dfx.swiss/react@1.3.0-beta.220
 - @dfx.swiss/react-components@1.3.0-beta.220
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.
 - @dfx.swiss/react@1.3.0-beta.221
 - @dfx.swiss/react-components@1.3.0-beta.221
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.
 - @dfx.swiss/react@1.3.0-beta.222
 - @dfx.swiss/react-components@1.3.0-beta.222
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
 - @dfx.swiss/react@1.3.0-beta.223
 - @dfx.swiss/react-components@1.3.0-beta.223
- 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.
 - @dfx.swiss/react@1.3.0-beta.224
 - @dfx.swiss/react-components@1.3.0-beta.224
 - @dfx.swiss/react@1.3.0-beta.225
 - @dfx.swiss/react-components@1.3.0-beta.225
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
 - @dfx.swiss/react@1.3.0-beta.226
 - @dfx.swiss/react-components@1.3.0-beta.226
- 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.
 - @dfx.swiss/react@1.3.0-beta.227
 - @dfx.swiss/react-components@1.3.0-beta.227
…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
 - @dfx.swiss/react@1.3.0-beta.228
 - @dfx.swiss/react-components@1.3.0-beta.228
- 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.
 - @dfx.swiss/react@1.3.0-beta.229
 - @dfx.swiss/react-components@1.3.0-beta.229
Change from /transaction/:id/bank-refund to /transaction/:id/refund/bank
to match the backend API endpoint.
 - @dfx.swiss/react@1.3.0-beta.230
 - @dfx.swiss/react-components@1.3.0-beta.230
 - @dfx.swiss/react@1.3.0-beta.231
 - @dfx.swiss/react-components@1.3.0-beta.231
 - @dfx.swiss/react@1.3.0-beta.232
 - @dfx.swiss/react-components@1.3.0-beta.232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants