@yuno-payments/sdk-web-types 5.8.0 → 5.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/global.d.ts +12 -4
- package/dist/index.d.ts +12 -4
- package/package.json +1 -1
package/dist/global.d.ts
CHANGED
|
@@ -479,13 +479,21 @@ type InitializeOptions = {
|
|
|
479
479
|
* Whitelabel override for every Yuno-hosted runtime URL the SDK reads
|
|
480
480
|
* from its environment (REST, payment/enrollment WebSockets, 3DS
|
|
481
481
|
* challenge/setup/event-origin, the SDK web bundle base, the card form,
|
|
482
|
-
* and the secure-field iframes).
|
|
483
|
-
*
|
|
484
|
-
*
|
|
482
|
+
* and the secure-field iframes). The host (and ws↔wss scheme) of each
|
|
483
|
+
* URL is swapped to this value while the env URL's own path/query/hash
|
|
484
|
+
* is kept.
|
|
485
|
+
*
|
|
486
|
+
* A base path on this value is supported: when the override carries one
|
|
487
|
+
* (e.g. a proxy mounted at `https://host/orchestrator`), that prefix is
|
|
488
|
+
* prepended to every resource path so all traffic stays under the
|
|
489
|
+
* sub-path. The 3DS postMessage event origin is the sole exception — it
|
|
490
|
+
* stays scheme+host only. The merchant-side gateway must therefore route
|
|
491
|
+
* every Yuno path under this single host (and optional base path).
|
|
485
492
|
*
|
|
486
493
|
* If `assetUrl` is unset, this also drives the lazy-chunk public path.
|
|
487
494
|
*
|
|
488
495
|
* @example 'https://payments.merchant.example.com'
|
|
496
|
+
* @example 'https://payments.merchant.example.com/orchestrator'
|
|
489
497
|
*/
|
|
490
498
|
apiUrl?: string;
|
|
491
499
|
/**
|
|
@@ -929,7 +937,7 @@ type ExternalPaymentButtons = {
|
|
|
929
937
|
};
|
|
930
938
|
};
|
|
931
939
|
type LoadingType = "DOCUMENT" | "ONE_TIME_TOKEN";
|
|
932
|
-
type Language = "es" | "en" | "pt" | "de" | "fil" | "fr" | "id" | "it" | "ms" | "nl" | "pl" | "po" | "ru" | "sv" | "th" | "tr" | "vi" | "zh-CN" | "zh-TW";
|
|
940
|
+
type Language = "es" | "en" | "en-CA" | "en-GB" | "pt" | "ar" | "bn" | "de" | "el" | "fil" | "fr" | "he" | "iw" | "hi" | "id" | "it" | "ja" | "ko" | "ml" | "mn" | "ms" | "nl" | "pl" | "po" | "ro" | "ru" | "sk" | "sr" | "sv" | "th" | "tr" | "uk" | "ur" | "vi" | "zh-CN" | "zh-TW";
|
|
933
941
|
/**
|
|
934
942
|
* Represents the identification details for an external provider.
|
|
935
943
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -479,13 +479,21 @@ type InitializeOptions = {
|
|
|
479
479
|
* Whitelabel override for every Yuno-hosted runtime URL the SDK reads
|
|
480
480
|
* from its environment (REST, payment/enrollment WebSockets, 3DS
|
|
481
481
|
* challenge/setup/event-origin, the SDK web bundle base, the card form,
|
|
482
|
-
* and the secure-field iframes).
|
|
483
|
-
*
|
|
484
|
-
*
|
|
482
|
+
* and the secure-field iframes). The host (and ws↔wss scheme) of each
|
|
483
|
+
* URL is swapped to this value while the env URL's own path/query/hash
|
|
484
|
+
* is kept.
|
|
485
|
+
*
|
|
486
|
+
* A base path on this value is supported: when the override carries one
|
|
487
|
+
* (e.g. a proxy mounted at `https://host/orchestrator`), that prefix is
|
|
488
|
+
* prepended to every resource path so all traffic stays under the
|
|
489
|
+
* sub-path. The 3DS postMessage event origin is the sole exception — it
|
|
490
|
+
* stays scheme+host only. The merchant-side gateway must therefore route
|
|
491
|
+
* every Yuno path under this single host (and optional base path).
|
|
485
492
|
*
|
|
486
493
|
* If `assetUrl` is unset, this also drives the lazy-chunk public path.
|
|
487
494
|
*
|
|
488
495
|
* @example 'https://payments.merchant.example.com'
|
|
496
|
+
* @example 'https://payments.merchant.example.com/orchestrator'
|
|
489
497
|
*/
|
|
490
498
|
apiUrl?: string;
|
|
491
499
|
/**
|
|
@@ -929,7 +937,7 @@ type ExternalPaymentButtons = {
|
|
|
929
937
|
};
|
|
930
938
|
};
|
|
931
939
|
type LoadingType = "DOCUMENT" | "ONE_TIME_TOKEN";
|
|
932
|
-
type Language = "es" | "en" | "pt" | "de" | "fil" | "fr" | "id" | "it" | "ms" | "nl" | "pl" | "po" | "ru" | "sv" | "th" | "tr" | "vi" | "zh-CN" | "zh-TW";
|
|
940
|
+
type Language = "es" | "en" | "en-CA" | "en-GB" | "pt" | "ar" | "bn" | "de" | "el" | "fil" | "fr" | "he" | "iw" | "hi" | "id" | "it" | "ja" | "ko" | "ml" | "mn" | "ms" | "nl" | "pl" | "po" | "ro" | "ru" | "sk" | "sr" | "sv" | "th" | "tr" | "uk" | "ur" | "vi" | "zh-CN" | "zh-TW";
|
|
933
941
|
/**
|
|
934
942
|
* Represents the identification details for an external provider.
|
|
935
943
|
*
|