@ic-pay/icpay-widget 1.1.10 → 1.1.11
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/dist/{amount-input-D02zIJ9C.d.ts → amount-input-BuRsVrmL.d.ts} +10 -0
- package/dist/chunk-FSWERL6L.js +1039 -0
- package/dist/chunk-FSWERL6L.js.map +1 -0
- package/dist/chunk-LTEQ7OUJ.js +2 -0
- package/dist/chunk-LTEQ7OUJ.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/origin-7KFJTYXK.js +2 -0
- package/dist/origin-7KFJTYXK.js.map +1 -0
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/dist/tailwind.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-TTV63ZJ6.js +0 -1028
- package/dist/chunk-TTV63ZJ6.js.map +0 -1
|
@@ -36,6 +36,7 @@ type CommonConfig = {
|
|
|
36
36
|
publishableKey: string;
|
|
37
37
|
apiUrl?: string;
|
|
38
38
|
icHost?: string;
|
|
39
|
+
derivationOrigin?: string;
|
|
39
40
|
actorProvider?: (canisterId: string, idl: any) => any;
|
|
40
41
|
connectedWallet?: any;
|
|
41
42
|
useOwnWallet?: boolean;
|
|
@@ -185,6 +186,7 @@ declare class ICPayProgressBar extends LitElement {
|
|
|
185
186
|
private currentLedgerSymbol;
|
|
186
187
|
private confirmLoadingStartedAt;
|
|
187
188
|
private progressionTimer;
|
|
189
|
+
private currentWalletType;
|
|
188
190
|
theme?: {
|
|
189
191
|
primaryColor?: string;
|
|
190
192
|
secondaryColor?: string;
|
|
@@ -227,6 +229,7 @@ declare class ICPayProgressBar extends LitElement {
|
|
|
227
229
|
private renderConfetti;
|
|
228
230
|
private renderSuccessState;
|
|
229
231
|
private renderErrorState;
|
|
232
|
+
private requestSwitchAccount;
|
|
230
233
|
private renderProgressContent;
|
|
231
234
|
private renderConfirmTip;
|
|
232
235
|
private retryTransaction;
|
|
@@ -301,6 +304,7 @@ declare class ICPayPremiumContent extends LitElement {
|
|
|
301
304
|
private get cryptoOptions();
|
|
302
305
|
connectedCallback(): void;
|
|
303
306
|
protected updated(changed: Map<string, unknown>): void;
|
|
307
|
+
private onSwitchAccount;
|
|
304
308
|
private loadVerifiedLedgers;
|
|
305
309
|
private onPay;
|
|
306
310
|
private attachTransakMessageListener;
|
|
@@ -351,6 +355,7 @@ declare class ICPayTipJar extends LitElement {
|
|
|
351
355
|
private get cryptoOptions();
|
|
352
356
|
connectedCallback(): void;
|
|
353
357
|
protected updated(changed: Map<string, unknown>): void;
|
|
358
|
+
private onSwitchAccount;
|
|
354
359
|
private loadVerifiedLedgers;
|
|
355
360
|
private selectAmount;
|
|
356
361
|
private selectSymbol;
|
|
@@ -411,6 +416,7 @@ declare class ICPayArticlePaywall extends LitElement {
|
|
|
411
416
|
private get cryptoOptions();
|
|
412
417
|
connectedCallback(): void;
|
|
413
418
|
protected updated(changed: Map<string, unknown>): void;
|
|
419
|
+
private onSwitchAccount;
|
|
414
420
|
private loadVerifiedLedgers;
|
|
415
421
|
private selectSymbol;
|
|
416
422
|
private unlock;
|
|
@@ -451,6 +457,7 @@ declare class ICPayCoffeeShop extends LitElement {
|
|
|
451
457
|
private get cryptoOptions();
|
|
452
458
|
connectedCallback(): void;
|
|
453
459
|
protected updated(changed: Map<string, unknown>): void;
|
|
460
|
+
private onSwitchAccount;
|
|
454
461
|
private loadVerifiedLedgers;
|
|
455
462
|
private selectItem;
|
|
456
463
|
private selectSymbol;
|
|
@@ -503,6 +510,7 @@ declare class ICPayDonationThermometer extends LitElement {
|
|
|
503
510
|
private get cryptoOptions();
|
|
504
511
|
connectedCallback(): void;
|
|
505
512
|
protected updated(changed: Map<string, unknown>): void;
|
|
513
|
+
private onSwitchAccount;
|
|
506
514
|
private loadVerifiedLedgers;
|
|
507
515
|
private selectAmount;
|
|
508
516
|
private selectSymbol;
|
|
@@ -553,6 +561,7 @@ declare class ICPayPayButton extends LitElement {
|
|
|
553
561
|
private get cryptoOptions();
|
|
554
562
|
connectedCallback(): void;
|
|
555
563
|
protected updated(changed: Map<string, unknown>): void;
|
|
564
|
+
private onSwitchAccount;
|
|
556
565
|
private loadVerifiedLedgers;
|
|
557
566
|
private selectSymbol;
|
|
558
567
|
private ensureWallet;
|
|
@@ -603,6 +612,7 @@ declare class ICPayAmountInput extends LitElement {
|
|
|
603
612
|
private get cryptoOptions();
|
|
604
613
|
connectedCallback(): void;
|
|
605
614
|
protected updated(changed: Map<string, unknown>): void;
|
|
615
|
+
private onSwitchAccount;
|
|
606
616
|
private loadVerifiedLedgers;
|
|
607
617
|
private onInputChange;
|
|
608
618
|
private selectSymbol;
|