Skip to main content

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_sentotpSent
    • otp_idotpId
    • created_atcreatedAt
    • expires_atexpiresAt
    • grid_user_idgridUserId
    • time_locktimeLock
    • admin_addressadminAddress
    • transaction_signerstransactionSigners
    • spending_limit_signersspendingLimitSigners
    • transaction_signaturetransactionSignature
    • confirmed_atconfirmedAt
    • GridError.status_codeGridError.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