> ## Documentation Index
> Fetch the complete documentation index at: https://developers.squads.so/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript SDK Changelog

> Release history for @sqds/grid

## 3.1.0

### Minor Changes

* a7bc52d: Add optional feeConfig to createPaymentIntent request

## 3.0.1

### Patch Changes

* 19375ab: bump dependencies
* Refactored main `grid` package - Now uses @grid/crypto instead of inline crypto code, reducing duplication

## 3.0.0

### Major Changes

* adaa877: BREAKING: All public types now use camelCase naming

  Response and request fields have been renamed from snake\_case to camelCase for JavaScript/TypeScript consistency:

  * `otp_sent` → `otpSent`
  * `otp_id` → `otpId`
  * `created_at` → `createdAt`
  * `expires_at` → `expiresAt`
  * `grid_user_id` → `gridUserId`
  * `time_lock` → `timeLock`
  * `admin_address` → `adminAddress`
  * `transaction_signers` → `transactionSigners`
  * `spending_limit_signers` → `spendingLimitSigners`
  * `transaction_signature` → `transactionSignature`
  * `confirmed_at` → `confirmedAt`
  * `GridError.status_code` → `GridError.statusCode`

  Internal API communication still uses snake\_case; transformation happens automatically.

### Minor Changes

* af4728b: Added TradeSmart transaction support: - createTradeSmartTransaction() - getTradeSmartTransactionQuote() - prepareTradeSmartTransaction() - getTradeSmartTransaction()

### Patch Changes

* ef7a902: Pin and update dependencies
* adaa877: - Fixed passkey session storage handling during account creation
  * Exported AccountManager for direct access to account state
* 91b52af: Improve documentation and quickstart guides

## 2.0.0

### Major Changes

* c8d5fa1: Release stable 2.0.0 with monorepo structure:

  **Typescript SDK Features:**

  * Added event emitter system to AccountManager for real-time account state updates
  * Added passkey account creation flow: createPasskeySession, authorizePasskeySession, submitPasskeySession, findPasskeyAccount, createPasskeyAccount
  * Added automatic session refresh functionality with refreshSession method
  * Service layer architecture: AccountService, AuthService, BankingService, PasskeyService, SpendingLimitService, TransactionService, UtilityService

  **Breaking Changes:**

  * Response structure now includes `headers` in success responses and `lastResponse` in errors
  * Error handling: Methods now throw errors instead of returning `{ success: false }` objects
  * Removed `grid_user_id` parameter from all request methods

### Minor Changes

* c8d5fa1: Add passkey account creation methods: createPasskeySession, authorizePasskeySession, submitPasskeySession, findPasskeyAccount, createPasskeyAccount
* c8d5fa1: Add automatic session refresh functionality with refreshSession method
