JavaScript SDK
The JavaScript SDK is a collection of functions that can be used to interact with the ComPilot APIs from any JavaScript or TypeScript application.
Installation
The JavaScript SDK can be installed with yarn
, npm
, or pnpm
.
- yarn
- npm
- pnpm
yarn add @compilot/js-sdk
npm install @compilot/js-sdk
pnpm add @compilot/js-sdk
Usage
For information about using the JavaScript SDK, see ComPilot SDKs
Modules
- actions/attachCustomerInformation
- actions/createWeb2Session
- actions/createWeb3Challenge
- actions/getCustomerStatusByCustomerId
- actions/getCustomerStatusByExternalCustomerId
- actions/getCustomerStatusByWallet
- actions/getCustomerWallets
- actions/getTxAuthDataSignature
- actions/validateWebhookEvent
- actions/verifyWeb3Challenge
- configuration
- configuration/createSdk
- errors
- errors/ApiKeyNotProvidedError
- errors/WebhookEventDataNotSupportedByThisSdkVersion
- errors/WebhookSecretNotProvidedError
- errors/WebhookSignatureInvalid
- utils
- utils/internal