@economist/web-apple-pay 1.4.0 → 1.5.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.
package/dist/index.js CHANGED
@@ -991,6 +991,7 @@ function defineApplePayElements() {
991
991
  ApplePayModal.define();
992
992
  }
993
993
  export {
994
+ APPLE_PAY_EXCLUDED_VARIANTS,
994
995
  ApplePayButton,
995
996
  ApplePayModal,
996
997
  configureApplePay,
@@ -1,4 +1,5 @@
1
- import type { Offer } from './types/offer.types';
1
+ import type { Offer, ProductVariant } from './types/offer.types';
2
+ export declare const APPLE_PAY_EXCLUDED_VARIANTS: readonly ProductVariant[];
2
3
  export declare class ApplePayButton extends HTMLElement {
3
4
  #private;
4
5
  static readonly tag = "teg-apple-pay-button";
@@ -980,5 +980,6 @@ var ApplePayButton = class _ApplePayButton extends HTMLElement {
980
980
  }
981
981
  };
982
982
  export {
983
+ APPLE_PAY_EXCLUDED_VARIANTS,
983
984
  ApplePayButton
984
985
  };
@@ -1,4 +1,4 @@
1
- export { ApplePayButton } from './apple-pay-button';
1
+ export { ApplePayButton, APPLE_PAY_EXCLUDED_VARIANTS } from './apple-pay-button';
2
2
  export { ApplePayModal } from './apple-pay-modal';
3
3
  export { ensureApplePayLogoSymbol } from './apple-pay-logo';
4
4
  export { configureApplePay } from './clients/payment-checkout/config';
package/dist/src/index.js CHANGED
@@ -991,6 +991,7 @@ function defineApplePayElements() {
991
991
  ApplePayModal.define();
992
992
  }
993
993
  export {
994
+ APPLE_PAY_EXCLUDED_VARIANTS,
994
995
  ApplePayButton,
995
996
  ApplePayModal,
996
997
  configureApplePay,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@economist/web-apple-pay",
3
3
  "description": "Web component package for Apple Pay checkout UI",
4
- "version": "1.4.0",
4
+ "version": "1.5.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",