@getpara/solana-wallet-connectors 2.0.0-alpha.14 → 2.0.0-alpha.16
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.
|
@@ -115,16 +115,11 @@ function SolanaExternalWalletProvider({
|
|
|
115
115
|
}
|
|
116
116
|
}, [solanaAddress, connecting, wallet]);
|
|
117
117
|
const signMessage = (message) => __async(this, null, function* () {
|
|
118
|
-
var _a;
|
|
119
118
|
try {
|
|
120
119
|
const encodedMessage = new TextEncoder().encode(message);
|
|
121
120
|
const signature = yield solanaSignMessage(encodedMessage);
|
|
122
121
|
return {
|
|
123
|
-
|
|
124
|
-
address: solanaAddress.toString(),
|
|
125
|
-
type: "SOLANA",
|
|
126
|
-
provider: (_a = wallet == null ? void 0 : wallet.adapter) == null ? void 0 : _a.name
|
|
127
|
-
},
|
|
122
|
+
address: solanaAddress.toString(),
|
|
128
123
|
signature: bs58.encode(signature)
|
|
129
124
|
};
|
|
130
125
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/solana-wallet-connectors",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"test": "vitest run --coverage"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@getpara/web-sdk": "2.0.0-alpha.
|
|
17
|
+
"@getpara/web-sdk": "2.0.0-alpha.16",
|
|
18
18
|
"@solana-mobile/wallet-adapter-mobile": "2.1.3",
|
|
19
19
|
"@solana/wallet-adapter-base": "0.9.23",
|
|
20
20
|
"@solana/wallet-adapter-react": "0.15.35",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"bs58": "6.0.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@getpara/react-common": "2.0.0-alpha.
|
|
25
|
+
"@getpara/react-common": "2.0.0-alpha.16",
|
|
26
26
|
"@types/react": "^18.0.31",
|
|
27
27
|
"@types/react-dom": "^18.2.7",
|
|
28
28
|
"typescript": "^5.4.3"
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"dist",
|
|
36
36
|
"package.json"
|
|
37
37
|
],
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "84eb1a14fa8918c449ae4b163fe173d34688cdcd"
|
|
39
39
|
}
|