@getpara/cosmos-wallet-connectors 2.0.0-alpha.67 → 2.0.0-alpha.68
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/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
https://www.npmjs.com/package/@getpara/cosmos-wallet-connectors
|
|
2
|
+
|
|
3
|
+
`@getpara/cosmos-wallet-connectors` is a package that provides wallet connectors for Cosmos-based blockchains when using Para's React SDK Lite.
|
|
4
|
+
This package enables integration with Cosmos wallets like Keplr, Leap, and Cosmostation in Para applications. After installation, you can configure it in your ParaProvider to support external Cosmos wallet connections.
|
|
5
|
+
###Prerequisites
|
|
6
|
+
|
|
7
|
+
To use Para, you need an API key. This key authenticates your requests to Para services and is essential for integration.
|
|
8
|
+
|
|
9
|
+
Don't have an API key yet? Request access to the [Developer Portal](https://developer.getpara.com/) to create API keys, manage billing, teams, and more.
|
|
10
|
+
|
|
11
|
+
###Learn more
|
|
12
|
+
|
|
13
|
+
For more information on Para’s Cosmos wallet connection visit the [Para Docs](https://docs.getpara.com/v2/react/guides/external-wallets/cosmos-lite#cosmos-wallets-with-react-sdk-lite)
|
|
@@ -134,7 +134,9 @@ function CosmosExternalWalletProvider({
|
|
|
134
134
|
withFullParaAuth,
|
|
135
135
|
withVerification: includeWalletVerification,
|
|
136
136
|
isConnectionOnly: connectionOnly
|
|
137
|
-
}
|
|
137
|
+
},
|
|
138
|
+
uri: window == null ? void 0 : window.location.origin,
|
|
139
|
+
chainId: selectedChainId
|
|
138
140
|
});
|
|
139
141
|
} catch (err) {
|
|
140
142
|
yield reset();
|
|
@@ -311,7 +313,6 @@ function CosmosExternalWalletProvider({
|
|
|
311
313
|
return __spreadProps(__spreadValues({
|
|
312
314
|
connect: () => connect(wallet.grazType),
|
|
313
315
|
connectMobile: () => connect(wallet.grazType),
|
|
314
|
-
getQrUri: () => "",
|
|
315
316
|
type: "COSMOS"
|
|
316
317
|
}, wallet), {
|
|
317
318
|
// Using name here since that's the only common id across the networks
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/cosmos-wallet-connectors",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.68",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@getpara/graz-connector": "2.0.0-alpha.
|
|
6
|
-
"@getpara/react-common": "2.0.0-alpha.
|
|
7
|
-
"@getpara/web-sdk": "2.0.0-alpha.
|
|
5
|
+
"@getpara/graz-connector": "2.0.0-alpha.68",
|
|
6
|
+
"@getpara/react-common": "2.0.0-alpha.68",
|
|
7
|
+
"@getpara/web-sdk": "2.0.0-alpha.68",
|
|
8
8
|
"@leapwallet/cosmos-social-login-capsule-provider": "^0.0.41",
|
|
9
9
|
"zustand": "^4.5.2",
|
|
10
10
|
"zustand-sync-tabs": "^0.2.2"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dist",
|
|
24
24
|
"package.json"
|
|
25
25
|
],
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "98955203281606201609bb4674f5984acb63d3bf",
|
|
27
27
|
"main": "dist/index.js",
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"graz": ">=0.4.1",
|