@humanity-org/connect-sdk
In-depth SDK reference: TypeScript interfaces, query engine documentation, error handling, and advanced usage patterns for the Humanity Connect SDK.
1. About humanity-org/connect-sdk
2. Common SDK use cases
3. How to install
npm install @humanity-org/connect-sdk
# or
yarn add @humanity-org/connect-sdk
# or
pnpm add @humanity-org/connect-sdkimport { HumanitySDK } from '@humanity-org/connect-sdk';4. Initialization & configuration
Option
Required
Description
Full Interface
Example: Local or serverless project
Developer guidance
5. OAuth helpers
TokenResult raw interface
TokenResult interface description
Property
Type
Description
Token revocation
6. Preset verification
PresetBatchResult Interface
Query Engine
Developer notes
7. Using the generated client directly
8. Error handling
HumanitySDKError Interface description
Error Class
Description
9. Before You Ship to Production
Last updated