@dintero/checkout-web-sdk 0.10.1 → 0.11.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.
@@ -17,7 +17,8 @@ export declare enum InternalCheckoutEvents {
17
17
  LanguageChanged = "LanguageChanged",
18
18
  ScrollToTop = "ScrollToTop",
19
19
  ShowPopOutButton = "ShowPopOutButton",
20
- HidePopOutButton = "HidePopOutButton"
20
+ HidePopOutButton = "HidePopOutButton",
21
+ TopLevelNavigation = "TopLevelNavigation"
21
22
  }
22
23
  export type SessionNotFound = {
23
24
  type: CheckoutEvents.SessionNotFound;
@@ -1,7 +1,7 @@
1
1
  import "native-promise-only";
2
- import { CheckoutEvents, InternalCheckoutEvents, SessionNotFound, SessionLoaded, SessionUpdated, SessionCancel, SessionPaymentOnHold, SessionPaymentAuthorized, SessionPaymentError, SessionLocked, SessionLockFailed, ActivePaymentProductType, ValidateSession, SessionValidationCallback, SessionEvent } from "./checkout.js";
3
- import { SubscriptionHandler } from "./subscribe.js";
4
- import { Session } from "./session.js";
2
+ import { type ActivePaymentProductType, CheckoutEvents, InternalCheckoutEvents, type SessionCancel, type SessionEvent, type SessionLoaded, type SessionLocked, type SessionLockFailed, type SessionNotFound, type SessionPaymentAuthorized, type SessionPaymentError, type SessionPaymentOnHold, type SessionUpdated, type SessionValidationCallback, type ValidateSession } from "./checkout.js";
3
+ import type { Session } from "./session.js";
4
+ import { type SubscriptionHandler } from "./subscribe.js";
5
5
  export interface DinteroCheckoutInstance {
6
6
  /**
7
7
  * Remove iframe and all event listeners.
@@ -58,4 +58,4 @@ export declare const embed: (options: DinteroEmbedCheckoutOptions) => Promise<Di
58
58
  * Redirect the customer to a payment session in the Dintero Checkout.
59
59
  */
60
60
  export declare const redirect: (options: DinteroCheckoutOptions) => void;
61
- export type { SessionNotFound, SessionLoaded, SessionUpdated, SessionCancel, SessionPaymentOnHold, SessionPaymentAuthorized, SessionPaymentError, SessionLocked, SessionLockFailed, ActivePaymentProductType, ValidateSession, SessionValidationCallback, } from "./checkout.js";
61
+ export type { ActivePaymentProductType, SessionCancel, SessionLoaded, SessionLocked, SessionLockFailed, SessionNotFound, SessionPaymentAuthorized, SessionPaymentError, SessionPaymentOnHold, SessionUpdated, SessionValidationCallback, ValidateSession, } from "./checkout.js";
@@ -1,5 +1,5 @@
1
- import { CheckoutEvents, InternalCheckoutEvents, SessionEvent, SessionValidationCallback } from "./checkout.js";
2
- import { DinteroCheckoutInstance } from "./index.js";
1
+ import type { DinteroCheckoutInstance } from "./index.js";
2
+ import type { CheckoutEvents, InternalCheckoutEvents, SessionEvent, SessionValidationCallback } from "./checkout.js";
3
3
  /**
4
4
  * Unsubscribe handler from event(s).
5
5
  */