juno-network 0.5.1 → 0.5.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/README.md +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
@@ -135,12 +135,12 @@ const {
|
|
135
135
|
⚡️ For web interfaces, we recommend using [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit). Continue below to see how to manually construct signers and clients.
|
136
136
|
### Initializing the Stargate Client
|
137
137
|
|
138
|
-
Use `
|
138
|
+
Use `getSigningCosmosClient` to get your `SigningStargateClient`, with the proto/amino messages full-loaded. No need to manually add amino types, just require and initialize the client:
|
139
139
|
|
140
140
|
```js
|
141
|
-
import {
|
141
|
+
import { getSigningCosmosClient } from 'juno-network';
|
142
142
|
|
143
|
-
const stargateClient = await
|
143
|
+
const stargateClient = await getSigningCosmosClient({
|
144
144
|
rpcEndpoint,
|
145
145
|
signer // OfflineSigner
|
146
146
|
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "juno-network",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.2",
|
4
4
|
"description": "juno",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/CosmosContracts/typescript#readme",
|
@@ -86,5 +86,5 @@
|
|
86
86
|
"@osmonauts/lcd": "0.6.0",
|
87
87
|
"protobufjs": "^6.11.2"
|
88
88
|
},
|
89
|
-
"gitHead": "
|
89
|
+
"gitHead": "6bbfd7b29db2b4a5e92f8359e82085a4d91bcc01"
|
90
90
|
}
|