@meshconnect/uwc-react 0.14.3-snapshot.df92d77 → 0.14.4-snapshot.fd7ab27
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshconnect/uwc-react",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4-snapshot.fd7ab27",
|
|
4
4
|
"description": "React hooks and components for Universal Wallet Connector",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"src"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@meshconnect/uwc-
|
|
20
|
-
"@meshconnect/uwc-
|
|
19
|
+
"@meshconnect/uwc-types": "0.27.2-snapshot.fd7ab27",
|
|
20
|
+
"@meshconnect/uwc-core": "2.4.1-snapshot.fd7ab27"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^18.3.0 || ^19.0.0"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/react-dom": "^19.2.4",
|
|
28
28
|
"react": "^19.2.8",
|
|
29
29
|
"react-dom": "^19.2.8",
|
|
30
|
-
"typescript": "^
|
|
30
|
+
"typescript": "^7.0.2"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsc",
|
|
37
37
|
"dev": "tsc --watch",
|
|
38
|
-
"lint": "
|
|
39
|
-
"lint:fix": "
|
|
38
|
+
"lint": "biome check src",
|
|
39
|
+
"lint:fix": "biome check --write src",
|
|
40
40
|
"type-check": "tsc --noEmit"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -26,8 +26,9 @@ describe('ConnectionProvider — wallet-less session', () => {
|
|
|
26
26
|
return { UniversalWalletConnector }
|
|
27
27
|
})
|
|
28
28
|
|
|
29
|
-
const { ConnectionProvider, ConnectionContext } =
|
|
30
|
-
|
|
29
|
+
const { ConnectionProvider, ConnectionContext } = await import(
|
|
30
|
+
'./ConnectionProvider'
|
|
31
|
+
)
|
|
31
32
|
const { useSession } = await import('../hooks/useSession')
|
|
32
33
|
const { UniversalWalletConnector } = await import('@meshconnect/uwc-core')
|
|
33
34
|
|
|
@@ -74,7 +75,8 @@ describe('ConnectionProvider — wallet-less session', () => {
|
|
|
74
75
|
const { useSwitchNetwork } = await import('../hooks/useSwitchNetwork')
|
|
75
76
|
|
|
76
77
|
let switchNetwork:
|
|
77
|
-
((networkId: `${string}:${string}`) => Promise<void>)
|
|
78
|
+
| ((networkId: `${string}:${string}`) => Promise<void>)
|
|
79
|
+
| undefined
|
|
78
80
|
|
|
79
81
|
function Capture() {
|
|
80
82
|
switchNetwork = useSwitchNetwork().switchNetwork
|
|
@@ -56,8 +56,9 @@ describe('ConnectionProvider singleton behavior', () => {
|
|
|
56
56
|
return { UniversalWalletConnector }
|
|
57
57
|
})
|
|
58
58
|
|
|
59
|
-
const { ConnectionProvider, ConnectionContext } =
|
|
60
|
-
|
|
59
|
+
const { ConnectionProvider, ConnectionContext } = await import(
|
|
60
|
+
'./ConnectionProvider'
|
|
61
|
+
)
|
|
61
62
|
const { UniversalWalletConnector } = await import('@meshconnect/uwc-core')
|
|
62
63
|
const connectors: unknown[] = []
|
|
63
64
|
|