@funkit/connect 0.1.15 → 0.1.17

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 (32) hide show
  1. package/CHANGELOG.md +133 -0
  2. package/dist/{chunk-IDQLTS4C.js → chunk-2AOSP73X.js} +4036 -3731
  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/FunkitProvider/FunkitConnectChainContext.d.ts +5 -1
  19. package/dist/components/Icons/Copied.d.ts +3 -1
  20. package/dist/components/Icons/EditIcon.d.ts +4 -0
  21. package/dist/components/ProfileDetails/FunWalletProfileViews/FWDeposit.d.ts +0 -1
  22. package/dist/components/index.css +1317 -1271
  23. package/dist/components/index.js +1 -1
  24. package/dist/consts/assets.d.ts +3 -0
  25. package/dist/css/sprinkles.css.d.ts +36 -0
  26. package/dist/hooks/useCheckoutType.d.ts +6 -2
  27. package/dist/index.css +1317 -1271
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.js +1 -1
  30. package/dist/utils/deposit.d.ts +5 -0
  31. package/dist/wallets/walletConnectors/index.js +34 -34
  32. package/package.json +5 -4
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-2AOSP73X.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;
@@ -2,78 +2,78 @@
2
2
  import {
3
3
  zerionWallet
4
4
  } from "./chunk-77KYAV4P.js";
5
+ import {
6
+ zealWallet
7
+ } from "./chunk-QBKHMTGI.js";
5
8
  import {
6
9
  subWallet
7
10
  } from "./chunk-PTF3JKWO.js";
8
11
  import {
9
- safepalWallet
10
- } from "./chunk-TZR3P22N.js";
12
+ tahoWallet
13
+ } from "./chunk-OOGGCCFQ.js";
11
14
  import {
12
15
  talismanWallet
13
16
  } from "./chunk-5UETJ33B.js";
14
17
  import {
15
18
  tokenPocketWallet
16
19
  } from "./chunk-3XLDPS4Y.js";
17
- import {
18
- uniswapWallet
19
- } from "./chunk-APZ6YBCA.js";
20
20
  import {
21
21
  trustWallet
22
22
  } from "./chunk-YWKKNHO3.js";
23
23
  import {
24
24
  walletConnectWallet
25
25
  } from "./chunk-XXTDCRCW.js";
26
+ import {
27
+ uniswapWallet
28
+ } from "./chunk-APZ6YBCA.js";
26
29
  import {
27
30
  xdefiWallet
28
31
  } from "./chunk-5ZLRNFDM.js";
29
32
  import {
30
- zealWallet
31
- } from "./chunk-QBKHMTGI.js";
32
- import {
33
- oktoWallet
34
- } from "./chunk-VW5SMBMG.js";
33
+ okxWallet
34
+ } from "./chunk-GHYJ56FA.js";
35
35
  import {
36
36
  oneKeyWallet
37
37
  } from "./chunk-6CW3SAA3.js";
38
38
  import {
39
39
  phantomWallet
40
40
  } from "./chunk-KUZFZL2D.js";
41
- import {
42
- rabbyWallet
43
- } from "./chunk-TNC2B7LX.js";
44
41
  import {
45
42
  rainbowWallet
46
43
  } from "./chunk-IEAKLGB6.js";
47
44
  import {
48
- safeWallet
49
- } from "./chunk-BNTZHUB6.js";
45
+ rabbyWallet
46
+ } from "./chunk-TNC2B7LX.js";
50
47
  import {
51
48
  safeheronWallet
52
49
  } from "./chunk-7WTKIVCW.js";
53
50
  import {
54
- tahoWallet
55
- } from "./chunk-OOGGCCFQ.js";
51
+ safeWallet
52
+ } from "./chunk-BNTZHUB6.js";
53
+ import {
54
+ safepalWallet
55
+ } from "./chunk-TZR3P22N.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";
68
- import {
69
- metaMaskWallet
70
- } from "./chunk-MOWIPEYK.js";
71
68
  import {
72
69
  mewWallet
73
70
  } from "./chunk-BZFEDZQJ.js";
74
71
  import {
75
- okxWallet
76
- } from "./chunk-GHYJ56FA.js";
72
+ metaMaskWallet
73
+ } from "./chunk-MOWIPEYK.js";
74
+ import {
75
+ oktoWallet
76
+ } from "./chunk-VW5SMBMG.js";
77
77
  import {
78
78
  omniWallet
79
79
  } from "./chunk-NEDPCNTA.js";
@@ -84,9 +84,6 @@ import {
84
84
  coinbaseWallet
85
85
  } from "./chunk-WFTAXMQP.js";
86
86
  import "./chunk-UZ5XLPAW.js";
87
- import {
88
- coreWallet
89
- } from "./chunk-T3RIVRAX.js";
90
87
  import {
91
88
  dawnWallet
92
89
  } from "./chunk-QJNS6IE4.js";
@@ -103,16 +100,15 @@ import {
103
100
  frameWallet
104
101
  } from "./chunk-MBFEMLUU.js";
105
102
  import {
106
- argentWallet
107
- } from "./chunk-LEWQ7DQV.js";
108
- import {
109
- bifrostWallet
110
- } from "./chunk-LL6T7V77.js";
103
+ coreWallet
104
+ } from "./chunk-T3RIVRAX.js";
111
105
  import {
112
106
  bitKeepWallet,
113
107
  bitgetWallet
114
108
  } from "./chunk-6FQF7H7H.js";
115
- import "./chunk-ZOLACFTK.js";
109
+ import {
110
+ bifrostWallet
111
+ } from "./chunk-LL6T7V77.js";
116
112
  import {
117
113
  bitskiWallet
118
114
  } from "./chunk-FL3REGA5.js";
@@ -122,6 +118,10 @@ import {
122
118
  import {
123
119
  clvWallet
124
120
  } from "./chunk-EHO4MJZJ.js";
121
+ import {
122
+ argentWallet
123
+ } from "./chunk-LEWQ7DQV.js";
124
+ import "./chunk-ZOLACFTK.js";
125
125
  import "./chunk-6T5K52ZY.js";
126
126
  export {
127
127
  argentWallet,
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
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": {
@@ -85,8 +86,8 @@
85
86
  },
86
87
  "dependencies": {
87
88
  "@meshconnect/web-link-sdk": "^2.0.1",
88
- "@funkit/core": "^0.10.11",
89
- "@funkit/wagmi-tools": "^0.1.10",
89
+ "@funkit/core": "^0.10.12",
90
+ "@funkit/wagmi-tools": "^0.1.11",
90
91
  "@moonpay/moonpay-react": "^1.4.1",
91
92
  "@privy-io/js-sdk-core": "^0.11.0",
92
93
  "@types/uuid": "^9.0.1",