@funkit/connect 0.1.15 → 0.1.16

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +124 -0
  2. package/dist/{chunk-IDQLTS4C.js → chunk-FUDTZOKU.js} +4011 -3721
  3. package/dist/components/AsyncImage/AsyncImage.d.ts +2 -1
  4. package/dist/components/Box/Box.d.ts +6 -6
  5. package/dist/components/FunAssetAvatar/FunAssetAvatar.css.d.ts +3 -0
  6. package/dist/components/FunAssetAvatar/FunAssetAvatar.d.ts +12 -0
  7. package/dist/components/FunButton/FunIconButton.d.ts +2 -1
  8. package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +3 -1
  9. package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +8 -2
  10. package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +3 -1
  11. package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +3 -1
  12. package/dist/components/FunInput/FunInput.d.ts +2 -1
  13. package/dist/components/FunKeyValue/FunKeyValue.d.ts +4 -1
  14. package/dist/components/FunPayments/FunPaymentMeshType.d.ts +2 -1
  15. package/dist/components/FunPayments/FunPaymentSetup.d.ts +2 -1
  16. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +4 -0
  17. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +20 -4
  18. package/dist/components/Icons/Copied.d.ts +3 -1
  19. package/dist/components/Icons/EditIcon.d.ts +4 -0
  20. package/dist/components/ProfileDetails/FunWalletProfileViews/FWDeposit.d.ts +0 -1
  21. package/dist/components/index.css +1317 -1271
  22. package/dist/components/index.js +1 -1
  23. package/dist/consts/assets.d.ts +3 -0
  24. package/dist/css/sprinkles.css.d.ts +36 -0
  25. package/dist/hooks/useCheckoutType.d.ts +6 -2
  26. package/dist/index.css +1317 -1271
  27. package/dist/index.d.ts +1 -0
  28. package/dist/index.js +1 -1
  29. package/dist/utils/deposit.d.ts +5 -0
  30. package/dist/wallets/walletConnectors/index.js +16 -16
  31. package/package.json +3 -2
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './components';
3
3
  export type { AuthenticationConfig, AuthenticationStatus, } from './components/FunkitProvider/AuthenticationContext';
4
4
  export { createAuthenticationAdapter, RainbowKitAuthenticationProvider, } from './components/FunkitProvider/AuthenticationContext';
5
5
  export type { AvatarComponent } from './components/FunkitProvider/AvatarContext';
6
+ export type { FunkitConfig } from './components/FunkitProvider/FunkitConfigContext';
6
7
  export type { Chain } from './components/FunkitProvider/FunkitConnectChainContext';
7
8
  export type { Theme } from './components/FunkitProvider/FunkitThemeProvider';
8
9
  export { useActiveTheme } from './components/FunkitProvider/FunkitThemeProvider';
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  useFunCheckoutModal,
32
32
  useFunkitCheckout,
33
33
  useWalletConnectors
34
- } from "./chunk-IDQLTS4C.js";
34
+ } from "./chunk-FUDTZOKU.js";
35
35
  import {
36
36
  darkTheme
37
37
  } from "./chunk-47OHV4T2.js";
@@ -0,0 +1,5 @@
1
+ import { PaymentFlow } from '../components/FunPayments/FunPaymentMethods';
2
+ export declare function isAmountValidForMoonpay({ amountUsd, }: {
3
+ amountUsd: string | undefined | null;
4
+ }): boolean;
5
+ export declare function generateInsufficientAmountForMoonpayError(paymentFlow: PaymentFlow, isShortened: boolean): string;
@@ -3,11 +3,8 @@ import {
3
3
  zerionWallet
4
4
  } from "./chunk-77KYAV4P.js";
5
5
  import {
6
- subWallet
7
- } from "./chunk-PTF3JKWO.js";
8
- import {
9
- safepalWallet
10
- } from "./chunk-TZR3P22N.js";
6
+ oktoWallet
7
+ } from "./chunk-VW5SMBMG.js";
11
8
  import {
12
9
  talismanWallet
13
10
  } from "./chunk-5UETJ33B.js";
@@ -15,11 +12,14 @@ import {
15
12
  tokenPocketWallet
16
13
  } from "./chunk-3XLDPS4Y.js";
17
14
  import {
18
- uniswapWallet
19
- } from "./chunk-APZ6YBCA.js";
15
+ safepalWallet
16
+ } from "./chunk-TZR3P22N.js";
20
17
  import {
21
18
  trustWallet
22
19
  } from "./chunk-YWKKNHO3.js";
20
+ import {
21
+ uniswapWallet
22
+ } from "./chunk-APZ6YBCA.js";
23
23
  import {
24
24
  walletConnectWallet
25
25
  } from "./chunk-XXTDCRCW.js";
@@ -29,9 +29,6 @@ import {
29
29
  import {
30
30
  zealWallet
31
31
  } from "./chunk-QBKHMTGI.js";
32
- import {
33
- oktoWallet
34
- } from "./chunk-VW5SMBMG.js";
35
32
  import {
36
33
  oneKeyWallet
37
34
  } from "./chunk-6CW3SAA3.js";
@@ -50,18 +47,21 @@ import {
50
47
  import {
51
48
  safeheronWallet
52
49
  } from "./chunk-7WTKIVCW.js";
50
+ import {
51
+ subWallet
52
+ } from "./chunk-PTF3JKWO.js";
53
53
  import {
54
54
  tahoWallet
55
55
  } from "./chunk-OOGGCCFQ.js";
56
56
  import {
57
57
  frontierWallet
58
58
  } from "./chunk-4EKX7Z25.js";
59
- import {
60
- imTokenWallet
61
- } from "./chunk-7EOFWORX.js";
62
59
  import {
63
60
  injectedWallet
64
61
  } from "./chunk-U32TVZ7G.js";
62
+ import {
63
+ imTokenWallet
64
+ } from "./chunk-7EOFWORX.js";
65
65
  import {
66
66
  ledgerWallet
67
67
  } from "./chunk-GLB4HFDR.js";
@@ -96,12 +96,12 @@ import {
96
96
  import {
97
97
  enkryptWallet
98
98
  } from "./chunk-ND76X5A2.js";
99
- import {
100
- foxWallet
101
- } from "./chunk-TG2HN6KW.js";
102
99
  import {
103
100
  frameWallet
104
101
  } from "./chunk-MBFEMLUU.js";
102
+ import {
103
+ foxWallet
104
+ } from "./chunk-TG2HN6KW.js";
105
105
  import {
106
106
  argentWallet
107
107
  } from "./chunk-LEWQ7DQV.js";
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
7
7
  "styles.css",
8
- "wallets"
8
+ "wallets",
9
+ "CHANGELOG.md"
9
10
  ],
10
11
  "type": "module",
11
12
  "exports": {