Skip to main content
  • Release Date: March 2026
  • Status: Latest Version

What’s New in v1.6

This version introduces Subresource Integrity (SRI) support for enhanced security and Arabic language support for the checkout UI.

Subresource Integrity (SRI)

Enhanced security for script loading with cryptographic hashes.
  1. Security Compliance: Use the integrity attribute in your script tags to prevent unauthorized code injection.
  2. NPM Support: The @yuno-payments/sdk-web package now includes the loadScript method for SRI-compliant dynamic loading.

Arabic & RTL Support

Full support for Arabic language and Right-to-Left (RTL) layouts.
  1. Arabic UI: Users can now select Arabic (ar) as their preferred language.
  2. Automatic RTL: The SDK UI automatically adjusts to RTL layout when Arabic is selected.

Improvements

Enhanced performance and developer experience.
  1. Faster Initialization: Improved initialization performance for both Lite and Full SDKs.
  2. Detailed Error Messaging: Added more descriptive error codes for configuration issues.

Implementation

Upgrade to v1.6 by updating your script source or npm package.

Script Tag Update

Update your script source to point to v1.6:
<script 
  src="https://sdk-web.y.uno/v1.6/main.js"
  integrity="sha384-..."
  crossorigin="anonymous"
></script>

YunoConfig for Arabic

Initialize the SDK with Arabic support:
const yuno = await window.Yuno.initialize(publicApiKey);

await yuno.startCheckout({
  checkoutSession,
  elementSelector: '#root',
  countryCode: 'AE',
  language: 'ar',
});
Find the latest SRI hashes for each version in the yuno-sdk-web repository.