@hyperweb/telescope 2.1.0 → 2.2.1

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 (448) hide show
  1. package/README.md +13 -13
  2. package/{main/bundle.js → bundle.js} +17 -7
  3. package/{types/commands → commands}/download.d.ts +2 -2
  4. package/{main/commands → commands}/download.js +17 -7
  5. package/{main/commands → commands}/generate.js +17 -7
  6. package/{main/commands → commands}/transpile.js +17 -7
  7. package/esm/build.d.ts +41 -0
  8. package/esm/builder.d.ts +50 -0
  9. package/esm/bundle.d.ts +30 -0
  10. package/esm/bundler.d.ts +31 -0
  11. package/esm/commands/download.d.ts +5 -0
  12. package/esm/commands/generate.d.ts +2 -0
  13. package/esm/commands/transpile.d.ts +4 -0
  14. package/{module → esm}/generators/create-helpers.js +2 -1
  15. package/{module → esm}/generators/create-index.js +2 -2
  16. package/{module → esm}/generators/create-sdk-module-stargate-clients.js +1 -1
  17. package/{module → esm}/generators/create-stargate-clients.js +1 -1
  18. package/{types → esm}/utils/index.d.ts +1 -1
  19. package/generators/create-aggregated-lcd-client.d.ts +2 -0
  20. package/generators/create-amino-converters.d.ts +3 -0
  21. package/generators/create-bundle.d.ts +3 -0
  22. package/generators/create-helpers.d.ts +2 -0
  23. package/{main/generators → generators}/create-helpers.js +4 -6
  24. package/generators/create-index.d.ts +2 -0
  25. package/{main/generators → generators}/create-index.js +21 -11
  26. package/generators/create-lcd-client-all.d.ts +3 -0
  27. package/{main/generators → generators}/create-lcd-client-all.js +17 -7
  28. package/generators/create-lcd-client-scoped.d.ts +3 -0
  29. package/{main/generators → generators}/create-lcd-client-scoped.js +17 -7
  30. package/generators/create-lcd-clients.d.ts +3 -0
  31. package/generators/create-mcp-server.d.ts +3 -0
  32. package/generators/create-mobx-bundle.d.ts +2 -0
  33. package/{main/generators → generators}/create-mobx-bundle.js +17 -7
  34. package/generators/create-msg-funcs.d.ts +3 -0
  35. package/generators/create-pinia-store-bundle.d.ts +2 -0
  36. package/{main/generators → generators}/create-pinia-store-bundle.js +17 -7
  37. package/generators/create-pinia-store.d.ts +3 -0
  38. package/generators/create-query-funcs.d.ts +3 -0
  39. package/generators/create-react-query-bundle.d.ts +2 -0
  40. package/{main/generators → generators}/create-react-query-bundle.js +17 -7
  41. package/generators/create-registries.d.ts +3 -0
  42. package/generators/create-root-readme.d.ts +2 -0
  43. package/generators/create-rpc-msg-client-all.d.ts +3 -0
  44. package/{main/generators → generators}/create-rpc-msg-client-all.js +17 -7
  45. package/generators/create-rpc-msg-client-scoped.d.ts +3 -0
  46. package/{main/generators → generators}/create-rpc-msg-client-scoped.js +17 -7
  47. package/generators/create-rpc-msg-clients.d.ts +3 -0
  48. package/generators/create-rpc-ops-bundle.d.ts +2 -0
  49. package/{main/generators → generators}/create-rpc-ops-bundle.js +17 -7
  50. package/generators/create-rpc-query-client-all.d.ts +3 -0
  51. package/{main/generators → generators}/create-rpc-query-client-all.js +17 -7
  52. package/generators/create-rpc-query-client-scoped.d.ts +3 -0
  53. package/{main/generators → generators}/create-rpc-query-client-scoped.js +17 -7
  54. package/generators/create-rpc-query-clients.d.ts +3 -0
  55. package/generators/create-sdk-module-stargate-clients.d.ts +3 -0
  56. package/{main/generators → generators}/create-sdk-module-stargate-clients.js +1 -1
  57. package/generators/create-stargate-clients.d.ts +3 -0
  58. package/{main/generators → generators}/create-stargate-clients.js +1 -1
  59. package/generators/create-types.d.ts +3 -0
  60. package/{main/generators → generators}/create-types.js +17 -7
  61. package/generators/customize-utils.d.ts +2 -0
  62. package/helpers/__test__/internalTimestamp.d.ts +21 -0
  63. package/{main/helpers → helpers}/__test__/internalTimestamp.js +4 -5
  64. package/helpers/__test__/internalTimestampBigint.d.ts +20 -0
  65. package/{main/helpers → helpers}/__test__/internalTimestampBigint.js +4 -5
  66. package/helpers/binary-coder.d.ts +2 -0
  67. package/helpers/decimals.d.ts +1 -0
  68. package/helpers/external-comet.d.ts +1 -0
  69. package/helpers/external-icjs.d.ts +1 -0
  70. package/helpers/external.d.ts +1 -0
  71. package/helpers/grpc-gateway.d.ts +1 -0
  72. package/helpers/grpc-web.d.ts +1 -0
  73. package/helpers/helper-func-types-interface.d.ts +2 -0
  74. package/helpers/helper-func-types.d.ts +2 -0
  75. package/helpers/internal-for-bigint.d.ts +2 -0
  76. package/helpers/internal.d.ts +2 -0
  77. package/helpers/json-safe.d.ts +1 -0
  78. package/helpers/mobx.d.ts +1 -0
  79. package/helpers/pinia-endpoint.d.ts +1 -0
  80. package/helpers/react-query-hooks-icjs.d.ts +2 -0
  81. package/helpers/react-query-hooks.d.ts +2 -0
  82. package/helpers/react-query.d.ts +2 -0
  83. package/{types/helpers/vue-query.d.ts → helpers/registry-helper.d.ts} +1 -1
  84. package/helpers/types-helper.d.ts +2 -0
  85. package/helpers/utf8-helper.d.ts +1 -0
  86. package/helpers/varint.d.ts +1 -0
  87. package/helpers/vue-query-hooks.d.ts +2 -0
  88. package/imports.d.ts +17 -0
  89. package/{main/imports.js → imports.js} +17 -7
  90. package/index.d.ts +6 -0
  91. package/package.json +30 -48
  92. package/parse.d.ts +15 -0
  93. package/prompt.d.ts +3 -0
  94. package/protod/bufbuild.d.ts +6 -0
  95. package/{main/protod → protod}/bufbuild.js +5 -6
  96. package/protod/config.d.ts +7 -0
  97. package/protod/git-repo.d.ts +11 -0
  98. package/protod/recursive.d.ts +4 -0
  99. package/{main/protod → protod}/recursive.js +3 -4
  100. package/protod/types.d.ts +49 -0
  101. package/protod/utils.d.ts +11 -0
  102. package/{main/protod → protod}/utils.js +8 -9
  103. package/types.d.ts +43 -0
  104. package/utils/common-create-bundle.d.ts +18 -0
  105. package/utils/files.d.ts +5 -0
  106. package/{main/utils → utils}/files.js +19 -9
  107. package/utils/index.d.ts +16 -0
  108. package/utils/unused.d.ts +5 -0
  109. package/{main/utils → utils}/unused.js +17 -7
  110. package/main/cli.js +0 -52
  111. package/main/cmds.js +0 -16
  112. package/main/contracts/generate.js +0 -31
  113. package/main/contracts/install.js +0 -107
  114. package/main/contracts/message-composer.js +0 -31
  115. package/main/contracts/react-query.js +0 -31
  116. package/main/contracts/recoil.js +0 -31
  117. package/main/file.js +0 -20
  118. package/main/generators/create-cosmwasm-bundle.js +0 -15
  119. package/main/telescope.js +0 -10
  120. package/main/utils/contracts.js +0 -39
  121. package/module/cli.js +0 -25
  122. package/module/cmds.js +0 -10
  123. package/module/contracts/generate.js +0 -29
  124. package/module/contracts/install.js +0 -105
  125. package/module/contracts/message-composer.js +0 -29
  126. package/module/contracts/react-query.js +0 -29
  127. package/module/contracts/recoil.js +0 -29
  128. package/module/file.js +0 -18
  129. package/module/generators/create-cosmwasm-bundle.js +0 -11
  130. package/module/telescope.js +0 -8
  131. package/module/utils/contracts.js +0 -33
  132. package/src/build.ts +0 -255
  133. package/src/builder.ts +0 -292
  134. package/src/bundle.ts +0 -160
  135. package/src/bundler.ts +0 -153
  136. package/src/cli.js +0 -31
  137. package/src/cmds.js +0 -11
  138. package/src/commands/download.ts +0 -120
  139. package/src/commands/generate.ts +0 -156
  140. package/src/commands/install.ts +0 -154
  141. package/src/commands/transpile.ts +0 -205
  142. package/src/file.js +0 -20
  143. package/src/generators/create-aggregated-lcd-client.ts +0 -133
  144. package/src/generators/create-all-stargate-clients.ts +0 -121
  145. package/src/generators/create-amino-converters.ts +0 -62
  146. package/src/generators/create-bundle.ts +0 -143
  147. package/src/generators/create-custom-stargate-clients.ts +0 -128
  148. package/src/generators/create-helpers.ts +0 -209
  149. package/src/generators/create-index.ts +0 -72
  150. package/src/generators/create-lcd-client-all.ts +0 -139
  151. package/src/generators/create-lcd-client-scoped.ts +0 -109
  152. package/src/generators/create-lcd-clients.ts +0 -108
  153. package/src/generators/create-mcp-server.ts +0 -1774
  154. package/src/generators/create-mobx-bundle.ts +0 -31
  155. package/src/generators/create-msg-funcs.ts +0 -219
  156. package/src/generators/create-pinia-store-bundle.ts +0 -35
  157. package/src/generators/create-pinia-store.ts +0 -121
  158. package/src/generators/create-query-funcs.ts +0 -224
  159. package/src/generators/create-react-query-bundle.ts +0 -111
  160. package/src/generators/create-registries.ts +0 -70
  161. package/src/generators/create-root-readme.ts +0 -403
  162. package/src/generators/create-rpc-msg-client-all.ts +0 -167
  163. package/src/generators/create-rpc-msg-client-scoped.ts +0 -147
  164. package/src/generators/create-rpc-msg-clients.ts +0 -165
  165. package/src/generators/create-rpc-ops-bundle.ts +0 -155
  166. package/src/generators/create-rpc-query-client-all.ts +0 -173
  167. package/src/generators/create-rpc-query-client-scoped.ts +0 -142
  168. package/src/generators/create-rpc-query-clients.ts +0 -304
  169. package/src/generators/create-sdk-module-stargate-clients.ts +0 -120
  170. package/src/generators/create-stargate-clients.ts +0 -123
  171. package/src/generators/create-types.ts +0 -236
  172. package/src/generators/customize-utils.ts +0 -52
  173. package/src/helpers/__test__/internalTimestamp.test.ts +0 -79
  174. package/src/helpers/__test__/internalTimestamp.ts +0 -58
  175. package/src/helpers/__test__/internalTimestampBigint.test.ts +0 -78
  176. package/src/helpers/__test__/internalTimestampBigint.ts +0 -58
  177. package/src/helpers/binary-coder.ts +0 -533
  178. package/src/helpers/decimals.ts +0 -108
  179. package/src/helpers/external-comet.ts +0 -49
  180. package/src/helpers/external-icjs.ts +0 -43
  181. package/src/helpers/external.ts +0 -28
  182. package/src/helpers/grpc-gateway.ts +0 -345
  183. package/src/helpers/grpc-web.ts +0 -11
  184. package/src/helpers/helper-func-types-interface.ts +0 -104
  185. package/src/helpers/helper-func-types.ts +0 -91
  186. package/src/helpers/internal-for-bigint.ts +0 -259
  187. package/src/helpers/internal.ts +0 -241
  188. package/src/helpers/json-safe.ts +0 -11
  189. package/src/helpers/mobx.ts +0 -77
  190. package/src/helpers/pinia-endpoint.ts +0 -17
  191. package/src/helpers/react-query-hooks-icjs.ts +0 -223
  192. package/src/helpers/react-query-hooks.ts +0 -266
  193. package/src/helpers/react-query.ts +0 -101
  194. package/src/helpers/registry-helper.ts +0 -227
  195. package/src/helpers/types-helper.ts +0 -169
  196. package/src/helpers/utf8-helper.ts +0 -143
  197. package/src/helpers/varint.ts +0 -483
  198. package/src/helpers/vue-query-hooks.ts +0 -224
  199. package/src/imports.ts +0 -499
  200. package/src/index.ts +0 -12
  201. package/src/parse.ts +0 -243
  202. package/src/prompt.js +0 -65
  203. package/src/protod/bufbuild.spec.ts +0 -80
  204. package/src/protod/bufbuild.ts +0 -95
  205. package/src/protod/config.ts +0 -30
  206. package/src/protod/git-repo.ts +0 -74
  207. package/src/protod/recursive.spec.ts +0 -164
  208. package/src/protod/recursive.ts +0 -190
  209. package/src/protod/test-data/.protod.config.json +0 -42
  210. package/src/protod/test-data/buf.lock +0 -23
  211. package/src/protod/test-data/buf.yaml +0 -25
  212. package/src/protod/test-data/buf2.yaml +0 -20
  213. package/src/protod/test-data/cosmos/buf.lock +0 -23
  214. package/src/protod/test-data/cosmos/crypto/secp256k1/keys.proto +0 -38
  215. package/src/protod/test-data/model.proto +0 -101
  216. package/src/protod/types.ts +0 -55
  217. package/src/protod/utils.spec.ts +0 -68
  218. package/src/protod/utils.ts +0 -90
  219. package/src/telescope.js +0 -9
  220. package/src/types.ts +0 -46
  221. package/src/utils/common-create-bundle.ts +0 -62
  222. package/src/utils/files.ts +0 -145
  223. package/src/utils/index.ts +0 -149
  224. package/src/utils/unused.ts +0 -52
  225. package/types/cli.d.ts +0 -1
  226. package/types/cmds.d.ts +0 -10
  227. package/types/contracts/generate.d.ts +0 -2
  228. package/types/contracts/message-composer.d.ts +0 -2
  229. package/types/contracts/react-query.d.ts +0 -2
  230. package/types/contracts/recoil.d.ts +0 -2
  231. package/types/file.d.ts +0 -2
  232. package/types/generators/create-cosmwasm-bundle.d.ts +0 -2
  233. package/types/generators/create-unified-stargate-clients.d.ts +0 -3
  234. package/types/helpers/generated-type.d.ts +0 -1
  235. package/types/helpers/internalForBigInt.d.ts +0 -1
  236. package/types/helpers/types.d.ts +0 -1
  237. package/types/protod/proto-download.d.ts +0 -2
  238. package/types/telescope.d.ts +0 -2
  239. package/types/utils/contracts.d.ts +0 -6
  240. /package/{types/build.d.ts → build.d.ts} +0 -0
  241. /package/{main/build.js → build.js} +0 -0
  242. /package/{types/builder.d.ts → builder.d.ts} +0 -0
  243. /package/{main/builder.js → builder.js} +0 -0
  244. /package/{types/bundle.d.ts → bundle.d.ts} +0 -0
  245. /package/{types/bundler.d.ts → bundler.d.ts} +0 -0
  246. /package/{main/bundler.js → bundler.js} +0 -0
  247. /package/{types/commands → commands}/generate.d.ts +0 -0
  248. /package/{types/commands → commands}/install.d.ts +0 -0
  249. /package/{main/commands → commands}/install.js +0 -0
  250. /package/{types/commands → commands}/transpile.d.ts +0 -0
  251. /package/{module → esm}/build.js +0 -0
  252. /package/{module → esm}/builder.js +0 -0
  253. /package/{module → esm}/bundle.js +0 -0
  254. /package/{module → esm}/bundler.js +0 -0
  255. /package/{module → esm}/commands/download.js +0 -0
  256. /package/{module → esm}/commands/generate.js +0 -0
  257. /package/{types/contracts → esm/commands}/install.d.ts +0 -0
  258. /package/{module → esm}/commands/install.js +0 -0
  259. /package/{module → esm}/commands/transpile.js +0 -0
  260. /package/{types → esm}/generators/create-aggregated-lcd-client.d.ts +0 -0
  261. /package/{module → esm}/generators/create-aggregated-lcd-client.js +0 -0
  262. /package/{types → esm}/generators/create-all-stargate-clients.d.ts +0 -0
  263. /package/{module → esm}/generators/create-all-stargate-clients.js +0 -0
  264. /package/{types → esm}/generators/create-amino-converters.d.ts +0 -0
  265. /package/{module → esm}/generators/create-amino-converters.js +0 -0
  266. /package/{types → esm}/generators/create-bundle.d.ts +0 -0
  267. /package/{module → esm}/generators/create-bundle.js +0 -0
  268. /package/{types → esm}/generators/create-custom-stargate-clients.d.ts +0 -0
  269. /package/{module → esm}/generators/create-custom-stargate-clients.js +0 -0
  270. /package/{types → esm}/generators/create-helpers.d.ts +0 -0
  271. /package/{types → esm}/generators/create-index.d.ts +0 -0
  272. /package/{types → esm}/generators/create-lcd-client-all.d.ts +0 -0
  273. /package/{module → esm}/generators/create-lcd-client-all.js +0 -0
  274. /package/{types → esm}/generators/create-lcd-client-scoped.d.ts +0 -0
  275. /package/{module → esm}/generators/create-lcd-client-scoped.js +0 -0
  276. /package/{types → esm}/generators/create-lcd-clients.d.ts +0 -0
  277. /package/{module → esm}/generators/create-lcd-clients.js +0 -0
  278. /package/{types → esm}/generators/create-mcp-server.d.ts +0 -0
  279. /package/{module → esm}/generators/create-mcp-server.js +0 -0
  280. /package/{types → esm}/generators/create-mobx-bundle.d.ts +0 -0
  281. /package/{module → esm}/generators/create-mobx-bundle.js +0 -0
  282. /package/{types → esm}/generators/create-msg-funcs.d.ts +0 -0
  283. /package/{module → esm}/generators/create-msg-funcs.js +0 -0
  284. /package/{types → esm}/generators/create-pinia-store-bundle.d.ts +0 -0
  285. /package/{module → esm}/generators/create-pinia-store-bundle.js +0 -0
  286. /package/{types → esm}/generators/create-pinia-store.d.ts +0 -0
  287. /package/{module → esm}/generators/create-pinia-store.js +0 -0
  288. /package/{types → esm}/generators/create-query-funcs.d.ts +0 -0
  289. /package/{module → esm}/generators/create-query-funcs.js +0 -0
  290. /package/{types → esm}/generators/create-react-query-bundle.d.ts +0 -0
  291. /package/{module → esm}/generators/create-react-query-bundle.js +0 -0
  292. /package/{types → esm}/generators/create-registries.d.ts +0 -0
  293. /package/{module → esm}/generators/create-registries.js +0 -0
  294. /package/{types → esm}/generators/create-root-readme.d.ts +0 -0
  295. /package/{module → esm}/generators/create-root-readme.js +0 -0
  296. /package/{types → esm}/generators/create-rpc-msg-client-all.d.ts +0 -0
  297. /package/{module → esm}/generators/create-rpc-msg-client-all.js +0 -0
  298. /package/{types → esm}/generators/create-rpc-msg-client-scoped.d.ts +0 -0
  299. /package/{module → esm}/generators/create-rpc-msg-client-scoped.js +0 -0
  300. /package/{types → esm}/generators/create-rpc-msg-clients.d.ts +0 -0
  301. /package/{module → esm}/generators/create-rpc-msg-clients.js +0 -0
  302. /package/{types → esm}/generators/create-rpc-ops-bundle.d.ts +0 -0
  303. /package/{module → esm}/generators/create-rpc-ops-bundle.js +0 -0
  304. /package/{types → esm}/generators/create-rpc-query-client-all.d.ts +0 -0
  305. /package/{module → esm}/generators/create-rpc-query-client-all.js +0 -0
  306. /package/{types → esm}/generators/create-rpc-query-client-scoped.d.ts +0 -0
  307. /package/{module → esm}/generators/create-rpc-query-client-scoped.js +0 -0
  308. /package/{types → esm}/generators/create-rpc-query-clients.d.ts +0 -0
  309. /package/{module → esm}/generators/create-rpc-query-clients.js +0 -0
  310. /package/{types → esm}/generators/create-sdk-module-stargate-clients.d.ts +0 -0
  311. /package/{types → esm}/generators/create-stargate-clients.d.ts +0 -0
  312. /package/{types → esm}/generators/create-types.d.ts +0 -0
  313. /package/{module → esm}/generators/create-types.js +0 -0
  314. /package/{types → esm}/generators/customize-utils.d.ts +0 -0
  315. /package/{module → esm}/generators/customize-utils.js +0 -0
  316. /package/{types → esm}/helpers/__test__/internalTimestamp.d.ts +0 -0
  317. /package/{module → esm}/helpers/__test__/internalTimestamp.js +0 -0
  318. /package/{types → esm}/helpers/__test__/internalTimestampBigint.d.ts +0 -0
  319. /package/{module → esm}/helpers/__test__/internalTimestampBigint.js +0 -0
  320. /package/{types → esm}/helpers/binary-coder.d.ts +0 -0
  321. /package/{module → esm}/helpers/binary-coder.js +0 -0
  322. /package/{types → esm}/helpers/decimals.d.ts +0 -0
  323. /package/{module → esm}/helpers/decimals.js +0 -0
  324. /package/{types → esm}/helpers/external-comet.d.ts +0 -0
  325. /package/{module → esm}/helpers/external-comet.js +0 -0
  326. /package/{types → esm}/helpers/external-icjs.d.ts +0 -0
  327. /package/{module → esm}/helpers/external-icjs.js +0 -0
  328. /package/{types → esm}/helpers/external.d.ts +0 -0
  329. /package/{module → esm}/helpers/external.js +0 -0
  330. /package/{types → esm}/helpers/grpc-gateway.d.ts +0 -0
  331. /package/{module → esm}/helpers/grpc-gateway.js +0 -0
  332. /package/{types → esm}/helpers/grpc-web.d.ts +0 -0
  333. /package/{module → esm}/helpers/grpc-web.js +0 -0
  334. /package/{types → esm}/helpers/helper-func-types-interface.d.ts +0 -0
  335. /package/{module → esm}/helpers/helper-func-types-interface.js +0 -0
  336. /package/{types → esm}/helpers/helper-func-types.d.ts +0 -0
  337. /package/{module → esm}/helpers/helper-func-types.js +0 -0
  338. /package/{types → esm}/helpers/index.d.ts +0 -0
  339. /package/{module → esm}/helpers/index.js +0 -0
  340. /package/{types → esm}/helpers/internal-for-bigint.d.ts +0 -0
  341. /package/{module → esm}/helpers/internal-for-bigint.js +0 -0
  342. /package/{types → esm}/helpers/internal.d.ts +0 -0
  343. /package/{module → esm}/helpers/internal.js +0 -0
  344. /package/{types → esm}/helpers/json-safe.d.ts +0 -0
  345. /package/{module → esm}/helpers/json-safe.js +0 -0
  346. /package/{types → esm}/helpers/mobx.d.ts +0 -0
  347. /package/{module → esm}/helpers/mobx.js +0 -0
  348. /package/{types → esm}/helpers/pinia-endpoint.d.ts +0 -0
  349. /package/{module → esm}/helpers/pinia-endpoint.js +0 -0
  350. /package/{types → esm}/helpers/react-query-hooks-icjs.d.ts +0 -0
  351. /package/{module → esm}/helpers/react-query-hooks-icjs.js +0 -0
  352. /package/{types → esm}/helpers/react-query-hooks.d.ts +0 -0
  353. /package/{module → esm}/helpers/react-query-hooks.js +0 -0
  354. /package/{types → esm}/helpers/react-query.d.ts +0 -0
  355. /package/{module → esm}/helpers/react-query.js +0 -0
  356. /package/{types → esm}/helpers/registry-helper.d.ts +0 -0
  357. /package/{module → esm}/helpers/registry-helper.js +0 -0
  358. /package/{types → esm}/helpers/types-helper.d.ts +0 -0
  359. /package/{module → esm}/helpers/types-helper.js +0 -0
  360. /package/{types → esm}/helpers/utf8-helper.d.ts +0 -0
  361. /package/{module → esm}/helpers/utf8-helper.js +0 -0
  362. /package/{types → esm}/helpers/varint.d.ts +0 -0
  363. /package/{module → esm}/helpers/varint.js +0 -0
  364. /package/{types → esm}/helpers/vue-query-hooks.d.ts +0 -0
  365. /package/{module → esm}/helpers/vue-query-hooks.js +0 -0
  366. /package/{types → esm}/imports.d.ts +0 -0
  367. /package/{module → esm}/imports.js +0 -0
  368. /package/{types → esm}/index.d.ts +0 -0
  369. /package/{module → esm}/index.js +0 -0
  370. /package/{types → esm}/parse.d.ts +0 -0
  371. /package/{module → esm}/parse.js +0 -0
  372. /package/{types → esm}/prompt.d.ts +0 -0
  373. /package/{module → esm}/prompt.js +0 -0
  374. /package/{types → esm}/protod/bufbuild.d.ts +0 -0
  375. /package/{module → esm}/protod/bufbuild.js +0 -0
  376. /package/{types → esm}/protod/config.d.ts +0 -0
  377. /package/{module → esm}/protod/config.js +0 -0
  378. /package/{types → esm}/protod/git-repo.d.ts +0 -0
  379. /package/{module → esm}/protod/git-repo.js +0 -0
  380. /package/{types → esm}/protod/index.d.ts +0 -0
  381. /package/{module → esm}/protod/index.js +0 -0
  382. /package/{types → esm}/protod/recursive.d.ts +0 -0
  383. /package/{module → esm}/protod/recursive.js +0 -0
  384. /package/{types → esm}/protod/types.d.ts +0 -0
  385. /package/{module → esm}/protod/types.js +0 -0
  386. /package/{types → esm}/protod/utils.d.ts +0 -0
  387. /package/{module → esm}/protod/utils.js +0 -0
  388. /package/{types → esm}/types.d.ts +0 -0
  389. /package/{module → esm}/types.js +0 -0
  390. /package/{types → esm}/utils/common-create-bundle.d.ts +0 -0
  391. /package/{module → esm}/utils/common-create-bundle.js +0 -0
  392. /package/{types → esm}/utils/files.d.ts +0 -0
  393. /package/{module → esm}/utils/files.js +0 -0
  394. /package/{module → esm}/utils/index.js +0 -0
  395. /package/{types → esm}/utils/unused.d.ts +0 -0
  396. /package/{module → esm}/utils/unused.js +0 -0
  397. /package/{main/generators → generators}/create-aggregated-lcd-client.js +0 -0
  398. /package/{types/generators/create-combined-stargate-clients.d.ts → generators/create-all-stargate-clients.d.ts} +0 -0
  399. /package/{main/generators → generators}/create-all-stargate-clients.js +0 -0
  400. /package/{main/generators → generators}/create-amino-converters.js +0 -0
  401. /package/{main/generators → generators}/create-bundle.js +0 -0
  402. /package/{types/generators/create-scoped-stargate-clients.d.ts → generators/create-custom-stargate-clients.d.ts} +0 -0
  403. /package/{main/generators → generators}/create-custom-stargate-clients.js +0 -0
  404. /package/{main/generators → generators}/create-lcd-clients.js +0 -0
  405. /package/{main/generators → generators}/create-mcp-server.js +0 -0
  406. /package/{main/generators → generators}/create-msg-funcs.js +0 -0
  407. /package/{main/generators → generators}/create-pinia-store.js +0 -0
  408. /package/{main/generators → generators}/create-query-funcs.js +0 -0
  409. /package/{main/generators → generators}/create-registries.js +0 -0
  410. /package/{main/generators → generators}/create-root-readme.js +0 -0
  411. /package/{main/generators → generators}/create-rpc-msg-clients.js +0 -0
  412. /package/{main/generators → generators}/create-rpc-query-clients.js +0 -0
  413. /package/{main/generators → generators}/customize-utils.js +0 -0
  414. /package/{main/helpers → helpers}/binary-coder.js +0 -0
  415. /package/{main/helpers → helpers}/decimals.js +0 -0
  416. /package/{main/helpers → helpers}/external-comet.js +0 -0
  417. /package/{main/helpers → helpers}/external-icjs.js +0 -0
  418. /package/{main/helpers → helpers}/external.js +0 -0
  419. /package/{main/helpers → helpers}/grpc-gateway.js +0 -0
  420. /package/{main/helpers → helpers}/grpc-web.js +0 -0
  421. /package/{main/helpers → helpers}/helper-func-types-interface.js +0 -0
  422. /package/{main/helpers → helpers}/helper-func-types.js +0 -0
  423. /package/{src/helpers/index.ts → helpers/index.d.ts} +0 -0
  424. /package/{main/helpers → helpers}/index.js +0 -0
  425. /package/{main/helpers → helpers}/internal-for-bigint.js +0 -0
  426. /package/{main/helpers → helpers}/internal.js +0 -0
  427. /package/{main/helpers → helpers}/json-safe.js +0 -0
  428. /package/{main/helpers → helpers}/mobx.js +0 -0
  429. /package/{main/helpers → helpers}/pinia-endpoint.js +0 -0
  430. /package/{main/helpers → helpers}/react-query-hooks-icjs.js +0 -0
  431. /package/{main/helpers → helpers}/react-query-hooks.js +0 -0
  432. /package/{main/helpers → helpers}/react-query.js +0 -0
  433. /package/{main/helpers → helpers}/registry-helper.js +0 -0
  434. /package/{main/helpers → helpers}/types-helper.js +0 -0
  435. /package/{main/helpers → helpers}/utf8-helper.js +0 -0
  436. /package/{main/helpers → helpers}/varint.js +0 -0
  437. /package/{main/helpers → helpers}/vue-query-hooks.js +0 -0
  438. /package/{main/index.js → index.js} +0 -0
  439. /package/{main/parse.js → parse.js} +0 -0
  440. /package/{main/prompt.js → prompt.js} +0 -0
  441. /package/{main/protod → protod}/config.js +0 -0
  442. /package/{main/protod → protod}/git-repo.js +0 -0
  443. /package/{src/protod/index.ts → protod/index.d.ts} +0 -0
  444. /package/{main/protod → protod}/index.js +0 -0
  445. /package/{main/protod → protod}/types.js +0 -0
  446. /package/{main/types.js → types.js} +0 -0
  447. /package/{main/utils → utils}/common-create-bundle.js +0 -0
  448. /package/{main/utils → utils}/index.js +0 -0
@@ -1 +0,0 @@
1
- export declare const internalForBigInt = "\ndeclare var self: any | undefined;\ndeclare var window: any | undefined;\ndeclare var global: any | undefined;\nvar _globalThis: any = (() => {\n if (typeof globalThis !== 'undefined') return globalThis;\n if (typeof self !== 'undefined') return self;\n if (typeof window !== 'undefined') return window;\n if (typeof global !== 'undefined') return global;\n throw 'Unable to locate global object';\n})();\n\nconst atob: (b64: string) => string =\n _globalThis.atob ||\n ((b64) => _globalThis.Buffer.from(b64, 'base64').toString('binary'));\n\nexport function bytesFromBase64(b64: string): Uint8Array {\n const bin = atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n}\n\nconst btoa: (bin: string) => string =\n _globalThis.btoa ||\n ((bin) => _globalThis.Buffer.from(bin, 'binary').toString('base64'));\n\nexport function base64FromBytes(arr: Uint8Array): string {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(String.fromCharCode(byte));\n });\n return btoa(bin.join(''));\n}\n\nexport interface AminoHeight {\n readonly revision_number?: string;\n readonly revision_height?: string;\n}\n\nexport function omitDefault<T extends string | number | bigint>(\n input: T\n): T | undefined {\n if (typeof input === 'string') {\n return input === '' ? undefined : input;\n }\n\n if (typeof input === 'number') {\n return input === 0 ? undefined : input;\n }\n\n if (typeof input === 'bigint') {\n return input === BigInt(0) ? undefined : input;\n }\n\n throw new Error(`Got unsupported type ${typeof input}`);\n}\n\ninterface Duration {\n /**\n * Signed seconds of the span of time. Must be from -315,576,000,000\n * to +315,576,000,000 inclusive. Note: these bounds are computed from:\n * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years\n */\n seconds: bigint;\n /**\n * Signed fractions of a second at nanosecond resolution of the span\n * of time. Durations less than one second are represented with a 0\n * `seconds` field and a positive or negative `nanos` field. For durations\n * of one second or more, a non-zero value for the `nanos` field must be\n * of the same sign as the `seconds` field. Must be from -999,999,999\n * to +999,999,999 inclusive.\n */\n\n nanos: number;\n}\n\nexport function toDuration(duration: string): Duration {\n return {\n seconds: BigInt(Math.floor(parseInt(duration) / 1000000000)),\n nanos: parseInt(duration) % 1000000000\n };\n}\n\nexport function fromDuration(duration: Duration): string {\n return (\n parseInt(duration.seconds.toString()) * 1000000000 +\n duration.nanos\n ).toString();\n}\n\nexport function isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport function isObject(value: any): boolean {\n return typeof value === 'object' && value !== null;\n}\n\nexport interface PageRequest {\n key: Uint8Array;\n offset: bigint;\n limit: bigint;\n countTotal: boolean;\n reverse: boolean;\n}\n\nexport interface PageRequestParams {\n 'pagination.key'?: string;\n 'pagination.offset'?: string;\n 'pagination.limit'?: string;\n 'pagination.count_total'?: boolean;\n 'pagination.reverse'?: boolean;\n}\n\nexport interface Params {\n params: PageRequestParams;\n}\n\nexport const setPaginationParams = (\n options: Params,\n pagination?: PageRequest\n) => {\n if (!pagination) {\n return options;\n }\n\n if (typeof pagination?.countTotal !== 'undefined') {\n options.params['pagination.count_total'] = pagination.countTotal;\n }\n if (typeof pagination?.key !== 'undefined') {\n // String to Uint8Array\n // let uint8arr = new Uint8Array(Buffer.from(data,'base64'));\n\n // Uint8Array to String\n options.params['pagination.key'] = Buffer.from(pagination.key).toString(\n 'base64'\n );\n }\n if (typeof pagination?.limit !== 'undefined') {\n options.params['pagination.limit'] = pagination.limit.toString();\n }\n if (typeof pagination?.offset !== 'undefined') {\n options.params['pagination.offset'] = pagination.offset.toString();\n }\n if (typeof pagination?.reverse !== 'undefined') {\n options.params['pagination.reverse'] = pagination.reverse;\n }\n\n return options;\n};\n\ntype Builtin =\n | Date\n | Function\n | Uint8Array\n | string\n | number\n | bigint\n | boolean\n | undefined;\n\nexport type DeepPartial<T> = T extends Builtin\n ? T\n : T extends Array<infer U>\n ? Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U>\n ? ReadonlyArray<DeepPartial<U>>\n : T extends {}\n ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin\n ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<\n Exclude<keyof I, KeysOfUnion<P>>,\n never\n >;\n\nexport interface Rpc {\n request(\n service: string,\n method: string,\n data: Uint8Array\n ): Promise<Uint8Array>;\n}\n\ninterface Timestamp {\n /**\n * Represents seconds of UTC time since Unix epoch\n * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n * 9999-12-31T23:59:59Z inclusive.\n */\n seconds: bigint;\n /**\n * Non-negative fractions of a second at nanosecond resolution. Negative\n * second values with fractions must still have non-negative nanos values\n * that count forward in time. Must be from 0 to 999,999,999\n * inclusive.\n */\n\n nanos: number;\n}\n\nexport function toTimestamp(date: Date): Timestamp {\n const seconds = numberToLong(date.getTime() / 1_000);\n const nanos = (date.getTime() % 1000) * 1000000;\n return {\n seconds,\n nanos\n };\n}\n\nexport function fromTimestamp(t: Timestamp): Date {\n let millis = Number(t.seconds) * 1000;\n millis += t.nanos / 1000000;\n return new Date(millis);\n}\n\nconst timestampFromJSON = (object: any): Timestamp => {\n return {\n seconds: isSet(object.seconds)\n ? BigInt(object.seconds.toString())\n : BigInt(0),\n nanos: isSet(object.nanos) ? Number(object.nanos) : 0\n };\n};\n\nexport function fromJsonTimestamp(o: any): Timestamp {\n if (o instanceof Date) {\n return toTimestamp(o);\n } else if (typeof o === 'string') {\n return toTimestamp(new Date(o));\n } else {\n return timestampFromJSON(o);\n }\n}\n\nfunction numberToLong(number: number) {\n return BigInt(Math.trunc(number));\n}\n";
@@ -1 +0,0 @@
1
- export declare const types = "import { BinaryReader, BinaryWriter } from \"../../../binary\";\n\n/**\n * A type generated by Telescope 1.0.\n */\nexport interface TelescopeGeneratedType {\n readonly typeUrl: string;\n readonly encode: (\n message:\n | any\n | {\n [k: string]: any;\n },\n writer?: BinaryWriter\n ) => BinaryWriter;\n readonly decode: (input: BinaryReader | Uint8Array, length?: number) => any;\n readonly fromPartial: (object: any) => any;\n}\n\nexport type GeneratedType = TelescopeGeneratedType;\n";
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
@@ -1,6 +0,0 @@
1
- export declare const getDirectories: (source: any) => string[];
2
- export declare const getContracts: () => {
3
- name: string;
4
- value: string;
5
- }[];
6
- export declare const getContractSchemata: (schemata: any[], out: string, argv: any) => Promise<any[]>;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes