@ic-pay/icpay-widget 1.1.7 → 1.1.8
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.
|
@@ -70,7 +70,7 @@ type TipJarConfig = CommonConfig & {
|
|
|
70
70
|
defaultAmountUsd?: number;
|
|
71
71
|
cryptoOptions?: CryptoOption[];
|
|
72
72
|
defaultSymbol?: string;
|
|
73
|
-
showLedgerDropdown?:
|
|
73
|
+
showLedgerDropdown?: string;
|
|
74
74
|
buttonLabel?: string;
|
|
75
75
|
onSuccess?: (tx: {
|
|
76
76
|
id: number;
|
|
@@ -131,7 +131,7 @@ type OnrampConfig = {
|
|
|
131
131
|
type PayButtonConfig = CommonConfig & {
|
|
132
132
|
amountUsd?: number;
|
|
133
133
|
cryptoOptions?: CryptoOption[];
|
|
134
|
-
showLedgerDropdown?:
|
|
134
|
+
showLedgerDropdown?: string;
|
|
135
135
|
defaultSymbol?: string;
|
|
136
136
|
buttonLabel?: string;
|
|
137
137
|
onSuccess?: (tx: {
|
|
@@ -143,7 +143,7 @@ type AmountInputConfig = CommonConfig & {
|
|
|
143
143
|
placeholder?: string;
|
|
144
144
|
defaultAmountUsd?: number;
|
|
145
145
|
cryptoOptions?: CryptoOption[];
|
|
146
|
-
showLedgerDropdown?:
|
|
146
|
+
showLedgerDropdown?: string;
|
|
147
147
|
defaultSymbol?: string;
|
|
148
148
|
minUsd?: number;
|
|
149
149
|
maxUsd?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as ThemeConfig, C as CommonConfig } from './amount-input-
|
|
2
|
-
export { g as AmountInputConfig, A as ArticlePaywallConfig, e as CoffeeShopConfig, b as CryptoOption, D as DonationThermometerConfig, m as ICPayAmountInput, i as ICPayArticlePaywall, j as ICPayCoffeeShop, k as ICPayDonationThermometer, l as ICPayPayButton, I as ICPayPremiumContent, h as ICPayTipJar, O as OnrampConfig, f as PayButtonConfig, P as PlugNPlayConfig, c as PremiumContentConfig, a as ProgressBarConfig, d as TipJarConfig } from './amount-input-
|
|
1
|
+
import { T as ThemeConfig, C as CommonConfig } from './amount-input-D02zIJ9C.js';
|
|
2
|
+
export { g as AmountInputConfig, A as ArticlePaywallConfig, e as CoffeeShopConfig, b as CryptoOption, D as DonationThermometerConfig, m as ICPayAmountInput, i as ICPayArticlePaywall, j as ICPayCoffeeShop, k as ICPayDonationThermometer, l as ICPayPayButton, I as ICPayPremiumContent, h as ICPayTipJar, O as OnrampConfig, f as PayButtonConfig, P as PlugNPlayConfig, c as PremiumContentConfig, a as ProgressBarConfig, d as TipJarConfig } from './amount-input-D02zIJ9C.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { TemplateResult } from 'lit';
|
|
5
5
|
import { Icpay, PriceCalculationResult } from '@ic-pay/icpay-sdk';
|
package/dist/react/index.d.ts
CHANGED
package/package.json
CHANGED