@funkit/connect 1.0.6 → 1.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 1.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 5bedbdc: chore: package bump
8
+ - Updated dependencies [5bedbdc]
9
+ - @funkit/core@1.0.4
10
+ - @funkit/wagmi-tools@1.0.5
11
+
12
+ ## 1.0.7
13
+
14
+ ### Patch Changes
15
+
16
+ - 2bbc6d5: fix: moonpay token amount rounding issue
17
+ - 0924ca0: feat: Show credit card options icon (visa, mastercard)
18
+ refactor: 'Account Balance' -> 'Wallet Balance (...0xAbc)'
19
+ refactor: Move credit card checkout from 3rd to 2nd option
20
+ refactor: 'Select Asset To Pay' -> 'Pay With'
21
+ refactor: Time icon color
22
+ - 1250fc5: feat: modals are dynamically smart-closable
23
+
3
24
  ## 1.0.6
4
25
 
5
26
  ### Patch Changes
@@ -1 +1,2 @@
1
1
  export declare function formatAddress(address: string): string;
2
+ export declare function formatAddressLastFour(address: string): string;
@@ -7,6 +7,8 @@ interface DialogProps {
7
7
  children: ReactNode;
8
8
  /** To hide the dialog without removing the object from the DOM **/
9
9
  isHidden?: boolean;
10
+ /** Whether clicking outside the dialog or pressing escape key would close the modal */
11
+ isSmartCloseable?: boolean;
10
12
  }
11
- export declare function Dialog({ children, onClose, open, titleId, isHidden, }: DialogProps): React.JSX.Element;
13
+ export declare function Dialog({ children, onClose, open, titleId, isHidden, isSmartCloseable, }: DialogProps): React.JSX.Element;
12
14
  export {};
@@ -8,7 +8,7 @@ export interface FunkitTextCustomizationsConfig {
8
8
  transferCrypto: string;
9
9
  selectAccount: string;
10
10
  enterPaymentInfo: string;
11
- selectAssetToPay: string;
11
+ payWith: string;
12
12
  }
13
13
  export declare const DEFAULT_TEXT_CUSTOMIZATIONS: FunkitTextCustomizationsConfig;
14
14
  interface FunkitLoginOptionsConfig {
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const MasterCardIcon: () => React.JSX.Element;
3
+ export declare const VisaCardIcon: () => React.JSX.Element;
4
+ export declare const CombinedCreditCardOptionsIcon: () => React.JSX.Element;