@1001-digital/layers.evm 0.0.1 → 0.0.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.
|
@@ -90,8 +90,8 @@ const login = async (connector: Connector) => {
|
|
|
90
90
|
walletConnectUri.value = ''
|
|
91
91
|
metaMaskUri.value = ''
|
|
92
92
|
|
|
93
|
-
const handleMessage = (event: { type: string; data?:
|
|
94
|
-
if (event.type === 'display_uri' && event.data) {
|
|
93
|
+
const handleMessage = (event: { type: string; data?: unknown }) => {
|
|
94
|
+
if (event.type === 'display_uri' && typeof event.data === 'string') {
|
|
95
95
|
if (connector.id === 'walletConnect') {
|
|
96
96
|
walletConnectUri.value = event.data
|
|
97
97
|
} else if (connector.id === 'metaMaskSDK') {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1001-digital/layers.evm",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@nuxt/eslint": "latest",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"build": "nuxt build .playground",
|
|
28
28
|
"generate": "nuxt generate .playground",
|
|
29
29
|
"preview": "nuxt preview .playground",
|
|
30
|
-
"lint": "eslint ."
|
|
30
|
+
"lint": "eslint .",
|
|
31
|
+
"typecheck": "nuxi typecheck .playground"
|
|
31
32
|
}
|
|
32
33
|
}
|