@ic-pay/icpay-widget 1.2.87 → 1.2.91

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 @@ declare class ICPayProgressBar extends LitElement {
200
200
  protected updated(changed: Map<string, unknown>): void;
201
201
  private attachSDKEventListeners;
202
202
  private detachSDKEventListeners;
203
+ private onPaymentReset;
203
204
  private onMethodStart;
204
205
  private startAutomaticProgression;
205
206
  private stopAutomaticProgression;
@@ -229,6 +230,8 @@ declare class ICPayProgressBar extends LitElement {
229
230
  private setLoadingByKey;
230
231
  private completeByKey;
231
232
  private transformErrorMessage;
233
+ private isGenericErrorText;
234
+ private preferSpecificError;
232
235
  private renderConfetti;
233
236
  private renderSuccessState;
234
237
  private renderErrorState;
@@ -290,6 +293,7 @@ declare class ICPayPremiumContent extends LitElement {
290
293
  disconnectedCallback(): void;
291
294
  protected updated(changed: Map<string, unknown>): void;
292
295
  private onSwitchAccount;
296
+ private resetPaymentFlow;
293
297
  private onPay;
294
298
  private attachTransakMessageListener;
295
299
  private detachTransakMessageListener;
@@ -351,6 +355,7 @@ declare class ICPayTipJar extends LitElement {
351
355
  private selectAmount;
352
356
  private selectSymbol;
353
357
  private get fillPercentage();
358
+ private resetPaymentFlow;
354
359
  private tip;
355
360
  private attachTransakMessageListener;
356
361
  private detachTransakMessageListener;
@@ -406,6 +411,8 @@ declare class ICPayArticlePaywall extends LitElement {
406
411
  private balancesError;
407
412
  private walletBalances;
408
413
  private sdk;
414
+ private onTransactionCompleted;
415
+ private onUnlock;
409
416
  private tryAutoConnectPNP;
410
417
  private attachTransakMessageListener;
411
418
  private detachTransakMessageListener;
@@ -414,9 +421,11 @@ declare class ICPayArticlePaywall extends LitElement {
414
421
  private createOnrampIntent;
415
422
  private startOnrampPolling;
416
423
  connectedCallback(): void;
424
+ disconnectedCallback(): void;
417
425
  protected updated(changed: Map<string, unknown>): void;
418
426
  private onSwitchAccount;
419
427
  private selectSymbol;
428
+ private resetPaymentFlow;
420
429
  private unlock;
421
430
  private getWalletId;
422
431
  private getWalletLabel;
@@ -467,6 +476,7 @@ declare class ICPayCoffeeShop extends LitElement {
467
476
  private selectItem;
468
477
  private selectSymbol;
469
478
  private get selectedItem();
479
+ private resetPaymentFlow;
470
480
  private order;
471
481
  private attachTransakMessageListener;
472
482
  private detachTransakMessageListener;
@@ -527,6 +537,7 @@ declare class ICPayDonationThermometer extends LitElement {
527
537
  private selectAmount;
528
538
  private selectSymbol;
529
539
  private get fillPercentage();
540
+ private resetPaymentFlow;
530
541
  private donate;
531
542
  private attachTransakMessageListener;
532
543
  private detachTransakMessageListener;
@@ -597,6 +608,7 @@ declare class ICPayPayButton extends LitElement {
597
608
  private startOnramp;
598
609
  private createOnrampIntent;
599
610
  private startOnrampPolling;
611
+ private resetPaymentFlow;
600
612
  private pay;
601
613
  render(): lit.TemplateResult<1>;
602
614
  }
@@ -656,6 +668,7 @@ declare class ICPayAmountInput extends LitElement {
656
668
  private startOnramp;
657
669
  private createOnrampIntent;
658
670
  private startOnrampPolling;
671
+ private resetPaymentFlow;
659
672
  private pay;
660
673
  render(): lit.TemplateResult<1>;
661
674
  }
@@ -665,4 +678,4 @@ declare global {
665
678
  }
666
679
  }
667
680
 
668
- export { type ArticlePaywallConfig as A, type CommonConfig as C, type DonationThermometerConfig as D, ICPayPremiumContent as I, type OnrampConfig as O, type PlugNPlayConfig as P, type ThemeConfig as T, type ProgressBarConfig as a, type PremiumContentConfig as b, type TipJarConfig as c, type CoffeeShopConfig as d, type PayButtonConfig as e, type AmountInputConfig as f, ICPayTipJar as g, ICPayArticlePaywall as h, ICPayCoffeeShop as i, ICPayDonationThermometer as j, ICPayPayButton as k, ICPayAmountInput as l };
681
+ export { type AmountInputConfig as A, type CommonConfig as C, type DonationThermometerConfig as D, ICPayAmountInput as I, type OnrampConfig as O, type PayButtonConfig as P, type ThemeConfig as T, type ArticlePaywallConfig as a, type CoffeeShopConfig as b, ICPayArticlePaywall as c, ICPayCoffeeShop as d, ICPayDonationThermometer as e, ICPayPayButton as f, ICPayPremiumContent as g, ICPayTipJar as h, type PlugNPlayConfig as i, type PremiumContentConfig as j, type ProgressBarConfig as k, type TipJarConfig as l };