@pollar/react 0.10.1-rc.4 → 0.10.1-rc.5
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/README.md +27 -27
- package/dist/index.css +52 -7
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +377 -272
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +377 -272
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -334,6 +334,7 @@ interface RampWidgetTemplateProps {
|
|
|
334
334
|
provider: string;
|
|
335
335
|
txStatus: RampTxStatus | null;
|
|
336
336
|
kycUrl: string | null;
|
|
337
|
+
tosUrl: string | null;
|
|
337
338
|
stellarTxHash: string | null;
|
|
338
339
|
depositInstructions: Record<string, unknown> | null;
|
|
339
340
|
canComplete: boolean;
|
|
@@ -347,12 +348,13 @@ interface RampWidgetTemplateProps {
|
|
|
347
348
|
onSelectQuote: (q: RampQuote) => void;
|
|
348
349
|
onContactContinue: () => void;
|
|
349
350
|
onOpenKyc: () => void;
|
|
351
|
+
onOpenTos: () => void;
|
|
350
352
|
onCompleteWithdraw: () => void;
|
|
351
353
|
onRetry: () => void;
|
|
352
354
|
onRefresh: () => void;
|
|
353
355
|
onClose: () => void;
|
|
354
356
|
}
|
|
355
|
-
declare function RampWidgetTemplate({ theme, accentColor, step, direction, amount, currency, country, requiredFields, fieldValues, countries, countriesLoading, refreshing, quotes, isLoading, provider, txStatus, kycUrl, stellarTxHash, depositInstructions, canComplete, completing, errorMsg, onDirectionChange, onAmountChange, onFieldChange, onCountryChange, onFindRoute, onSelectQuote, onContactContinue, onOpenKyc, onCompleteWithdraw, onRetry, onRefresh, onClose, }: RampWidgetTemplateProps): react_jsx_runtime.JSX.Element;
|
|
357
|
+
declare function RampWidgetTemplate({ theme, accentColor, step, direction, amount, currency, country, requiredFields, fieldValues, countries, countriesLoading, refreshing, quotes, isLoading, provider, txStatus, kycUrl, tosUrl, stellarTxHash, depositInstructions, canComplete, completing, errorMsg, onDirectionChange, onAmountChange, onFieldChange, onCountryChange, onFindRoute, onSelectQuote, onContactContinue, onOpenKyc, onOpenTos, onCompleteWithdraw, onRetry, onRefresh, onClose, }: RampWidgetTemplateProps): react_jsx_runtime.JSX.Element;
|
|
356
358
|
|
|
357
359
|
interface TransactionModalTemplateProps {
|
|
358
360
|
theme: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -334,6 +334,7 @@ interface RampWidgetTemplateProps {
|
|
|
334
334
|
provider: string;
|
|
335
335
|
txStatus: RampTxStatus | null;
|
|
336
336
|
kycUrl: string | null;
|
|
337
|
+
tosUrl: string | null;
|
|
337
338
|
stellarTxHash: string | null;
|
|
338
339
|
depositInstructions: Record<string, unknown> | null;
|
|
339
340
|
canComplete: boolean;
|
|
@@ -347,12 +348,13 @@ interface RampWidgetTemplateProps {
|
|
|
347
348
|
onSelectQuote: (q: RampQuote) => void;
|
|
348
349
|
onContactContinue: () => void;
|
|
349
350
|
onOpenKyc: () => void;
|
|
351
|
+
onOpenTos: () => void;
|
|
350
352
|
onCompleteWithdraw: () => void;
|
|
351
353
|
onRetry: () => void;
|
|
352
354
|
onRefresh: () => void;
|
|
353
355
|
onClose: () => void;
|
|
354
356
|
}
|
|
355
|
-
declare function RampWidgetTemplate({ theme, accentColor, step, direction, amount, currency, country, requiredFields, fieldValues, countries, countriesLoading, refreshing, quotes, isLoading, provider, txStatus, kycUrl, stellarTxHash, depositInstructions, canComplete, completing, errorMsg, onDirectionChange, onAmountChange, onFieldChange, onCountryChange, onFindRoute, onSelectQuote, onContactContinue, onOpenKyc, onCompleteWithdraw, onRetry, onRefresh, onClose, }: RampWidgetTemplateProps): react_jsx_runtime.JSX.Element;
|
|
357
|
+
declare function RampWidgetTemplate({ theme, accentColor, step, direction, amount, currency, country, requiredFields, fieldValues, countries, countriesLoading, refreshing, quotes, isLoading, provider, txStatus, kycUrl, tosUrl, stellarTxHash, depositInstructions, canComplete, completing, errorMsg, onDirectionChange, onAmountChange, onFieldChange, onCountryChange, onFindRoute, onSelectQuote, onContactContinue, onOpenKyc, onOpenTos, onCompleteWithdraw, onRetry, onRefresh, onClose, }: RampWidgetTemplateProps): react_jsx_runtime.JSX.Element;
|
|
356
358
|
|
|
357
359
|
interface TransactionModalTemplateProps {
|
|
358
360
|
theme: string;
|