Skip to content

Node.js SDK

Installation

npm install @scalekit-sdk/node
v2.1.7 TypeScript ESM Ready
Updated 4 days ago
Initialize the client
import { 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;

v2.1.7

What's Changed

  • Add upsertUserManagementSettings method to OrganizationClient in #128

Full Changelog: v2.1.6...v2.1.7

v2.1.6

What's Changed

*Generate proto files to support given_name and family_name in user object in #126

Full Changelog: v2.1.5...v2.1.6

v2.1.5

What's Changed

  • add verifyInterceptorPayload method in #119

Full Changelog: v2.1.4...v2.1.5

v2.1.4

What's Changed

  • Add session management sdk methods #111

Full Changelog: v2.1.3...v2.1.4

v2.1.3

Enchancements

  • Add getDomain and deleteDomain methods to DomainClient by @dhaneshbs in #108
  • Add role and permission management sdk methods

v2.1.1

What's Changed

  • Add domainType option to createDomain method and updated proto files by @dhaneshbs in #107

Full Changelog: v2.1.0...v2.1.1

v2.1.0

What's Changed

  • Update Error Handling for Node SDK by @dhaneshbs in #105
  • Rename sendActivationEmail to sendInvitationEmail and add resendInvite sdk method by @dhaneshbs in #106

Full Changelog: v2.0.1...v2.1.0

v2.0.1

What's Changed

  • Implemented issuer, audience, and scope validation in tokens by @dhaneshbs in #103

Full Changelog: v2.0.0...v2.0.1

v2.0.0

What's Changed

  • Implemented user CRUD methods and refresh token handling in SDK by @dhaneshbs in #96

Full Changelog: v1.0.13...v2.0.0