# @funkit/api-base

## 10.5.0

### Minor Changes

- 85ca13d: MoonPay guest checkout pays with Google Pay on Android.
- f874e72: Adds `MOONPAY_METHOD_IDS.creditCard`, so a host can place MoonPay's Credit Card row next to Debit Card in the payment method picker. `FormOfPaymentType` gains `CREDIT_CARD`.

### Patch Changes

- d9e94a2: AlchemyPay checkout sends the wallet its quote was priced for.
- e6d36b4: Use American spelling in comments, docs and test titles; no behavior change

## 10.4.0

### Minor Changes

- c421418: Forms-of-payment requests send the active checkout ID, so hosted MoonPay orders are attributed to the checkout that opened them.

### Patch Changes

- 77e23f1: Add the AlchemyPay `/fiat/next` request, behind no flow yet
- 351e0a9: Stripe buyers whose login email cannot sign in to Link, such as an Apple private relay address, can now enter their Link account email on /fiat/next

## 10.3.0

### Minor Changes

- 36310a3: Add the Venmo form of payment and the MoonPay hosted checkout opt-in to forms-of-payment requests.
- f2d66a8: Stripe on `/fiat/next` opens Apple Pay before the signup form only when the backend allows it for that buyer.

### Patch Changes

- 116e0f0: MoonPay hosted checkout lists the methods, names, icons and minimums that `/fops` returns, and hides a Swapped row for a method MoonPay also lists.

## 10.2.1

### Patch Changes

- 06d7667: Doc comments describe `payment_sheet_first` as a shipped client capability, not an experiment enrollment.
- 96c102e: Fiat checkout tells the backend which provider checkouts it can run, so the backend can route a buyer to them.
  
  Migration: `FiatRouteContext` now requires `clientCapabilities`. Pass the capabilities your checkout sends as `X-Fun-Client-Capabilities`, or `[]` if it sends none.
- 46d0aeb: Revert the Swapped cash withdrawal opening amount. The production backend rejects `baseCurrencyAmount` on the withdrawal rail until fun-xyz/fun-backend#5781 deploys.
- Updated dependencies [66c6d85]
  - @funkit/utils@5.1.2

## 10.2.0

### Minor Changes

- aba9f10: Add `getApiBaseUrl` and `setApiBaseUrl` so an app can point the SDK at another Fun API stage at runtime; a saved Fun login is never sent to another stage.

### Patch Changes

- df78da2: Kraken and Lighter keep V1 deposit until the `enable-rn-v2-deposit` gate opens for them.

## 10.1.0

### Minor Changes

- 97d76a1: Export the Entropy customer API key.
- 97d76a1: Fiat requests can set a deadline, so a request that never answers fails instead of waiting forever.

## 10.0.0

### Major Changes

- 01ff08f: Retire legacy checkout history and sponsored-transfer support, and deprecate legacy checkout creation ahead of its API sunset on 2026-12-21.
  
  Migration: `getCheckoutsByFunWalletAddress` and `getPaymasterDataForCheckoutSponsoredTransfer` are removed, and the Fun API endpoints behind them are being removed too. List checkouts with `getCheckoutsByUserId` or `getCheckoutsByRecipientAddress` instead of `getCheckoutsByFunWalletAddress`. Sponsored checkout transfers have no replacement; use `createDirectExecution` or `initializeCheckoutTokenTransferAddress`, which need no paymaster. `CheckoutTransferSponsorshipParams`, `CheckoutTransferSponsorshipApiParams` and `CheckoutTransferSponsorshipResponse` are removed with the helper. Move off `initializeCheckout` to `createDirectExecution` or `initializeCheckoutTokenTransferAddress` before 2026-12-21.

### Minor Changes

- a60f2c5: feat(fiat): send `X-Fun-Client-Capabilities` on every fiat request; connect-rn declares `payment_sheet_first` when a Stripe client is configured, so the server can enroll it in the Apple Pay first experiment

### Patch Changes

- 9e658ed: fix(api-base): accept 204 No Content responses instead of retrying them as failures
- 557b905: Type declarations are now generated by the TypeScript 7 compiler; some types are written differently but accept the same values.
- Updated dependencies [557b905]
  - @funkit/utils@5.1.1

## 9.1.2

### Patch Changes

- 5283b62: 401 and most 5xx errors now carry the API's structured error response, as 400, 402, 404 and 429 errors already do. 504 errors and user-operation failures are unchanged.
- ff472ba: Failed request logs now say whether the failure was a caller abort, a network error, a client error or a server error.

## 9.1.1

### Patch Changes

- 1e0e550: Preserve Stripe checkout refusal codes and avoid retrying HTTP 422 verification refusals.

## 9.1.0

### Minor Changes

- 81d1231: Add the Lighter Robinhood API key.

### Patch Changes

- f6273ef: A declined payment (HTTP 402) now fails without a retry, as a `PaymentRequired` error that keeps the decline reason.
- Updated dependencies [f6273ef]
  - @funkit/utils@5.1.0

## 9.0.1

### Patch Changes

- 8189df3: Support UPI, SPEI, Havale, Zalo and Viettel as Swapped payment methods

## 9.0.0

### Major Changes

- dabbef7: Remove the Ethereal and HyENA API key constants.
  
  Migration: if you imported `ETHEREAL_API_KEY` or `HYENA_API_KEY`, define the key string in your own code.

### Minor Changes

- 9fade05: Send the current checkout id with every fiat request so support can match client and server logs
- 66126c1: Send a rate-limited fiat step once and ask the buyer to wait for the time the backend names; any other 429 fails as before.

### Patch Changes

- 619c66f: Send the existing checkout ID when recording a direct execution.

## 8.7.0

### Minor Changes

- 08cdd7d: Log network failures at warn when the host page's fetch wrapper appends the hostname to the error, and export `isNetworkError`.

### Patch Changes

- 429dc32: Errors for unmapped HTTP statuses carry the status in `paramsUsed`.

## 8.6.0

### Minor Changes

- cb9de15: The fiat amount screen can price through Fun's routing table, off by default behind a feature gate.

## 8.5.3

### Patch Changes

- ea451cf: Log React Native network failures as warnings instead of errors.

## 8.5.2

### Patch Changes

- f285f3e: Requests aborted by a caller-supplied signal log at warn instead of error and stop retrying.
- 25bf89e: Redact the request body carried on a failed request's error in logs, matching the already-redacted `request.body`.
- 07b3391: Stop offering "Try again" on the fiat amount screen when no provider can serve the buyer, their identity or their limit.
- b647c9a: Request a fresh fiat quote after a KYC refusal that explicitly calls for requoting; preserve the existing outcome for permanent refusals. Show identity options only when verification or its provider failover cannot proceed. Preserve structured 404 response details so the client can distinguish an exhausted KYC route from a retryable quote failure.
- 8082cd5: Selected integrations open the V2 deposit flow without waiting on remote config
- Updated dependencies [f2ebb0c]
  - @funkit/utils@5.0.2

## 8.5.1

### Patch Changes

- bd9d5e8: Add the Axiom API key.
- Updated dependencies [48aae63]
  - @funkit/utils@5.0.1

## 8.5.0

### Minor Changes

- d4de552: Quote requests accept a Solana mint as the source token address.

## 8.4.0

### Minor Changes

- 3c85052: Support Coinbase as an exchange payment option served by Swapped Connect.
- cbfe8c1: Add Flip.gg and Giveaways customer API keys.
- c2c7331: Export the YeNo customer API key.

## 8.3.1

### Patch Changes

- Updated dependencies [76f165c]
- Updated dependencies [406609f]
  - @funkit/utils@5.0.0

## 8.3.0

### Minor Changes

- 7e4ed3f: Add support for an optional checkout identifier when initializing a token transfer address.

### Patch Changes

- bd149d1: Prefill and optionally lock Swapped deposit amounts and currencies.
- 72b7cc3: Preserve structured API refusals, show provider minimum deposits on fiat amount entry, use Pump branding for success states, and hide retry actions for terminal purchase failures.

## 8.2.0

### Minor Changes

- b948af2: `CheckoutQuoteRequestV2.userAddress` accepts a Solana address as well as an EVM one.

## 8.1.0

### Minor Changes

- f2d1fb9: Add optional `baseCurrencyAmount` to the fiat-to-crypto rail config to prefill the on-ramp amount.

### Patch Changes

- 0dd9bb6: Checkout quote requests no longer send the provider-aware routing flag unless a caller opts in.
- 19abab6: Add the JTX customer API key.

## 8.0.0

### Major Changes

- 005d0ca: Checkout and direct-execution recipient addresses are typed `FunAddress`, so a non-EVM chain can name its own recipient.
- 76848d7: Add support for provider-aware checkout quotes.
  
  Migration: `LightningQuoteResponse` no longer carries `kind: 'lightning'`. A
  Lightning quote is identified by `fromChainId` being Lightning's chain ID, so
  replace `quote.kind === 'lightning'` with a `fromChainId` check.
- 2dd0720: Remove the legacy checkout quote endpoint. `getCheckoutQuote`, `CheckoutQuoteParams` and `CheckoutApiQuoteParams` are gone — call `getCheckoutQuoteV2` instead, passing `toAmountBaseUnit` (a `bigint`) in place of `toTokenAmount` + `toTokenDecimals`, and `userAddress` in place of `userId`. `roundToNearestBottomTenth` is also removed; it existed only to build the legacy request.

### Minor Changes

- df228c4: Replace the unreleased fiat auth-token API with identity-assertion naming.

### Patch Changes

- 05a0fed: Load API endpoint overrides when running the development watcher.
- 641d2a1: Build tooling only — no consumer-facing change.

## 7.3.0

### Minor Changes

- b5d384e: Allow fiat requests to authenticate with partner-issued user auth tokens.
  
  Reclassifies every HTTP 401 from `sendRequest`, not just `/fiat/*`: a 401 was
  an `InternalFailureError` with `ErrorCode.UnknownServerError` and is now an
  `AccessDeniedError` with `ErrorCode.AuthenticationRequired`. Consumers matching
  on the old class or code for a 401 need to match the new one.

### Patch Changes

- d6629ee: feat: add variational support
- Updated dependencies [b5d384e]
  - @funkit/utils@4.0.3

## 7.2.1

### Patch Changes

- Updated dependencies [08eb810]
  - @funkit/utils@4.0.2

## 7.2.0

### Minor Changes

- 9abc673: feat: add fiat transition transport with per-request header support

### Patch Changes

- 2be999d: feat: registering polymtrade

## 7.1.2

### Patch Changes

- d0fb831: chore(api-base): add waterfowl api key

## 7.1.1

### Patch Changes

- 4b25619: fix: stop request bodies being corrupted on pages that define `BigInt.prototype.toJSON`
- b28ba34: Brace every `if`/`else`/loop body — formatting only, no behaviour change.
- Updated dependencies [4b25619]
- Updated dependencies [b28ba34]
  - @funkit/utils@4.0.1

## 7.1.0

### Minor Changes

- 3d95b7f: Risk assessment now screens on the transaction's chain: `getRiskAssessmentForAddress` accepts an optional `chainId`, and checkout and withdrawal screens send it.

### Patch Changes

- fade45e: Register Betmoar support

## 7.0.0

### Major Changes

- 195843e: chore(api-base): remove `getChainFromId` and `getChainFromName` along with the `/chain-info` endpoint they wrapped

### Minor Changes

- 8eb9f08: feat(api-base): add `getFunGeoIpAddress` to resolve the caller's IP, country, region, and city

## 6.0.0

### Major Changes

- d27111c: chore(api-base): remove deprecated `DirectExecutionType` enum members

  Removes two long-deprecated members from the `DirectExecutionType` enum:

  - `VERTEX_DEPOSIT_COLLATERAL_WITH_REFERRAL` — Vertex direct-execution flows have routed through `RELAY` since this value was deprecated.
  - `DRIFT` — Drift Solana deposit execution was deprecated as of Apr 6 and its integration code was already removed.

  Neither value is referenced anywhere in the codebase.

  **Migration:** These values should no longer be produced by the backend. If you were still referencing `DirectExecutionType.VERTEX_DEPOSIT_COLLATERAL_WITH_REFERRAL`, use `DirectExecutionType.RELAY` instead. There is no replacement for `DirectExecutionType.DRIFT` — the Drift integration has been removed.

### Patch Changes

- 16cc96f: chore(api-base): add Lastpack customer API key constant
- 4c446f9: Preserve ClientError through checkout quote endpoints

## 5.2.0

### Minor Changes

- a395c4c: chore: retire the `faster-notifications` flag now that it is fully rolled out

  The gate is treated as permanently on and every branch collapses to its enabled path:

  - `@funkit/api-base`: `getDirectExecutionsByUserId` always calls `/direct-execution/userId/{userId}/deposit-events`; the `isFasterNotificationsEnabled` field is removed from `GetDirectExecutionsByUserIdRequest`.
  - `@funkit/connect-core`: `RecentDepositsApiQueryParams` drops the `isFasterNotificationsEnabled` field.
  - `@funkit/connect`: deposit notifications always use the faster copy; removes the gate read and the dead Lighter/legacy notification branches.

### Patch Changes

- Updated dependencies [ce05191]
  - @funkit/utils@4.0.0

## 5.1.0

### Minor Changes

- 394a46c: Cap the Swapped withdrawal iframe input via a FOP `defaultMaxAmount` (EUR) derived from the user's source-token balance

## 5.0.0

### Major Changes

- 639d776: Remove the deprecated `/support` API service. The `POST /support/send-message` endpoint is being decommissioned on the API server, so all client references are removed.

  `@funkit/api-base` (breaking): the `sendSupportMessage` function and the `SendSupportMessageRequest` type are no longer exported. There is no replacement client — integrate with the support provider directly, or contact the Fun.xyz team for the supported path.

  `@funkit/connect`: the in-app checkout "Tell us more" report form (which posted to `/support`) has been removed. The "Get help" affordances in checkout-complete, the post-checkout history detail, and notifications now open the support contact link (`CONTACT_US_LINK`) in a new tab, consistent with the existing direct-execution help flow. No public exports changed.

### Minor Changes

- fc74160: Add `getXstocksAsset`, a client for frog's `GET /api/xstocks/assets/{symbol}` proxy that fetches xStocks asset metadata by symbol with an optional `network` filter. Exports the `XstocksAsset`, `XstocksAssetDeployment`, `XstocksStablecoin`, and `XstocksNetwork` types.

### Patch Changes

- 09452ce: Skip the live Chainalysis risk-assessment test, which flakes when the risk endpoint fails open.

## 4.5.1

### Patch Changes

- 9fef879: fix: stop paging on recovered browser fetch failures from connect-sdk

  - `@funkit/api-base`: `sendRequest` now logs native fetch `TypeError`s ("Failed to fetch", "Load failed", "NetworkError when attempting to fetch resource") at `warn` instead of `error`. These are recovered on the next request and should not page on-call. Aligns with the project logging-severity rule that `error` is reserved for unrecoverable failures.
  - `@funkit/connect`: `useFiatExchangeRates` now sets `staleTime: 30m` to match frog's `Cache-Control: max-age=1800`, eliminating redundant refetches across the multiple hooks that consume it (`SourceChange`, `WithdrawalMethodSelect`, `useMinDeposit`, `useTokenTransfer`).

- ccc9c1e: feat: add MALLARD customer API key
- 55b095b: chore(api-base): add nado api key
- Updated dependencies [651e2e8]
  - @funkit/utils@3.1.0

## 4.5.0

### Minor Changes

- 84050ab: feat: integrate btc lightning notifications

### Patch Changes

- feb855e: chore(api-base): add predict.fun api key

## 4.4.1

### Patch Changes

- 20ed7f5: Forward `lastKnownDepositTimeMs` to the Direct Execution create request (previously accepted by the type but dropped from the POST body).
- a4d5a9b: Reformat packages with oxfmt
- Updated dependencies [a4d5a9b]
  - @funkit/utils@3.0.2

## 4.4.0

### Minor Changes

- 1d38bb4: feat: add btc lightning quoting and invoice

## 4.3.0

### Minor Changes

- 8d525fb: Add `CONTRACT_CALL` direct execution type for direct on-chain contract interactions.
- 783d034: feat(api-base, connect): track Lighter Secure withdrawals as `direct_execution` rows.

  - `@funkit/api-base`: add `DirectExecutionType.EXTERNALLY_FULFILLED` for flows fulfilled outside Fun — backend persists the row but never polls for status.
  - `@funkit/connect`: Lighter Secure withdrawals now post a tracking-only DE row keyed off the L2 tx hash. Fire-and-forget — failures log at warn and never block the UI.

## 4.2.3

### Patch Changes

- d67a842: chore(api-base): register `AAVE_API_KEY` for the Aave deposit integration.

## 4.2.2

### Patch Changes

- 99062ff: chore(deps): bump vite to v8, vitest to 4.1.6, and storybook to v10
- Updated dependencies [99062ff]
  - @funkit/utils@3.0.1

## 4.2.1

### Patch Changes

- cae480a: aave theme implementation
- ad83ea0: chore: update api keys
- de42d91: Extend the `/fops` schema with a `CRYPTO_TO_CRYPTO` rail config so the
  existing FOPs endpoint can return Swapped Connect exchanges (Bybit, etc.)
  alongside fiat methods.
- 81e367b: Add Whop customer API key

## 4.2.1-next.0

### Patch Changes

- 2bf3417: chore: update api keys

## 4.2.0

### Minor Changes

- 82368fd: api-base: thread client `checkoutId` through POST /checkout
- 9684ac0: Add optional `usePermit?: boolean` to `CheckoutQuoteParams` for the
  `getCheckoutQuote` call. When set, the backend honors it as the explicit
  permit preference (Sign message vs Approve transaction) and forwards the
  value to the underlying Relay quote request — unless the legacy auto-gasless
  fallback applies for a no-gas user, in which case permit is forced regardless
  to keep the swap sponsorable.

  When omitted, behavior is unchanged from prior versions.

  Note: end-to-end functionality requires fun-api's `/checkout/quote` route to
  forward the new query-string field to funkit's `apps/frog` `/api/fee`.

- cb719cf: Add source-side authorization toggle ("Sign message" vs "Approve transaction") to the checkout confirmation screen for Wallet/direct-execution flows, behind the `enable-permit-toggle` Statsig gate.

## 4.1.2

### Patch Changes

- 2175863: Add Lighter Fast withdrawal via Relay with LVM wallet adapter and fix userId→accountIndex rename in Lighter configs.
- Updated dependencies [efabaf7]
- Updated dependencies [8b3d836]
  - @funkit/utils@3.0.0

## 4.1.2-next.0

### Patch Changes

- Updated dependencies [b6c10c3]
  - @funkit/utils@2.0.1-next.0

## 4.1.1

### Patch Changes

- 57d7f99: feat(api-base): add blocked property to /eoa

## 4.1.0

### Minor Changes

- 6511e31: feat(connect,api-base): implement faster UDA notifications

### Patch Changes

- 126046f: update bento api key
- 3605576: flip theme implemented

## 4.0.0

### Major Changes

- 514b734: Remove unused exports: stripe (getStripeBuyQuote, createStripeBuySession, getStripeBuySession), organization (getOrganizationIdByApiKey), faucet (getAssetFromFaucet) services from api-base; make isArc() private in utils

### Minor Changes

- 114cbaf: Add CRYPTO_FIAT rail config types and integrate /fops API for swapped withdrawal off-ramp

### Patch Changes

- Updated dependencies [514b734]
- Updated dependencies [6c5c1ba]
  - @funkit/utils@2.0.0

## 3.0.6

### Patch Changes

- 6024e2f: Remove Drift integration code and deprecate DRIFT DirectExecutionType enum value
- Updated dependencies [e02fa70]
- Updated dependencies [cd9d0c2]
  - @funkit/utils@1.2.8

## 3.0.5

### Patch Changes

- Updated dependencies [fec5e96]
  - @funkit/utils@1.2.7

## 3.0.4

### Patch Changes

- 0ddaf2e: feat: add fop min limit
- 156e238: chore: remove unused api and tests
- c7ac6cb: chore(connect): fix tsconfig
- 867e355: Remove deprecated Access, Group, User, and Operation endpoint functions (backend deprecation). Retain only UserOperation and ExecutionReceipt types from fw-operation.
- d9d62d1: Upgrade @bluvo/react and @bluvo/sdk-ts to 3.0.0-beta.1 and fix brokerage type forwarding
- Updated dependencies [6ba7d50]
- Updated dependencies [c7ac6cb]
  - @funkit/utils@1.2.6

## 3.0.3

### Patch Changes

- cc8cf8b: bump ts version
- Updated dependencies [cc8cf8b]
  - @funkit/utils@1.2.5

## 3.0.2

### Patch Changes

- 26aca0f: feat(api-base): setup supported assets endpoint

## 3.0.1

### Patch Changes

- 98167fb: feat(connect,api-base): preload single iframe vs iframe pool

## 3.0.0

### Major Changes

- 030b288: Make logger mandatory on BaseApiRequest and update all call sites

## 2.4.0

### Minor Changes

- ee5b133: feat(connect,api-base): pass recipientTargets to fops endpoint to support sol fallback asset

## 2.3.3

### Patch Changes

- cbc9fa4: chore: deprecate bankr
- Updated dependencies [9e93823]
  - @funkit/utils@1.2.4

## 2.3.2

### Patch Changes

- c47429b: Remove Hyperbeat customer integration

## 2.3.1

### Patch Changes

- b67b352: feat(connect): show FOP limits and add sorting logic
- ae1df7e: refactor: update cambria keys
- 4551e78: pass countryCode to fops endpoint
- 2eea062: bump dependencies version
- d211c37: fix(connect): format saved payment method names + icons
- Updated dependencies [2eea062]
  - @funkit/utils@1.2.3

## 2.3.0

### Minor Changes

- 1c71c8d: feat(connect): add bridgeOverride support via dynamic routing rules

### Patch Changes

- ac88b49: feat(connect,api-base): add saved form of payment
- Updated dependencies [4523c39]
  - @funkit/utils@1.2.2

## 2.2.0

### Minor Changes

- ba04b38: Add Global Compute customer and enable brokerage features by default

### Patch Changes

- b3589c1: embed theme params in the fops request for swapped
- 4fe1634: implement swapped iframe integration
- 5e289de: feat(connect,api-base): properly map fiatCurrencyCode in fops endpoint
- 45acbad: opinion theme implemented
- a6e1abd: feat(api-base): add fopType
- Updated dependencies [e1ef9a8]
- Updated dependencies [4fe1634]
  - @funkit/utils@1.2.1

## 2.2.0-next.0

### Minor Changes

- ba04b38: Add Global Compute customer and enable brokerage features by default

### Patch Changes

- b3589c1: embed theme params in the fops request for swapped
- 4fe1634: implement swapped iframe integration
- Updated dependencies [4fe1634]
  - @funkit/utils@1.2.1-next.0

## 2.1.3

### Patch Changes

- 0d3abef: feat(connect): send DirectExecutionType.ACROSS when quote has metadata.across.enabled
- Updated dependencies [0ba280c]
- Updated dependencies [a558f90]
- Updated dependencies [ddb5ea7]
- Updated dependencies [0566c14]
- Updated dependencies [c15dec4]
- Updated dependencies [df1274f]
  - @funkit/utils@1.2.0

## 2.1.2

### Patch Changes

- 4f6433f: fix: unit test for deprecated service
- 78f741f: chore: update ginza config
- Updated dependencies [b7886e5]
- Updated dependencies [5aa2e13]
  - @funkit/utils@1.1.25

## 2.1.2-next.2

### Patch Changes

- Updated dependencies [b7886e5]
  - @funkit/utils@1.1.25-next.0

## 2.1.2-next.1

### Patch Changes

- 4f6433f: fix: unit test for deprecated service

## 2.1.2-next.0

### Patch Changes

- 78f741f: chore: update ginza config

## 2.1.1

### Patch Changes

- 70fd67a: feat: add new customer
- 39a2171: chore(api-base): add LighterExecutionStatusResponse type to DirectExecution interface for execution method tracking
- Updated dependencies [3725dbf]
- Updated dependencies [ad7b142]
  - @funkit/utils@1.1.24

## 2.1.0

### Minor Changes

- 95ea941: remove katana chain support
- 95ea941: remove hardcoded logic

### Patch Changes

- Updated dependencies [9203321]
  - @funkit/utils@1.1.23

## 2.0.0

### Major Changes

- d0ccffb: feat: tron support

### Patch Changes

- 9d16c08: fix(connect): use onChainTxHash for explorer links in AA transactions

  For account abstraction transactions, `txHash` is a userOpHash (internal identifier) while `onChainTxHash` is the actual on-chain transaction hash visible on block explorers. Explorer links now prefer `onChainTxHash` with fallback to `txHash`.

- 9ee69b4: fix: exclude dist from tsconfig.json

## 1.12.23

### Patch Changes

- ea97213: Add EITGHTYEIGHTUPS customer configuration and API key support

## 1.12.22

### Patch Changes

- 7a6ca8c: feat(api-base): add tron address type to FunAddress
- 8a48f13: fix(api-base): encode userId in fetch calls to parse special characters - e.g. external userId and "|"
- 8b8d030: feat(connect,api-base): pass api key to bluvo requests to frog
- bb6bfce: chore: added new customers
- fd2812b: feat(api-base): update logger to use warn on client errors
- Updated dependencies [7312429]
- Updated dependencies [6d91583]
- Updated dependencies [0168375]
- Updated dependencies [c463492]
  - @funkit/utils@1.1.22

## 1.12.22-next.6

### Patch Changes

- bb6bfce: chore: added new customers

## 1.12.22-next.5

### Patch Changes

- 8a48f13: fix(api-base): encode userId in fetch calls to parse special characters - e.g. external userId and "|"
- fd2812b: feat(api-base): update logger to use warn on client errors

## 1.12.22-next.4

### Patch Changes

- 7a6ca8c: feat(api-base): add tron address type to FunAddress

## 1.12.22-next.3

### Patch Changes

- Updated dependencies [7312429]
- Updated dependencies [0168375]
  - @funkit/utils@1.1.22-next.2

## 1.12.22-next.2

### Patch Changes

- Updated dependencies [c463492]
  - @funkit/utils@1.1.22-next.1

## 1.12.22-next.1

### Patch Changes

- 8b8d030: feat(connect,api-base): pass api key to bluvo requests to frog

## 1.12.22-next.0

### Patch Changes

- Updated dependencies [6d91583]
  - @funkit/utils@1.1.22-next.0

## 1.12.21

### Patch Changes

- df73659: chore: bump versions
- Updated dependencies [df73659]
  - @funkit/utils@1.1.21

## 1.12.20

### Patch Changes

- 208bcd7: add tradefox client key

## 1.12.19

### Patch Changes

- 2e991bc: add ginza client
- Updated dependencies [fe140b2]
  - @funkit/utils@1.1.20

## 1.12.18

### Patch Changes

- 94069cc: feat(connect, utils, api-base): add support for subaccount index on recipient addr
- c69564c: fix(api-base): fix layerzeroExecutionStatusResponse type
- Updated dependencies [94069cc]
  - @funkit/utils@1.1.19

## 1.12.17

### Patch Changes

- b967fc0: chore(api-base): remove quoteV2 usePermit
- b5d2d2f: support external logged-in users for fiat account management
- Updated dependencies [b967fc0]
  - @funkit/utils@1.1.18

## 1.12.16

### Patch Changes

- cce196e: feat(connect,api-base): update bluvo packages

## 1.12.15

### Patch Changes

- cfe62b9: feat(api-base): update de type with lastKnownDepositTimeMs
- 2e88a52: feat: support swapped and kryptonim via meld
- 7e7867d: add hyperedge
- af1b322: feat(connect): add fallback for wallet asset logo
- a925603: chore(api-base): bump bluvo
- c76619e: Migrate from Lerna to Turborepo for improved build performance and developer experience. This change removes automatic builds during package installation (`prepare` scripts) and introduces intelligent caching. No changes to public APIs or package functionality.
- Updated dependencies [d8801d5]
- Updated dependencies [c76619e]
  - @funkit/utils@1.1.17

## 1.12.14

### Patch Changes

- 62ea9d1: fix: fix versioning issue
- Updated dependencies [62ea9d1]
  - @funkit/utils@1.1.16

## 1.12.13

### Patch Changes

- bc80304: add monad api key
- Updated dependencies [3672569]
  - @funkit/utils@1.1.15

## 1.12.12

### Patch Changes

- 9700307: feat: register additional lz types
- 3ba1625: chore(api-base): logging of last response received to grab HTTP code and other data
- 1e2a2fd: chore(api-base): deprecate quoteV2 usePermit
- 12b5b4d: chore(connect): regenerate quote if it's expired
  chore(api-base): add BluvoWithdrawalError class

## 1.12.11

### Patch Changes

- 3dda7fc: feat(connect, api, apps): avantis theme
- Updated dependencies [614c9e4]
- Updated dependencies [1e97461]
  - @funkit/utils@1.1.14

## 1.12.10

### Patch Changes

- a26c8c5: remove deprecated nft endpoints
- a13f742: feat(api-base): forward relay error codes from quoteV2

## 1.12.9

### Patch Changes

- 96408f4: feat(api-base): added endpoint handlers for `/bluvo` frog routes, re-exported bunch of types from `@bluvo/sdk`

## 1.12.8

### Patch Changes

- 4d52e42: fix: add fallback bridge bank account to prevent SEPA error
- Updated dependencies [613a8eb]
  - @funkit/utils@1.1.13

## 1.12.7

### Patch Changes

- 7127864: feat(connect, apps): hyena theme

## 1.12.6

### Patch Changes

- fd171fa: chore: change return type of add-transaction endpoint to unknown
- 725878d: feat(api-base): add new direct execution fields

## 1.12.5

### Patch Changes

- 3ad3b4e: remove kalshi

## 1.12.4

### Patch Changes

- 5bf6f5d: feat(api-base, connect): support for permit flow for Arbitrum USDC on Based
- Updated dependencies [68045a5]
  - @funkit/utils@1.1.12

## 1.12.3

### Patch Changes

- 0f8dfa7: Add Kalshi customer API key and integration support
- 1b5a3a4: chore: update solana address type
- bd1addb: feat: ventuals support
- Updated dependencies [fab554f]
  - @funkit/utils@1.1.11

## 1.12.3-next.1

### Patch Changes

- 1b5a3a4: chore: update solana address type

## 1.12.3-next.0

### Patch Changes

- 0f8dfa7: Add Kalshi customer API key and integration support
- bd1addb: feat: ventuals support

## 1.12.2

### Patch Changes

- 910178d: remove mesh apiendpoint
- Updated dependencies [1796835]
  - @funkit/utils@1.1.10

## 1.12.1

### Patch Changes

- Updated dependencies [f553f09]
  - @funkit/utils@1.1.9

## 1.12.0

### Minor Changes

- 31b3379: feat: bitcoin support

### Patch Changes

- 3460c16: fix of error logging to datadog

## 1.11.1

### Patch Changes

- 56e4def: feat: based config

## 1.11.0

### Minor Changes

- e2697ff: feat(api-base,connect): integrate moonpay into meld flow

### Patch Changes

- 750e9f9: feat(connect, apps, api): add Monkey Tilt configuration and theme customization
- 7c1dd8c: feat: add relay execution app fee types

## 1.10.0

### Minor Changes

- a0f30fd: feat: reduce default api retry to 2

### Patch Changes

- 116c346: feat: add hyperdash

## 1.9.16

### Patch Changes

- e9fefa3: Enable TypeScript declaration maps for improved development experience

  Adds declarationMap: true to tsconfig.json files across packages to generate declaration map files, which provide better IDE support for go-to-definition and debugging in TypeScript projects that consume these packages.

## 1.9.15

### Patch Changes

- 36e8c07: Add exchange rate and auto slippage

## 1.9.14

### Patch Changes

- 138df97: feat(connect): fully remove dydx

## 1.9.13

### Patch Changes

- d904cfe: feat(api-base): add POST /checkout/quoteV2 endpoint

## 1.9.12

### Patch Changes

- 31bf384: feat(api-base): update relay execution request fee data interface
- 9811dfe: feat(connect,api-base,frog): add Revolut as Meld service provider

## 1.9.11

### Patch Changes

- a7e8276: Remove obsolete EtherFi API key and integration components

  This removes all EtherFi-related code including API keys, theme components, customer functions, and UI customizations. The EtherFi integration was marked as obsolete and has been completely removed from the codebase.

  **Breaking Changes:**

  - Removed `ETHERFI_API_KEY` constant from `@funkit/api-base`
  - Removed `isEtherFiCustomer` function from `@funkit/connect`
  - Removed `EtherFiIcon` component from `@funkit/connect`
  - Removed EtherFi theme and configuration options
  - Cleaned up EtherFi-specific UI logic from checkout modals

## 1.9.10

### Patch Changes

- Updated dependencies [e2bbe8a]
  - @funkit/utils@1.1.8

## 1.9.9

### Patch Changes

- c4dd644: feat: add cambria and felix key
- Updated dependencies [27ceca3]
  - @funkit/utils@1.1.7

## 1.9.8

### Patch Changes

- f3aa50c: feat: add Hyperbeat theme
- e273041: feat: add Hyperswap theme
- Updated dependencies [dd97dc2]
  - @funkit/utils@1.1.6

## 1.9.7

### Patch Changes

- 4c208d4: chore(api-base): lint fix

## 1.9.6

### Patch Changes

- 7232b85: chore(connect): deprecate vertex related code
- Updated dependencies [48d11b9]
  - @funkit/utils@1.1.5

## 1.9.5

### Patch Changes

- d1133df: support withdrawal
- b223027: fix: add viem as peer dependency
- Updated dependencies [d1133df]
- Updated dependencies [19260d7]
  - @funkit/utils@1.1.4

## 1.9.5-next.2

### Patch Changes

- Updated dependencies [19260d7]
  - @funkit/utils@1.1.4-next.1

## 1.9.5-next.1

### Patch Changes

- b223027: fix: add viem as peer dependency

## 1.9.5-next.0

### Patch Changes

- d1133df: support withdrawal
- Updated dependencies [d1133df]
  - @funkit/utils@1.1.4-next.0

## 1.9.4

### Patch Changes

- Updated dependencies [adcf32d]
  - @funkit/utils@1.1.3

## 1.9.3

### Patch Changes

- df4fe59: update transaction

## 1.9.2

### Patch Changes

- 20f5175: tweak meld design
- Updated dependencies [20f5175]
  - @funkit/utils@1.1.2

## 1.9.1

### Patch Changes

- f30f269: refactor: move types used in clientMetadata to @funkit/utils, split into 3 different files checkoutApi.ts, checkoutFees.ts and clientMetadata.ts
- Updated dependencies [f30f269]
  - @funkit/utils@1.1.1

## 1.9.0

### Minor Changes

- b18e3e2: feat: add meld quote/widgets

### Patch Changes

- 6ea6b26: feat: frog fun-relay fee
- 48ab9be: feat: only fetch first five checkouts & direct executions for faster notification
- a273823: feat(api-base): add meld quote/widget endpoints
- Updated dependencies [b18e3e2]
  - @funkit/utils@1.1.0

## 1.8.4

### Patch Changes

- 8292deb: feat: fetching organization / client id
- cbea7ca: feat: update direct execution interface

## 1.8.3

### Patch Changes

- 3b43c3b: feat(connect, api-base): add Ethereal theme
- Updated dependencies [ac8d2b9]
  - @funkit/utils@1.0.14

## 1.8.2

### Patch Changes

- 9c07288: should show account holder name for sepa account
- 9c07288: fix eur bank account display
- 9c07288: feat: deprecate VERTEX_DEPOSIT_COLLATERAL_WITH_REFERRAL to use RELAY instead
- 7c51a35: improve virtual account experience
- 9c07288: feat(api-base): add getDirectExecutionsByUserId

## 1.8.1

### Patch Changes

- 9497221: chore: version bump
- Updated dependencies [9497221]
  - @funkit/utils@1.0.13

## 1.8.0

### Minor Changes

- e6ffacc: feat: add support for fiat

### Patch Changes

- Updated dependencies [cc56bc4]
  - @funkit/utils@1.0.12

## 1.7.2

### Patch Changes

- f94e768: refactor: add optional metadata field to CheckoutQuoteResponse
- 50c50b1: feat(api-base): add Mesh configure transfer endpoint
- 4169539: chore: reduce retries on chainalysis calls
- ef83a27: refactor: reorganize direct execution code, enable RELAY direct execution type

## 1.7.1

### Patch Changes

- 8567438: refactor: reorganize checkout state consts
- 96e5bd7: feat(api-base,apps): add Bankr theme
- 9f7c7c4: feat: add direct execution type
- Updated dependencies [5e940e8]
- Updated dependencies [b499231]
- Updated dependencies [3b53dab]
  - @funkit/utils@1.0.11

## 1.7.0

### Minor Changes

- c3f4863: deprecate expiration fields

## 1.6.1

### Patch Changes

- 66e518b: feat: streamline token compare util
- Updated dependencies [e146eee]
- Updated dependencies [66e518b]
- Updated dependencies [b0b435c]
  - @funkit/utils@1.0.10

## 1.6.0

### Minor Changes

- 8a056b6: feat: add solana qr code support

### Patch Changes

- 4d2277d: fix: remove unused refuel field

## 1.5.9

### Patch Changes

- 031e84e: chore: address lints
- 8dfcdee: feat: baseline ostium support
- d54ad6e: refactor: update CheckoutRefundState
- Updated dependencies [031e84e]
  - @funkit/utils@1.0.9

## 1.5.8

### Patch Changes

- e8bb9fd: feat: use jsonStringifyWithBigIntSanitization from @funkit/utils
- Updated dependencies [e8bb9fd]
  - @funkit/utils@1.0.8

## 1.5.7

### Patch Changes

- Updated dependencies [c2ee20f]
  - @funkit/utils@1.0.7

## 1.5.6

### Patch Changes

- 7e10a86: feat(api-base): expose logger field
- 46a35d3: feat(api-base): streamline baseapirequest / always expose signal

## 1.5.5

### Patch Changes

- 742dd0a: feat: save evaluatedActionsParams to clientMetadata

## 1.5.4

### Patch Changes

- Updated dependencies [533dc95]
- Updated dependencies [0f98d99]
- Updated dependencies [7b6dd3f]
  - @funkit/utils@1.0.6

## 1.5.3

### Patch Changes

- e6730e5: feat: improve 2FA flows in checkout verification

## 1.5.2

### Patch Changes

- Updated dependencies [0f74a0c]
  - @funkit/utils@1.0.5

## 1.5.1

### Patch Changes

- 1e4114a: refactor: deprecate getOpsOfGroup
- 1e4114a: refactor: migrate OperationApis
- 68a03ee: refactor: migrate UserApis
- 4ebe545: refactor: migrate InfoApis
- 4ebe545: refactor: reorganize getTokenInfo -> getTokenAddressBySymbolAndChainId
- Updated dependencies [125fd75]
- Updated dependencies [8032902]
  - @funkit/utils@1.0.4

## 1.5.0

### Minor Changes

- 68af67d: feat: add mesh information persistence support

### Patch Changes

- eb0f97b: refactor: migrate AccessControlApis, GroupApis, NftApis, PaymasterApis

## 1.4.2

### Patch Changes

- 04c91f2: chore: migrate custom error codes to utils package
- 0733732: refactor: deprecate old moonpay offramp, onramp, and currencies endpoints
- Updated dependencies [48754fa]
- Updated dependencies [04c91f2]
  - @funkit/utils@1.0.3

## 1.4.1

### Patch Changes

- df63829: fix: update tsconfig version

## 1.4.0

### Minor Changes

- 99198d5: feat: add assets/allow endpoint

### Patch Changes

- e43d84c: fix: make payment method meta optional

## 1.3.4

### Patch Changes

- 0680c49: feat(api-base, connect, fits): move clientMetadata typing to api-base and refactor related types

## 1.3.3

### Patch Changes

- 14dc95f: feat: expose sourceOfFund field in CheckoutHistoryItem
- fdcb791: feat: export RiskValues type

## 1.3.2

### Patch Changes

- 4a12008: refactor: add more refundState enums

## 1.3.1

### Patch Changes

- f6a1693: feat: support new emailConfirmationApprovalRequired mesh status

## 1.3.0

### Minor Changes

- 05e6eb8: feat: add qrcode transfer payment method

## 1.2.0

### Minor Changes

- 54b7db3: add fee breakdown API and refund state

## 1.1.2

### Patch Changes

- a90f273: chore: export type for mesh connect

## 1.1.1

### Patch Changes

- f77e6b1: fix: stringify and persist generateActionsParams to checkout record
- 3080712: Add getRiskAssessmentForAddress endpoint
- 298847e: feat: added ability for getCheckoutQuote to be aborted
- 479287a: refactor: better api error message handling

## 1.1.0

### Minor Changes

- 1836ec2: Removes unused turnkey endpoints

## 1.0.3

### Patch Changes

- 9e46890: feat: abort controller for asset calls

## 1.0.2

### Patch Changes

- 30bdef9: v3 updates
- 9ccdeb1: test: bump toTokenAmount
- af98f01: v3 updates
- e8e412d: fix: ensure salt is always hex

## 1.0.2-next.2

### Patch Changes

- v3 updates

## 1.0.2-next.1

### Patch Changes

- v3 updates

## 1.0.2-next.0

### Patch Changes

- 3889115: fix: ensure salt is always hex

## 1.0.1

### Patch Changes

- d7e5c7d: fix: circular dependencies

## 1.0.0

### Major Changes

- 4c467f2: feat: update minimum node version to v18, use native fetch

## 0.1.0-next.0

### Minor Changes

- 24dbc49: fix: Update minimum node version to v18, use native fetch

## 0.0.6

### Patch Changes

- f27a79c: feat: add stripe endpoints and tests

## 0.0.5

### Patch Changes

- 5f70055: refactor: update checkout/quote and checkout/update endpoints
- 5f70055: feat: add new endpoint getCheckoutsByUserId

## 0.0.4

### Patch Changes

- 3a65cb2: feat: new checkout state
- 10819e5: feat: deactivate checkout api

## 0.0.3

### Patch Changes

- ad4a3ce: chore: add unit tests for checkout utils

## 0.0.2

### Patch Changes

- bb74a26: tooling: better configurations, add README
