@bigcommerce/checkout-sdk 1.407.0 → 1.408.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.
@@ -5009,11 +5009,12 @@ declare interface Extension {
5009
5009
  url: string;
5010
5010
  }
5011
5011
 
5012
- declare type ExtensionCommand = ReloadCheckoutCommand | ShowLoadingIndicatorCommand | SetIframeStyleCommand;
5012
+ declare type ExtensionCommand = ReloadCheckoutCommand | ShowLoadingIndicatorCommand | SetIframeStyleCommand | FrameLoadedCommand;
5013
5013
 
5014
5014
  declare type ExtensionCommandHandler = (data: ExtensionCommand) => void;
5015
5015
 
5016
5016
  declare const enum ExtensionCommandType {
5017
+ FrameLoaded = "FRAME_LOADED",
5017
5018
  ReloadCheckout = "RELOAD_CHECKOUT",
5018
5019
  ShowLoadingIndicator = "SHOW_LOADING_INDICATOR",
5019
5020
  SetIframeStyle = "SET_IFRAME_STYLE"
@@ -5080,6 +5081,13 @@ declare interface FormFields {
5080
5081
  billingAddress: FormField[];
5081
5082
  }
5082
5083
 
5084
+ declare interface FrameLoadedCommand {
5085
+ type: ExtensionCommandType.FrameLoaded;
5086
+ payload: {
5087
+ extensionId: string;
5088
+ };
5089
+ }
5090
+
5083
5091
  declare interface GatewayOrderPayment extends OrderPayment {
5084
5092
  detail: {
5085
5093
  step: string;