@truly-you/trulyyou-web-sdk
v0.1.24
Published
TrulyYou Web SDK for secure authentication and payload signing
Downloads
99
Maintainers
Readme
TrulyYou Web SDK
Web SDK for secure authentication and payload signing with TrulyYou.
Installation
Via NPM
npm install @truly-you/trulyyou-web-sdkimport { TrulyYouSDK } from '@truly-you/trulyyou-web-sdk';
const sdk = new TrulyYouSDK({
apiUrl: 'YOUR_API_URL',
// ... other config
});Via CDN (unpkg)
<script src="https://unpkg.com/@truly-you/trulyyou-web-sdk@latest/dist/index.umd.js"></script>
<script>
const sdk = new TrulyYouSDK.TrulyYouSDK({
apiUrl: 'YOUR_API_URL',
// ... other config
});
</script>Or specify a specific version:
<script src="https://unpkg.com/@truly-you/[email protected]/dist/index.umd.js"></script>Usage
Once initialized, you can use the SDK for authentication and payload signing:
// Initialize SDK
const sdk = new TrulyYouSDK({
apiUrl: 'https://your-api-url.com'
});
// Use SDK methods
// ... (add specific method examples based on your SDK implementation)License
MIT
