@hyperweb/telescope 2.0.4 → 2.2.0

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 (461) hide show
  1. package/README.md +5 -5
  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-sdk-module-stargate-clients.js +1 -1
  15. package/{module → esm}/generators/create-stargate-clients.js +1 -1
  16. package/{types → esm}/utils/index.d.ts +1 -1
  17. package/generators/create-aggregated-lcd-client.d.ts +2 -0
  18. package/generators/create-amino-converters.d.ts +3 -0
  19. package/generators/create-bundle.d.ts +3 -0
  20. package/generators/create-helpers.d.ts +2 -0
  21. package/generators/create-index.d.ts +2 -0
  22. package/{main/generators → generators}/create-index.js +17 -7
  23. package/generators/create-lcd-client-all.d.ts +3 -0
  24. package/{main/generators → generators}/create-lcd-client-all.js +17 -7
  25. package/generators/create-lcd-client-scoped.d.ts +3 -0
  26. package/{main/generators → generators}/create-lcd-client-scoped.js +17 -7
  27. package/generators/create-lcd-clients.d.ts +3 -0
  28. package/generators/create-mcp-server.d.ts +3 -0
  29. package/generators/create-mobx-bundle.d.ts +2 -0
  30. package/{main/generators → generators}/create-mobx-bundle.js +17 -7
  31. package/generators/create-msg-funcs.d.ts +3 -0
  32. package/generators/create-pinia-store-bundle.d.ts +2 -0
  33. package/{main/generators → generators}/create-pinia-store-bundle.js +17 -7
  34. package/generators/create-pinia-store.d.ts +3 -0
  35. package/generators/create-query-funcs.d.ts +3 -0
  36. package/generators/create-react-query-bundle.d.ts +2 -0
  37. package/{main/generators → generators}/create-react-query-bundle.js +17 -7
  38. package/generators/create-registries.d.ts +3 -0
  39. package/generators/create-root-readme.d.ts +2 -0
  40. package/generators/create-rpc-msg-client-all.d.ts +3 -0
  41. package/{main/generators → generators}/create-rpc-msg-client-all.js +17 -7
  42. package/generators/create-rpc-msg-client-scoped.d.ts +3 -0
  43. package/{main/generators → generators}/create-rpc-msg-client-scoped.js +17 -7
  44. package/generators/create-rpc-msg-clients.d.ts +3 -0
  45. package/generators/create-rpc-ops-bundle.d.ts +2 -0
  46. package/{main/generators → generators}/create-rpc-ops-bundle.js +17 -7
  47. package/generators/create-rpc-query-client-all.d.ts +3 -0
  48. package/{main/generators → generators}/create-rpc-query-client-all.js +17 -7
  49. package/generators/create-rpc-query-client-scoped.d.ts +3 -0
  50. package/{main/generators → generators}/create-rpc-query-client-scoped.js +17 -7
  51. package/generators/create-rpc-query-clients.d.ts +3 -0
  52. package/generators/create-sdk-module-stargate-clients.d.ts +3 -0
  53. package/{main/generators → generators}/create-sdk-module-stargate-clients.js +1 -1
  54. package/generators/create-stargate-clients.d.ts +3 -0
  55. package/{main/generators → generators}/create-stargate-clients.js +1 -1
  56. package/generators/create-types.d.ts +3 -0
  57. package/{main/generators → generators}/create-types.js +17 -7
  58. package/generators/customize-utils.d.ts +2 -0
  59. package/helpers/__test__/internalTimestamp.d.ts +21 -0
  60. package/{main/helpers → helpers}/__test__/internalTimestamp.js +4 -5
  61. package/helpers/__test__/internalTimestampBigint.d.ts +20 -0
  62. package/{main/helpers → helpers}/__test__/internalTimestampBigint.js +4 -5
  63. package/helpers/binary-coder.d.ts +2 -0
  64. package/helpers/decimals.d.ts +1 -0
  65. package/helpers/external-comet.d.ts +1 -0
  66. package/helpers/external-icjs.d.ts +1 -0
  67. package/helpers/external.d.ts +1 -0
  68. package/helpers/grpc-gateway.d.ts +1 -0
  69. package/helpers/grpc-web.d.ts +1 -0
  70. package/helpers/helper-func-types-interface.d.ts +2 -0
  71. package/helpers/helper-func-types.d.ts +2 -0
  72. package/helpers/internal-for-bigint.d.ts +2 -0
  73. package/helpers/internal.d.ts +2 -0
  74. package/helpers/json-safe.d.ts +1 -0
  75. package/helpers/mobx.d.ts +1 -0
  76. package/helpers/pinia-endpoint.d.ts +1 -0
  77. package/helpers/react-query-hooks-icjs.d.ts +2 -0
  78. package/helpers/react-query-hooks.d.ts +2 -0
  79. package/helpers/react-query.d.ts +2 -0
  80. package/{types/helpers/vue-query.d.ts → helpers/registry-helper.d.ts} +1 -1
  81. package/helpers/types-helper.d.ts +2 -0
  82. package/helpers/utf8-helper.d.ts +1 -0
  83. package/helpers/varint.d.ts +1 -0
  84. package/helpers/vue-query-hooks.d.ts +2 -0
  85. package/imports.d.ts +17 -0
  86. package/{main/imports.js → imports.js} +17 -7
  87. package/index.d.ts +6 -0
  88. package/package.json +31 -50
  89. package/parse.d.ts +15 -0
  90. package/prompt.d.ts +3 -0
  91. package/protod/bufbuild.d.ts +6 -0
  92. package/{main/protod → protod}/bufbuild.js +5 -6
  93. package/protod/config.d.ts +7 -0
  94. package/protod/git-repo.d.ts +11 -0
  95. package/protod/recursive.d.ts +4 -0
  96. package/{main/protod → protod}/recursive.js +3 -4
  97. package/protod/types.d.ts +49 -0
  98. package/protod/utils.d.ts +11 -0
  99. package/{main/protod → protod}/utils.js +8 -9
  100. package/types.d.ts +43 -0
  101. package/utils/common-create-bundle.d.ts +18 -0
  102. package/utils/files.d.ts +5 -0
  103. package/{main/utils → utils}/files.js +19 -9
  104. package/utils/index.d.ts +16 -0
  105. package/utils/unused.d.ts +5 -0
  106. package/{main/utils → utils}/unused.js +17 -7
  107. package/main/cli.js +0 -52
  108. package/main/cmds.js +0 -16
  109. package/main/contracts/generate.js +0 -31
  110. package/main/contracts/install.js +0 -107
  111. package/main/contracts/message-composer.js +0 -31
  112. package/main/contracts/react-query.js +0 -31
  113. package/main/contracts/recoil.js +0 -31
  114. package/main/file.js +0 -20
  115. package/main/generators/create-combined-stargate-clients.js +0 -99
  116. package/main/generators/create-cosmwasm-bundle.js +0 -15
  117. package/main/helpers/generated-type.js +0 -24
  118. package/main/helpers/internalForBigInt.js +0 -248
  119. package/main/helpers/types.js +0 -24
  120. package/main/helpers/vue-query.js +0 -91
  121. package/main/protod/proto-download.js +0 -57
  122. package/main/telescope.js +0 -10
  123. package/main/utils/contracts.js +0 -39
  124. package/module/cli.js +0 -25
  125. package/module/cmds.js +0 -10
  126. package/module/contracts/generate.js +0 -29
  127. package/module/contracts/install.js +0 -105
  128. package/module/contracts/message-composer.js +0 -29
  129. package/module/contracts/react-query.js +0 -29
  130. package/module/contracts/recoil.js +0 -29
  131. package/module/file.js +0 -18
  132. package/module/generators/create-combined-stargate-clients.js +0 -95
  133. package/module/generators/create-cosmwasm-bundle.js +0 -11
  134. package/module/helpers/generated-type.js +0 -21
  135. package/module/helpers/internalForBigInt.js +0 -245
  136. package/module/helpers/types.js +0 -21
  137. package/module/helpers/vue-query.js +0 -87
  138. package/module/protod/proto-download.js +0 -55
  139. package/module/telescope.js +0 -8
  140. package/module/utils/contracts.js +0 -33
  141. package/src/build.ts +0 -255
  142. package/src/builder.ts +0 -292
  143. package/src/bundle.ts +0 -160
  144. package/src/bundler.ts +0 -153
  145. package/src/cli.js +0 -31
  146. package/src/cmds.js +0 -11
  147. package/src/commands/download.ts +0 -120
  148. package/src/commands/generate.ts +0 -156
  149. package/src/commands/install.ts +0 -154
  150. package/src/commands/transpile.ts +0 -205
  151. package/src/file.js +0 -20
  152. package/src/generators/create-aggregated-lcd-client.ts +0 -133
  153. package/src/generators/create-all-stargate-clients.ts +0 -121
  154. package/src/generators/create-amino-converters.ts +0 -62
  155. package/src/generators/create-bundle.ts +0 -143
  156. package/src/generators/create-custom-stargate-clients.ts +0 -128
  157. package/src/generators/create-helpers.ts +0 -209
  158. package/src/generators/create-index.ts +0 -72
  159. package/src/generators/create-lcd-client-all.ts +0 -139
  160. package/src/generators/create-lcd-client-scoped.ts +0 -109
  161. package/src/generators/create-lcd-clients.ts +0 -108
  162. package/src/generators/create-mcp-server.ts +0 -1774
  163. package/src/generators/create-mobx-bundle.ts +0 -31
  164. package/src/generators/create-msg-funcs.ts +0 -219
  165. package/src/generators/create-pinia-store-bundle.ts +0 -35
  166. package/src/generators/create-pinia-store.ts +0 -121
  167. package/src/generators/create-query-funcs.ts +0 -224
  168. package/src/generators/create-react-query-bundle.ts +0 -111
  169. package/src/generators/create-registries.ts +0 -70
  170. package/src/generators/create-root-readme.ts +0 -403
  171. package/src/generators/create-rpc-msg-client-all.ts +0 -167
  172. package/src/generators/create-rpc-msg-client-scoped.ts +0 -147
  173. package/src/generators/create-rpc-msg-clients.ts +0 -165
  174. package/src/generators/create-rpc-ops-bundle.ts +0 -155
  175. package/src/generators/create-rpc-query-client-all.ts +0 -173
  176. package/src/generators/create-rpc-query-client-scoped.ts +0 -142
  177. package/src/generators/create-rpc-query-clients.ts +0 -304
  178. package/src/generators/create-sdk-module-stargate-clients.ts +0 -120
  179. package/src/generators/create-stargate-clients.ts +0 -123
  180. package/src/generators/create-types.ts +0 -236
  181. package/src/generators/customize-utils.ts +0 -52
  182. package/src/helpers/__test__/internalTimestamp.test.ts +0 -79
  183. package/src/helpers/__test__/internalTimestamp.ts +0 -58
  184. package/src/helpers/__test__/internalTimestampBigint.test.ts +0 -78
  185. package/src/helpers/__test__/internalTimestampBigint.ts +0 -58
  186. package/src/helpers/binary-coder.ts +0 -533
  187. package/src/helpers/decimals.ts +0 -108
  188. package/src/helpers/external-comet.ts +0 -49
  189. package/src/helpers/external-icjs.ts +0 -43
  190. package/src/helpers/external.ts +0 -28
  191. package/src/helpers/grpc-gateway.ts +0 -345
  192. package/src/helpers/grpc-web.ts +0 -11
  193. package/src/helpers/helper-func-types-interface.ts +0 -104
  194. package/src/helpers/helper-func-types.ts +0 -91
  195. package/src/helpers/internal-for-bigint.ts +0 -259
  196. package/src/helpers/internal.ts +0 -241
  197. package/src/helpers/json-safe.ts +0 -11
  198. package/src/helpers/mobx.ts +0 -77
  199. package/src/helpers/pinia-endpoint.ts +0 -17
  200. package/src/helpers/react-query-hooks-icjs.ts +0 -223
  201. package/src/helpers/react-query-hooks.ts +0 -266
  202. package/src/helpers/react-query.ts +0 -101
  203. package/src/helpers/registry-helper.ts +0 -227
  204. package/src/helpers/types-helper.ts +0 -169
  205. package/src/helpers/utf8-helper.ts +0 -143
  206. package/src/helpers/varint.ts +0 -483
  207. package/src/helpers/vue-query-hooks.ts +0 -224
  208. package/src/imports.ts +0 -499
  209. package/src/index.ts +0 -12
  210. package/src/parse.ts +0 -243
  211. package/src/prompt.js +0 -65
  212. package/src/protod/bufbuild.spec.ts +0 -80
  213. package/src/protod/bufbuild.ts +0 -95
  214. package/src/protod/config.ts +0 -30
  215. package/src/protod/git-repo.ts +0 -74
  216. package/src/protod/recursive.spec.ts +0 -164
  217. package/src/protod/recursive.ts +0 -190
  218. package/src/protod/test-data/.protod.config.json +0 -42
  219. package/src/protod/test-data/buf.lock +0 -23
  220. package/src/protod/test-data/buf.yaml +0 -25
  221. package/src/protod/test-data/buf2.yaml +0 -20
  222. package/src/protod/test-data/cosmos/buf.lock +0 -23
  223. package/src/protod/test-data/cosmos/crypto/secp256k1/keys.proto +0 -38
  224. package/src/protod/test-data/model.proto +0 -101
  225. package/src/protod/types.ts +0 -55
  226. package/src/protod/utils.spec.ts +0 -68
  227. package/src/protod/utils.ts +0 -90
  228. package/src/telescope.js +0 -9
  229. package/src/types.ts +0 -46
  230. package/src/utils/common-create-bundle.ts +0 -62
  231. package/src/utils/files.ts +0 -145
  232. package/src/utils/index.ts +0 -149
  233. package/src/utils/unused.ts +0 -52
  234. package/types/cli.d.ts +0 -1
  235. package/types/cmds.d.ts +0 -10
  236. package/types/codegen/cosmos/orm/module/v1alpha1/module.d.ts +0 -43
  237. package/types/contracts/generate.d.ts +0 -2
  238. package/types/contracts/message-composer.d.ts +0 -2
  239. package/types/contracts/react-query.d.ts +0 -2
  240. package/types/contracts/recoil.d.ts +0 -2
  241. package/types/file.d.ts +0 -2
  242. package/types/generators/create-cosmwasm-bundle.d.ts +0 -2
  243. package/types/generators/create-unified-stargate-clients.d.ts +0 -3
  244. package/types/helpers/generated-type.d.ts +0 -1
  245. package/types/helpers/internalForBigInt.d.ts +0 -1
  246. package/types/helpers/types.d.ts +0 -1
  247. package/types/protod/proto-download.d.ts +0 -2
  248. package/types/telescope.d.ts +0 -2
  249. package/types/utils/contracts.d.ts +0 -6
  250. /package/{types/build.d.ts → build.d.ts} +0 -0
  251. /package/{main/build.js → build.js} +0 -0
  252. /package/{types/builder.d.ts → builder.d.ts} +0 -0
  253. /package/{main/builder.js → builder.js} +0 -0
  254. /package/{types/bundle.d.ts → bundle.d.ts} +0 -0
  255. /package/{types/bundler.d.ts → bundler.d.ts} +0 -0
  256. /package/{main/bundler.js → bundler.js} +0 -0
  257. /package/{types/commands → commands}/generate.d.ts +0 -0
  258. /package/{types/commands → commands}/install.d.ts +0 -0
  259. /package/{main/commands → commands}/install.js +0 -0
  260. /package/{types/commands → commands}/transpile.d.ts +0 -0
  261. /package/{module → esm}/build.js +0 -0
  262. /package/{module → esm}/builder.js +0 -0
  263. /package/{module → esm}/bundle.js +0 -0
  264. /package/{module → esm}/bundler.js +0 -0
  265. /package/{module → esm}/commands/download.js +0 -0
  266. /package/{module → esm}/commands/generate.js +0 -0
  267. /package/{types/contracts → esm/commands}/install.d.ts +0 -0
  268. /package/{module → esm}/commands/install.js +0 -0
  269. /package/{module → esm}/commands/transpile.js +0 -0
  270. /package/{types → esm}/generators/create-aggregated-lcd-client.d.ts +0 -0
  271. /package/{module → esm}/generators/create-aggregated-lcd-client.js +0 -0
  272. /package/{types → esm}/generators/create-all-stargate-clients.d.ts +0 -0
  273. /package/{module → esm}/generators/create-all-stargate-clients.js +0 -0
  274. /package/{types → esm}/generators/create-amino-converters.d.ts +0 -0
  275. /package/{module → esm}/generators/create-amino-converters.js +0 -0
  276. /package/{types → esm}/generators/create-bundle.d.ts +0 -0
  277. /package/{module → esm}/generators/create-bundle.js +0 -0
  278. /package/{types → esm}/generators/create-custom-stargate-clients.d.ts +0 -0
  279. /package/{module → esm}/generators/create-custom-stargate-clients.js +0 -0
  280. /package/{types → esm}/generators/create-helpers.d.ts +0 -0
  281. /package/{module → esm}/generators/create-helpers.js +0 -0
  282. /package/{types → esm}/generators/create-index.d.ts +0 -0
  283. /package/{module → esm}/generators/create-index.js +0 -0
  284. /package/{types → esm}/generators/create-lcd-client-all.d.ts +0 -0
  285. /package/{module → esm}/generators/create-lcd-client-all.js +0 -0
  286. /package/{types → esm}/generators/create-lcd-client-scoped.d.ts +0 -0
  287. /package/{module → esm}/generators/create-lcd-client-scoped.js +0 -0
  288. /package/{types → esm}/generators/create-lcd-clients.d.ts +0 -0
  289. /package/{module → esm}/generators/create-lcd-clients.js +0 -0
  290. /package/{types → esm}/generators/create-mcp-server.d.ts +0 -0
  291. /package/{module → esm}/generators/create-mcp-server.js +0 -0
  292. /package/{types → esm}/generators/create-mobx-bundle.d.ts +0 -0
  293. /package/{module → esm}/generators/create-mobx-bundle.js +0 -0
  294. /package/{types → esm}/generators/create-msg-funcs.d.ts +0 -0
  295. /package/{module → esm}/generators/create-msg-funcs.js +0 -0
  296. /package/{types → esm}/generators/create-pinia-store-bundle.d.ts +0 -0
  297. /package/{module → esm}/generators/create-pinia-store-bundle.js +0 -0
  298. /package/{types → esm}/generators/create-pinia-store.d.ts +0 -0
  299. /package/{module → esm}/generators/create-pinia-store.js +0 -0
  300. /package/{types → esm}/generators/create-query-funcs.d.ts +0 -0
  301. /package/{module → esm}/generators/create-query-funcs.js +0 -0
  302. /package/{types → esm}/generators/create-react-query-bundle.d.ts +0 -0
  303. /package/{module → esm}/generators/create-react-query-bundle.js +0 -0
  304. /package/{types → esm}/generators/create-registries.d.ts +0 -0
  305. /package/{module → esm}/generators/create-registries.js +0 -0
  306. /package/{types → esm}/generators/create-root-readme.d.ts +0 -0
  307. /package/{module → esm}/generators/create-root-readme.js +0 -0
  308. /package/{types → esm}/generators/create-rpc-msg-client-all.d.ts +0 -0
  309. /package/{module → esm}/generators/create-rpc-msg-client-all.js +0 -0
  310. /package/{types → esm}/generators/create-rpc-msg-client-scoped.d.ts +0 -0
  311. /package/{module → esm}/generators/create-rpc-msg-client-scoped.js +0 -0
  312. /package/{types → esm}/generators/create-rpc-msg-clients.d.ts +0 -0
  313. /package/{module → esm}/generators/create-rpc-msg-clients.js +0 -0
  314. /package/{types → esm}/generators/create-rpc-ops-bundle.d.ts +0 -0
  315. /package/{module → esm}/generators/create-rpc-ops-bundle.js +0 -0
  316. /package/{types → esm}/generators/create-rpc-query-client-all.d.ts +0 -0
  317. /package/{module → esm}/generators/create-rpc-query-client-all.js +0 -0
  318. /package/{types → esm}/generators/create-rpc-query-client-scoped.d.ts +0 -0
  319. /package/{module → esm}/generators/create-rpc-query-client-scoped.js +0 -0
  320. /package/{types → esm}/generators/create-rpc-query-clients.d.ts +0 -0
  321. /package/{module → esm}/generators/create-rpc-query-clients.js +0 -0
  322. /package/{types → esm}/generators/create-sdk-module-stargate-clients.d.ts +0 -0
  323. /package/{types → esm}/generators/create-stargate-clients.d.ts +0 -0
  324. /package/{types → esm}/generators/create-types.d.ts +0 -0
  325. /package/{module → esm}/generators/create-types.js +0 -0
  326. /package/{types → esm}/generators/customize-utils.d.ts +0 -0
  327. /package/{module → esm}/generators/customize-utils.js +0 -0
  328. /package/{types → esm}/helpers/__test__/internalTimestamp.d.ts +0 -0
  329. /package/{module → esm}/helpers/__test__/internalTimestamp.js +0 -0
  330. /package/{types → esm}/helpers/__test__/internalTimestampBigint.d.ts +0 -0
  331. /package/{module → esm}/helpers/__test__/internalTimestampBigint.js +0 -0
  332. /package/{types → esm}/helpers/binary-coder.d.ts +0 -0
  333. /package/{module → esm}/helpers/binary-coder.js +0 -0
  334. /package/{types → esm}/helpers/decimals.d.ts +0 -0
  335. /package/{module → esm}/helpers/decimals.js +0 -0
  336. /package/{types → esm}/helpers/external-comet.d.ts +0 -0
  337. /package/{module → esm}/helpers/external-comet.js +0 -0
  338. /package/{types → esm}/helpers/external-icjs.d.ts +0 -0
  339. /package/{module → esm}/helpers/external-icjs.js +0 -0
  340. /package/{types → esm}/helpers/external.d.ts +0 -0
  341. /package/{module → esm}/helpers/external.js +0 -0
  342. /package/{types → esm}/helpers/grpc-gateway.d.ts +0 -0
  343. /package/{module → esm}/helpers/grpc-gateway.js +0 -0
  344. /package/{types → esm}/helpers/grpc-web.d.ts +0 -0
  345. /package/{module → esm}/helpers/grpc-web.js +0 -0
  346. /package/{types → esm}/helpers/helper-func-types-interface.d.ts +0 -0
  347. /package/{module → esm}/helpers/helper-func-types-interface.js +0 -0
  348. /package/{types → esm}/helpers/helper-func-types.d.ts +0 -0
  349. /package/{module → esm}/helpers/helper-func-types.js +0 -0
  350. /package/{types → esm}/helpers/index.d.ts +0 -0
  351. /package/{module → esm}/helpers/index.js +0 -0
  352. /package/{types → esm}/helpers/internal-for-bigint.d.ts +0 -0
  353. /package/{module → esm}/helpers/internal-for-bigint.js +0 -0
  354. /package/{types → esm}/helpers/internal.d.ts +0 -0
  355. /package/{module → esm}/helpers/internal.js +0 -0
  356. /package/{types → esm}/helpers/json-safe.d.ts +0 -0
  357. /package/{module → esm}/helpers/json-safe.js +0 -0
  358. /package/{types → esm}/helpers/mobx.d.ts +0 -0
  359. /package/{module → esm}/helpers/mobx.js +0 -0
  360. /package/{types → esm}/helpers/pinia-endpoint.d.ts +0 -0
  361. /package/{module → esm}/helpers/pinia-endpoint.js +0 -0
  362. /package/{types → esm}/helpers/react-query-hooks-icjs.d.ts +0 -0
  363. /package/{module → esm}/helpers/react-query-hooks-icjs.js +0 -0
  364. /package/{types → esm}/helpers/react-query-hooks.d.ts +0 -0
  365. /package/{module → esm}/helpers/react-query-hooks.js +0 -0
  366. /package/{types → esm}/helpers/react-query.d.ts +0 -0
  367. /package/{module → esm}/helpers/react-query.js +0 -0
  368. /package/{types → esm}/helpers/registry-helper.d.ts +0 -0
  369. /package/{module → esm}/helpers/registry-helper.js +0 -0
  370. /package/{types → esm}/helpers/types-helper.d.ts +0 -0
  371. /package/{module → esm}/helpers/types-helper.js +0 -0
  372. /package/{types → esm}/helpers/utf8-helper.d.ts +0 -0
  373. /package/{module → esm}/helpers/utf8-helper.js +0 -0
  374. /package/{types → esm}/helpers/varint.d.ts +0 -0
  375. /package/{module → esm}/helpers/varint.js +0 -0
  376. /package/{types → esm}/helpers/vue-query-hooks.d.ts +0 -0
  377. /package/{module → esm}/helpers/vue-query-hooks.js +0 -0
  378. /package/{types → esm}/imports.d.ts +0 -0
  379. /package/{module → esm}/imports.js +0 -0
  380. /package/{types → esm}/index.d.ts +0 -0
  381. /package/{module → esm}/index.js +0 -0
  382. /package/{types → esm}/parse.d.ts +0 -0
  383. /package/{module → esm}/parse.js +0 -0
  384. /package/{types → esm}/prompt.d.ts +0 -0
  385. /package/{module → esm}/prompt.js +0 -0
  386. /package/{types → esm}/protod/bufbuild.d.ts +0 -0
  387. /package/{module → esm}/protod/bufbuild.js +0 -0
  388. /package/{types → esm}/protod/config.d.ts +0 -0
  389. /package/{module → esm}/protod/config.js +0 -0
  390. /package/{types → esm}/protod/git-repo.d.ts +0 -0
  391. /package/{module → esm}/protod/git-repo.js +0 -0
  392. /package/{types → esm}/protod/index.d.ts +0 -0
  393. /package/{module → esm}/protod/index.js +0 -0
  394. /package/{types → esm}/protod/recursive.d.ts +0 -0
  395. /package/{module → esm}/protod/recursive.js +0 -0
  396. /package/{types → esm}/protod/types.d.ts +0 -0
  397. /package/{module → esm}/protod/types.js +0 -0
  398. /package/{types → esm}/protod/utils.d.ts +0 -0
  399. /package/{module → esm}/protod/utils.js +0 -0
  400. /package/{types → esm}/types.d.ts +0 -0
  401. /package/{module → esm}/types.js +0 -0
  402. /package/{types → esm}/utils/common-create-bundle.d.ts +0 -0
  403. /package/{module → esm}/utils/common-create-bundle.js +0 -0
  404. /package/{types → esm}/utils/files.d.ts +0 -0
  405. /package/{module → esm}/utils/files.js +0 -0
  406. /package/{module → esm}/utils/index.js +0 -0
  407. /package/{types → esm}/utils/unused.d.ts +0 -0
  408. /package/{module → esm}/utils/unused.js +0 -0
  409. /package/{main/generators → generators}/create-aggregated-lcd-client.js +0 -0
  410. /package/{types/generators/create-combined-stargate-clients.d.ts → generators/create-all-stargate-clients.d.ts} +0 -0
  411. /package/{main/generators → generators}/create-all-stargate-clients.js +0 -0
  412. /package/{main/generators → generators}/create-amino-converters.js +0 -0
  413. /package/{main/generators → generators}/create-bundle.js +0 -0
  414. /package/{types/generators/create-scoped-stargate-clients.d.ts → generators/create-custom-stargate-clients.d.ts} +0 -0
  415. /package/{main/generators → generators}/create-custom-stargate-clients.js +0 -0
  416. /package/{main/generators → generators}/create-helpers.js +0 -0
  417. /package/{main/generators → generators}/create-lcd-clients.js +0 -0
  418. /package/{main/generators → generators}/create-mcp-server.js +0 -0
  419. /package/{main/generators → generators}/create-msg-funcs.js +0 -0
  420. /package/{main/generators → generators}/create-pinia-store.js +0 -0
  421. /package/{main/generators → generators}/create-query-funcs.js +0 -0
  422. /package/{main/generators → generators}/create-registries.js +0 -0
  423. /package/{main/generators → generators}/create-root-readme.js +0 -0
  424. /package/{main/generators → generators}/create-rpc-msg-clients.js +0 -0
  425. /package/{main/generators → generators}/create-rpc-query-clients.js +0 -0
  426. /package/{main/generators → generators}/customize-utils.js +0 -0
  427. /package/{main/helpers → helpers}/binary-coder.js +0 -0
  428. /package/{main/helpers → helpers}/decimals.js +0 -0
  429. /package/{main/helpers → helpers}/external-comet.js +0 -0
  430. /package/{main/helpers → helpers}/external-icjs.js +0 -0
  431. /package/{main/helpers → helpers}/external.js +0 -0
  432. /package/{main/helpers → helpers}/grpc-gateway.js +0 -0
  433. /package/{main/helpers → helpers}/grpc-web.js +0 -0
  434. /package/{main/helpers → helpers}/helper-func-types-interface.js +0 -0
  435. /package/{main/helpers → helpers}/helper-func-types.js +0 -0
  436. /package/{src/helpers/index.ts → helpers/index.d.ts} +0 -0
  437. /package/{main/helpers → helpers}/index.js +0 -0
  438. /package/{main/helpers → helpers}/internal-for-bigint.js +0 -0
  439. /package/{main/helpers → helpers}/internal.js +0 -0
  440. /package/{main/helpers → helpers}/json-safe.js +0 -0
  441. /package/{main/helpers → helpers}/mobx.js +0 -0
  442. /package/{main/helpers → helpers}/pinia-endpoint.js +0 -0
  443. /package/{main/helpers → helpers}/react-query-hooks-icjs.js +0 -0
  444. /package/{main/helpers → helpers}/react-query-hooks.js +0 -0
  445. /package/{main/helpers → helpers}/react-query.js +0 -0
  446. /package/{main/helpers → helpers}/registry-helper.js +0 -0
  447. /package/{main/helpers → helpers}/types-helper.js +0 -0
  448. /package/{main/helpers → helpers}/utf8-helper.js +0 -0
  449. /package/{main/helpers → helpers}/varint.js +0 -0
  450. /package/{main/helpers → helpers}/vue-query-hooks.js +0 -0
  451. /package/{main/index.js → index.js} +0 -0
  452. /package/{main/parse.js → parse.js} +0 -0
  453. /package/{main/prompt.js → prompt.js} +0 -0
  454. /package/{main/protod → protod}/config.js +0 -0
  455. /package/{main/protod → protod}/git-repo.js +0 -0
  456. /package/{src/protod/index.ts → protod/index.d.ts} +0 -0
  457. /package/{main/protod → protod}/index.js +0 -0
  458. /package/{main/protod → protod}/types.js +0 -0
  459. /package/{main/types.js → types.js} +0 -0
  460. /package/{main/utils → utils}/common-create-bundle.js +0 -0
  461. /package/{main/utils → utils}/index.js +0 -0
@@ -1,2 +0,0 @@
1
- declare const _default: (argv: any) => Promise<void>;
2
- export default _default;
package/types/file.d.ts DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
@@ -1,2 +0,0 @@
1
- import { TelescopeBuilder } from '../builder';
2
- export declare const plugin: (builder: TelescopeBuilder) => Promise<void>;
@@ -1,3 +0,0 @@
1
- import { TelescopeBuilder } from '../builder';
2
- import { BundlerFile } from '../types';
3
- export declare const plugin: (builder: TelescopeBuilder, allRegistries: BundlerFile[], allConverters: BundlerFile[]) => void;
@@ -1 +0,0 @@
1
- export declare const generatedType = "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 +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