@bigcommerce/checkout-sdk 1.296.1 → 1.297.0

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 (44) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/checkout-button.d.ts +8 -0
  3. package/dist/checkout-button.js +1 -1
  4. package/dist/checkout-button.js.map +1 -1
  5. package/dist/checkout-button.umd.js +1 -1
  6. package/dist/checkout-button.umd.js.map +1 -1
  7. package/dist/checkout-sdk.d.ts +8 -0
  8. package/dist/checkout-sdk.js +1 -1
  9. package/dist/checkout-sdk.js.map +1 -1
  10. package/dist/checkout-sdk.umd.js +1 -1
  11. package/dist/checkout-sdk.umd.js.map +1 -1
  12. package/docs/.nojekyll +1 -0
  13. package/docs/README.md +2 -2
  14. package/docs/enums/AdyenV2CardFields.md +5 -5
  15. package/docs/enums/AdyenV3CardFields.md +5 -5
  16. package/docs/enums/AmazonPayV2ButtonColor.md +5 -5
  17. package/docs/enums/AmazonPayV2CheckoutLanguage.md +9 -9
  18. package/docs/enums/AmazonPayV2LedgerCurrency.md +6 -6
  19. package/docs/enums/AmazonPayV2PayOptions.md +4 -4
  20. package/docs/enums/AmazonPayV2Placement.md +7 -7
  21. package/docs/enums/BraintreeFormFieldType.md +8 -8
  22. package/docs/enums/ButtonColor.md +5 -5
  23. package/docs/enums/ButtonType.md +4 -4
  24. package/docs/enums/CheckoutButtonMethodType.md +24 -24
  25. package/docs/enums/CheckoutIncludes.md +5 -5
  26. package/docs/enums/EmbeddedCheckoutEventType.md +8 -8
  27. package/docs/enums/HostedFieldType.md +8 -8
  28. package/docs/enums/HostedInputEventType.md +13 -13
  29. package/docs/enums/IconStyle.md +4 -4
  30. package/docs/enums/PaypalButtonStyleColorOption.md +6 -6
  31. package/docs/enums/PaypalButtonStyleLabelOption.md +7 -7
  32. package/docs/enums/PaypalButtonStyleLayoutOption.md +4 -4
  33. package/docs/enums/PaypalButtonStyleShapeOption.md +4 -4
  34. package/docs/enums/PaypalButtonStyleSizeOption.md +6 -6
  35. package/docs/enums/PaypalCommerceFormFieldType.md +8 -8
  36. package/docs/enums/RadiusUnit.md +4 -4
  37. package/docs/enums/StyleButtonColor.md +7 -7
  38. package/docs/enums/StyleButtonLabel.md +7 -7
  39. package/docs/enums/StyleButtonLayout.md +4 -4
  40. package/docs/enums/StyleButtonShape.md +4 -4
  41. package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +16 -0
  42. package/docs/interfaces/PaypalCommerceCreditButtonInitializeOptions.md +16 -0
  43. package/docs/interfaces/SpamProtectionOptions.md +1 -1
  44. package/package.json +2 -2
@@ -6138,6 +6138,10 @@ declare interface PaypalCommerceButtonInitializeOptions {
6138
6138
  buyNowInitializeOptions?: {
6139
6139
  getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
6140
6140
  };
6141
+ /**
6142
+ * A callback that gets called when payment complete on paypal side.
6143
+ */
6144
+ onComplete?(): void;
6141
6145
  }
6142
6146
 
6143
6147
  declare interface PaypalCommerceCreditButtonInitializeOptions {
@@ -6163,6 +6167,10 @@ declare interface PaypalCommerceCreditButtonInitializeOptions {
6163
6167
  buyNowInitializeOptions?: {
6164
6168
  getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
6165
6169
  };
6170
+ /**
6171
+ * A callback that gets called when payment complete on paypal side.
6172
+ */
6173
+ onComplete?(): void;
6166
6174
  }
6167
6175
 
6168
6176
  /**