@paydock/client-sdk 1.104.6-beta → 1.104.9-beta

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.
Files changed (41) hide show
  1. package/README.md +58 -59
  2. package/bundles/index.cjs +71 -44
  3. package/bundles/index.cjs.d.ts +12 -12
  4. package/bundles/index.cjs.map +1 -1
  5. package/bundles/index.mjs +71 -44
  6. package/bundles/index.mjs.d.ts +12 -12
  7. package/bundles/index.mjs.map +1 -1
  8. package/bundles/types/api/api-service-internal.d.ts +1 -1
  9. package/bundles/types/api/api-service-internal.d.ts.map +1 -1
  10. package/bundles/types/components/wallet-background.d.ts +2 -1
  11. package/bundles/types/components/wallet-background.d.ts.map +1 -1
  12. package/bundles/types/helper/element-id.d.ts +5 -0
  13. package/bundles/types/helper/element-id.d.ts.map +1 -0
  14. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +31 -0
  15. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -0
  16. package/bundles/types/secure-remote-commerce/index.d.ts +4 -4
  17. package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -1
  18. package/bundles/types/secure-remote-commerce/interfaces.d.ts +4 -4
  19. package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -1
  20. package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts +1 -1
  21. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts +4 -4
  22. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -1
  23. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts +3 -3
  24. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +1 -1
  25. package/bundles/types/wallet-buttons/flypay-v2.wallet-service.d.ts +1 -1
  26. package/bundles/types/wallet-buttons/flypay-v2.wallet-service.d.ts.map +1 -1
  27. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts +5 -3
  28. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts.map +1 -1
  29. package/bundles/widget.umd.js +71 -44
  30. package/bundles/widget.umd.js.d.ts +12 -12
  31. package/bundles/widget.umd.js.map +1 -1
  32. package/bundles/widget.umd.js.min.d.ts +12 -12
  33. package/bundles/widget.umd.min.js +1 -1
  34. package/bundles/widget.umd.min.js.map +1 -1
  35. package/docs/{secure-remote-commerce-examples.md → click-to-pay-examples.md} +18 -19
  36. package/docs/{secure-remote-commerce.md → click-to-pay.md} +40 -40
  37. package/docs/html/layout.html +3 -3
  38. package/package.json +45 -45
  39. package/slate.md +18 -19
  40. package/bundles/types/secure-remote-commerce/mastercard-secure-remote-commerce.d.ts +0 -31
  41. package/bundles/types/secure-remote-commerce/mastercard-secure-remote-commerce.d.ts.map +0 -1
@@ -1676,7 +1676,7 @@ interface Customer {
1676
1676
  first_name?: string;
1677
1677
  last_name?: string;
1678
1678
  }
1679
- interface IMastercardSRCMeta extends IBaseSRCMeta {
1679
+ interface IClickToPayMeta extends IBaseSRCMeta {
1680
1680
  dpa_data?: IBaseSRCMeta['dpa_data'] & {
1681
1681
  dpa_address?: string;
1682
1682
  dpa_email_address?: string;
@@ -1845,7 +1845,7 @@ declare abstract class SRC {
1845
1845
  protected iframe_selector: string;
1846
1846
  protected service_id: string;
1847
1847
  protected public_key_or_access_token: string;
1848
- protected meta: IMastercardSRCMeta;
1848
+ protected meta: IClickToPayMeta;
1849
1849
  protected eventEmitter: EventEmitter;
1850
1850
  protected env: string;
1851
1851
  protected alias?: string;
@@ -1853,7 +1853,7 @@ declare abstract class SRC {
1853
1853
  protected provider: SRCProvider;
1854
1854
  protected autoResize: boolean;
1855
1855
  protected style: IStyles;
1856
- constructor(iframe_selector: string, service_id: string, public_key_or_access_token: string, meta: IMastercardSRCMeta);
1856
+ constructor(iframe_selector: string, service_id: string, public_key_or_access_token: string, meta: IClickToPayMeta);
1857
1857
  /**
1858
1858
  * Object contain styles for widget - call before `.load()`.
1859
1859
  *
@@ -1923,28 +1923,28 @@ declare abstract class SRC {
1923
1923
  }
1924
1924
 
1925
1925
  /**
1926
- * Class MastercardSRCClickToPay include methods for interacting with the MastercardSRC checkout and Manual Card option
1926
+ * Class ClickToPay include methods for interacting with the ClickToPay checkout and Manual Card option
1927
1927
  *
1928
1928
  * @extends SRC
1929
1929
  *
1930
1930
  * @constructor
1931
1931
  *
1932
- * @param {string} iframe_selector - Selector of html element. Container for SRC checkout iFrame.
1932
+ * @param {string} iframe_selector - Selector of html element. Container for Click To Pay checkout iFrame.
1933
1933
  * @param {string} service_id - Card Scheme Service ID
1934
1934
  * @param {string} public_key_or_access_token - Paydock public key or Access Token
1935
- * @param {IMastercardSRCMeta} meta - Data that configures the SRC checkout
1935
+ * @param {IClickToPayMeta} meta - Data that configures the Click To Pay checkout
1936
1936
  * @example
1937
- * var mastercardSRC = new MastercardSRCClickToPay('#checkoutIframe', 'service_id', 'public_key', {});
1937
+ * var mastercardSRC = new ClickToPay('#checkoutIframe', 'service_id', 'public_key', {});
1938
1938
  *
1939
1939
  */
1940
- declare class MastercardSRCClickToPay extends SRC {
1940
+ declare class ClickToPay extends SRC {
1941
1941
  protected iframe_selector: string;
1942
1942
  protected service_id: string;
1943
1943
  protected public_key_or_access_token: string;
1944
- protected meta: IMastercardSRCMeta;
1945
- /** @constructs */ constructor(iframe_selector: string, service_id: string, public_key_or_access_token: string, meta: IMastercardSRCMeta);
1944
+ protected meta: IClickToPayMeta;
1945
+ /** @constructs */ constructor(iframe_selector: string, service_id: string, public_key_or_access_token: string, meta: IClickToPayMeta);
1946
1946
  /**
1947
- * The final method after configuring the SRC to start the load process of SRC checkout
1947
+ * The final method after configuring the SRC to start the load process of Click To Pay checkout
1948
1948
  *
1949
1949
  */
1950
1950
  load(): void;
@@ -3203,4 +3203,4 @@ declare class HtmlWidget extends HtmlMultiWidget {
3203
3203
  setGiftCardScheme(giftCardScheme: any, processingNetwork: any): void;
3204
3204
  }
3205
3205
 
3206
- export { AfterpayCheckoutButton, Api, CHECKOUT_BUTTON_EVENT, Canvas3ds, Configuration, ELEMENT, EVENT, Builder$1 as ExternalCheckoutBuilder, Checker as ExternalCheckoutChecker, FORM_FIELD, HtmlMultiWidget, HtmlPaymentSourceWidget, HtmlWidget, type ICheckout, type IDetails, type IElementStyleInput, type IEventCheckoutFinishData, type IPayPalMeta, type IStyles$1 as IStyles, type ITexts, MastercardSRCClickToPay, MultiWidget, PAYMENT_TYPE, PURPOSE, Builder as PaymentSourceBuilder, PaymentSourceWidget, PaypalCheckoutButton, STYLABLE_ELEMENT, STYLABLE_ELEMENT_STATE, STYLE, SUPPORTED_CARD_TYPES, TEXT, TRIGGER, TYPE, VAULT_DISPLAY_STYLE, type VaultDisplayStyle, VaultDisplayWidget, WalletButtons, ZipmoneyCheckoutButton };
3206
+ export { AfterpayCheckoutButton, Api, CHECKOUT_BUTTON_EVENT, Canvas3ds, ClickToPay, Configuration, ELEMENT, EVENT, Builder$1 as ExternalCheckoutBuilder, Checker as ExternalCheckoutChecker, FORM_FIELD, HtmlMultiWidget, HtmlPaymentSourceWidget, HtmlWidget, type ICheckout, type IDetails, type IElementStyleInput, type IEventCheckoutFinishData, type IPayPalMeta, type IStyles$1 as IStyles, type ITexts, MultiWidget, PAYMENT_TYPE, PURPOSE, Builder as PaymentSourceBuilder, PaymentSourceWidget, PaypalCheckoutButton, STYLABLE_ELEMENT, STYLABLE_ELEMENT_STATE, STYLE, SUPPORTED_CARD_TYPES, TEXT, TRIGGER, TYPE, VAULT_DISPLAY_STYLE, type VaultDisplayStyle, VaultDisplayWidget, WalletButtons, ZipmoneyCheckoutButton };