Installation
npm install @scalekit-sdk/node v2.1.9 TypeScript ESM Ready
Updated 1 day ago
npm install @scalekit-sdk/nodeimport { ScalekitClient } from '@scalekit-sdk/node';
const scalekit = new ScalekitClient( process.env.SCALEKIT_ENVIRONMENT_URL, process.env.SCALEKIT_CLIENT_ID, process.env.SCALEKIT_CLIENT_SECRET);
export default scalekit;Added optional type filtering to listDomains() method. Filter domains by ALLOWED_EMAIL_DOMAIN or ORGANIZATION_DOMAIN type.
API:
// List all domains (no filter)
await client.domain.listDomains('org_123456');
// Filter by type
await client.domain.listDomains('org_123456', {
domainType: DomainType.ALLOWED_EMAIL_DOMAIN // or 'ORGANIZATION_DOMAIN'
});Highlights:
Added:
listDomains()resolveDomainType() helper methodImproved:
No migration needed - existing code works unchanged. The domainType parameter is optional.
Documentation: Domain API Docs
Full Changelog: v2.1.8...v2.1.9
Full Changelog: v2.1.7...v2.1.8
Full Changelog: v2.1.6...v2.1.7
*Generate proto files to support given_name and family_name in user object in #126
Full Changelog: v2.1.5...v2.1.6
Full Changelog: v2.1.0...v2.1.1
Full Changelog: v2.0.1...v2.1.0
Full Changelog: v2.0.0...v2.0.1