@xpla/xplajs 1.7.0-beta.1 → 1.7.0-beta.11

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.
Files changed (285) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +3 -3
  3. package/package.json +14 -12
  4. package/src/binary.ts +1 -1
  5. package/src/cosmos/app/runtime/v1alpha1/module.ts +6 -7
  6. package/src/cosmos/app/runtime/v2/module.ts +9 -10
  7. package/src/cosmos/app/v1alpha1/config.ts +10 -9
  8. package/src/cosmos/app/v1alpha1/module.ts +9 -10
  9. package/src/cosmos/app/v1alpha1/query.rpc.func.ts +2 -1
  10. package/src/cosmos/app/v1alpha1/query.ts +6 -7
  11. package/src/cosmos/auth/module/v1/module.ts +6 -7
  12. package/src/cosmos/auth/v1beta1/accounts.ts +6 -7
  13. package/src/cosmos/auth/v1beta1/auth.ts +15 -12
  14. package/src/cosmos/auth/v1beta1/genesis.ts +3 -5
  15. package/src/cosmos/auth/v1beta1/query.rpc.func.ts +20 -10
  16. package/src/cosmos/auth/v1beta1/query.ts +52 -55
  17. package/src/cosmos/auth/v1beta1/tx.registry.ts +27 -1
  18. package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +2 -1
  19. package/src/cosmos/auth/v1beta1/tx.ts +6 -7
  20. package/src/cosmos/authz/module/v1/module.ts +3 -5
  21. package/src/cosmos/authz/v1beta1/authz.ts +32 -17
  22. package/src/cosmos/authz/v1beta1/event.ts +5 -8
  23. package/src/cosmos/authz/v1beta1/genesis.ts +4 -4
  24. package/src/cosmos/authz/v1beta1/query.rpc.func.ts +6 -3
  25. package/src/cosmos/authz/v1beta1/query.ts +22 -14
  26. package/src/cosmos/authz/v1beta1/tx.registry.ts +63 -1
  27. package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +6 -3
  28. package/src/cosmos/authz/v1beta1/tx.ts +15 -19
  29. package/src/cosmos/autocli/v1/options.ts +22 -14
  30. package/src/cosmos/autocli/v1/query.rpc.func.ts +2 -1
  31. package/src/cosmos/autocli/v1/query.ts +9 -7
  32. package/src/cosmos/bank/module/v1/module.ts +3 -5
  33. package/src/cosmos/bank/v1beta1/authz.ts +6 -3
  34. package/src/cosmos/bank/v1beta1/bank.ts +22 -17
  35. package/src/cosmos/bank/v1beta1/genesis.ts +11 -6
  36. package/src/cosmos/bank/v1beta1/query.rpc.func.ts +26 -13
  37. package/src/cosmos/bank/v1beta1/query.ts +83 -62
  38. package/src/cosmos/bank/v1beta1/tx.registry.ts +81 -1
  39. package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +8 -4
  40. package/src/cosmos/bank/v1beta1/tx.ts +22 -22
  41. package/src/cosmos/base/abci/v1beta1/abci.ts +30 -29
  42. package/src/cosmos/base/grpc/v2/service.rpc.func.ts +4 -2
  43. package/src/cosmos/base/grpc/v2/service.ts +12 -16
  44. package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +4 -2
  45. package/src/cosmos/base/node/v1beta1/query.ts +9 -14
  46. package/src/cosmos/base/query/v1beta1/pagination.ts +5 -8
  47. package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +4 -2
  48. package/src/cosmos/base/reflection/v1beta1/reflection.ts +9 -14
  49. package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +12 -6
  50. package/src/cosmos/base/reflection/v2alpha1/reflection.ts +72 -67
  51. package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +14 -7
  52. package/src/cosmos/base/tendermint/v1beta1/query.ts +56 -49
  53. package/src/cosmos/base/tendermint/v1beta1/types.ts +11 -6
  54. package/src/cosmos/base/v1beta1/coin.ts +16 -20
  55. package/src/cosmos/consensus/module/v1/module.ts +3 -5
  56. package/src/cosmos/consensus/v1/query.rpc.func.ts +2 -1
  57. package/src/cosmos/consensus/v1/query.ts +6 -7
  58. package/src/cosmos/consensus/v1/tx.registry.ts +27 -1
  59. package/src/cosmos/consensus/v1/tx.rpc.func.ts +2 -1
  60. package/src/cosmos/consensus/v1/tx.ts +9 -7
  61. package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +5 -8
  62. package/src/cosmos/distribution/module/v1/module.ts +3 -5
  63. package/src/cosmos/distribution/v1beta1/distribution.ts +53 -43
  64. package/src/cosmos/distribution/v1beta1/genesis.ts +32 -19
  65. package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +20 -10
  66. package/src/cosmos/distribution/v1beta1/query.ts +52 -53
  67. package/src/cosmos/distribution/v1beta1/tx.registry.ts +135 -1
  68. package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +14 -7
  69. package/src/cosmos/distribution/v1beta1/tx.ts +35 -38
  70. package/src/cosmos/evidence/module/v1/module.ts +3 -5
  71. package/src/cosmos/evidence/v1beta1/evidence.ts +3 -5
  72. package/src/cosmos/evidence/v1beta1/genesis.ts +3 -5
  73. package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +4 -2
  74. package/src/cosmos/evidence/v1beta1/query.ts +11 -12
  75. package/src/cosmos/evidence/v1beta1/tx.registry.ts +27 -1
  76. package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +2 -1
  77. package/src/cosmos/evidence/v1beta1/tx.ts +6 -8
  78. package/src/cosmos/feegrant/module/v1/module.ts +3 -5
  79. package/src/cosmos/feegrant/v1beta1/feegrant.ts +24 -9
  80. package/src/cosmos/feegrant/v1beta1/genesis.ts +4 -4
  81. package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +6 -3
  82. package/src/cosmos/feegrant/v1beta1/query.ts +20 -15
  83. package/src/cosmos/feegrant/v1beta1/tx.registry.ts +63 -1
  84. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +6 -3
  85. package/src/cosmos/feegrant/v1beta1/tx.ts +17 -19
  86. package/src/cosmos/gov/module/v1/module.ts +3 -5
  87. package/src/cosmos/gov/v1/genesis.ts +10 -4
  88. package/src/cosmos/gov/v1/gov.ts +25 -24
  89. package/src/cosmos/gov/v1/query.rpc.func.ts +18 -9
  90. package/src/cosmos/gov/v1/query.ts +54 -45
  91. package/src/cosmos/gov/v1/tx.registry.ts +135 -1
  92. package/src/cosmos/gov/v1/tx.rpc.func.ts +14 -7
  93. package/src/cosmos/gov/v1/tx.ts +60 -45
  94. package/src/cosmos/gov/v1beta1/genesis.ts +9 -4
  95. package/src/cosmos/gov/v1beta1/gov.ts +56 -32
  96. package/src/cosmos/gov/v1beta1/query.rpc.func.ts +16 -8
  97. package/src/cosmos/gov/v1beta1/query.ts +49 -39
  98. package/src/cosmos/gov/v1beta1/tx.registry.ts +81 -1
  99. package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +8 -4
  100. package/src/cosmos/gov/v1beta1/tx.ts +47 -29
  101. package/src/cosmos/ics23/v1/proofs.ts +45 -31
  102. package/src/cosmos/mint/module/v1/module.ts +3 -5
  103. package/src/cosmos/mint/v1beta1/genesis.ts +5 -4
  104. package/src/cosmos/mint/v1beta1/mint.ts +24 -26
  105. package/src/cosmos/mint/v1beta1/query.rpc.func.ts +6 -3
  106. package/src/cosmos/mint/v1beta1/query.ts +14 -19
  107. package/src/cosmos/mint/v1beta1/tx.registry.ts +27 -1
  108. package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +2 -1
  109. package/src/cosmos/mint/v1beta1/tx.ts +6 -7
  110. package/src/cosmos/params/module/v1/module.ts +3 -5
  111. package/src/cosmos/params/v1beta1/params.ts +8 -6
  112. package/src/cosmos/params/v1beta1/query.rpc.func.ts +4 -2
  113. package/src/cosmos/params/v1beta1/query.ts +13 -15
  114. package/src/cosmos/slashing/module/v1/module.ts +3 -5
  115. package/src/cosmos/slashing/v1beta1/genesis.ts +14 -11
  116. package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +6 -3
  117. package/src/cosmos/slashing/v1beta1/query.ts +18 -16
  118. package/src/cosmos/slashing/v1beta1/slashing.ts +5 -8
  119. package/src/cosmos/slashing/v1beta1/tx.registry.ts +45 -1
  120. package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +4 -2
  121. package/src/cosmos/slashing/v1beta1/tx.ts +10 -13
  122. package/src/cosmos/staking/module/v1/module.ts +3 -5
  123. package/src/cosmos/staking/v1beta1/authz.ts +9 -6
  124. package/src/cosmos/staking/v1beta1/genesis.ts +11 -7
  125. package/src/cosmos/staking/v1beta1/query.rpc.func.ts +28 -14
  126. package/src/cosmos/staking/v1beta1/query.ts +85 -65
  127. package/src/cosmos/staking/v1beta1/staking.ts +82 -76
  128. package/src/cosmos/staking/v1beta1/tx.registry.ts +135 -1
  129. package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +14 -7
  130. package/src/cosmos/staking/v1beta1/tx.ts +43 -40
  131. package/src/cosmos/tx/config/v1/config.ts +3 -5
  132. package/src/cosmos/tx/signing/v1beta1/signing.ts +17 -13
  133. package/src/cosmos/tx/v1beta1/service.rpc.func.ts +18 -9
  134. package/src/cosmos/tx/v1beta1/service.ts +54 -46
  135. package/src/cosmos/tx/v1beta1/tx.ts +41 -32
  136. package/src/cosmos/upgrade/module/v1/module.ts +3 -5
  137. package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +10 -5
  138. package/src/cosmos/upgrade/v1beta1/query.ts +23 -30
  139. package/src/cosmos/upgrade/v1beta1/tx.registry.ts +45 -1
  140. package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +4 -2
  141. package/src/cosmos/upgrade/v1beta1/tx.ts +10 -13
  142. package/src/cosmos/upgrade/v1beta1/upgrade.ts +14 -11
  143. package/src/cosmos_proto/cosmos.ts +5 -6
  144. package/src/cosmwasm/wasm/v1/authz.ts +51 -24
  145. package/src/cosmwasm/wasm/v1/genesis.ts +17 -11
  146. package/src/cosmwasm/wasm/v1/ibc.ts +83 -11
  147. package/src/cosmwasm/wasm/v1/proposal_legacy.ts +61 -29
  148. package/src/cosmwasm/wasm/v1/query.lcd.ts +21 -1
  149. package/src/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -1
  150. package/src/cosmwasm/wasm/v1/query.rpc.func.ts +31 -12
  151. package/src/cosmwasm/wasm/v1/query.ts +322 -55
  152. package/src/cosmwasm/wasm/v1/tx.registry.ts +315 -1
  153. package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +34 -17
  154. package/src/cosmwasm/wasm/v1/tx.ts +81 -99
  155. package/src/cosmwasm/wasm/v1/types.ts +21 -23
  156. package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +5 -6
  157. package/src/ethermint/evm/v1/events.ts +9 -10
  158. package/src/ethermint/evm/v1/evm.ts +21 -15
  159. package/src/ethermint/evm/v1/genesis.ts +8 -4
  160. package/src/ethermint/evm/v1/query.rpc.func.ts +24 -12
  161. package/src/ethermint/evm/v1/query.ts +57 -45
  162. package/src/ethermint/evm/v1/tx.registry.ts +45 -1
  163. package/src/ethermint/evm/v1/tx.rpc.func.ts +4 -2
  164. package/src/ethermint/evm/v1/tx.ts +25 -15
  165. package/src/ethermint/feemarket/v1/events.ts +5 -6
  166. package/src/ethermint/feemarket/v1/feemarket.ts +10 -11
  167. package/src/ethermint/feemarket/v1/genesis.ts +4 -3
  168. package/src/ethermint/feemarket/v1/query.rpc.func.ts +6 -3
  169. package/src/ethermint/feemarket/v1/query.ts +14 -13
  170. package/src/ethermint/feemarket/v1/tx.registry.ts +27 -1
  171. package/src/ethermint/feemarket/v1/tx.rpc.func.ts +2 -1
  172. package/src/ethermint/feemarket/v1/tx.ts +6 -6
  173. package/src/ethermint/types/v1/account.ts +6 -3
  174. package/src/ethermint/types/v1/dynamic_fee.ts +3 -4
  175. package/src/ethermint/types/v1/indexer.ts +3 -4
  176. package/src/ethermint/types/v1/web3.ts +3 -4
  177. package/src/extern.ts +2 -2
  178. package/src/google/api/http.ts +10 -6
  179. package/src/google/protobuf/any.ts +2 -1
  180. package/src/google/protobuf/descriptor.ts +118 -44
  181. package/src/google/protobuf/duration.ts +3 -4
  182. package/src/google/protobuf/timestamp.ts +3 -4
  183. package/src/helper-func-types.ts +26 -10
  184. package/src/helpers.ts +1 -2
  185. package/src/ibc/applications/fee/v1/ack.ts +3 -5
  186. package/src/ibc/applications/fee/v1/fee.ts +14 -10
  187. package/src/ibc/applications/fee/v1/genesis.ts +17 -15
  188. package/src/ibc/applications/fee/v1/metadata.ts +3 -5
  189. package/src/ibc/applications/fee/v1/query.rpc.func.ts +20 -10
  190. package/src/ibc/applications/fee/v1/query.ts +58 -48
  191. package/src/ibc/applications/fee/v1/tx.registry.ts +81 -1
  192. package/src/ibc/applications/fee/v1/tx.rpc.func.ts +8 -4
  193. package/src/ibc/applications/fee/v1/tx.ts +20 -24
  194. package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +3 -5
  195. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +4 -2
  196. package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +10 -13
  197. package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +63 -1
  198. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +6 -3
  199. package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +15 -18
  200. package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +19 -14
  201. package/src/ibc/applications/interchain_accounts/host/v1/host.ts +5 -8
  202. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +2 -1
  203. package/src/ibc/applications/interchain_accounts/host/v1/query.ts +6 -7
  204. package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +45 -1
  205. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +4 -2
  206. package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +11 -12
  207. package/src/ibc/applications/interchain_accounts/v1/account.ts +7 -4
  208. package/src/ibc/applications/interchain_accounts/v1/metadata.ts +3 -5
  209. package/src/ibc/applications/interchain_accounts/v1/packet.ts +5 -8
  210. package/src/ibc/applications/transfer/v1/authz.ts +9 -5
  211. package/src/ibc/applications/transfer/v1/genesis.ts +6 -4
  212. package/src/ibc/applications/transfer/v1/query.rpc.func.ts +12 -6
  213. package/src/ibc/applications/transfer/v1/query.ts +31 -33
  214. package/src/ibc/applications/transfer/v1/transfer.ts +5 -8
  215. package/src/ibc/applications/transfer/v1/tx.registry.ts +45 -1
  216. package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +4 -2
  217. package/src/ibc/applications/transfer/v1/tx.ts +12 -12
  218. package/src/ibc/applications/transfer/v2/packet.ts +3 -5
  219. package/src/ibc/core/channel/v1/channel.ts +24 -24
  220. package/src/ibc/core/channel/v1/genesis.ts +9 -7
  221. package/src/ibc/core/channel/v1/query.rpc.func.ts +34 -17
  222. package/src/ibc/core/channel/v1/query.ts +102 -83
  223. package/src/ibc/core/channel/v1/tx.registry.ts +351 -1
  224. package/src/ibc/core/channel/v1/tx.rpc.func.ts +38 -19
  225. package/src/ibc/core/channel/v1/tx.ts +106 -97
  226. package/src/ibc/core/channel/v1/upgrade.ts +9 -10
  227. package/src/ibc/core/client/v1/client.ts +21 -20
  228. package/src/ibc/core/client/v1/genesis.ts +12 -9
  229. package/src/ibc/core/client/v1/query.rpc.func.ts +20 -10
  230. package/src/ibc/core/client/v1/query.ts +55 -52
  231. package/src/ibc/core/client/v1/tx.registry.ts +135 -1
  232. package/src/ibc/core/client/v1/tx.rpc.func.ts +14 -7
  233. package/src/ibc/core/client/v1/tx.ts +30 -43
  234. package/src/ibc/core/commitment/v1/commitment.ts +10 -13
  235. package/src/ibc/core/connection/v1/connection.ts +20 -20
  236. package/src/ibc/core/connection/v1/genesis.ts +6 -4
  237. package/src/ibc/core/connection/v1/query.rpc.func.ts +12 -6
  238. package/src/ibc/core/connection/v1/query.ts +36 -31
  239. package/src/ibc/core/connection/v1/tx.registry.ts +99 -1
  240. package/src/ibc/core/connection/v1/tx.rpc.func.ts +10 -5
  241. package/src/ibc/core/connection/v1/tx.ts +29 -27
  242. package/src/ibc/core/types/v1/genesis.ts +6 -4
  243. package/src/ibc/lightclients/localhost/v2/localhost.ts +4 -4
  244. package/src/ibc/lightclients/solomachine/v2/solomachine.ts +37 -46
  245. package/src/ibc/lightclients/solomachine/v3/solomachine.ts +19 -24
  246. package/src/ibc/lightclients/tendermint/v1/tendermint.ts +19 -13
  247. package/src/ibc/lightclients/wasm/v1/genesis.ts +6 -7
  248. package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +4 -2
  249. package/src/ibc/lightclients/wasm/v1/query.ts +11 -12
  250. package/src/ibc/lightclients/wasm/v1/tx.registry.ts +63 -1
  251. package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +6 -3
  252. package/src/ibc/lightclients/wasm/v1/tx.ts +13 -20
  253. package/src/ibc/lightclients/wasm/v1/wasm.ts +10 -13
  254. package/src/registry.ts +1 -1
  255. package/src/tendermint/abci/types.ts +157 -74
  256. package/src/tendermint/crypto/keys.ts +3 -4
  257. package/src/tendermint/crypto/proof.ts +13 -10
  258. package/src/tendermint/p2p/types.ts +11 -9
  259. package/src/tendermint/types/block.ts +7 -3
  260. package/src/tendermint/types/evidence.ts +15 -6
  261. package/src/tendermint/types/params.ts +20 -15
  262. package/src/tendermint/types/types.ts +48 -21
  263. package/src/tendermint/types/validator.ts +10 -5
  264. package/src/tendermint/version/types.ts +5 -6
  265. package/src/test.ts +11 -0
  266. package/src/types.ts +3 -6
  267. package/src/utf8.ts +1 -1
  268. package/src/varint.ts +1 -1
  269. package/src/xpla/lcd.ts +102 -102
  270. package/src/xpla/reward/v1beta1/genesis.ts +4 -3
  271. package/src/xpla/reward/v1beta1/query.rpc.func.ts +4 -2
  272. package/src/xpla/reward/v1beta1/query.ts +11 -8
  273. package/src/xpla/reward/v1beta1/reward.ts +13 -14
  274. package/src/xpla/reward/v1beta1/tx.registry.ts +45 -1
  275. package/src/xpla/reward/v1beta1/tx.rpc.func.ts +4 -2
  276. package/src/xpla/reward/v1beta1/tx.ts +11 -10
  277. package/src/xpla/rpc.query.ts +89 -89
  278. package/src/xpla/volunteer/v1beta1/genesis.ts +4 -3
  279. package/src/xpla/volunteer/v1beta1/proposal.ts +13 -13
  280. package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +2 -1
  281. package/src/xpla/volunteer/v1beta1/query.ts +5 -6
  282. package/src/xpla/volunteer/v1beta1/tx.registry.ts +45 -1
  283. package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +4 -2
  284. package/src/xpla/volunteer/v1beta1/tx.ts +12 -12
  285. package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +3 -4
package/CHANGELOG.md CHANGED
@@ -3,6 +3,27 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.7.0-beta.11](https://github.com/xpladev/xplajs/compare/@xpla/xplajs@1.7.0-beta.10...@xpla/xplajs@1.7.0-beta.11) (2025-03-10)
7
+
8
+
9
+ ### Features
10
+
11
+ * implements common interchainjs ([c7b42ca](https://github.com/xpladev/xplajs/commit/c7b42caf7ff5b4f2a734684084e4ed2a18c55e56))
12
+ * telescope config. messageComposer in xplajs & default using rpc ([f5b099a](https://github.com/xpladev/xplajs/commit/f5b099a2f864307ffbfc5bb5fd435b82f52a4680))
13
+ * telescope v1.11.22 ([5b6e0ae](https://github.com/xpladev/xplajs/commit/5b6e0aeed3f3a50ed42d7424bc1f0a0f2c7ab47a))
14
+
15
+
16
+
17
+
18
+
19
+ # [1.7.0-beta.10](https://github.com/xpladev/xplajs/compare/@xpla/xplajs@1.7.0-beta.1...@xpla/xplajs@1.7.0-beta.10) (2025-01-21)
20
+
21
+ **Note:** Version bump only for package @xpla/xplajs
22
+
23
+
24
+
25
+
26
+
6
27
  # [1.7.0-beta.1](https://github.com/xpladev/xplajs/compare/@xpla/xplajs@1.7.0-beta.0...@xpla/xplajs@1.7.0-beta.1) (2025-01-21)
7
28
 
8
29
  **Note:** Version bump only for package @xpla/xplajs
package/README.md CHANGED
@@ -23,10 +23,10 @@ npm install @xpla/xplajs
23
23
 
24
24
  ### Example
25
25
  ```ts
26
- import { createLCDClient } from "./xpla/lcd";
26
+ import { createRPCQueryClient } from "@xpla/xplajs/xpla/rpc.query";
27
27
 
28
- const lcd = await createLCDClient({restEndpoint: "https://cube-lcd.xpla.io"});
28
+ const client = await createRPCQueryClient({rpcEndpoint: "https://cube-lcd.xpla.io"});
29
29
 
30
- const res = await lcd.cosmos.auth.v1beta1.params()
30
+ const res = await client.cosmos.auth.v1beta1.params()
31
31
  console.log(res)
32
32
  ```
package/package.json CHANGED
@@ -1,29 +1,31 @@
1
1
  {
2
2
  "name": "@xpla/xplajs",
3
- "version": "1.7.0-beta.1",
3
+ "version": "1.7.0-beta.11",
4
4
  "main": "index.js",
5
5
  "module": "esm/index.js",
6
6
  "author": "Joowon Yun <joowon@delightlabs.io>",
7
7
  "homepage": "https://github.com/xpladev/xplajs",
8
8
  "scripts": {
9
+ "copy": "copyfiles -f README.md package.json dist",
9
10
  "clean": "rimraf dist/**",
10
- "build": "npm run clean; tsc; tsc -p tsconfig.esm.json"
11
+ "build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy"
12
+ },
13
+ "publishConfig": {
14
+ "access": "public",
15
+ "directory": "dist"
11
16
  },
12
17
  "dependencies": {
13
- "@cosmjs/stargate": "^0.32.4",
14
- "@cosmjs/tendermint-rpc": "^0.32.4",
18
+ "@cosmjs/stargate": "^0.33.0",
15
19
  "@cosmology/lcd": "^0.14.0",
16
- "@interchainjs/cosmos": "^0.0.1-beta.34",
17
- "@interchainjs/cosmos-types": "^0.0.1-beta.34",
18
- "@interchainjs/types": "^0.0.1-beta.34",
19
- "@interchainjs/utils": "^0.0.1-beta.34",
20
+ "@interchainjs/cosmos": "1.9.14",
21
+ "@interchainjs/cosmos-types": "1.9.14",
22
+ "@interchainjs/encoding": "1.9.14",
23
+ "@interchainjs/pubkey": "1.9.14",
24
+ "@interchainjs/types": "1.9.14",
25
+ "@interchainjs/utils": "1.9.14",
20
26
  "@noble/hashes": "^1.3.1",
21
27
  "decimal.js": "^10.4.3"
22
28
  },
23
- "publishConfig": {
24
- "access": "public",
25
- "directory": "dist"
26
- },
27
29
  "license": "MIT",
28
30
  "description": "",
29
31
  "devDependencies": {
package/src/binary.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.3
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.22
3
3
  * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
4
4
  * and run the transpile command or npm scripts command that is used to regenerate this bundle.
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "../../../../binary";
2
2
  import { DeepPartial } from "../../../../helpers";
3
- import { GlobalDecoderRegistry } from "../../../../registry";
4
3
  /** Module is the config object for the runtime module. */
5
4
  export interface Module {
6
5
  /** app_name is the name of the app. */
@@ -327,10 +326,11 @@ export const Module = {
327
326
  typeUrl: "/cosmos.app.runtime.v1alpha1.Module",
328
327
  value: Module.encode(message).finish()
329
328
  };
329
+ },
330
+ registerTypeUrl() {
331
+ StoreKeyConfig.registerTypeUrl();
330
332
  }
331
333
  };
332
- GlobalDecoderRegistry.register(Module.typeUrl, Module);
333
- GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
334
334
  function createBaseStoreKeyConfig(): StoreKeyConfig {
335
335
  return {
336
336
  moduleName: "",
@@ -417,7 +417,6 @@ export const StoreKeyConfig = {
417
417
  typeUrl: "/cosmos.app.runtime.v1alpha1.StoreKeyConfig",
418
418
  value: StoreKeyConfig.encode(message).finish()
419
419
  };
420
- }
421
- };
422
- GlobalDecoderRegistry.register(StoreKeyConfig.typeUrl, StoreKeyConfig);
423
- GlobalDecoderRegistry.registerAminoProtoMapping(StoreKeyConfig.aminoType, StoreKeyConfig.typeUrl);
420
+ },
421
+ registerTypeUrl() {}
422
+ };
@@ -1,6 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "../../../../binary";
2
2
  import { DeepPartial } from "../../../../helpers";
3
- import { GlobalDecoderRegistry } from "../../../../registry";
4
3
  /** Module is the config object for the runtime module. */
5
4
  export interface Module {
6
5
  /** app_name is the name of the app. */
@@ -391,10 +390,12 @@ export const Module = {
391
390
  typeUrl: "/cosmos.app.runtime.v2.Module",
392
391
  value: Module.encode(message).finish()
393
392
  };
393
+ },
394
+ registerTypeUrl() {
395
+ GasConfig.registerTypeUrl();
396
+ StoreKeyConfig.registerTypeUrl();
394
397
  }
395
398
  };
396
- GlobalDecoderRegistry.register(Module.typeUrl, Module);
397
- GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
398
399
  function createBaseGasConfig(): GasConfig {
399
400
  return {
400
401
  validateTxGasLimit: BigInt(0),
@@ -493,10 +494,9 @@ export const GasConfig = {
493
494
  typeUrl: "/cosmos.app.runtime.v2.GasConfig",
494
495
  value: GasConfig.encode(message).finish()
495
496
  };
496
- }
497
+ },
498
+ registerTypeUrl() {}
497
499
  };
498
- GlobalDecoderRegistry.register(GasConfig.typeUrl, GasConfig);
499
- GlobalDecoderRegistry.registerAminoProtoMapping(GasConfig.aminoType, GasConfig.typeUrl);
500
500
  function createBaseStoreKeyConfig(): StoreKeyConfig {
501
501
  return {
502
502
  moduleName: "",
@@ -583,7 +583,6 @@ export const StoreKeyConfig = {
583
583
  typeUrl: "/cosmos.app.runtime.v2.StoreKeyConfig",
584
584
  value: StoreKeyConfig.encode(message).finish()
585
585
  };
586
- }
587
- };
588
- GlobalDecoderRegistry.register(StoreKeyConfig.typeUrl, StoreKeyConfig);
589
- GlobalDecoderRegistry.registerAminoProtoMapping(StoreKeyConfig.aminoType, StoreKeyConfig.typeUrl);
586
+ },
587
+ registerTypeUrl() {}
588
+ };
@@ -1,7 +1,6 @@
1
1
  import { Any, AnyAmino } from "../../../google/protobuf/any";
2
2
  import { BinaryReader, BinaryWriter } from "../../../binary";
3
3
  import { DeepPartial } from "../../../helpers";
4
- import { GlobalDecoderRegistry } from "../../../registry";
5
4
  /**
6
5
  * Config represents the configuration for a Cosmos SDK ABCI app.
7
6
  * It is intended that all state machine logic including the version of
@@ -222,10 +221,12 @@ export const Config = {
222
221
  typeUrl: "/cosmos.app.v1alpha1.Config",
223
222
  value: Config.encode(message).finish()
224
223
  };
224
+ },
225
+ registerTypeUrl() {
226
+ ModuleConfig.registerTypeUrl();
227
+ GolangBinding.registerTypeUrl();
225
228
  }
226
229
  };
227
- GlobalDecoderRegistry.register(Config.typeUrl, Config);
228
- GlobalDecoderRegistry.registerAminoProtoMapping(Config.aminoType, Config.typeUrl);
229
230
  function createBaseModuleConfig(): ModuleConfig {
230
231
  return {
231
232
  name: "",
@@ -326,10 +327,11 @@ export const ModuleConfig = {
326
327
  typeUrl: "/cosmos.app.v1alpha1.ModuleConfig",
327
328
  value: ModuleConfig.encode(message).finish()
328
329
  };
330
+ },
331
+ registerTypeUrl() {
332
+ GolangBinding.registerTypeUrl();
329
333
  }
330
334
  };
331
- GlobalDecoderRegistry.register(ModuleConfig.typeUrl, ModuleConfig);
332
- GlobalDecoderRegistry.registerAminoProtoMapping(ModuleConfig.aminoType, ModuleConfig.typeUrl);
333
335
  function createBaseGolangBinding(): GolangBinding {
334
336
  return {
335
337
  interfaceType: "",
@@ -416,7 +418,6 @@ export const GolangBinding = {
416
418
  typeUrl: "/cosmos.app.v1alpha1.GolangBinding",
417
419
  value: GolangBinding.encode(message).finish()
418
420
  };
419
- }
420
- };
421
- GlobalDecoderRegistry.register(GolangBinding.typeUrl, GolangBinding);
422
- GlobalDecoderRegistry.registerAminoProtoMapping(GolangBinding.aminoType, GolangBinding.typeUrl);
421
+ },
422
+ registerTypeUrl() {}
423
+ };
@@ -1,6 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "../../../binary";
2
2
  import { DeepPartial } from "../../../helpers";
3
- import { GlobalDecoderRegistry } from "../../../registry";
4
3
  /** ModuleDescriptor describes an app module. */
5
4
  export interface ModuleDescriptor {
6
5
  /**
@@ -287,10 +286,12 @@ export const ModuleDescriptor = {
287
286
  typeUrl: "/cosmos.app.v1alpha1.ModuleDescriptor",
288
287
  value: ModuleDescriptor.encode(message).finish()
289
288
  };
289
+ },
290
+ registerTypeUrl() {
291
+ PackageReference.registerTypeUrl();
292
+ MigrateFromInfo.registerTypeUrl();
290
293
  }
291
294
  };
292
- GlobalDecoderRegistry.register(ModuleDescriptor.typeUrl, ModuleDescriptor);
293
- GlobalDecoderRegistry.registerAminoProtoMapping(ModuleDescriptor.aminoType, ModuleDescriptor.typeUrl);
294
295
  function createBasePackageReference(): PackageReference {
295
296
  return {
296
297
  name: "",
@@ -377,10 +378,9 @@ export const PackageReference = {
377
378
  typeUrl: "/cosmos.app.v1alpha1.PackageReference",
378
379
  value: PackageReference.encode(message).finish()
379
380
  };
380
- }
381
+ },
382
+ registerTypeUrl() {}
381
383
  };
382
- GlobalDecoderRegistry.register(PackageReference.typeUrl, PackageReference);
383
- GlobalDecoderRegistry.registerAminoProtoMapping(PackageReference.aminoType, PackageReference.typeUrl);
384
384
  function createBaseMigrateFromInfo(): MigrateFromInfo {
385
385
  return {
386
386
  module: ""
@@ -455,7 +455,6 @@ export const MigrateFromInfo = {
455
455
  typeUrl: "/cosmos.app.v1alpha1.MigrateFromInfo",
456
456
  value: MigrateFromInfo.encode(message).finish()
457
457
  };
458
- }
459
- };
460
- GlobalDecoderRegistry.register(MigrateFromInfo.typeUrl, MigrateFromInfo);
461
- GlobalDecoderRegistry.registerAminoProtoMapping(MigrateFromInfo.aminoType, MigrateFromInfo.typeUrl);
458
+ },
459
+ registerTypeUrl() {}
460
+ };
@@ -5,5 +5,6 @@ export const createGetConfig = (clientResolver?: RpcResolver) => buildQuery<Quer
5
5
  decode: QueryConfigResponse.decode,
6
6
  service: "cosmos.app.v1alpha1.Query",
7
7
  method: "Config",
8
- clientResolver
8
+ clientResolver,
9
+ deps: [QueryConfigRequest, QueryConfigResponse]
9
10
  });
@@ -1,7 +1,6 @@
1
1
  import { Config, ConfigAmino } from "./config";
2
2
  import { BinaryReader, BinaryWriter } from "../../../binary";
3
3
  import { DeepPartial } from "../../../helpers";
4
- import { GlobalDecoderRegistry } from "../../../registry";
5
4
  /** QueryConfigRequest is the Query/Config request type. */
6
5
  export interface QueryConfigRequest {}
7
6
  export interface QueryConfigRequestProtoMsg {
@@ -93,10 +92,9 @@ export const QueryConfigRequest = {
93
92
  typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest",
94
93
  value: QueryConfigRequest.encode(message).finish()
95
94
  };
96
- }
95
+ },
96
+ registerTypeUrl() {}
97
97
  };
98
- GlobalDecoderRegistry.register(QueryConfigRequest.typeUrl, QueryConfigRequest);
99
- GlobalDecoderRegistry.registerAminoProtoMapping(QueryConfigRequest.aminoType, QueryConfigRequest.typeUrl);
100
98
  function createBaseQueryConfigResponse(): QueryConfigResponse {
101
99
  return {
102
100
  config: undefined
@@ -171,7 +169,8 @@ export const QueryConfigResponse = {
171
169
  typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse",
172
170
  value: QueryConfigResponse.encode(message).finish()
173
171
  };
172
+ },
173
+ registerTypeUrl() {
174
+ Config.registerTypeUrl();
174
175
  }
175
- };
176
- GlobalDecoderRegistry.register(QueryConfigResponse.typeUrl, QueryConfigResponse);
177
- GlobalDecoderRegistry.registerAminoProtoMapping(QueryConfigResponse.aminoType, QueryConfigResponse.typeUrl);
176
+ };
@@ -1,6 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "../../../../binary";
2
2
  import { DeepPartial } from "../../../../helpers";
3
- import { GlobalDecoderRegistry } from "../../../../registry";
4
3
  /** Module is the config object for the auth module. */
5
4
  export interface Module {
6
5
  /** bech32_prefix is the bech32 account prefix for the app. */
@@ -155,10 +154,11 @@ export const Module = {
155
154
  typeUrl: "/cosmos.auth.module.v1.Module",
156
155
  value: Module.encode(message).finish()
157
156
  };
157
+ },
158
+ registerTypeUrl() {
159
+ ModuleAccountPermission.registerTypeUrl();
158
160
  }
159
161
  };
160
- GlobalDecoderRegistry.register(Module.typeUrl, Module);
161
- GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
162
162
  function createBaseModuleAccountPermission(): ModuleAccountPermission {
163
163
  return {
164
164
  account: "",
@@ -247,7 +247,6 @@ export const ModuleAccountPermission = {
247
247
  typeUrl: "/cosmos.auth.module.v1.ModuleAccountPermission",
248
248
  value: ModuleAccountPermission.encode(message).finish()
249
249
  };
250
- }
251
- };
252
- GlobalDecoderRegistry.register(ModuleAccountPermission.typeUrl, ModuleAccountPermission);
253
- GlobalDecoderRegistry.registerAminoProtoMapping(ModuleAccountPermission.aminoType, ModuleAccountPermission.typeUrl);
250
+ },
251
+ registerTypeUrl() {}
252
+ };
@@ -2,7 +2,6 @@ import { Any, AnyAmino } from "../../../google/protobuf/any";
2
2
  import { BaseAccount, BaseAccountAmino } from "./auth";
3
3
  import { BinaryReader, BinaryWriter } from "../../../binary";
4
4
  import { DeepPartial } from "../../../helpers";
5
- import { GlobalDecoderRegistry } from "../../../registry";
6
5
  /**
7
6
  * QueryLegacyAccount defines a query that can be implemented by an x/account
8
7
  * to return an auth understandable representation of an account.
@@ -130,10 +129,9 @@ export const QueryLegacyAccount = {
130
129
  typeUrl: "/cosmos.auth.v1beta1.QueryLegacyAccount",
131
130
  value: QueryLegacyAccount.encode(message).finish()
132
131
  };
133
- }
132
+ },
133
+ registerTypeUrl() {}
134
134
  };
135
- GlobalDecoderRegistry.register(QueryLegacyAccount.typeUrl, QueryLegacyAccount);
136
- GlobalDecoderRegistry.registerAminoProtoMapping(QueryLegacyAccount.aminoType, QueryLegacyAccount.typeUrl);
137
135
  function createBaseQueryLegacyAccountResponse(): QueryLegacyAccountResponse {
138
136
  return {
139
137
  account: undefined,
@@ -220,7 +218,8 @@ export const QueryLegacyAccountResponse = {
220
218
  typeUrl: "/cosmos.auth.v1beta1.QueryLegacyAccountResponse",
221
219
  value: QueryLegacyAccountResponse.encode(message).finish()
222
220
  };
221
+ },
222
+ registerTypeUrl() {
223
+ BaseAccount.registerTypeUrl();
223
224
  }
224
- };
225
- GlobalDecoderRegistry.register(QueryLegacyAccountResponse.typeUrl, QueryLegacyAccountResponse);
226
- GlobalDecoderRegistry.registerAminoProtoMapping(QueryLegacyAccountResponse.aminoType, QueryLegacyAccountResponse.typeUrl);
225
+ };
@@ -1,7 +1,7 @@
1
1
  import { Any, AnyAmino } from "../../../google/protobuf/any";
2
2
  import { BinaryReader, BinaryWriter } from "../../../binary";
3
- import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers";
4
3
  import { GlobalDecoderRegistry } from "../../../registry";
4
+ import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers";
5
5
  /**
6
6
  * BaseAccount defines a base account type. It contains all the necessary fields
7
7
  * for basic account functionality. Any custom account type should extend this
@@ -222,10 +222,12 @@ export const BaseAccount = {
222
222
  typeUrl: "/cosmos.auth.v1beta1.BaseAccount",
223
223
  value: BaseAccount.encode(message).finish()
224
224
  };
225
+ },
226
+ registerTypeUrl() {
227
+ GlobalDecoderRegistry.register(BaseAccount.typeUrl, BaseAccount);
228
+ GlobalDecoderRegistry.registerAminoProtoMapping(BaseAccount.aminoType, BaseAccount.typeUrl);
225
229
  }
226
230
  };
227
- GlobalDecoderRegistry.register(BaseAccount.typeUrl, BaseAccount);
228
- GlobalDecoderRegistry.registerAminoProtoMapping(BaseAccount.aminoType, BaseAccount.typeUrl);
229
231
  function createBaseModuleAccount(): ModuleAccount {
230
232
  return {
231
233
  baseAccount: undefined,
@@ -326,10 +328,13 @@ export const ModuleAccount = {
326
328
  typeUrl: "/cosmos.auth.v1beta1.ModuleAccount",
327
329
  value: ModuleAccount.encode(message).finish()
328
330
  };
331
+ },
332
+ registerTypeUrl() {
333
+ GlobalDecoderRegistry.register(ModuleAccount.typeUrl, ModuleAccount);
334
+ GlobalDecoderRegistry.registerAminoProtoMapping(ModuleAccount.aminoType, ModuleAccount.typeUrl);
335
+ BaseAccount.registerTypeUrl();
329
336
  }
330
337
  };
331
- GlobalDecoderRegistry.register(ModuleAccount.typeUrl, ModuleAccount);
332
- GlobalDecoderRegistry.registerAminoProtoMapping(ModuleAccount.aminoType, ModuleAccount.typeUrl);
333
338
  function createBaseModuleCredential(): ModuleCredential {
334
339
  return {
335
340
  moduleName: "",
@@ -418,10 +423,9 @@ export const ModuleCredential = {
418
423
  typeUrl: "/cosmos.auth.v1beta1.ModuleCredential",
419
424
  value: ModuleCredential.encode(message).finish()
420
425
  };
421
- }
426
+ },
427
+ registerTypeUrl() {}
422
428
  };
423
- GlobalDecoderRegistry.register(ModuleCredential.typeUrl, ModuleCredential);
424
- GlobalDecoderRegistry.registerAminoProtoMapping(ModuleCredential.aminoType, ModuleCredential.typeUrl);
425
429
  function createBaseParams(): Params {
426
430
  return {
427
431
  maxMemoCharacters: BigInt(0),
@@ -544,7 +548,6 @@ export const Params = {
544
548
  typeUrl: "/cosmos.auth.v1beta1.Params",
545
549
  value: Params.encode(message).finish()
546
550
  };
547
- }
548
- };
549
- GlobalDecoderRegistry.register(Params.typeUrl, Params);
550
- GlobalDecoderRegistry.registerAminoProtoMapping(Params.aminoType, Params.typeUrl);
551
+ },
552
+ registerTypeUrl() {}
553
+ };
@@ -2,7 +2,6 @@ import { Params, ParamsAmino } from "./auth";
2
2
  import { Any, AnyAmino } from "../../../google/protobuf/any";
3
3
  import { BinaryReader, BinaryWriter } from "../../../binary";
4
4
  import { DeepPartial } from "../../../helpers";
5
- import { GlobalDecoderRegistry } from "../../../registry";
6
5
  /** GenesisState defines the auth module's genesis state. */
7
6
  export interface GenesisState {
8
7
  /** params defines all the parameters of the module. */
@@ -113,7 +112,6 @@ export const GenesisState = {
113
112
  typeUrl: "/cosmos.auth.v1beta1.GenesisState",
114
113
  value: GenesisState.encode(message).finish()
115
114
  };
116
- }
117
- };
118
- GlobalDecoderRegistry.register(GenesisState.typeUrl, GenesisState);
119
- GlobalDecoderRegistry.registerAminoProtoMapping(GenesisState.aminoType, GenesisState.typeUrl);
115
+ },
116
+ registerTypeUrl() {}
117
+ };
@@ -5,68 +5,78 @@ export const createGetAccounts = (clientResolver?: RpcResolver) => buildQuery<Qu
5
5
  decode: QueryAccountsResponse.decode,
6
6
  service: "cosmos.auth.v1beta1.Query",
7
7
  method: "Accounts",
8
- clientResolver
8
+ clientResolver,
9
+ deps: [QueryAccountsRequest, QueryAccountsResponse]
9
10
  });
10
11
  export const createGetAccount = (clientResolver?: RpcResolver) => buildQuery<QueryAccountRequest, QueryAccountResponse>({
11
12
  encode: QueryAccountRequest.encode,
12
13
  decode: QueryAccountResponse.decode,
13
14
  service: "cosmos.auth.v1beta1.Query",
14
15
  method: "Account",
15
- clientResolver
16
+ clientResolver,
17
+ deps: [QueryAccountRequest, QueryAccountResponse]
16
18
  });
17
19
  export const createGetAccountAddressByID = (clientResolver?: RpcResolver) => buildQuery<QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse>({
18
20
  encode: QueryAccountAddressByIDRequest.encode,
19
21
  decode: QueryAccountAddressByIDResponse.decode,
20
22
  service: "cosmos.auth.v1beta1.Query",
21
23
  method: "AccountAddressByID",
22
- clientResolver
24
+ clientResolver,
25
+ deps: [QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse]
23
26
  });
24
27
  export const createGetParams = (clientResolver?: RpcResolver) => buildQuery<QueryParamsRequest, QueryParamsResponse>({
25
28
  encode: QueryParamsRequest.encode,
26
29
  decode: QueryParamsResponse.decode,
27
30
  service: "cosmos.auth.v1beta1.Query",
28
31
  method: "Params",
29
- clientResolver
32
+ clientResolver,
33
+ deps: [QueryParamsRequest, QueryParamsResponse]
30
34
  });
31
35
  export const createGetModuleAccounts = (clientResolver?: RpcResolver) => buildQuery<QueryModuleAccountsRequest, QueryModuleAccountsResponse>({
32
36
  encode: QueryModuleAccountsRequest.encode,
33
37
  decode: QueryModuleAccountsResponse.decode,
34
38
  service: "cosmos.auth.v1beta1.Query",
35
39
  method: "ModuleAccounts",
36
- clientResolver
40
+ clientResolver,
41
+ deps: [QueryModuleAccountsRequest, QueryModuleAccountsResponse]
37
42
  });
38
43
  export const createGetModuleAccountByName = (clientResolver?: RpcResolver) => buildQuery<QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse>({
39
44
  encode: QueryModuleAccountByNameRequest.encode,
40
45
  decode: QueryModuleAccountByNameResponse.decode,
41
46
  service: "cosmos.auth.v1beta1.Query",
42
47
  method: "ModuleAccountByName",
43
- clientResolver
48
+ clientResolver,
49
+ deps: [QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse]
44
50
  });
45
51
  export const createGetBech32Prefix = (clientResolver?: RpcResolver) => buildQuery<Bech32PrefixRequest, Bech32PrefixResponse>({
46
52
  encode: Bech32PrefixRequest.encode,
47
53
  decode: Bech32PrefixResponse.decode,
48
54
  service: "cosmos.auth.v1beta1.Query",
49
55
  method: "Bech32Prefix",
50
- clientResolver
56
+ clientResolver,
57
+ deps: [Bech32PrefixRequest, Bech32PrefixResponse]
51
58
  });
52
59
  export const createGetAddressBytesToString = (clientResolver?: RpcResolver) => buildQuery<AddressBytesToStringRequest, AddressBytesToStringResponse>({
53
60
  encode: AddressBytesToStringRequest.encode,
54
61
  decode: AddressBytesToStringResponse.decode,
55
62
  service: "cosmos.auth.v1beta1.Query",
56
63
  method: "AddressBytesToString",
57
- clientResolver
64
+ clientResolver,
65
+ deps: [AddressBytesToStringRequest, AddressBytesToStringResponse]
58
66
  });
59
67
  export const createGetAddressStringToBytes = (clientResolver?: RpcResolver) => buildQuery<AddressStringToBytesRequest, AddressStringToBytesResponse>({
60
68
  encode: AddressStringToBytesRequest.encode,
61
69
  decode: AddressStringToBytesResponse.decode,
62
70
  service: "cosmos.auth.v1beta1.Query",
63
71
  method: "AddressStringToBytes",
64
- clientResolver
72
+ clientResolver,
73
+ deps: [AddressStringToBytesRequest, AddressStringToBytesResponse]
65
74
  });
66
75
  export const createGetAccountInfo = (clientResolver?: RpcResolver) => buildQuery<QueryAccountInfoRequest, QueryAccountInfoResponse>({
67
76
  encode: QueryAccountInfoRequest.encode,
68
77
  decode: QueryAccountInfoResponse.decode,
69
78
  service: "cosmos.auth.v1beta1.Query",
70
79
  method: "AccountInfo",
71
- clientResolver
80
+ clientResolver,
81
+ deps: [QueryAccountInfoRequest, QueryAccountInfoResponse]
72
82
  });