@funkit/connect-rn 7.0.0 → 8.0.0
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 +47 -0
- package/README.md +76 -56
- package/dist/chunk-D64EJ57D.js +161 -0
- package/dist/chunk-D64EJ57D.js.map +7 -0
- package/dist/{chunk-P3OLDPDC.js → chunk-KZOSYNGV.js} +57 -192
- package/dist/chunk-KZOSYNGV.js.map +7 -0
- package/dist/{chunk-HRJNTNCV.js → chunk-SRVRWQO6.js} +5 -3
- package/dist/{chunk-HRJNTNCV.js.map → chunk-SRVRWQO6.js.map} +1 -1
- package/dist/clients/lighter.js +4 -2
- package/dist/clients/lighter.js.map +1 -1
- package/dist/clients/nado.js +5 -3
- package/dist/clients/nado.js.map +1 -1
- package/dist/clients/solana/index.d.ts +5 -0
- package/dist/clients/solana/index.d.ts.map +1 -0
- package/dist/clients/solana/solanaWithdrawal.d.ts +20 -0
- package/dist/clients/solana/solanaWithdrawal.d.ts.map +1 -0
- package/dist/clients/solana/useSolanaWithdrawal.d.ts +13 -0
- package/dist/clients/solana/useSolanaWithdrawal.d.ts.map +1 -0
- package/dist/clients/solana.d.ts +1 -0
- package/dist/clients/solana.js +87 -0
- package/dist/clients/solana.js.map +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2561 -2071
- package/dist/index.js.map +4 -4
- package/dist/src/components/Grabber.d.ts +3 -1
- package/dist/src/components/Grabber.d.ts.map +1 -1
- package/dist/src/fiat/KycGlassBackdrop.d.ts.map +1 -1
- package/dist/src/fiat/quoteRefusal.d.ts +29 -6
- package/dist/src/fiat/quoteRefusal.d.ts.map +1 -1
- package/dist/src/fiat/useFiatDirectDelivery.d.ts +5 -4
- package/dist/src/fiat/useFiatDirectDelivery.d.ts.map +1 -1
- package/dist/src/fiat/useIdentityAssertion.d.ts +35 -0
- package/dist/src/fiat/useIdentityAssertion.d.ts.map +1 -0
- package/dist/src/fiat/useQuoteableCeiling.d.ts +28 -0
- package/dist/src/fiat/useQuoteableCeiling.d.ts.map +1 -0
- package/dist/src/flow/DepositReceivedToast.d.ts +2 -2
- package/dist/src/flow/DepositReceivedToast.d.ts.map +1 -1
- package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts +14 -20
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +9 -4
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/SheetMaterial.d.ts +11 -0
- package/dist/src/flow/SheetMaterial.d.ts.map +1 -0
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +21 -5
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/flowError.d.ts +11 -1
- package/dist/src/flow/flowError.d.ts.map +1 -1
- package/dist/src/flow/flowStepHeight.d.ts +19 -0
- package/dist/src/flow/flowStepHeight.d.ts.map +1 -0
- package/dist/src/flow/validateClientMetadata.d.ts +2 -3
- package/dist/src/flow/validateClientMetadata.d.ts.map +1 -1
- package/dist/src/hooks/useSheetFade.d.ts +11 -0
- package/dist/src/hooks/useSheetFade.d.ts.map +1 -0
- package/dist/src/identity/IdentityContext.d.ts +28 -4
- package/dist/src/identity/IdentityContext.d.ts.map +1 -1
- package/dist/src/logging/debugBridge.d.ts +2 -0
- package/dist/src/logging/debugBridge.d.ts.map +1 -1
- package/dist/src/native/glassEffect.d.ts +18 -0
- package/dist/src/native/glassEffect.d.ts.map +1 -0
- package/dist/src/providers/FunkitProvider.d.ts +6 -8
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/NativeCapabilitiesContext.d.ts +12 -11
- package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -1
- package/dist/src/providers/useFunkitCheckout.d.ts +7 -3
- package/dist/src/providers/useFunkitCheckout.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts +2 -5
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawAddressScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawCompleteScreen.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWithdrawScreen.d.ts +3 -1
- package/dist/src/swapped/SwappedWithdrawScreen.d.ts.map +1 -1
- package/dist/src/swapped/paymentNavigation.d.ts +21 -0
- package/dist/src/swapped/paymentNavigation.d.ts.map +1 -0
- package/dist/src/transfer/hooks/useDepositRecipient.d.ts +2 -2
- package/dist/src/transfer/hooks/useDepositRecipient.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts +3 -2
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTransferInit.d.ts +2 -3
- package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +10 -0
- package/dist/src/utils/motion.d.ts.map +1 -1
- package/dist/src/withdrawal/fiatTargetDecimals.d.ts +13 -0
- package/dist/src/withdrawal/fiatTargetDecimals.d.ts.map +1 -0
- package/dist/src/withdrawal/useSourceTokenDecimals.d.ts.map +1 -1
- package/dist/src/withdrawal/useWithdrawalExecution.d.ts.map +1 -1
- package/expo-module.config.json +6 -0
- package/ios/FunkitGlassEffect.podspec +23 -0
- package/ios/FunkitGlassEffectModule.swift +126 -0
- package/ios/GlassStyle.swift +52 -0
- package/ios/GlassView.swift +305 -0
- package/package.json +15 -4
- package/dist/chunk-P3OLDPDC.js.map +0 -7
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
// Forked from expo-glass-effect 57.0.3 (MIT). Copyright 2022-present 650 Industries.
|
|
2
|
+
// Adds container-concentric corners; otherwise unchanged.
|
|
3
|
+
|
|
4
|
+
import ExpoModulesCore
|
|
5
|
+
import React
|
|
6
|
+
|
|
7
|
+
public final class GlassView: ExpoView {
|
|
8
|
+
private var glassEffect: Any?
|
|
9
|
+
private var glassEffectView = UIVisualEffectView()
|
|
10
|
+
// Glass effect does not work sometimes if view has not been laid out yet
|
|
11
|
+
// https://github.com/expo/expo/issues/41024#issuecomment-3867466289
|
|
12
|
+
private var isMounted = false
|
|
13
|
+
|
|
14
|
+
private var glassStyle: GlassStyle?
|
|
15
|
+
private var glassTintColor: UIColor?
|
|
16
|
+
private var glassIsInteractive: Bool?
|
|
17
|
+
private var glassColorScheme: GlassColorScheme?
|
|
18
|
+
|
|
19
|
+
private var radius: CGFloat?
|
|
20
|
+
private var bottomLeftRadius: CGFloat?
|
|
21
|
+
private var bottomRightRadius: CGFloat?
|
|
22
|
+
private var topLeftRadius: CGFloat?
|
|
23
|
+
private var topRightRadius: CGFloat?
|
|
24
|
+
|
|
25
|
+
private var bottomStartRadius: CGFloat?
|
|
26
|
+
private var bottomEndRadius: CGFloat?
|
|
27
|
+
private var topStartRadius: CGFloat?
|
|
28
|
+
private var topEndRadius: CGFloat?
|
|
29
|
+
|
|
30
|
+
private var concentricCorners = false
|
|
31
|
+
private var concentricMinimumRadius: CGFloat?
|
|
32
|
+
|
|
33
|
+
public required init(appContext: AppContext? = nil) {
|
|
34
|
+
super.init(appContext: appContext)
|
|
35
|
+
|
|
36
|
+
glassEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
|
37
|
+
|
|
38
|
+
addSubview(glassEffectView)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// UIGlassEffect initialiser is crashing for iOS 26 beta versions for some reason, so we need to check if it's available at runtime
|
|
42
|
+
// https://github.com/expo/expo/issues/40911
|
|
43
|
+
private func isGlassEffectAvailable() -> Bool {
|
|
44
|
+
#if compiler(>=6.2)
|
|
45
|
+
if #available(iOS 26.0, tvOS 26.0, macOS 26.0, *) {
|
|
46
|
+
guard let glassEffectClass = NSClassFromString("UIGlassEffect") as? NSObject.Type else {
|
|
47
|
+
return false
|
|
48
|
+
}
|
|
49
|
+
let respondsToSelector = glassEffectClass.responds(to: Selector(("effectWithStyle:")))
|
|
50
|
+
return respondsToSelector
|
|
51
|
+
}
|
|
52
|
+
#endif
|
|
53
|
+
return false
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
override public func layoutSubviews() {
|
|
57
|
+
super.layoutSubviews()
|
|
58
|
+
if !isMounted {
|
|
59
|
+
isMounted = true
|
|
60
|
+
// Clear the stale effect before re-applying so UIKit fully tears down
|
|
61
|
+
// the old UIGlassEffect, otherwise re-assigning does not render GlassView correctly.
|
|
62
|
+
// https://github.com/expo/expo/issues/43732
|
|
63
|
+
glassEffectView.effect = UIVisualEffect()
|
|
64
|
+
updateEffect()
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
func updateBorderRadius() {
|
|
69
|
+
guard isGlassEffectAvailable() else {
|
|
70
|
+
return
|
|
71
|
+
}
|
|
72
|
+
if #available(iOS 26.0, tvOS 26.0, macOS 26.0, *) {
|
|
73
|
+
#if compiler(>=6.2) // Xcode 26
|
|
74
|
+
if concentricCorners {
|
|
75
|
+
// Corners follow the enclosing container (the screen, for a full-bleed
|
|
76
|
+
// view) so the radius is never guessed per device. Fixed radii below
|
|
77
|
+
// are ignored while this is on.
|
|
78
|
+
glassEffectView.cornerConfiguration = .uniformCorners(
|
|
79
|
+
radius: .containerConcentric(minimum: concentricMinimumRadius)
|
|
80
|
+
)
|
|
81
|
+
return
|
|
82
|
+
}
|
|
83
|
+
let isRTL = RCTI18nUtil.sharedInstance()?.isRTL() ?? false
|
|
84
|
+
|
|
85
|
+
let finalTopLeft: CGFloat
|
|
86
|
+
let finalTopRight: CGFloat
|
|
87
|
+
let finalBottomLeft: CGFloat
|
|
88
|
+
let finalBottomRight: CGFloat
|
|
89
|
+
|
|
90
|
+
if isRTL {
|
|
91
|
+
finalTopLeft = topLeftRadius ?? topEndRadius ?? radius ?? 0
|
|
92
|
+
finalTopRight = topRightRadius ?? topStartRadius ?? radius ?? 0
|
|
93
|
+
finalBottomLeft = bottomLeftRadius ?? bottomEndRadius ?? radius ?? 0
|
|
94
|
+
finalBottomRight = bottomRightRadius ?? bottomStartRadius ?? radius ?? 0
|
|
95
|
+
} else {
|
|
96
|
+
finalTopLeft = topLeftRadius ?? topStartRadius ?? radius ?? 0
|
|
97
|
+
finalTopRight = topRightRadius ?? topEndRadius ?? radius ?? 0
|
|
98
|
+
finalBottomLeft = bottomLeftRadius ?? bottomStartRadius ?? radius ?? 0
|
|
99
|
+
finalBottomRight = bottomRightRadius ?? bottomEndRadius ?? radius ?? 0
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
let topLeft = UICornerRadius(floatLiteral: finalTopLeft)
|
|
103
|
+
let topRight = UICornerRadius(floatLiteral: finalTopRight)
|
|
104
|
+
let bottomLeft = UICornerRadius(floatLiteral: finalBottomLeft)
|
|
105
|
+
let bottomRight = UICornerRadius(floatLiteral: finalBottomRight)
|
|
106
|
+
|
|
107
|
+
glassEffectView.cornerConfiguration = .corners(
|
|
108
|
+
topLeftRadius: topLeft,
|
|
109
|
+
topRightRadius: topRight,
|
|
110
|
+
bottomLeftRadius: bottomLeft,
|
|
111
|
+
bottomRightRadius: bottomRight
|
|
112
|
+
)
|
|
113
|
+
#endif
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
func setGlassStyle(_ config: GlassEffectStyleConfig) {
|
|
118
|
+
applyGlassStyle(config.style, animate: config.animate, animationDuration: config.animationDuration)
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
func setGlassStyle(_ style: GlassStyle) {
|
|
122
|
+
applyGlassStyle(style)
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
private func applyGlassStyle(_ newStyle: GlassStyle, animate: Bool = false, animationDuration: Double? = nil) {
|
|
126
|
+
if glassStyle != newStyle {
|
|
127
|
+
glassStyle = newStyle
|
|
128
|
+
guard isGlassEffectAvailable() else {
|
|
129
|
+
return
|
|
130
|
+
}
|
|
131
|
+
if #available(iOS 26.0, tvOS 26.0, macOS 26.0, *) {
|
|
132
|
+
#if compiler(>=6.2) // Xcode 26
|
|
133
|
+
let applyEffect = {
|
|
134
|
+
if let uiStyle = newStyle.toUIGlassEffectStyle() {
|
|
135
|
+
self.glassEffect = UIGlassEffect(style: uiStyle)
|
|
136
|
+
self.updateEffect()
|
|
137
|
+
} else {
|
|
138
|
+
// setting `nil` does not work as expected, so we need to set a visual effect with no effect
|
|
139
|
+
self.glassEffectView.effect = UIVisualEffect()
|
|
140
|
+
self.glassEffect = self.glassEffectView.effect
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if animate {
|
|
145
|
+
if let duration = animationDuration {
|
|
146
|
+
UIView.animate(withDuration: duration, animations: applyEffect)
|
|
147
|
+
} else {
|
|
148
|
+
UIView.animate(animations: applyEffect)
|
|
149
|
+
}
|
|
150
|
+
} else {
|
|
151
|
+
applyEffect()
|
|
152
|
+
}
|
|
153
|
+
#endif
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
func setBorderRadius(_ _radius: CGFloat?) {
|
|
159
|
+
if _radius != radius {
|
|
160
|
+
radius = _radius
|
|
161
|
+
updateBorderRadius()
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
func setConcentricCorners(_ concentric: Bool) {
|
|
166
|
+
if concentric != concentricCorners {
|
|
167
|
+
concentricCorners = concentric
|
|
168
|
+
updateBorderRadius()
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
func setConcentricMinimumRadius(_ minimum: CGFloat?) {
|
|
173
|
+
if minimum != concentricMinimumRadius {
|
|
174
|
+
concentricMinimumRadius = minimum
|
|
175
|
+
updateBorderRadius()
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
func setBorderCurve(_: String?) {
|
|
180
|
+
glassEffectView.layer.cornerCurve = self.layer.cornerCurve
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
func setBorderBottomLeftRadius(_ radius: CGFloat?) {
|
|
184
|
+
if radius != bottomLeftRadius {
|
|
185
|
+
bottomLeftRadius = radius
|
|
186
|
+
updateBorderRadius()
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
func setBorderBottomRightRadius(_ radius: CGFloat?) {
|
|
191
|
+
if radius != bottomRightRadius {
|
|
192
|
+
bottomRightRadius = radius
|
|
193
|
+
updateBorderRadius()
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
func setBorderTopLeftRadius(_ radius: CGFloat?) {
|
|
198
|
+
if radius != topLeftRadius {
|
|
199
|
+
topLeftRadius = radius
|
|
200
|
+
updateBorderRadius()
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
func setBorderTopRightRadius(_ radius: CGFloat?) {
|
|
205
|
+
if radius != topRightRadius {
|
|
206
|
+
topRightRadius = radius
|
|
207
|
+
updateBorderRadius()
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
func setBorderBottomStartRadius(_ radius: CGFloat?) {
|
|
212
|
+
if radius != bottomStartRadius {
|
|
213
|
+
bottomStartRadius = radius
|
|
214
|
+
updateBorderRadius()
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
func setBorderBottomEndRadius(_ radius: CGFloat?) {
|
|
219
|
+
if radius != bottomEndRadius {
|
|
220
|
+
bottomEndRadius = radius
|
|
221
|
+
updateBorderRadius()
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
func setBorderTopStartRadius(_ radius: CGFloat?) {
|
|
226
|
+
if radius != topStartRadius {
|
|
227
|
+
topStartRadius = radius
|
|
228
|
+
updateBorderRadius()
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
func setBorderTopEndRadius(_ radius: CGFloat?) {
|
|
233
|
+
if radius != topEndRadius {
|
|
234
|
+
topEndRadius = radius
|
|
235
|
+
updateBorderRadius()
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
func setTintColor(_ color: UIColor?) {
|
|
240
|
+
if color != glassTintColor {
|
|
241
|
+
glassTintColor = color
|
|
242
|
+
updateEffect()
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
func setInteractive(_ interactive: Bool) {
|
|
247
|
+
if interactive != glassIsInteractive {
|
|
248
|
+
glassIsInteractive = interactive
|
|
249
|
+
// Changing isInteractive requires cleaning of previous GlassEffect
|
|
250
|
+
glassEffectView.effect = UIVisualEffect()
|
|
251
|
+
updateEffect()
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
func setColorScheme(_ colorScheme: GlassColorScheme) {
|
|
256
|
+
if glassColorScheme != colorScheme {
|
|
257
|
+
glassColorScheme = colorScheme
|
|
258
|
+
updateEffect()
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
public override func didMoveToWindow() {
|
|
263
|
+
super.didMoveToWindow()
|
|
264
|
+
if self.window == nil {
|
|
265
|
+
isMounted = false
|
|
266
|
+
} else {
|
|
267
|
+
// https://github.com/expo/expo/issues/43732
|
|
268
|
+
// UIGlassEffect must be created during layoutSubviews; layoutSubviews may
|
|
269
|
+
// not fire on re-entry if the geometry hasn't changed, so request a pass.
|
|
270
|
+
setNeedsLayout()
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
private func updateEffect() {
|
|
275
|
+
if !isMounted {
|
|
276
|
+
return
|
|
277
|
+
}
|
|
278
|
+
guard isGlassEffectAvailable() else {
|
|
279
|
+
return
|
|
280
|
+
}
|
|
281
|
+
if #available(iOS 26.0, tvOS 26.0, macOS 26.0, *) {
|
|
282
|
+
#if compiler(>=6.2) // Xcode 26
|
|
283
|
+
if let effect = glassEffect as? UIGlassEffect {
|
|
284
|
+
effect.tintColor = glassTintColor
|
|
285
|
+
effect.isInteractive = glassIsInteractive ?? false
|
|
286
|
+
if let colorScheme = glassColorScheme {
|
|
287
|
+
glassEffectView.overrideUserInterfaceStyle = colorScheme.toUIUserInterfaceStyle()
|
|
288
|
+
}
|
|
289
|
+
// we need to set the effect again or it has no effect!
|
|
290
|
+
glassEffectView.effect = effect
|
|
291
|
+
updateBorderRadius()
|
|
292
|
+
setBorderCurve(nil)
|
|
293
|
+
}
|
|
294
|
+
#endif
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
public override func mountChildComponentView(_ childComponentView: UIView, index: Int) {
|
|
299
|
+
glassEffectView.contentView.insertSubview(childComponentView, at: index)
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
public override func unmountChildComponentView(_ childComponentView: UIView, index: Int) {
|
|
303
|
+
childComponentView.removeFromSuperview()
|
|
304
|
+
}
|
|
305
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect-rn",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "React Native bindings for @funkit/connect. Re-exports the headless @funkit/connect-core logic; the RN platform halves (Restyle theme, WebView Swapped transport, Transfer/Swapped screens, logging) land in later releases.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
+
"ios",
|
|
8
|
+
"expo-module.config.json",
|
|
7
9
|
"CHANGELOG.md"
|
|
8
10
|
],
|
|
9
11
|
"type": "module",
|
|
@@ -42,18 +44,21 @@
|
|
|
42
44
|
"colord": "2.10.0",
|
|
43
45
|
"libphonenumber-js": "1.13.6",
|
|
44
46
|
"react-i18next": "12.3.1",
|
|
45
|
-
"@funkit/api-base": "8.
|
|
47
|
+
"@funkit/api-base": "8.5.0",
|
|
46
48
|
"@funkit/chains": "2.4.0",
|
|
47
|
-
"@funkit/connect-core": "8.
|
|
49
|
+
"@funkit/connect-core": "8.3.0"
|
|
48
50
|
},
|
|
49
51
|
"peerDependencies": {
|
|
50
52
|
"@gorhom/bottom-sheet": ">=5",
|
|
51
53
|
"@react-native-async-storage/async-storage": ">=1.23.1",
|
|
52
54
|
"@react-native-clipboard/clipboard": ">=1.13.0",
|
|
53
55
|
"@react-native-community/datetimepicker": ">=8",
|
|
56
|
+
"@solana/web3.js": ">=1.98.0",
|
|
54
57
|
"@statsig/react-bindings": ">=3.25",
|
|
55
58
|
"@stripe/stripe-react-native": ">=0.76.0 <1",
|
|
56
59
|
"@tanstack/react-query": ">=5.0.0",
|
|
60
|
+
"expo": ">=52",
|
|
61
|
+
"expo-blur": ">=14",
|
|
57
62
|
"i18next": ">=23",
|
|
58
63
|
"react": ">=18",
|
|
59
64
|
"react-native": ">=0.74",
|
|
@@ -76,6 +81,8 @@
|
|
|
76
81
|
"@tanstack/react-query": "5.76.1",
|
|
77
82
|
"@types/react": "^19.2.2",
|
|
78
83
|
"@types/react-dom": "^19.0.0",
|
|
84
|
+
"expo": "~57.0.21",
|
|
85
|
+
"expo-blur": "~57.0.2",
|
|
79
86
|
"i18next": "25.6.2",
|
|
80
87
|
"react": "^19.0.0",
|
|
81
88
|
"react-dom": "^19.0.0",
|
|
@@ -93,7 +100,8 @@
|
|
|
93
100
|
"tsc-alias": "1.8.16",
|
|
94
101
|
"viem": ">=2.22.14",
|
|
95
102
|
"vite": "^6.4.2",
|
|
96
|
-
"vitest": "^4.1.6"
|
|
103
|
+
"vitest": "^4.1.6",
|
|
104
|
+
"@funkit/fun-relay": "3.1.0"
|
|
97
105
|
},
|
|
98
106
|
"repository": {
|
|
99
107
|
"type": "git",
|
|
@@ -108,6 +116,9 @@
|
|
|
108
116
|
"@react-native-community/datetimepicker": {
|
|
109
117
|
"optional": true
|
|
110
118
|
},
|
|
119
|
+
"@solana/web3.js": {
|
|
120
|
+
"optional": true
|
|
121
|
+
},
|
|
111
122
|
"@stripe/stripe-react-native": {
|
|
112
123
|
"optional": true
|
|
113
124
|
},
|