@kimafinance/kima-transaction-widget 1.1.13 → 1.1.15
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/components/KimaTransactionWidget.d.ts +12 -6
- package/dist/components/TransactionWidget.d.ts +4 -2
- package/dist/components/TransferWidget.d.ts +5 -3
- package/dist/components/modals/BankPopup.d.ts +1 -0
- package/dist/components/reusable/NetworkDropdown.d.ts +1 -0
- package/dist/components/reusable/SingleForm.d.ts +1 -0
- package/dist/components/reusable/WalletButton.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +248 -198
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +189 -138
- package/dist/index.modern.js.map +1 -1
- package/dist/interface.d.ts +10 -3
- package/dist/store/optionSlice.d.ts +8 -2
- package/dist/store/selectors.d.ts +3 -0
- package/package.json +87 -87
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TransactionOption, ThemeOptions, ModeOptions, TitleOption, PaymentTitleOption, DAppOptions } from '../interface';
|
|
2
3
|
import '../index.css';
|
|
3
|
-
|
|
4
|
+
import { Web3Provider } from '@ethersproject/providers';
|
|
5
|
+
interface Props {
|
|
6
|
+
theme: ThemeOptions;
|
|
4
7
|
mode: ModeOptions;
|
|
5
8
|
txId?: number;
|
|
6
|
-
titleOption?: TitleOption;
|
|
7
|
-
paymentTitleOption?: PaymentTitleOption;
|
|
8
9
|
useFIAT?: boolean;
|
|
10
|
+
autoConnect?: boolean;
|
|
11
|
+
dAppOption?: DAppOptions;
|
|
12
|
+
provider?: Web3Provider;
|
|
13
|
+
titleOption?: TitleOption;
|
|
9
14
|
compliantOption?: boolean;
|
|
10
|
-
kimaBackendUrl: string;
|
|
11
15
|
transactionOption?: TransactionOption;
|
|
16
|
+
paymentTitleOption?: PaymentTitleOption;
|
|
17
|
+
kimaBackendUrl: string;
|
|
12
18
|
kimaNodeProviderQuery: string;
|
|
13
19
|
errorHandler?: (e: any) => void;
|
|
14
20
|
closeHandler?: (e: any) => void;
|
|
15
21
|
successHandler?: (e: any) => void;
|
|
16
22
|
}
|
|
17
|
-
export declare const KimaTransactionWidget: ({ mode, txId,
|
|
23
|
+
export declare const KimaTransactionWidget: ({ mode, txId, autoConnect, provider, dAppOption, theme, titleOption, paymentTitleOption, useFIAT, compliantOption, transactionOption, kimaBackendUrl, kimaNodeProviderQuery, errorHandler, closeHandler, successHandler }: Props) => JSX.Element;
|
|
18
24
|
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import '../index.css';
|
|
3
|
-
import {
|
|
4
|
-
export declare const TransactionWidget: ({ theme
|
|
3
|
+
import { ThemeOptions } from '../interface';
|
|
4
|
+
export declare const TransactionWidget: ({ theme }: {
|
|
5
|
+
theme: ThemeOptions;
|
|
6
|
+
}) => JSX.Element;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PaymentTitleOption, ThemeOptions, TitleOption } from '../interface';
|
|
2
3
|
import '../index.css';
|
|
3
|
-
interface Props
|
|
4
|
+
interface Props {
|
|
5
|
+
theme: ThemeOptions;
|
|
4
6
|
titleOption?: TitleOption;
|
|
5
7
|
paymentTitleOption?: PaymentTitleOption;
|
|
6
8
|
}
|
|
7
|
-
export declare const TransferWidget: ({ theme,
|
|
9
|
+
export declare const TransferWidget: ({ theme, titleOption, paymentTitleOption }: Props) => JSX.Element;
|
|
8
10
|
export {};
|
package/dist/index.css
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export { FontSizeOptions, ThemeOptions, SupportNetworks, CurrencyOptions, ModeOptions } from './interface';
|
|
2
|
+
export { FontSizeOptions, ColorModeOptions, ThemeOptions, SupportNetworks, CurrencyOptions, ModeOptions, DAppOptions } from './interface';
|
|
3
3
|
export { KimaTransactionWidget } from './components/KimaTransactionWidget';
|
|
4
4
|
export declare const KimaProvider: ({ children }: any) => JSX.Element;
|