@funkit/connect 13.3.0 → 13.3.2
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 +31 -0
- package/dist/clients/lighter.js +6 -6
- package/dist/hooks/track/analytics/swappedIframeError.d.ts +0 -1
- package/dist/index.js +6 -32
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +49 -49
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +3 -3
- package/dist/hooks/track/analytics/swappedIframePayload.d.ts +0 -1
- package/dist/wallets/walletConnectors/{chunk-CU5J53XR.js → chunk-53MYTA42.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZSSSLFQF.js → chunk-65ULY6OC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XODA5ESL.js → chunk-A5POD5SV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RXRYHMRI.js → chunk-ANODOMIN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IWOMSW64.js → chunk-ASTCNVJC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-U52QO5HF.js → chunk-F45CUFRR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YRMBR6NA.js → chunk-FYPQ3HP4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BBDNB5TQ.js → chunk-IWPW26AL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4FHNLTR3.js → chunk-JJBLW4IU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NXWG6FG2.js → chunk-KE4CWI3A.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BBB2J3US.js → chunk-MWB6LFSG.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-34B7OJNT.js → chunk-OVDCDVFX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SR5CZR3L.js → chunk-PPQ6L4K2.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IA5432IR.js → chunk-RJF2YEZ5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RFCZYLNR.js → chunk-RQYEGJKL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TRZDAXCQ.js → chunk-TIHTQ3OB.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ALGPGI6V.js → chunk-TM7UBV3Q.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HOCKAU5H.js → chunk-USLZMUJ3.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 13.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [2da686c]
|
|
8
|
+
- @funkit/connect-core@17.3.1
|
|
9
|
+
|
|
10
|
+
## 13.3.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 4c35fe5: Mobile Swapped deposits now report transaction submissions and displayed errors with their checkout and available order identifiers.
|
|
15
|
+
- 43b840a: No consumer-facing change: test setup only.
|
|
16
|
+
- Updated dependencies [91f77d2]
|
|
17
|
+
- Updated dependencies [871f89a]
|
|
18
|
+
- Updated dependencies [98216eb]
|
|
19
|
+
- Updated dependencies [867df29]
|
|
20
|
+
- Updated dependencies [2873c15]
|
|
21
|
+
- Updated dependencies [5d0d387]
|
|
22
|
+
- Updated dependencies [1007661]
|
|
23
|
+
- Updated dependencies [4c35fe5]
|
|
24
|
+
- Updated dependencies [7ef34a5]
|
|
25
|
+
- Updated dependencies [54c813b]
|
|
26
|
+
- Updated dependencies [8225b0b]
|
|
27
|
+
- Updated dependencies [730fe05]
|
|
28
|
+
- Updated dependencies [f2b1f9e]
|
|
29
|
+
- Updated dependencies [939475c]
|
|
30
|
+
- Updated dependencies [53e14ea]
|
|
31
|
+
- @funkit/connect-core@17.3.0
|
|
32
|
+
- @funkit/api-base@11.0.1
|
|
33
|
+
|
|
3
34
|
## 13.3.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/dist/clients/lighter.js
CHANGED
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
useLighterAccountQuery,
|
|
6
6
|
useLighterAccountsQuery
|
|
7
7
|
} from "./chunk-SKYQYPX5.js";
|
|
8
|
-
import {
|
|
9
|
-
Box,
|
|
10
|
-
hasRemoteImageLoaded,
|
|
11
|
-
markRemoteImageLoaded,
|
|
12
|
-
useAsyncImage
|
|
13
|
-
} from "./chunk-747THMHY.js";
|
|
14
8
|
import {
|
|
15
9
|
useFunkitTranslation
|
|
16
10
|
} from "./chunk-RTHDOT5K.js";
|
|
17
11
|
import "./chunk-OODIKHYE.js";
|
|
18
12
|
import "./chunk-2W2P3OS6.js";
|
|
19
13
|
import "./chunk-KDZFZETH.js";
|
|
14
|
+
import {
|
|
15
|
+
Box,
|
|
16
|
+
hasRemoteImageLoaded,
|
|
17
|
+
markRemoteImageLoaded,
|
|
18
|
+
useAsyncImage
|
|
19
|
+
} from "./chunk-747THMHY.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
22
|
} from "./chunk-B67ESBGC.js";
|
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ function setFunkitConnectVersion({ version }) {
|
|
|
113
113
|
localStorage.setItem(storageKey, version);
|
|
114
114
|
}
|
|
115
115
|
function getCurrentSdkVersion() {
|
|
116
|
-
return "13.3.
|
|
116
|
+
return "13.3.2";
|
|
117
117
|
}
|
|
118
118
|
function useFingerprint() {
|
|
119
119
|
const fingerprint = useCallback(() => {
|
|
@@ -34561,6 +34561,7 @@ function SwappedIframeSkeleton({
|
|
|
34561
34561
|
|
|
34562
34562
|
// src/hooks/track/analytics/useTrackSwappedIframeError.ts
|
|
34563
34563
|
import { useRef as useRef37 } from "react";
|
|
34564
|
+
import { getSwappedIframeErrorKey } from "@funkit/connect-core";
|
|
34564
34565
|
|
|
34565
34566
|
// src/hooks/track/analytics/swappedErrorCode.ts
|
|
34566
34567
|
var rules = [
|
|
@@ -34614,18 +34615,8 @@ function getSwappedErrorCode(error) {
|
|
|
34614
34615
|
return rule ? `SWAPPED_${rule[0]}` : "SWAPPED_PROVIDER_ERROR";
|
|
34615
34616
|
}
|
|
34616
34617
|
|
|
34617
|
-
// src/hooks/track/analytics/swappedIframePayload.ts
|
|
34618
|
-
function readSwappedIdentifier(value) {
|
|
34619
|
-
if (typeof value === "string") {
|
|
34620
|
-
return value || null;
|
|
34621
|
-
}
|
|
34622
|
-
if (typeof value === "number" && Number.isFinite(value)) {
|
|
34623
|
-
return String(value);
|
|
34624
|
-
}
|
|
34625
|
-
return null;
|
|
34626
|
-
}
|
|
34627
|
-
|
|
34628
34618
|
// src/hooks/track/analytics/swappedIframeError.ts
|
|
34619
|
+
import { getSwappedOrderId } from "@funkit/connect-core";
|
|
34629
34620
|
function buildSwappedIframeErrorProperties(data, flow) {
|
|
34630
34621
|
const payload = typeof data === "object" && data !== null ? data : {};
|
|
34631
34622
|
return {
|
|
@@ -34635,24 +34626,9 @@ function buildSwappedIframeErrorProperties(data, flow) {
|
|
|
34635
34626
|
error_code: getSwappedErrorCode("error" in payload ? payload.error : null),
|
|
34636
34627
|
// The embed payload is opaque; never forward arbitrary nested error data.
|
|
34637
34628
|
error_message: null,
|
|
34638
|
-
order_id:
|
|
34639
|
-
"order_id" in payload ? payload.order_id : null
|
|
34640
|
-
)
|
|
34629
|
+
order_id: getSwappedOrderId(data)
|
|
34641
34630
|
};
|
|
34642
34631
|
}
|
|
34643
|
-
function getSwappedIframeErrorKey(data) {
|
|
34644
|
-
if (typeof data !== "object" || data === null) {
|
|
34645
|
-
return null;
|
|
34646
|
-
}
|
|
34647
|
-
const orderId = readSwappedIdentifier(
|
|
34648
|
-
"order_id" in data ? data.order_id : null
|
|
34649
|
-
);
|
|
34650
|
-
const error = readSwappedIdentifier("error" in data ? data.error : null);
|
|
34651
|
-
if (!orderId || !error) {
|
|
34652
|
-
return null;
|
|
34653
|
-
}
|
|
34654
|
-
return `${orderId}:${error}`;
|
|
34655
|
-
}
|
|
34656
34632
|
|
|
34657
34633
|
// src/hooks/track/analytics/useTrackSwappedIframeError.ts
|
|
34658
34634
|
function useTrackSwappedIframeError(flow, checkoutId) {
|
|
@@ -34716,8 +34692,8 @@ function buildSwappedWithdrawalOrderProperties(order) {
|
|
|
34716
34692
|
}
|
|
34717
34693
|
|
|
34718
34694
|
// src/hooks/track/analytics/swappedIframeSubmission.ts
|
|
34695
|
+
import { getSwappedOrderId as getSwappedOrderId2 } from "@funkit/connect-core";
|
|
34719
34696
|
function buildSwappedIframeSubmissionProperties(data, fopType, checkoutId, config) {
|
|
34720
|
-
const payload = typeof data === "object" && data !== null ? data : {};
|
|
34721
34697
|
return {
|
|
34722
34698
|
...NULL_VISIBLE_QUOTE_FEE_PROPERTIES,
|
|
34723
34699
|
checkout_id: checkoutId,
|
|
@@ -34741,9 +34717,7 @@ function buildSwappedIframeSubmissionProperties(data, fopType, checkoutId, confi
|
|
|
34741
34717
|
est_fulfillment_time_ms: null,
|
|
34742
34718
|
payment_rail: "swapped",
|
|
34743
34719
|
payment_method: mapSwappedFopTypeToPaymentMethod(fopType),
|
|
34744
|
-
order_id:
|
|
34745
|
-
"order_id" in payload ? payload.order_id : null
|
|
34746
|
-
)
|
|
34720
|
+
order_id: getSwappedOrderId2(data)
|
|
34747
34721
|
};
|
|
34748
34722
|
}
|
|
34749
34723
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-TM7UBV3Q.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-USLZMUJ3.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bybitWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-IWPW26AL.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
bybitWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
coin98Wallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-RQYEGJKL.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
coin98Wallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-ASTCNVJC.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
xdefiWallet
|
|
4
|
-
} from "./chunk-HXX4PRE2.js";
|
|
5
2
|
import {
|
|
6
3
|
zealWallet
|
|
7
4
|
} from "./chunk-GLX5FULK.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OVDCDVFX.js";
|
|
8
|
+
import {
|
|
9
|
+
xdefiWallet
|
|
10
|
+
} from "./chunk-HXX4PRE2.js";
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A5POD5SV.js";
|
|
14
14
|
import {
|
|
15
15
|
talismanWallet
|
|
16
16
|
} from "./chunk-IAYYWCVB.js";
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
} from "./chunk-U74RFZOL.js";
|
|
20
20
|
import {
|
|
21
21
|
tokenPocketWallet
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KE4CWI3A.js";
|
|
23
23
|
import {
|
|
24
24
|
tokenaryWallet
|
|
25
25
|
} from "./chunk-TPM5PUJD.js";
|
|
26
26
|
import {
|
|
27
27
|
trustWallet
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PPQ6L4K2.js";
|
|
29
29
|
import {
|
|
30
30
|
uniswapWallet
|
|
31
31
|
} from "./chunk-UNDWHCDH.js";
|
|
@@ -40,13 +40,13 @@ import {
|
|
|
40
40
|
} from "./chunk-RQ2GXOJL.js";
|
|
41
41
|
import {
|
|
42
42
|
rainbowWallet
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-65ULY6OC.js";
|
|
44
44
|
import {
|
|
45
45
|
ramperWallet
|
|
46
46
|
} from "./chunk-GPXIBTWN.js";
|
|
47
47
|
import {
|
|
48
48
|
roninWallet
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-RJF2YEZ5.js";
|
|
50
50
|
import {
|
|
51
51
|
safeWallet
|
|
52
52
|
} from "./chunk-IR3PJMVM.js";
|
|
@@ -55,22 +55,22 @@ import {
|
|
|
55
55
|
} from "./chunk-UN3ONVNC.js";
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import {
|
|
60
|
-
ledgerWallet
|
|
61
|
-
} from "./chunk-BL4OC2EJ.js";
|
|
58
|
+
} from "./chunk-MWB6LFSG.js";
|
|
62
59
|
import {
|
|
63
60
|
metaMaskWallet
|
|
64
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ANODOMIN.js";
|
|
62
|
+
import {
|
|
63
|
+
kresusWallet
|
|
64
|
+
} from "./chunk-V77ATGZT.js";
|
|
65
65
|
import {
|
|
66
66
|
mewWallet
|
|
67
67
|
} from "./chunk-DSPQXAB2.js";
|
|
68
|
-
import {
|
|
69
|
-
okxWallet
|
|
70
|
-
} from "./chunk-CU5J53XR.js";
|
|
71
68
|
import {
|
|
72
69
|
oktoWallet
|
|
73
70
|
} from "./chunk-V4M3SNPS.js";
|
|
71
|
+
import {
|
|
72
|
+
okxWallet
|
|
73
|
+
} from "./chunk-53MYTA42.js";
|
|
74
74
|
import {
|
|
75
75
|
omniWallet
|
|
76
76
|
} from "./chunk-2TAUCVX7.js";
|
|
@@ -81,76 +81,76 @@ import {
|
|
|
81
81
|
oneKeyWallet
|
|
82
82
|
} from "./chunk-KN32ITJ7.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
86
|
-
import {
|
|
87
|
-
foxWallet
|
|
88
|
-
} from "./chunk-U52QO5HF.js";
|
|
84
|
+
enkryptWallet
|
|
85
|
+
} from "./chunk-Z6LDN2AN.js";
|
|
89
86
|
import {
|
|
90
87
|
frameWallet
|
|
91
88
|
} from "./chunk-B572YIAQ.js";
|
|
89
|
+
import {
|
|
90
|
+
foxWallet
|
|
91
|
+
} from "./chunk-F45CUFRR.js";
|
|
92
92
|
import {
|
|
93
93
|
frontierWallet
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-ASTCNVJC.js";
|
|
95
|
+
import {
|
|
96
|
+
gateWallet
|
|
97
|
+
} from "./chunk-FYPQ3HP4.js";
|
|
95
98
|
import {
|
|
96
99
|
imTokenWallet
|
|
97
100
|
} from "./chunk-YY2JA23M.js";
|
|
98
|
-
import {
|
|
99
|
-
gateWallet
|
|
100
|
-
} from "./chunk-YRMBR6NA.js";
|
|
101
101
|
import {
|
|
102
102
|
injectedWallet
|
|
103
103
|
} from "./chunk-M75V7OL3.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
ledgerWallet
|
|
106
|
+
} from "./chunk-BL4OC2EJ.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
108
|
+
bitskiWallet
|
|
109
|
+
} from "./chunk-NPITCCJE.js";
|
|
110
110
|
import {
|
|
111
111
|
clvWallet
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-JJBLW4IU.js";
|
|
113
113
|
import {
|
|
114
114
|
coin98Wallet
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-RQYEGJKL.js";
|
|
116
116
|
import {
|
|
117
117
|
coinbaseWallet
|
|
118
118
|
} from "./chunk-SM2A3OSG.js";
|
|
119
119
|
import {
|
|
120
120
|
coreWallet
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-TIHTQ3OB.js";
|
|
122
122
|
import {
|
|
123
123
|
customWallet
|
|
124
124
|
} from "./chunk-VKM5M5UK.js";
|
|
125
|
+
import {
|
|
126
|
+
dawnWallet
|
|
127
|
+
} from "./chunk-LV6YV3DE.js";
|
|
125
128
|
import {
|
|
126
129
|
desigWallet
|
|
127
130
|
} from "./chunk-DFHP75HV.js";
|
|
128
|
-
import {
|
|
129
|
-
enkryptWallet
|
|
130
|
-
} from "./chunk-Z6LDN2AN.js";
|
|
131
|
-
import {
|
|
132
|
-
bifrostWallet
|
|
133
|
-
} from "./chunk-ALGPGI6V.js";
|
|
134
|
-
import {
|
|
135
|
-
bitverseWallet
|
|
136
|
-
} from "./chunk-5AEWIKRA.js";
|
|
137
|
-
import {
|
|
138
|
-
bitgetWallet
|
|
139
|
-
} from "./chunk-HOCKAU5H.js";
|
|
140
131
|
import {
|
|
141
132
|
argentWallet
|
|
142
133
|
} from "./chunk-XSDTNMQY.js";
|
|
143
134
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-USLZMUJ3.js";
|
|
137
|
+
import {
|
|
138
|
+
bifrostWallet
|
|
139
|
+
} from "./chunk-TM7UBV3Q.js";
|
|
146
140
|
import {
|
|
147
141
|
braveWallet
|
|
148
142
|
} from "./chunk-U2XXV45G.js";
|
|
149
143
|
import {
|
|
150
144
|
bybitWallet
|
|
151
|
-
} from "./chunk-
|
|
152
|
-
import "./chunk-AALSJCUR.js";
|
|
145
|
+
} from "./chunk-IWPW26AL.js";
|
|
153
146
|
import "./chunk-EYWGX5LT.js";
|
|
147
|
+
import {
|
|
148
|
+
bloomWallet
|
|
149
|
+
} from "./chunk-PNHDOC77.js";
|
|
150
|
+
import {
|
|
151
|
+
bitverseWallet
|
|
152
|
+
} from "./chunk-5AEWIKRA.js";
|
|
153
|
+
import "./chunk-AALSJCUR.js";
|
|
154
154
|
import "./chunk-B454LLKJ.js";
|
|
155
155
|
export {
|
|
156
156
|
argentWallet,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-ANODOMIN.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-65ULY6OC.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
roninWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-RJF2YEZ5.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
roninWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
safepalWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-MWB6LFSG.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
safepalWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-KE4CWI3A.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-PPQ6L4K2.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-OVDCDVFX.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.2",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"@aave-dao/aave-address-book": "^4.49.9",
|
|
92
92
|
"@aave/client": "^0.9.3",
|
|
93
93
|
"@datadog/browser-logs": "5.22.0",
|
|
94
|
-
"@funkit/api-base": "11.0.
|
|
94
|
+
"@funkit/api-base": "11.0.1",
|
|
95
95
|
"@funkit/chains": "3.0.0",
|
|
96
|
-
"@funkit/connect-core": "17.
|
|
96
|
+
"@funkit/connect-core": "17.3.1",
|
|
97
97
|
"@funkit/fun-relay": "4.1.0",
|
|
98
98
|
"@funkit/utils": "5.1.3",
|
|
99
99
|
"@number-flow/react": "^0.5.5",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function readSwappedIdentifier(value: unknown): string | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/okxWallet/okxWallet.ts
|
|
11
11
|
import { isAndroid } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
|
|
11
11
|
import { isAndroid, isIOS } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/subWallet/subWallet.ts
|
|
11
11
|
var subWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
|
|
11
11
|
import { isAndroid, isIOS } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
|
|
11
11
|
import { isAndroid } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/foxWallet/foxWallet.ts
|
|
11
11
|
var foxWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/gateWallet/gateWallet.ts
|
|
11
11
|
import { isAndroid } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/bybitWallet/bybitWallet.ts
|
|
11
11
|
var bybitWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/clvWallet/clvWallet.ts
|
|
11
11
|
var clvWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
11
11
|
import { isMobile } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
|
|
11
11
|
var safepalWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
|
|
11
11
|
import { isIOS } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/trustWallet/trustWallet.ts
|
|
11
11
|
import { isMobile } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/roninWallet/roninWallet.ts
|
|
11
11
|
var roninWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
|
|
11
11
|
var coin98Wallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/coreWallet/coreWallet.ts
|
|
11
11
|
var coreWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
|
|
11
11
|
import { isAndroid } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
11
11
|
import { isAndroid } from "@funkit/utils";
|