@lonca/core
Shared building blocks of the Lonca SDKs: errors, money, pagination, order status, retry, rate limiting and the HTTP transport.
Classes
Section titled “Classes”- AuthError
- LoncaError
- NetworkError
- NotFoundError
- RateLimitError
- ServerError
- TimeoutError
- TokenBucketRateLimiter
- ValidationError
Functions
Section titled “Functions”- addMoney
- composeSignal
- consoleLogger
- createRequester
- createStatusNormalizer
- isLoncaError
- isRetryableError
- isRetryableIdempotentOnly
- isSameCurrency
- isValidCurrencyCode
- money
- moneyFromMajor
- moneyToMajor
- normalizeIssueEntries
- paginate
- paginateOffset
- parseRetryAfter
- retry
- safeJson
- subMoney
Interfaces
Section titled “Interfaces”- BaseRequestOptions
- CursorPage
- CursorPaginationParams
- Logger
- LoncaErrorIssue
- LoncaErrorOptions
- MarketplaceCapabilities
- Money
- MutationResult
- NormalizedStatusResult
- OffsetPage
- OffsetPaginationParams
- RateLimiterOptions
- RequesterConfig
- RetryOptions
Type Aliases
Section titled “Type Aliases”Variables
Section titled “Variables”Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.