@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.
- package/README.md +13 -13
- package/{main/bundle.js → bundle.js} +17 -7
- package/{types/commands → commands}/download.d.ts +2 -2
- package/{main/commands → commands}/download.js +17 -7
- package/{main/commands → commands}/generate.js +17 -7
- package/{main/commands → commands}/transpile.js +17 -7
- package/esm/build.d.ts +41 -0
- package/esm/builder.d.ts +50 -0
- package/esm/bundle.d.ts +30 -0
- package/esm/bundler.d.ts +31 -0
- package/esm/commands/download.d.ts +5 -0
- package/esm/commands/generate.d.ts +2 -0
- package/esm/commands/transpile.d.ts +4 -0
- package/{module → esm}/generators/create-helpers.js +2 -1
- package/{module → esm}/generators/create-index.js +2 -2
- package/{module → esm}/generators/create-sdk-module-stargate-clients.js +1 -1
- package/{module → esm}/generators/create-stargate-clients.js +1 -1
- package/{types → esm}/utils/index.d.ts +1 -1
- package/generators/create-aggregated-lcd-client.d.ts +2 -0
- package/generators/create-amino-converters.d.ts +3 -0
- package/generators/create-bundle.d.ts +3 -0
- package/generators/create-helpers.d.ts +2 -0
- package/{main/generators → generators}/create-helpers.js +4 -6
- package/generators/create-index.d.ts +2 -0
- package/{main/generators → generators}/create-index.js +21 -11
- package/generators/create-lcd-client-all.d.ts +3 -0
- package/{main/generators → generators}/create-lcd-client-all.js +17 -7
- package/generators/create-lcd-client-scoped.d.ts +3 -0
- package/{main/generators → generators}/create-lcd-client-scoped.js +17 -7
- package/generators/create-lcd-clients.d.ts +3 -0
- package/generators/create-mcp-server.d.ts +3 -0
- package/generators/create-mobx-bundle.d.ts +2 -0
- package/{main/generators → generators}/create-mobx-bundle.js +17 -7
- package/generators/create-msg-funcs.d.ts +3 -0
- package/generators/create-pinia-store-bundle.d.ts +2 -0
- package/{main/generators → generators}/create-pinia-store-bundle.js +17 -7
- package/generators/create-pinia-store.d.ts +3 -0
- package/generators/create-query-funcs.d.ts +3 -0
- package/generators/create-react-query-bundle.d.ts +2 -0
- package/{main/generators → generators}/create-react-query-bundle.js +17 -7
- package/generators/create-registries.d.ts +3 -0
- package/generators/create-root-readme.d.ts +2 -0
- package/generators/create-rpc-msg-client-all.d.ts +3 -0
- package/{main/generators → generators}/create-rpc-msg-client-all.js +17 -7
- package/generators/create-rpc-msg-client-scoped.d.ts +3 -0
- package/{main/generators → generators}/create-rpc-msg-client-scoped.js +17 -7
- package/generators/create-rpc-msg-clients.d.ts +3 -0
- package/generators/create-rpc-ops-bundle.d.ts +2 -0
- package/{main/generators → generators}/create-rpc-ops-bundle.js +17 -7
- package/generators/create-rpc-query-client-all.d.ts +3 -0
- package/{main/generators → generators}/create-rpc-query-client-all.js +17 -7
- package/generators/create-rpc-query-client-scoped.d.ts +3 -0
- package/{main/generators → generators}/create-rpc-query-client-scoped.js +17 -7
- package/generators/create-rpc-query-clients.d.ts +3 -0
- package/generators/create-sdk-module-stargate-clients.d.ts +3 -0
- package/{main/generators → generators}/create-sdk-module-stargate-clients.js +1 -1
- package/generators/create-stargate-clients.d.ts +3 -0
- package/{main/generators → generators}/create-stargate-clients.js +1 -1
- package/generators/create-types.d.ts +3 -0
- package/{main/generators → generators}/create-types.js +17 -7
- package/generators/customize-utils.d.ts +2 -0
- package/helpers/__test__/internalTimestamp.d.ts +21 -0
- package/{main/helpers → helpers}/__test__/internalTimestamp.js +4 -5
- package/helpers/__test__/internalTimestampBigint.d.ts +20 -0
- package/{main/helpers → helpers}/__test__/internalTimestampBigint.js +4 -5
- package/helpers/binary-coder.d.ts +2 -0
- package/helpers/decimals.d.ts +1 -0
- package/helpers/external-comet.d.ts +1 -0
- package/helpers/external-icjs.d.ts +1 -0
- package/helpers/external.d.ts +1 -0
- package/helpers/grpc-gateway.d.ts +1 -0
- package/helpers/grpc-web.d.ts +1 -0
- package/helpers/helper-func-types-interface.d.ts +2 -0
- package/helpers/helper-func-types.d.ts +2 -0
- package/helpers/internal-for-bigint.d.ts +2 -0
- package/helpers/internal.d.ts +2 -0
- package/helpers/json-safe.d.ts +1 -0
- package/helpers/mobx.d.ts +1 -0
- package/helpers/pinia-endpoint.d.ts +1 -0
- package/helpers/react-query-hooks-icjs.d.ts +2 -0
- package/helpers/react-query-hooks.d.ts +2 -0
- package/helpers/react-query.d.ts +2 -0
- package/{types/helpers/vue-query.d.ts → helpers/registry-helper.d.ts} +1 -1
- package/helpers/types-helper.d.ts +2 -0
- package/helpers/utf8-helper.d.ts +1 -0
- package/helpers/varint.d.ts +1 -0
- package/helpers/vue-query-hooks.d.ts +2 -0
- package/imports.d.ts +17 -0
- package/{main/imports.js → imports.js} +17 -7
- package/index.d.ts +6 -0
- package/package.json +30 -48
- package/parse.d.ts +15 -0
- package/prompt.d.ts +3 -0
- package/protod/bufbuild.d.ts +6 -0
- package/{main/protod → protod}/bufbuild.js +5 -6
- package/protod/config.d.ts +7 -0
- package/protod/git-repo.d.ts +11 -0
- package/protod/recursive.d.ts +4 -0
- package/{main/protod → protod}/recursive.js +3 -4
- package/protod/types.d.ts +49 -0
- package/protod/utils.d.ts +11 -0
- package/{main/protod → protod}/utils.js +8 -9
- package/types.d.ts +43 -0
- package/utils/common-create-bundle.d.ts +18 -0
- package/utils/files.d.ts +5 -0
- package/{main/utils → utils}/files.js +19 -9
- package/utils/index.d.ts +16 -0
- package/utils/unused.d.ts +5 -0
- package/{main/utils → utils}/unused.js +17 -7
- package/main/cli.js +0 -52
- package/main/cmds.js +0 -16
- package/main/contracts/generate.js +0 -31
- package/main/contracts/install.js +0 -107
- package/main/contracts/message-composer.js +0 -31
- package/main/contracts/react-query.js +0 -31
- package/main/contracts/recoil.js +0 -31
- package/main/file.js +0 -20
- package/main/generators/create-cosmwasm-bundle.js +0 -15
- package/main/telescope.js +0 -10
- package/main/utils/contracts.js +0 -39
- package/module/cli.js +0 -25
- package/module/cmds.js +0 -10
- package/module/contracts/generate.js +0 -29
- package/module/contracts/install.js +0 -105
- package/module/contracts/message-composer.js +0 -29
- package/module/contracts/react-query.js +0 -29
- package/module/contracts/recoil.js +0 -29
- package/module/file.js +0 -18
- package/module/generators/create-cosmwasm-bundle.js +0 -11
- package/module/telescope.js +0 -8
- package/module/utils/contracts.js +0 -33
- package/src/build.ts +0 -255
- package/src/builder.ts +0 -292
- package/src/bundle.ts +0 -160
- package/src/bundler.ts +0 -153
- package/src/cli.js +0 -31
- package/src/cmds.js +0 -11
- package/src/commands/download.ts +0 -120
- package/src/commands/generate.ts +0 -156
- package/src/commands/install.ts +0 -154
- package/src/commands/transpile.ts +0 -205
- package/src/file.js +0 -20
- package/src/generators/create-aggregated-lcd-client.ts +0 -133
- package/src/generators/create-all-stargate-clients.ts +0 -121
- package/src/generators/create-amino-converters.ts +0 -62
- package/src/generators/create-bundle.ts +0 -143
- package/src/generators/create-custom-stargate-clients.ts +0 -128
- package/src/generators/create-helpers.ts +0 -209
- package/src/generators/create-index.ts +0 -72
- package/src/generators/create-lcd-client-all.ts +0 -139
- package/src/generators/create-lcd-client-scoped.ts +0 -109
- package/src/generators/create-lcd-clients.ts +0 -108
- package/src/generators/create-mcp-server.ts +0 -1774
- package/src/generators/create-mobx-bundle.ts +0 -31
- package/src/generators/create-msg-funcs.ts +0 -219
- package/src/generators/create-pinia-store-bundle.ts +0 -35
- package/src/generators/create-pinia-store.ts +0 -121
- package/src/generators/create-query-funcs.ts +0 -224
- package/src/generators/create-react-query-bundle.ts +0 -111
- package/src/generators/create-registries.ts +0 -70
- package/src/generators/create-root-readme.ts +0 -403
- package/src/generators/create-rpc-msg-client-all.ts +0 -167
- package/src/generators/create-rpc-msg-client-scoped.ts +0 -147
- package/src/generators/create-rpc-msg-clients.ts +0 -165
- package/src/generators/create-rpc-ops-bundle.ts +0 -155
- package/src/generators/create-rpc-query-client-all.ts +0 -173
- package/src/generators/create-rpc-query-client-scoped.ts +0 -142
- package/src/generators/create-rpc-query-clients.ts +0 -304
- package/src/generators/create-sdk-module-stargate-clients.ts +0 -120
- package/src/generators/create-stargate-clients.ts +0 -123
- package/src/generators/create-types.ts +0 -236
- package/src/generators/customize-utils.ts +0 -52
- package/src/helpers/__test__/internalTimestamp.test.ts +0 -79
- package/src/helpers/__test__/internalTimestamp.ts +0 -58
- package/src/helpers/__test__/internalTimestampBigint.test.ts +0 -78
- package/src/helpers/__test__/internalTimestampBigint.ts +0 -58
- package/src/helpers/binary-coder.ts +0 -533
- package/src/helpers/decimals.ts +0 -108
- package/src/helpers/external-comet.ts +0 -49
- package/src/helpers/external-icjs.ts +0 -43
- package/src/helpers/external.ts +0 -28
- package/src/helpers/grpc-gateway.ts +0 -345
- package/src/helpers/grpc-web.ts +0 -11
- package/src/helpers/helper-func-types-interface.ts +0 -104
- package/src/helpers/helper-func-types.ts +0 -91
- package/src/helpers/internal-for-bigint.ts +0 -259
- package/src/helpers/internal.ts +0 -241
- package/src/helpers/json-safe.ts +0 -11
- package/src/helpers/mobx.ts +0 -77
- package/src/helpers/pinia-endpoint.ts +0 -17
- package/src/helpers/react-query-hooks-icjs.ts +0 -223
- package/src/helpers/react-query-hooks.ts +0 -266
- package/src/helpers/react-query.ts +0 -101
- package/src/helpers/registry-helper.ts +0 -227
- package/src/helpers/types-helper.ts +0 -169
- package/src/helpers/utf8-helper.ts +0 -143
- package/src/helpers/varint.ts +0 -483
- package/src/helpers/vue-query-hooks.ts +0 -224
- package/src/imports.ts +0 -499
- package/src/index.ts +0 -12
- package/src/parse.ts +0 -243
- package/src/prompt.js +0 -65
- package/src/protod/bufbuild.spec.ts +0 -80
- package/src/protod/bufbuild.ts +0 -95
- package/src/protod/config.ts +0 -30
- package/src/protod/git-repo.ts +0 -74
- package/src/protod/recursive.spec.ts +0 -164
- package/src/protod/recursive.ts +0 -190
- package/src/protod/test-data/.protod.config.json +0 -42
- package/src/protod/test-data/buf.lock +0 -23
- package/src/protod/test-data/buf.yaml +0 -25
- package/src/protod/test-data/buf2.yaml +0 -20
- package/src/protod/test-data/cosmos/buf.lock +0 -23
- package/src/protod/test-data/cosmos/crypto/secp256k1/keys.proto +0 -38
- package/src/protod/test-data/model.proto +0 -101
- package/src/protod/types.ts +0 -55
- package/src/protod/utils.spec.ts +0 -68
- package/src/protod/utils.ts +0 -90
- package/src/telescope.js +0 -9
- package/src/types.ts +0 -46
- package/src/utils/common-create-bundle.ts +0 -62
- package/src/utils/files.ts +0 -145
- package/src/utils/index.ts +0 -149
- package/src/utils/unused.ts +0 -52
- package/types/cli.d.ts +0 -1
- package/types/cmds.d.ts +0 -10
- package/types/contracts/generate.d.ts +0 -2
- package/types/contracts/message-composer.d.ts +0 -2
- package/types/contracts/react-query.d.ts +0 -2
- package/types/contracts/recoil.d.ts +0 -2
- package/types/file.d.ts +0 -2
- package/types/generators/create-cosmwasm-bundle.d.ts +0 -2
- package/types/generators/create-unified-stargate-clients.d.ts +0 -3
- package/types/helpers/generated-type.d.ts +0 -1
- package/types/helpers/internalForBigInt.d.ts +0 -1
- package/types/helpers/types.d.ts +0 -1
- package/types/protod/proto-download.d.ts +0 -2
- package/types/telescope.d.ts +0 -2
- package/types/utils/contracts.d.ts +0 -6
- /package/{types/build.d.ts → build.d.ts} +0 -0
- /package/{main/build.js → build.js} +0 -0
- /package/{types/builder.d.ts → builder.d.ts} +0 -0
- /package/{main/builder.js → builder.js} +0 -0
- /package/{types/bundle.d.ts → bundle.d.ts} +0 -0
- /package/{types/bundler.d.ts → bundler.d.ts} +0 -0
- /package/{main/bundler.js → bundler.js} +0 -0
- /package/{types/commands → commands}/generate.d.ts +0 -0
- /package/{types/commands → commands}/install.d.ts +0 -0
- /package/{main/commands → commands}/install.js +0 -0
- /package/{types/commands → commands}/transpile.d.ts +0 -0
- /package/{module → esm}/build.js +0 -0
- /package/{module → esm}/builder.js +0 -0
- /package/{module → esm}/bundle.js +0 -0
- /package/{module → esm}/bundler.js +0 -0
- /package/{module → esm}/commands/download.js +0 -0
- /package/{module → esm}/commands/generate.js +0 -0
- /package/{types/contracts → esm/commands}/install.d.ts +0 -0
- /package/{module → esm}/commands/install.js +0 -0
- /package/{module → esm}/commands/transpile.js +0 -0
- /package/{types → esm}/generators/create-aggregated-lcd-client.d.ts +0 -0
- /package/{module → esm}/generators/create-aggregated-lcd-client.js +0 -0
- /package/{types → esm}/generators/create-all-stargate-clients.d.ts +0 -0
- /package/{module → esm}/generators/create-all-stargate-clients.js +0 -0
- /package/{types → esm}/generators/create-amino-converters.d.ts +0 -0
- /package/{module → esm}/generators/create-amino-converters.js +0 -0
- /package/{types → esm}/generators/create-bundle.d.ts +0 -0
- /package/{module → esm}/generators/create-bundle.js +0 -0
- /package/{types → esm}/generators/create-custom-stargate-clients.d.ts +0 -0
- /package/{module → esm}/generators/create-custom-stargate-clients.js +0 -0
- /package/{types → esm}/generators/create-helpers.d.ts +0 -0
- /package/{types → esm}/generators/create-index.d.ts +0 -0
- /package/{types → esm}/generators/create-lcd-client-all.d.ts +0 -0
- /package/{module → esm}/generators/create-lcd-client-all.js +0 -0
- /package/{types → esm}/generators/create-lcd-client-scoped.d.ts +0 -0
- /package/{module → esm}/generators/create-lcd-client-scoped.js +0 -0
- /package/{types → esm}/generators/create-lcd-clients.d.ts +0 -0
- /package/{module → esm}/generators/create-lcd-clients.js +0 -0
- /package/{types → esm}/generators/create-mcp-server.d.ts +0 -0
- /package/{module → esm}/generators/create-mcp-server.js +0 -0
- /package/{types → esm}/generators/create-mobx-bundle.d.ts +0 -0
- /package/{module → esm}/generators/create-mobx-bundle.js +0 -0
- /package/{types → esm}/generators/create-msg-funcs.d.ts +0 -0
- /package/{module → esm}/generators/create-msg-funcs.js +0 -0
- /package/{types → esm}/generators/create-pinia-store-bundle.d.ts +0 -0
- /package/{module → esm}/generators/create-pinia-store-bundle.js +0 -0
- /package/{types → esm}/generators/create-pinia-store.d.ts +0 -0
- /package/{module → esm}/generators/create-pinia-store.js +0 -0
- /package/{types → esm}/generators/create-query-funcs.d.ts +0 -0
- /package/{module → esm}/generators/create-query-funcs.js +0 -0
- /package/{types → esm}/generators/create-react-query-bundle.d.ts +0 -0
- /package/{module → esm}/generators/create-react-query-bundle.js +0 -0
- /package/{types → esm}/generators/create-registries.d.ts +0 -0
- /package/{module → esm}/generators/create-registries.js +0 -0
- /package/{types → esm}/generators/create-root-readme.d.ts +0 -0
- /package/{module → esm}/generators/create-root-readme.js +0 -0
- /package/{types → esm}/generators/create-rpc-msg-client-all.d.ts +0 -0
- /package/{module → esm}/generators/create-rpc-msg-client-all.js +0 -0
- /package/{types → esm}/generators/create-rpc-msg-client-scoped.d.ts +0 -0
- /package/{module → esm}/generators/create-rpc-msg-client-scoped.js +0 -0
- /package/{types → esm}/generators/create-rpc-msg-clients.d.ts +0 -0
- /package/{module → esm}/generators/create-rpc-msg-clients.js +0 -0
- /package/{types → esm}/generators/create-rpc-ops-bundle.d.ts +0 -0
- /package/{module → esm}/generators/create-rpc-ops-bundle.js +0 -0
- /package/{types → esm}/generators/create-rpc-query-client-all.d.ts +0 -0
- /package/{module → esm}/generators/create-rpc-query-client-all.js +0 -0
- /package/{types → esm}/generators/create-rpc-query-client-scoped.d.ts +0 -0
- /package/{module → esm}/generators/create-rpc-query-client-scoped.js +0 -0
- /package/{types → esm}/generators/create-rpc-query-clients.d.ts +0 -0
- /package/{module → esm}/generators/create-rpc-query-clients.js +0 -0
- /package/{types → esm}/generators/create-sdk-module-stargate-clients.d.ts +0 -0
- /package/{types → esm}/generators/create-stargate-clients.d.ts +0 -0
- /package/{types → esm}/generators/create-types.d.ts +0 -0
- /package/{module → esm}/generators/create-types.js +0 -0
- /package/{types → esm}/generators/customize-utils.d.ts +0 -0
- /package/{module → esm}/generators/customize-utils.js +0 -0
- /package/{types → esm}/helpers/__test__/internalTimestamp.d.ts +0 -0
- /package/{module → esm}/helpers/__test__/internalTimestamp.js +0 -0
- /package/{types → esm}/helpers/__test__/internalTimestampBigint.d.ts +0 -0
- /package/{module → esm}/helpers/__test__/internalTimestampBigint.js +0 -0
- /package/{types → esm}/helpers/binary-coder.d.ts +0 -0
- /package/{module → esm}/helpers/binary-coder.js +0 -0
- /package/{types → esm}/helpers/decimals.d.ts +0 -0
- /package/{module → esm}/helpers/decimals.js +0 -0
- /package/{types → esm}/helpers/external-comet.d.ts +0 -0
- /package/{module → esm}/helpers/external-comet.js +0 -0
- /package/{types → esm}/helpers/external-icjs.d.ts +0 -0
- /package/{module → esm}/helpers/external-icjs.js +0 -0
- /package/{types → esm}/helpers/external.d.ts +0 -0
- /package/{module → esm}/helpers/external.js +0 -0
- /package/{types → esm}/helpers/grpc-gateway.d.ts +0 -0
- /package/{module → esm}/helpers/grpc-gateway.js +0 -0
- /package/{types → esm}/helpers/grpc-web.d.ts +0 -0
- /package/{module → esm}/helpers/grpc-web.js +0 -0
- /package/{types → esm}/helpers/helper-func-types-interface.d.ts +0 -0
- /package/{module → esm}/helpers/helper-func-types-interface.js +0 -0
- /package/{types → esm}/helpers/helper-func-types.d.ts +0 -0
- /package/{module → esm}/helpers/helper-func-types.js +0 -0
- /package/{types → esm}/helpers/index.d.ts +0 -0
- /package/{module → esm}/helpers/index.js +0 -0
- /package/{types → esm}/helpers/internal-for-bigint.d.ts +0 -0
- /package/{module → esm}/helpers/internal-for-bigint.js +0 -0
- /package/{types → esm}/helpers/internal.d.ts +0 -0
- /package/{module → esm}/helpers/internal.js +0 -0
- /package/{types → esm}/helpers/json-safe.d.ts +0 -0
- /package/{module → esm}/helpers/json-safe.js +0 -0
- /package/{types → esm}/helpers/mobx.d.ts +0 -0
- /package/{module → esm}/helpers/mobx.js +0 -0
- /package/{types → esm}/helpers/pinia-endpoint.d.ts +0 -0
- /package/{module → esm}/helpers/pinia-endpoint.js +0 -0
- /package/{types → esm}/helpers/react-query-hooks-icjs.d.ts +0 -0
- /package/{module → esm}/helpers/react-query-hooks-icjs.js +0 -0
- /package/{types → esm}/helpers/react-query-hooks.d.ts +0 -0
- /package/{module → esm}/helpers/react-query-hooks.js +0 -0
- /package/{types → esm}/helpers/react-query.d.ts +0 -0
- /package/{module → esm}/helpers/react-query.js +0 -0
- /package/{types → esm}/helpers/registry-helper.d.ts +0 -0
- /package/{module → esm}/helpers/registry-helper.js +0 -0
- /package/{types → esm}/helpers/types-helper.d.ts +0 -0
- /package/{module → esm}/helpers/types-helper.js +0 -0
- /package/{types → esm}/helpers/utf8-helper.d.ts +0 -0
- /package/{module → esm}/helpers/utf8-helper.js +0 -0
- /package/{types → esm}/helpers/varint.d.ts +0 -0
- /package/{module → esm}/helpers/varint.js +0 -0
- /package/{types → esm}/helpers/vue-query-hooks.d.ts +0 -0
- /package/{module → esm}/helpers/vue-query-hooks.js +0 -0
- /package/{types → esm}/imports.d.ts +0 -0
- /package/{module → esm}/imports.js +0 -0
- /package/{types → esm}/index.d.ts +0 -0
- /package/{module → esm}/index.js +0 -0
- /package/{types → esm}/parse.d.ts +0 -0
- /package/{module → esm}/parse.js +0 -0
- /package/{types → esm}/prompt.d.ts +0 -0
- /package/{module → esm}/prompt.js +0 -0
- /package/{types → esm}/protod/bufbuild.d.ts +0 -0
- /package/{module → esm}/protod/bufbuild.js +0 -0
- /package/{types → esm}/protod/config.d.ts +0 -0
- /package/{module → esm}/protod/config.js +0 -0
- /package/{types → esm}/protod/git-repo.d.ts +0 -0
- /package/{module → esm}/protod/git-repo.js +0 -0
- /package/{types → esm}/protod/index.d.ts +0 -0
- /package/{module → esm}/protod/index.js +0 -0
- /package/{types → esm}/protod/recursive.d.ts +0 -0
- /package/{module → esm}/protod/recursive.js +0 -0
- /package/{types → esm}/protod/types.d.ts +0 -0
- /package/{module → esm}/protod/types.js +0 -0
- /package/{types → esm}/protod/utils.d.ts +0 -0
- /package/{module → esm}/protod/utils.js +0 -0
- /package/{types → esm}/types.d.ts +0 -0
- /package/{module → esm}/types.js +0 -0
- /package/{types → esm}/utils/common-create-bundle.d.ts +0 -0
- /package/{module → esm}/utils/common-create-bundle.js +0 -0
- /package/{types → esm}/utils/files.d.ts +0 -0
- /package/{module → esm}/utils/files.js +0 -0
- /package/{module → esm}/utils/index.js +0 -0
- /package/{types → esm}/utils/unused.d.ts +0 -0
- /package/{module → esm}/utils/unused.js +0 -0
- /package/{main/generators → generators}/create-aggregated-lcd-client.js +0 -0
- /package/{types/generators/create-combined-stargate-clients.d.ts → generators/create-all-stargate-clients.d.ts} +0 -0
- /package/{main/generators → generators}/create-all-stargate-clients.js +0 -0
- /package/{main/generators → generators}/create-amino-converters.js +0 -0
- /package/{main/generators → generators}/create-bundle.js +0 -0
- /package/{types/generators/create-scoped-stargate-clients.d.ts → generators/create-custom-stargate-clients.d.ts} +0 -0
- /package/{main/generators → generators}/create-custom-stargate-clients.js +0 -0
- /package/{main/generators → generators}/create-lcd-clients.js +0 -0
- /package/{main/generators → generators}/create-mcp-server.js +0 -0
- /package/{main/generators → generators}/create-msg-funcs.js +0 -0
- /package/{main/generators → generators}/create-pinia-store.js +0 -0
- /package/{main/generators → generators}/create-query-funcs.js +0 -0
- /package/{main/generators → generators}/create-registries.js +0 -0
- /package/{main/generators → generators}/create-root-readme.js +0 -0
- /package/{main/generators → generators}/create-rpc-msg-clients.js +0 -0
- /package/{main/generators → generators}/create-rpc-query-clients.js +0 -0
- /package/{main/generators → generators}/customize-utils.js +0 -0
- /package/{main/helpers → helpers}/binary-coder.js +0 -0
- /package/{main/helpers → helpers}/decimals.js +0 -0
- /package/{main/helpers → helpers}/external-comet.js +0 -0
- /package/{main/helpers → helpers}/external-icjs.js +0 -0
- /package/{main/helpers → helpers}/external.js +0 -0
- /package/{main/helpers → helpers}/grpc-gateway.js +0 -0
- /package/{main/helpers → helpers}/grpc-web.js +0 -0
- /package/{main/helpers → helpers}/helper-func-types-interface.js +0 -0
- /package/{main/helpers → helpers}/helper-func-types.js +0 -0
- /package/{src/helpers/index.ts → helpers/index.d.ts} +0 -0
- /package/{main/helpers → helpers}/index.js +0 -0
- /package/{main/helpers → helpers}/internal-for-bigint.js +0 -0
- /package/{main/helpers → helpers}/internal.js +0 -0
- /package/{main/helpers → helpers}/json-safe.js +0 -0
- /package/{main/helpers → helpers}/mobx.js +0 -0
- /package/{main/helpers → helpers}/pinia-endpoint.js +0 -0
- /package/{main/helpers → helpers}/react-query-hooks-icjs.js +0 -0
- /package/{main/helpers → helpers}/react-query-hooks.js +0 -0
- /package/{main/helpers → helpers}/react-query.js +0 -0
- /package/{main/helpers → helpers}/registry-helper.js +0 -0
- /package/{main/helpers → helpers}/types-helper.js +0 -0
- /package/{main/helpers → helpers}/utf8-helper.js +0 -0
- /package/{main/helpers → helpers}/varint.js +0 -0
- /package/{main/helpers → helpers}/vue-query-hooks.js +0 -0
- /package/{main/index.js → index.js} +0 -0
- /package/{main/parse.js → parse.js} +0 -0
- /package/{main/prompt.js → prompt.js} +0 -0
- /package/{main/protod → protod}/config.js +0 -0
- /package/{main/protod → protod}/git-repo.js +0 -0
- /package/{src/protod/index.ts → protod/index.d.ts} +0 -0
- /package/{main/protod → protod}/index.js +0 -0
- /package/{main/protod → protod}/types.js +0 -0
- /package/{main/types.js → types.js} +0 -0
- /package/{main/utils → utils}/common-create-bundle.js +0 -0
- /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";
|
package/types/helpers/types.d.ts
DELETED
|
@@ -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";
|
package/types/telescope.d.ts
DELETED
|
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
|
/package/{module → esm}/build.js
RENAMED
|
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
|
/package/{module → esm}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/{module → esm}/parse.js
RENAMED
|
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
|
/package/{module → esm}/types.js
RENAMED
|
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
|