@quantaroute/checkout 1.8.1 → 1.8.2

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/src/core/types.ts CHANGED
@@ -519,7 +519,8 @@ export interface SavedAddressStepProps {
519
519
  sessionToken: string;
520
520
  functionBaseUrl: string;
521
521
  merchantId: string;
522
- onSelectAddress: (address: import('./checkout-api').SavedAddress) => void;
522
+ /** May return a promise; the step shows a spinner until it settles and an error if it rejects. */
523
+ onSelectAddress: (address: import('./checkout-api').SavedAddress) => void | Promise<void>;
523
524
  onAddNew: () => void;
524
525
  }
525
526