@yuno-payments/sdk-web-types 5.8.1 → 5.8.3

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 CHANGED
@@ -937,7 +937,7 @@ type ExternalPaymentButtons = {
937
937
  };
938
938
  };
939
939
  type LoadingType = "DOCUMENT" | "ONE_TIME_TOKEN";
940
- 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";
941
941
  /**
942
942
  * Represents the identification details for an external provider.
943
943
  *
@@ -985,6 +985,15 @@ interface SdkPaymentsConfig {
985
985
  }) => void;
986
986
  /** @deprecated Since SDK v1.9.0. Use `paymentMethodSelected` instead. Kept for backwards compatibility; will be removed in a future major version. */
987
987
  yunoPaymentMethodSelected?: SdkPaymentsConfig["paymentMethodSelected"];
988
+ /**
989
+ * Reports whether every available payment method in the checkout session
990
+ * renders as an express button (Apple Pay, Google Pay, PayPal, PayPal
991
+ * enrollment, PayPal Braintree, Revolut Pay). Called with `true` when only
992
+ * express-button methods are available, `false` when at least one other
993
+ * method exists. Vaulted express methods render in the payment method list
994
+ * and count as non-express. Available since SDK v1.9.18.
995
+ */
996
+ onlyExpressPaymentMethods?: (onlyExpress: boolean) => void;
988
997
  paymentResult?: (status: Status, subStatus?: string) => void;
989
998
  /** @deprecated Since SDK v1.9.0. Use `paymentResult` instead. Kept for backwards compatibility; will be removed in a future major version. */
990
999
  yunoPaymentResult?: SdkPaymentsConfig["paymentResult"];
package/dist/index.d.ts CHANGED
@@ -937,7 +937,7 @@ type ExternalPaymentButtons = {
937
937
  };
938
938
  };
939
939
  type LoadingType = "DOCUMENT" | "ONE_TIME_TOKEN";
940
- 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";
941
941
  /**
942
942
  * Represents the identification details for an external provider.
943
943
  *
@@ -985,6 +985,15 @@ interface SdkPaymentsConfig {
985
985
  }) => void;
986
986
  /** @deprecated Since SDK v1.9.0. Use `paymentMethodSelected` instead. Kept for backwards compatibility; will be removed in a future major version. */
987
987
  yunoPaymentMethodSelected?: SdkPaymentsConfig["paymentMethodSelected"];
988
+ /**
989
+ * Reports whether every available payment method in the checkout session
990
+ * renders as an express button (Apple Pay, Google Pay, PayPal, PayPal
991
+ * enrollment, PayPal Braintree, Revolut Pay). Called with `true` when only
992
+ * express-button methods are available, `false` when at least one other
993
+ * method exists. Vaulted express methods render in the payment method list
994
+ * and count as non-express. Available since SDK v1.9.18.
995
+ */
996
+ onlyExpressPaymentMethods?: (onlyExpress: boolean) => void;
988
997
  paymentResult?: (status: Status, subStatus?: string) => void;
989
998
  /** @deprecated Since SDK v1.9.0. Use `paymentResult` instead. Kept for backwards compatibility; will be removed in a future major version. */
990
999
  yunoPaymentResult?: SdkPaymentsConfig["paymentResult"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/sdk-web-types",
3
- "version": "5.8.1",
3
+ "version": "5.8.3",
4
4
  "types": "dist/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {