3.1.0
Minor Changes
- a7bc52d: Add optional feeConfig to createPaymentIntent request
3.0.1
Patch Changes
- 19375ab: bump dependencies
- Refactored main
gridpackage - 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→otpSentotp_id→otpIdcreated_at→createdAtexpires_at→expiresAtgrid_user_id→gridUserIdtime_lock→timeLockadmin_address→adminAddresstransaction_signers→transactionSignersspending_limit_signers→spendingLimitSignerstransaction_signature→transactionSignatureconfirmed_at→confirmedAtGridError.status_code→GridError.statusCode
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
- Response structure now includes
headersin success responses andlastResponsein errors - Error handling: Methods now throw errors instead of returning
{ success: false }objects - Removed
grid_user_idparameter 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