@lydianpay/sdk-web 3.18.2 → 3.18.3

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.
@@ -200,6 +200,7 @@ export type CreateSessionTransactionRequest = {
200
200
  asset: string;
201
201
  network: string;
202
202
  customerUUID?: string;
203
+ walletAddress?: string;
203
204
  };
204
205
  export type SendReceiptRequest = {
205
206
  email: string;
@@ -18,6 +18,7 @@ export interface PaymentFlow {
18
18
  */
19
19
  endCheckoutIfSettled(transaction: GetTransactionResponse, overpaidUSD?: number): boolean;
20
20
  continueAfterCreate(): Promise<void>;
21
+ awaitCompliance(): void;
21
22
  startPolling(): void;
22
23
  pollOnce(): Promise<void>;
23
24
  showQRCode(): void;
@@ -35,7 +36,7 @@ export interface PaymentFlowSeams {
35
36
  closeSettledCheckout(): void;
36
37
  walletOwnsCheckout(): boolean;
37
38
  }
38
- export declare function createPaymentFlow({ store, presentation, screenNavigator, sessionLifecycle, hostCallbacks, poller, quoteWatcher, getApi, getOptions, emit, seams, }: {
39
+ export declare function createPaymentFlow({ store, presentation, screenNavigator, sessionLifecycle, hostCallbacks, poller, quoteWatcher, getApi, getOptions, getWalletAccount, emit, seams, }: {
39
40
  store: CheckoutStore;
40
41
  presentation: CheckoutPresentation;
41
42
  screenNavigator: ScreenNavigator;
@@ -45,6 +46,7 @@ export declare function createPaymentFlow({ store, presentation, screenNavigator
45
46
  quoteWatcher: SessionQuoteWatcher;
46
47
  getApi: () => API | null;
47
48
  getOptions: () => CheckoutInitOptions | null;
49
+ getWalletAccount: () => string | null;
48
50
  emit: (name: CheckoutEventName, data?: Record<string, unknown>) => void;
49
51
  seams: PaymentFlowSeams;
50
52
  }): PaymentFlow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lydianpay/sdk-web",
3
- "version": "3.18.2",
3
+ "version": "3.18.3",
4
4
  "description": "Drop-in crypto payment checkout for the web — a <lydian-checkout> web component and window.Lydian API across 20+ chains and major stablecoins.",
5
5
  "license": "MIT",
6
6
  "repository": {