npm.io
1.21.1 • Published 4h ago

@dynamic-labs-sdk/client

Licence
Version
1.21.1
Deps
0
Vulns
0
Weekly
0

Dynamic Client SDK

Welcome to the Dynamic Client SDK - a powerful and flexible authentication solution for your applications.

Overview

The Dynamic Client SDK provides a seamless way to integrate authentication and user management into your application. With an easy-to-use API and robust feature set, you can quickly implement secure authentication flows while maintaining a great user experience.

The SDK is designed to be lightweight yet powerful, giving you the tools you need without unnecessary bloat.

Contributing

When contributing to this package, please follow the coding standards in CLAUDE.md at the repository root.

Critical Rules:

  • Index File Restrictions:
    • Allowed: src/exports/index.ts (main entry point)
    • Allowed: Single-token index files (directory X with X.ts exporting only X)
    • Forbidden: Multi-token aggregation index files
  • See CLAUDE.md for complete coding standards

Troubleshooting Initialization

If you are having issues with your client's initialization, try the following:

  1. Disable autoInitialize:
const client = createDynamicClient({ autoInitialize: false });
  1. Initialize the client manually and handle the error:
try {
  await initializeClient(client);
} catch (error) {
  console.log(error);
}