From fe5836d75c7574979bc616ca7a6ae850eb5992fa Mon Sep 17 00:00:00 2001 From: Gefei Hou Date: Fri, 24 Jan 2025 17:24:43 +0800 Subject: [PATCH 1/3] Tree shakable hooks generation update --- README.md | 35 +- .../v-next/outputhelperfunc/akash/bundle.ts | 12 +- .../cosmos/bank/v1beta1/query.rpc.func.ts | 79 + .../cosmos/bank/v1beta1/query.rpc.react.ts | 44 + .../cosmos/bank/v1beta1/query.rpc.vue.ts | 44 + .../cosmos/bank/v1beta1/tx.rpc.func.ts | 7 +- .../cosmos/bank/v1beta1/tx.rpc.react.ts | 14 + .../cosmos/bank/v1beta1/tx.rpc.vue.ts | 14 + .../v-next/outputhelperfunc/cosmos/bundle.ts | 172 +- .../cosmos/gov/v1beta1/query.rpc.func.ts | 33 +- .../cosmos/gov/v1beta1/query.rpc.react.ts | 39 + .../cosmos/gov/v1beta1/query.rpc.vue.ts | 39 + .../cosmos/gov/v1beta1/tx.rpc.func.ts | 13 +- .../cosmos/gov/v1beta1/tx.rpc.react.ts | 26 + .../cosmos/gov/v1beta1/tx.rpc.vue.ts | 26 + .../cosmos/staking/v1beta1/query.rpc.Query.ts | 216 + .../cosmos/staking/v1beta1/query.rpc.func.ts | 118 + .../cosmos/staking/v1beta1/query.rpc.react.ts | 63 + .../cosmos/staking/v1beta1/query.rpc.vue.ts | 63 + .../cosmos/staking/v1beta1/tx.rpc.func.ts | 44 + .../cosmos/staking/v1beta1/tx.rpc.react.ts | 25 + .../cosmos/staking/v1beta1/tx.rpc.vue.ts | 25 + .../outputhelperfunc/cosmwasm/bundle.ts | 30 +- .../v-next/outputhelperfunc/evmos/bundle.ts | 118 +- __fixtures__/v-next/outputhelperfunc/hooks.ts | 4 + .../v-next/outputhelperfunc/ibc/bundle.ts | 96 +- __fixtures__/v-next/outputhelperfunc/index.ts | 1 + .../v-next/outputhelperfunc/osmosis/bundle.ts | 212 +- .../outputhelperfunc/tendermint/bundle.ts | 12 +- .../v-next/outputhelperfunc/vue-query.ts | 255 + .../akash/audit/v1beta1/audit.rpc.func.ts | 7 - .../akash/audit/v1beta1/audit.rpc.react.ts | 9 + .../akash/audit/v1beta1/audit.rpc.vue.ts | 9 + .../akash/audit/v1beta2/audit.rpc.func.ts | 7 - .../akash/audit/v1beta2/audit.rpc.react.ts | 9 + .../akash/audit/v1beta2/audit.rpc.vue.ts | 9 + .../akash/audit/v1beta2/query.rpc.func.ts | 17 - .../akash/audit/v1beta2/query.rpc.react.ts | 19 + .../akash/audit/v1beta2/query.rpc.vue.ts | 19 + .../akash/cert/v1beta2/cert.rpc.func.ts | 7 - .../akash/cert/v1beta2/cert.rpc.react.ts | 9 + .../akash/cert/v1beta2/cert.rpc.vue.ts | 9 + .../akash/cert/v1beta2/query.rpc.func.ts | 5 - .../akash/cert/v1beta2/query.rpc.react.ts | 7 + .../akash/cert/v1beta2/query.rpc.vue.ts | 7 + .../deployment/v1beta1/deployment.rpc.func.ts | 22 - .../v1beta1/deployment.rpc.react.ts | 25 + .../deployment/v1beta1/deployment.rpc.vue.ts | 25 + .../deployment/v1beta1/query.rpc.func.ts | 13 - .../deployment/v1beta1/query.rpc.react.ts | 15 + .../akash/deployment/v1beta1/query.rpc.vue.ts | 15 + .../deployment/v1beta2/query.rpc.func.ts | 13 - .../deployment/v1beta2/query.rpc.react.ts | 15 + .../akash/deployment/v1beta2/query.rpc.vue.ts | 15 + .../deployment/v1beta2/service.rpc.func.ts | 22 - .../deployment/v1beta2/service.rpc.react.ts | 25 + .../deployment/v1beta2/service.rpc.vue.ts | 25 + .../akash/escrow/v1beta1/query.rpc.func.ts | 9 - .../akash/escrow/v1beta1/query.rpc.react.ts | 11 + .../akash/escrow/v1beta1/query.rpc.vue.ts | 11 + .../akash/escrow/v1beta2/query.rpc.func.ts | 9 - .../akash/escrow/v1beta2/query.rpc.react.ts | 11 + .../akash/escrow/v1beta2/query.rpc.vue.ts | 11 + .../akash/market/v1beta2/query.rpc.func.ts | 25 - .../akash/market/v1beta2/query.rpc.react.ts | 27 + .../akash/market/v1beta2/query.rpc.vue.ts | 27 + .../akash/market/v1beta2/service.rpc.func.ts | 16 - .../akash/market/v1beta2/service.rpc.react.ts | 19 + .../akash/market/v1beta2/service.rpc.vue.ts | 19 + .../provider/v1beta1/provider.rpc.func.ts | 10 - .../provider/v1beta1/provider.rpc.react.ts | 12 + .../provider/v1beta1/provider.rpc.vue.ts | 12 + .../provider/v1beta2/provider.rpc.func.ts | 10 - .../provider/v1beta2/provider.rpc.react.ts | 12 + .../provider/v1beta2/provider.rpc.vue.ts | 12 + .../akash/provider/v1beta2/query.rpc.func.ts | 9 - .../akash/provider/v1beta2/query.rpc.react.ts | 11 + .../akash/provider/v1beta2/query.rpc.vue.ts | 11 + .../cosmos/app/v1alpha1/query.rpc.func.ts | 5 - .../cosmos/app/v1alpha1/query.rpc.react.ts | 7 + .../cosmos/app/v1alpha1/query.rpc.vue.ts | 7 + .../cosmos/auth/v1beta1/query.rpc.func.ts | 29 - .../cosmos/auth/v1beta1/query.rpc.react.ts | 31 + .../cosmos/auth/v1beta1/query.rpc.vue.ts | 31 + .../cosmos/authz/v1beta1/query.rpc.func.ts | 13 - .../cosmos/authz/v1beta1/query.rpc.react.ts | 15 + .../cosmos/authz/v1beta1/query.rpc.vue.ts | 15 + .../cosmos/authz/v1beta1/tx.rpc.func.ts | 10 - .../cosmos/authz/v1beta1/tx.rpc.react.ts | 12 + .../cosmos/authz/v1beta1/tx.rpc.vue.ts | 12 + .../cosmos/bank/v1beta1/query.rpc.func.ts | 37 - .../cosmos/bank/v1beta1/query.rpc.react.ts | 39 + .../cosmos/bank/v1beta1/query.rpc.vue.ts | 39 + .../cosmos/bank/v1beta1/tx.rpc.func.ts | 7 - .../cosmos/bank/v1beta1/tx.rpc.react.ts | 9 + .../cosmos/bank/v1beta1/tx.rpc.vue.ts | 9 + .../reflection/v1beta1/reflection.rpc.func.ts | 9 - .../v1beta1/reflection.rpc.react.ts | 11 + .../reflection/v1beta1/reflection.rpc.vue.ts | 11 + .../v2alpha1/reflection.rpc.func.ts | 25 - .../v2alpha1/reflection.rpc.react.ts | 27 + .../reflection/v2alpha1/reflection.rpc.vue.ts | 27 + .../base/tendermint/v1beta1/query.rpc.func.ts | 25 - .../tendermint/v1beta1/query.rpc.react.ts | 27 + .../base/tendermint/v1beta1/query.rpc.vue.ts | 27 + .../cosmos/crisis/v1beta1/tx.rpc.func.ts | 4 - .../cosmos/crisis/v1beta1/tx.rpc.react.ts | 6 + .../cosmos/crisis/v1beta1/tx.rpc.vue.ts | 6 + .../distribution/v1beta1/query.rpc.func.ts | 37 - .../distribution/v1beta1/query.rpc.react.ts | 39 + .../distribution/v1beta1/query.rpc.vue.ts | 39 + .../distribution/v1beta1/tx.rpc.func.ts | 13 - .../distribution/v1beta1/tx.rpc.react.ts | 15 + .../cosmos/distribution/v1beta1/tx.rpc.vue.ts | 15 + .../cosmos/evidence/v1beta1/query.rpc.func.ts | 9 - .../evidence/v1beta1/query.rpc.react.ts | 11 + .../cosmos/evidence/v1beta1/query.rpc.vue.ts | 11 + .../cosmos/evidence/v1beta1/tx.rpc.func.ts | 4 - .../cosmos/evidence/v1beta1/tx.rpc.react.ts | 6 + .../cosmos/evidence/v1beta1/tx.rpc.vue.ts | 6 + .../cosmos/feegrant/v1beta1/query.rpc.func.ts | 13 - .../feegrant/v1beta1/query.rpc.react.ts | 15 + .../cosmos/feegrant/v1beta1/query.rpc.vue.ts | 15 + .../cosmos/feegrant/v1beta1/tx.rpc.func.ts | 7 - .../cosmos/feegrant/v1beta1/tx.rpc.react.ts | 9 + .../cosmos/feegrant/v1beta1/tx.rpc.vue.ts | 9 + .../cosmos/gov/v1/query.rpc.func.ts | 33 - .../cosmos/gov/v1/query.rpc.react.ts | 35 + .../outputicjs/cosmos/gov/v1/query.rpc.vue.ts | 35 + .../outputicjs/cosmos/gov/v1/tx.rpc.func.ts | 16 - .../outputicjs/cosmos/gov/v1/tx.rpc.react.ts | 18 + .../outputicjs/cosmos/gov/v1/tx.rpc.vue.ts | 18 + .../cosmos/gov/v1beta1/query.rpc.func.ts | 33 - .../cosmos/gov/v1beta1/query.rpc.react.ts | 35 + .../cosmos/gov/v1beta1/query.rpc.vue.ts | 35 + .../cosmos/gov/v1beta1/tx.rpc.func.ts | 13 - .../cosmos/gov/v1beta1/tx.rpc.react.ts | 15 + .../cosmos/gov/v1beta1/tx.rpc.vue.ts | 15 + .../cosmos/group/v1/query.rpc.func.ts | 53 - .../cosmos/group/v1/query.rpc.react.ts | 55 + .../cosmos/group/v1/query.rpc.vue.ts | 55 + .../outputicjs/cosmos/group/v1/tx.rpc.func.ts | 43 - .../cosmos/group/v1/tx.rpc.react.ts | 45 + .../outputicjs/cosmos/group/v1/tx.rpc.vue.ts | 45 + .../cosmos/mint/v1beta1/query.rpc.func.ts | 13 - .../cosmos/mint/v1beta1/query.rpc.react.ts | 15 + .../cosmos/mint/v1beta1/query.rpc.vue.ts | 15 + .../cosmos/nft/v1beta1/query.rpc.func.ts | 29 - .../cosmos/nft/v1beta1/query.rpc.react.ts | 31 + .../cosmos/nft/v1beta1/query.rpc.vue.ts | 31 + .../cosmos/nft/v1beta1/tx.rpc.func.ts | 4 - .../cosmos/nft/v1beta1/tx.rpc.react.ts | 6 + .../cosmos/nft/v1beta1/tx.rpc.vue.ts | 6 + .../cosmos/params/v1beta1/query.rpc.func.ts | 9 - .../cosmos/params/v1beta1/query.rpc.react.ts | 11 + .../cosmos/params/v1beta1/query.rpc.vue.ts | 11 + .../cosmos/slashing/v1beta1/query.rpc.func.ts | 13 - .../slashing/v1beta1/query.rpc.react.ts | 15 + .../cosmos/slashing/v1beta1/query.rpc.vue.ts | 15 + .../cosmos/slashing/v1beta1/tx.rpc.func.ts | 4 - .../cosmos/slashing/v1beta1/tx.rpc.react.ts | 6 + .../cosmos/slashing/v1beta1/tx.rpc.vue.ts | 6 + .../cosmos/staking/v1beta1/query.rpc.func.ts | 57 - .../cosmos/staking/v1beta1/query.rpc.react.ts | 59 + .../cosmos/staking/v1beta1/query.rpc.vue.ts | 59 + .../cosmos/staking/v1beta1/tx.rpc.func.ts | 16 - .../cosmos/staking/v1beta1/tx.rpc.react.ts | 18 + .../cosmos/staking/v1beta1/tx.rpc.vue.ts | 18 + .../cosmos/tx/v1beta1/service.rpc.func.ts | 21 - .../cosmos/tx/v1beta1/service.rpc.react.ts | 23 + .../cosmos/tx/v1beta1/service.rpc.vue.ts | 23 + .../cosmos/upgrade/v1beta1/query.rpc.func.ts | 21 - .../cosmos/upgrade/v1beta1/query.rpc.react.ts | 23 + .../cosmos/upgrade/v1beta1/query.rpc.vue.ts | 23 + .../cosmos/upgrade/v1beta1/tx.rpc.func.ts | 7 - .../cosmos/upgrade/v1beta1/tx.rpc.react.ts | 9 + .../cosmos/upgrade/v1beta1/tx.rpc.vue.ts | 9 + .../cosmos/vesting/v1beta1/tx.rpc.func.ts | 10 - .../cosmos/vesting/v1beta1/tx.rpc.react.ts | 12 + .../cosmos/vesting/v1beta1/tx.rpc.vue.ts | 12 + .../cosmwasm/wasm/v1/query.rpc.func.ts | 37 - .../cosmwasm/wasm/v1/query.rpc.react.ts | 39 + .../cosmwasm/wasm/v1/query.rpc.vue.ts | 39 + .../cosmwasm/wasm/v1/tx.rpc.func.ts | 19 - .../cosmwasm/wasm/v1/tx.rpc.react.ts | 21 + .../outputicjs/cosmwasm/wasm/v1/tx.rpc.vue.ts | 21 + .../evmos/claims/v1/query.rpc.func.ts | 17 - .../evmos/claims/v1/query.rpc.react.ts | 19 + .../evmos/claims/v1/query.rpc.vue.ts | 19 + .../evmos/epochs/v1/query.rpc.func.ts | 9 - .../evmos/epochs/v1/query.rpc.react.ts | 11 + .../evmos/epochs/v1/query.rpc.vue.ts | 11 + .../evmos/erc20/v1/query.rpc.func.ts | 13 - .../evmos/erc20/v1/query.rpc.react.ts | 15 + .../evmos/erc20/v1/query.rpc.vue.ts | 15 + .../outputicjs/evmos/erc20/v1/tx.rpc.func.ts | 7 - .../outputicjs/evmos/erc20/v1/tx.rpc.react.ts | 9 + .../outputicjs/evmos/erc20/v1/tx.rpc.vue.ts | 9 + .../evmos/fees/v1/query.rpc.func.ts | 17 - .../evmos/fees/v1/query.rpc.react.ts | 19 + .../outputicjs/evmos/fees/v1/query.rpc.vue.ts | 19 + .../outputicjs/evmos/fees/v1/tx.rpc.func.ts | 10 - .../outputicjs/evmos/fees/v1/tx.rpc.react.ts | 12 + .../outputicjs/evmos/fees/v1/tx.rpc.vue.ts | 12 + .../evmos/incentives/v1/query.rpc.func.ts | 29 - .../evmos/incentives/v1/query.rpc.react.ts | 31 + .../evmos/incentives/v1/query.rpc.vue.ts | 31 + .../evmos/inflation/v1/query.rpc.func.ts | 25 - .../evmos/inflation/v1/query.rpc.react.ts | 27 + .../evmos/inflation/v1/query.rpc.vue.ts | 27 + .../evmos/recovery/v1/query.rpc.func.ts | 5 - .../evmos/recovery/v1/query.rpc.react.ts | 7 + .../evmos/recovery/v1/query.rpc.vue.ts | 7 + .../evmos/vesting/v1/query.rpc.func.ts | 5 - .../evmos/vesting/v1/query.rpc.react.ts | 7 + .../evmos/vesting/v1/query.rpc.vue.ts | 7 + .../evmos/vesting/v1/tx.rpc.func.ts | 7 - .../evmos/vesting/v1/tx.rpc.react.ts | 9 + .../outputicjs/evmos/vesting/v1/tx.rpc.vue.ts | 9 + .../transfer/v1/query.rpc.func.ts | 13 - .../transfer/v1/query.rpc.react.ts | 15 + .../applications/transfer/v1/query.rpc.vue.ts | 15 + .../applications/transfer/v1/tx.rpc.func.ts | 4 - .../applications/transfer/v1/tx.rpc.react.ts | 6 + .../applications/transfer/v1/tx.rpc.vue.ts | 6 + .../ibc/core/channel/v1/query.rpc.func.ts | 53 - .../ibc/core/channel/v1/query.rpc.react.ts | 55 + .../ibc/core/channel/v1/query.rpc.vue.ts | 55 + .../ibc/core/channel/v1/tx.rpc.func.ts | 31 - .../ibc/core/channel/v1/tx.rpc.react.ts | 33 + .../ibc/core/channel/v1/tx.rpc.vue.ts | 33 + .../ibc/core/client/v1/query.rpc.func.ts | 33 - .../ibc/core/client/v1/query.rpc.react.ts | 35 + .../ibc/core/client/v1/query.rpc.vue.ts | 35 + .../ibc/core/client/v1/tx.rpc.func.ts | 13 - .../ibc/core/client/v1/tx.rpc.react.ts | 15 + .../ibc/core/client/v1/tx.rpc.vue.ts | 15 + .../ibc/core/connection/v1/query.rpc.func.ts | 21 - .../ibc/core/connection/v1/query.rpc.react.ts | 23 + .../ibc/core/connection/v1/query.rpc.vue.ts | 23 + .../ibc/core/connection/v1/tx.rpc.func.ts | 13 - .../ibc/core/connection/v1/tx.rpc.react.ts | 15 + .../ibc/core/connection/v1/tx.rpc.vue.ts | 15 + .../ibc/core/port/v1/query.rpc.func.ts | 5 - .../ibc/core/port/v1/query.rpc.react.ts | 7 + .../ibc/core/port/v1/query.rpc.vue.ts | 7 + .../osmosis/claim/v1beta1/query.rpc.func.ts | 21 - .../osmosis/claim/v1beta1/query.rpc.react.ts | 23 + .../osmosis/claim/v1beta1/query.rpc.vue.ts | 23 + .../osmosis/epochs/query.rpc.func.ts | 9 - .../osmosis/epochs/query.rpc.react.ts | 11 + .../osmosis/epochs/query.rpc.vue.ts | 11 + .../pool-models/balancer/tx/tx.rpc.func.ts | 4 - .../pool-models/balancer/tx/tx.rpc.react.ts | 6 + .../pool-models/balancer/tx/tx.rpc.vue.ts | 6 + .../pool-models/stableswap/tx.rpc.func.ts | 7 - .../pool-models/stableswap/tx.rpc.react.ts | 9 + .../gamm/pool-models/stableswap/tx.rpc.vue.ts | 9 + .../osmosis/gamm/v1beta1/query.rpc.func.ts | 61 - .../osmosis/gamm/v1beta1/query.rpc.react.ts | 63 + .../osmosis/gamm/v1beta1/query.rpc.vue.ts | 63 + .../osmosis/gamm/v1beta1/tx.rpc.func.ts | 25 - .../osmosis/gamm/v1beta1/tx.rpc.react.ts | 27 + .../osmosis/gamm/v1beta1/tx.rpc.vue.ts | 27 + .../osmosis/gamm/v2/query.rpc.func.ts | 5 - .../osmosis/gamm/v2/query.rpc.react.ts | 7 + .../osmosis/gamm/v2/query.rpc.vue.ts | 7 + .../ibc-rate-limit/v1beta1/query.rpc.func.ts | 5 - .../ibc-rate-limit/v1beta1/query.rpc.react.ts | 7 + .../ibc-rate-limit/v1beta1/query.rpc.vue.ts | 7 + .../osmosis/incentives/query.rpc.func.ts | 37 - .../osmosis/incentives/query.rpc.react.ts | 39 + .../osmosis/incentives/query.rpc.vue.ts | 39 + .../osmosis/incentives/tx.rpc.func.ts | 7 - .../osmosis/incentives/tx.rpc.react.ts | 9 + .../osmosis/incentives/tx.rpc.vue.ts | 9 + .../osmosis/lockup/query.rpc.func.ts | 69 - .../osmosis/lockup/query.rpc.react.ts | 71 + .../osmosis/lockup/query.rpc.vue.ts | 71 + .../outputicjs/osmosis/lockup/tx.rpc.func.ts | 16 - .../outputicjs/osmosis/lockup/tx.rpc.react.ts | 18 + .../outputicjs/osmosis/lockup/tx.rpc.vue.ts | 18 + .../osmosis/mint/v1beta1/query.rpc.func.ts | 9 - .../osmosis/mint/v1beta1/query.rpc.react.ts | 11 + .../osmosis/mint/v1beta1/query.rpc.vue.ts | 11 + .../pool-incentives/v1beta1/query.rpc.func.ts | 25 - .../v1beta1/query.rpc.react.ts | 27 + .../pool-incentives/v1beta1/query.rpc.vue.ts | 27 + .../osmosis/superfluid/query.rpc.func.ts | 61 - .../osmosis/superfluid/query.rpc.react.ts | 63 + .../osmosis/superfluid/query.rpc.vue.ts | 63 + .../osmosis/superfluid/tx.rpc.func.ts | 16 - .../osmosis/superfluid/tx.rpc.react.ts | 18 + .../osmosis/superfluid/tx.rpc.vue.ts | 18 + .../tokenfactory/v1beta1/query.rpc.func.ts | 13 - .../tokenfactory/v1beta1/query.rpc.react.ts | 15 + .../tokenfactory/v1beta1/query.rpc.vue.ts | 15 + .../tokenfactory/v1beta1/tx.rpc.func.ts | 16 - .../tokenfactory/v1beta1/tx.rpc.react.ts | 18 + .../tokenfactory/v1beta1/tx.rpc.vue.ts | 18 + .../osmosis/twap/v1beta1/query.rpc.func.ts | 13 - .../osmosis/twap/v1beta1/query.rpc.react.ts | 15 + .../osmosis/twap/v1beta1/query.rpc.vue.ts | 15 + .../osmosis/txfees/v1beta1/query.rpc.func.ts | 17 - .../osmosis/txfees/v1beta1/query.rpc.react.ts | 19 + .../osmosis/txfees/v1beta1/query.rpc.vue.ts | 19 + .../tendermint/abci/types.rpc.func.ts | 61 - .../tendermint/abci/types.rpc.react.ts | 63 + .../tendermint/abci/types.rpc.vue.ts | 63 + __fixtures__/v-next/outputicjs/vue-query.ts | 255 + docs/tree-shakable-hooks.md | 103 + package-lock.json | 19033 ++++++++++++++++ .../ast/src/clients/helper-funcs/msg-funcs.ts | 43 +- .../src/clients/helper-funcs/query-funcs.ts | 60 +- packages/ast/src/encoding/object.ts | 2 +- .../ast/src/encoding/proto/interface/proto.ts | 44 - packages/ast/src/state/index.ts | 1 - packages/ast/src/state/vue-query/index.ts | 1 - packages/ast/src/state/vue-query/vue-query.ts | 398 - packages/ast/src/state/vue-query/weak-map.ts | 311 - .../types/clients/helper-funcs/msg-funcs.d.ts | 10 + .../clients/helper-funcs/query-funcs.d.ts | 10 + .../types/encoding/proto/interface/proto.d.ts | 1 - packages/ast/types/state/index.d.ts | 1 - packages/telescope/README.md | 35 +- .../__tests__/telescope-helper-func.test.ts | 12 +- .../__tests__/telescope-icjs.test.ts | 7 +- .../__tests__/telescope-vuequery.test.ts | 273 - packages/telescope/src/build.ts | 13 +- .../src/generators/create-helpers.ts | 35 +- .../src/generators/create-msg-funcs.ts | 57 +- .../src/generators/create-query-funcs.ts | 61 +- .../generators/create-rpc-query-clients.ts | 34 +- .../telescope/src/generators/create-types.ts | 11 - packages/telescope/src/helpers/index.ts | 2 +- .../telescope/src/helpers/vue-query-hooks.ts | 270 + packages/telescope/src/helpers/vue-query.ts | 97 - packages/telescope/src/utils/index.ts | 13 +- .../telescope/telescope-module-boilerplate | 1 + packages/telescope/types/helpers/index.d.ts | 2 +- .../types/helpers/vue-query-hooks.d.ts | 2 + packages/types/src/telescope.ts | 27 +- packages/types/types/telescope.d.ts | 18 +- yarn.lock | 201 +- 344 files changed, 25338 insertions(+), 3541 deletions(-) create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.func.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.func.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.func.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputhelperfunc/vue-query.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.react.ts create mode 100644 __fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.vue.ts create mode 100644 __fixtures__/v-next/outputicjs/vue-query.ts create mode 100644 docs/tree-shakable-hooks.md create mode 100644 package-lock.json delete mode 100644 packages/ast/src/state/vue-query/index.ts delete mode 100644 packages/ast/src/state/vue-query/vue-query.ts delete mode 100644 packages/ast/src/state/vue-query/weak-map.ts delete mode 100644 packages/telescope/__tests__/telescope-vuequery.test.ts create mode 100644 packages/telescope/src/helpers/vue-query-hooks.ts delete mode 100644 packages/telescope/src/helpers/vue-query.ts create mode 160000 packages/telescope/telescope-module-boilerplate create mode 100644 packages/telescope/types/helpers/vue-query-hooks.d.ts diff --git a/README.md b/README.md index e863fbaeb5..ede31f8faf 100644 --- a/README.md +++ b/README.md @@ -457,20 +457,20 @@ See [RPC Clients](#rpc-clients) for more info. | Option | Description | Defaults | | --------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------- | -| `helperFuncCreators.enabled` | Enable the generation of helper function files `.func.ts` | `false` | -| `helperFuncCreators.genCustomHooks` | Generates React hooks alongside helper functions | `false` | -| `helperFuncCreators.include.serviceTypes`| Specifies which types of services to include (`Query`, `Msg`). `undefined` includes all types. | `undefined` | -| `helperFuncCreators.include.patterns` | Array of glob patterns patterns (e.g., `"**"`, `"cosmos.bank.v1beta1.bala*"`, etc.) to match specific proto services. | `undefined` | -| `helperFuncCreators.nameMappers` | Configuration object for customizing function names and prefixes | `{}` | -| `helperFuncCreators.nameMappers.All.funcBody` | Maps method names to a new name for all services. | `"unchanged"` | -| `helperFuncCreators.nameMappers.All.creatorPrefix` | Prefix for the function creator. | `"create"` | -| `helperFuncCreators.nameMappers.All.hookPrefix` | Prefix for the hooks. | `"use"` | -| `helperFuncCreators.nameMappers.Query.funcBody` | Maps method names to a new name for `Query` services. | `"get"` | -| `helperFuncCreators.nameMappers.Query.creatorPrefix`| Prefix for the function creator for `Query` services. | `"create"` | -| `helperFuncCreators.nameMappers.Query.hookPrefix` | Prefix for the hooks for `Query` services. | `"use"` | -| `helperFuncCreators.nameMappers.Msg.funcBody` | Maps method names to a new name for `Msg` services. | `"unchanged"` | -| `helperFuncCreators.nameMappers.Msg.creatorPrefix`| Prefix for the function creator for `Msg` services. | `"create"` | -| `helperFuncCreators.nameMappers.Msg.hookPrefix` | Prefix for the hooks for `Msg` services. | `"use"` | +| `helperFunctions.enabled` | Enable the generation of helper function files `.func.ts` | `false` | +| `helperFunctions.hooks` | Generates hooks selected alongside helper functions | `{ react: false, vue: false }` | +| `helperFunctions.include.serviceTypes`| Specifies which types of services to include (`Query`, `Msg`). `undefined` includes all types. | `undefined` | +| `helperFunctions.include.patterns` | Array of glob patterns patterns (e.g., `"**"`, `"cosmos.bank.v1beta1.bala*"`, etc.) to match specific proto services. | `undefined` | +| `helperFunctions.nameMappers` | Configuration object for customizing function names and prefixes | `{}` | +| `helperFunctions.nameMappers.All.funcBody` | Maps method names to a new name for all services. | `"unchanged"` | +| `helperFunctions.nameMappers.All.creatorPrefix` | Prefix for the function creator. | `"create"` | +| `helperFunctions.nameMappers.All.hookPrefix` | Prefix for the hooks. | `"use"` | +| `helperFunctions.nameMappers.Query.funcBody` | Maps method names to a new name for `Query` services. | `"get"` | +| `helperFunctions.nameMappers.Query.creatorPrefix`| Prefix for the function creator for `Query` services. | `"create"` | +| `helperFunctions.nameMappers.Query.hookPrefix` | Prefix for the hooks for `Query` services. | `"use"` | +| `helperFunctions.nameMappers.Msg.funcBody` | Maps method names to a new name for `Msg` services. | `"unchanged"` | +| `helperFunctions.nameMappers.Msg.creatorPrefix`| Prefix for the function creator for `Msg` services. | `"create"` | +| `helperFunctions.nameMappers.Msg.hookPrefix` | Prefix for the hooks for `Msg` services. | `"use"` | See [Helper Functions Configuration](#helper-functions-configuration) for more info. @@ -1258,9 +1258,12 @@ The nameMappers object supports three service types: All, Query, and Msg. Each p ```js const options: TelescopeOptions = { - helperFuncCreators: { + helperFunctions: { enabled: true, - genCustomHooks: true, + genCustomHooks: { + react: true, + vue: true + }, include: { patterns: ["cosmos.gov.v1beta1.**", "cosmos.bank.v1beta1.*Send*"], }, diff --git a/__fixtures__/v-next/outputhelperfunc/akash/bundle.ts b/__fixtures__/v-next/outputhelperfunc/akash/bundle.ts index 18dc27d7d5..9636d59fee 100644 --- a/__fixtures__/v-next/outputhelperfunc/akash/bundle.ts +++ b/__fixtures__/v-next/outputhelperfunc/akash/bundle.ts @@ -88,9 +88,9 @@ import * as _349 from "./market/v1beta2/service.rpc.msg"; import * as _350 from "./provider/v1beta1/provider.rpc.msg"; import * as _351 from "./provider/v1beta2/provider.rpc.msg"; import * as _352 from "./cert/v1beta2/query.pinia.store"; -import * as _539 from "./lcd"; -import * as _540 from "./rpc.query"; -import * as _541 from "./rpc.tx"; +import * as _542 from "./lcd"; +import * as _543 from "./rpc.query"; +import * as _544 from "./rpc.tx"; export namespace akash { export namespace audit { export const v1beta1 = { @@ -225,8 +225,8 @@ export namespace akash { }; } export const ClientFactory = { - ..._539, - ..._540, - ..._541 + ..._542, + ..._543, + ..._544 }; } \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.func.ts new file mode 100644 index 0000000000..09ac7f3a45 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.func.ts @@ -0,0 +1,79 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; +import { RpcResolver, buildQuery } from "../../../helper-func-types"; +import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryBalanceRequest, QueryBalanceRequestSDKType, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesRequestSDKType, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesRequestSDKType, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyRequestSDKType, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfRequestSDKType, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataRequestSDKType, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataRequestSDKType, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersRequestSDKType, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; +export const createGetBalance = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryBalanceRequest.encode, + decode: QueryBalanceResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "Balance", + clientResolver, + deps: [QueryBalanceRequest, QueryBalanceResponse] +}); +export const createGetAllBalances = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryAllBalancesRequest.encode, + decode: QueryAllBalancesResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "AllBalances", + clientResolver, + deps: [QueryAllBalancesRequest, QueryAllBalancesResponse] +}); +export const createGetSpendableBalances = (clientResolver?: RpcResolver) => buildQuery({ + encode: QuerySpendableBalancesRequest.encode, + decode: QuerySpendableBalancesResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "SpendableBalances", + clientResolver, + deps: [QuerySpendableBalancesRequest, QuerySpendableBalancesResponse] +}); +export const createGetTotalSupply = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryTotalSupplyRequest.encode, + decode: QueryTotalSupplyResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "TotalSupply", + clientResolver, + deps: [QueryTotalSupplyRequest, QueryTotalSupplyResponse] +}); +export const createGetSupplyOf = (clientResolver?: RpcResolver) => buildQuery({ + encode: QuerySupplyOfRequest.encode, + decode: QuerySupplyOfResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "SupplyOf", + clientResolver, + deps: [QuerySupplyOfRequest, QuerySupplyOfResponse] +}); +export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryParamsRequest.encode, + decode: QueryParamsResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "Params", + clientResolver, + deps: [QueryParamsRequest, QueryParamsResponse] +}); +export const createGetDenomMetadata = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryDenomMetadataRequest.encode, + decode: QueryDenomMetadataResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "DenomMetadata", + clientResolver, + deps: [QueryDenomMetadataRequest, QueryDenomMetadataResponse] +}); +export const createGetDenomsMetadata = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryDenomsMetadataRequest.encode, + decode: QueryDenomsMetadataResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "DenomsMetadata", + clientResolver, + deps: [QueryDenomsMetadataRequest, QueryDenomsMetadataResponse] +}); +export const createGetDenomOwners = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryDenomOwnersRequest.encode, + decode: QueryDenomOwnersResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "DenomOwners", + clientResolver, + deps: [QueryDenomOwnersRequest, QueryDenomOwnersResponse] +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..1f5925ecf7 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.react.ts @@ -0,0 +1,44 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; +import { RpcResolver, buildQuery } from "../../../helper-func-types"; +import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryBalanceRequest, QueryBalanceRequestSDKType, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesRequestSDKType, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesRequestSDKType, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyRequestSDKType, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfRequestSDKType, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataRequestSDKType, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataRequestSDKType, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersRequestSDKType, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; +import { createGetBalance, createGetAllBalances, createGetSpendableBalances, createGetTotalSupply, createGetSupplyOf, createGetParams, createGetDenomMetadata, createGetDenomsMetadata, createGetDenomOwners } from "./query.rpc.func.ts"; +export const useGetBalance = buildUseQuery({ + builderQueryFn: createGetBalance, + queryKeyPrefix: "BalanceQuery" +}); +export const useGetAllBalances = buildUseQuery({ + builderQueryFn: createGetAllBalances, + queryKeyPrefix: "AllBalancesQuery" +}); +export const useGetSpendableBalances = buildUseQuery({ + builderQueryFn: createGetSpendableBalances, + queryKeyPrefix: "SpendableBalancesQuery" +}); +export const useGetTotalSupply = buildUseQuery({ + builderQueryFn: createGetTotalSupply, + queryKeyPrefix: "TotalSupplyQuery" +}); +export const useGetSupplyOf = buildUseQuery({ + builderQueryFn: createGetSupplyOf, + queryKeyPrefix: "SupplyOfQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDenomMetadata = buildUseQuery({ + builderQueryFn: createGetDenomMetadata, + queryKeyPrefix: "DenomMetadataQuery" +}); +export const useGetDenomsMetadata = buildUseQuery({ + builderQueryFn: createGetDenomsMetadata, + queryKeyPrefix: "DenomsMetadataQuery" +}); +export const useGetDenomOwners = buildUseQuery({ + builderQueryFn: createGetDenomOwners, + queryKeyPrefix: "DenomOwnersQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..4e930822b8 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.vue.ts @@ -0,0 +1,44 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; +import { RpcResolver, buildQuery } from "../../../helper-func-types"; +import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryBalanceRequest, QueryBalanceRequestSDKType, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesRequestSDKType, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesRequestSDKType, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyRequestSDKType, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfRequestSDKType, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataRequestSDKType, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataRequestSDKType, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersRequestSDKType, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; +import { createGetBalance, createGetAllBalances, createGetSpendableBalances, createGetTotalSupply, createGetSupplyOf, createGetParams, createGetDenomMetadata, createGetDenomsMetadata, createGetDenomOwners } from "./query.rpc.func.ts"; +export const useGetBalance = buildUseVueQuery({ + builderQueryFn: createGetBalance, + queryKeyPrefix: "BalanceQuery" +}); +export const useGetAllBalances = buildUseVueQuery({ + builderQueryFn: createGetAllBalances, + queryKeyPrefix: "AllBalancesQuery" +}); +export const useGetSpendableBalances = buildUseVueQuery({ + builderQueryFn: createGetSpendableBalances, + queryKeyPrefix: "SpendableBalancesQuery" +}); +export const useGetTotalSupply = buildUseVueQuery({ + builderQueryFn: createGetTotalSupply, + queryKeyPrefix: "TotalSupplyQuery" +}); +export const useGetSupplyOf = buildUseVueQuery({ + builderQueryFn: createGetSupplyOf, + queryKeyPrefix: "SupplyOfQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDenomMetadata = buildUseVueQuery({ + builderQueryFn: createGetDenomMetadata, + queryKeyPrefix: "DenomMetadataQuery" +}); +export const useGetDenomsMetadata = buildUseVueQuery({ + builderQueryFn: createGetDenomsMetadata, + queryKeyPrefix: "DenomsMetadataQuery" +}); +export const useGetDenomOwners = buildUseVueQuery({ + builderQueryFn: createGetDenomOwners, + queryKeyPrefix: "DenomOwnersQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.func.ts index 7a371a59e0..e91f90110e 100644 --- a/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.func.ts @@ -3,6 +3,7 @@ import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; import { MsgSend, MsgSendSDKType, MsgSendResponse, MsgSendResponseSDKType, MsgMultiSend, MsgMultiSendSDKType, MsgMultiSendResponse, MsgMultiSendResponseSDKType } from "./tx"; export const createSend = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -11,16 +12,10 @@ export const createSend = (clientResolver?: SigningClientResolver) => buildTx({ - builderMutationFn: createSend -}); export const createMultiSend = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgMultiSend.typeUrl, encoders: toEncoders(MsgMultiSend), converters: toConverters(MsgMultiSend), deps: [MsgMultiSend] -}); -export const useMultiSend = buildUseMutation({ - builderMutationFn: createMultiSend }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..2c90786429 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.react.ts @@ -0,0 +1,14 @@ +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; +import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; +import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; +import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSend, MsgSendSDKType, MsgSendResponse, MsgSendResponseSDKType, MsgMultiSend, MsgMultiSendSDKType, MsgMultiSendResponse, MsgMultiSendResponseSDKType } from "./tx"; +import { createSend, createMultiSend } from "./tx.rpc.func.ts"; +export const useSend = buildUseMutation({ + builderMutationFn: createSend +}); +export const useMultiSend = buildUseMutation({ + builderMutationFn: createMultiSend +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..abda332c35 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/bank/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,14 @@ +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; +import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; +import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; +import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSend, MsgSendSDKType, MsgSendResponse, MsgSendResponseSDKType, MsgMultiSend, MsgMultiSendSDKType, MsgMultiSendResponse, MsgMultiSendResponseSDKType } from "./tx"; +import { createSend, createMultiSend } from "./tx.rpc.func.ts"; +export const useSend = buildUseVueMutation({ + builderMutationFn: createSend +}); +export const useMultiSend = buildUseVueMutation({ + builderMutationFn: createMultiSend +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/bundle.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/bundle.ts index 7104f85523..8386f4b123 100644 --- a/__fixtures__/v-next/outputhelperfunc/cosmos/bundle.ts +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/bundle.ts @@ -137,55 +137,58 @@ import * as _396 from "./slashing/v1beta1/query.lcd"; import * as _397 from "./staking/v1beta1/query.lcd"; import * as _398 from "./tx/v1beta1/service.lcd"; import * as _399 from "./upgrade/v1beta1/query.lcd"; -import * as _400 from "./gov/v1beta1/query.rpc.func"; -import * as _401 from "./app/v1alpha1/query.rpc.Query"; -import * as _402 from "./auth/v1beta1/query.rpc.Query"; -import * as _403 from "./authz/v1beta1/query.rpc.Query"; -import * as _404 from "./bank/v1beta1/query.rpc.Query"; -import * as _405 from "./base/reflection/v1beta1/reflection.rpc.ReflectionService"; -import * as _406 from "./base/reflection/v2alpha1/reflection.rpc.ReflectionService"; -import * as _407 from "./base/tendermint/v1beta1/query.rpc.Service"; -import * as _408 from "./distribution/v1beta1/query.rpc.Query"; -import * as _409 from "./evidence/v1beta1/query.rpc.Query"; -import * as _410 from "./feegrant/v1beta1/query.rpc.Query"; -import * as _411 from "./gov/v1/query.rpc.Query"; -import * as _412 from "./gov/v1beta1/query.rpc.Query"; -import * as _413 from "./group/v1/query.rpc.Query"; -import * as _414 from "./mint/v1beta1/query.rpc.Query"; -import * as _415 from "./nft/v1beta1/query.rpc.Query"; -import * as _416 from "./params/v1beta1/query.rpc.Query"; -import * as _417 from "./slashing/v1beta1/query.rpc.Query"; -import * as _418 from "./staking/v1beta1/query.rpc.Query"; -import * as _419 from "./tx/v1beta1/service.rpc.Service"; -import * as _420 from "./upgrade/v1beta1/query.rpc.Query"; -import * as _421 from "./bank/v1beta1/tx.rpc.func"; -import * as _422 from "./gov/v1beta1/tx.rpc.func"; -import * as _423 from "./authz/v1beta1/tx.rpc.msg"; -import * as _424 from "./bank/v1beta1/tx.rpc.msg"; -import * as _425 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _426 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _427 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _428 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _429 from "./gov/v1/tx.rpc.msg"; -import * as _430 from "./gov/v1beta1/tx.rpc.msg"; -import * as _431 from "./group/v1/tx.rpc.msg"; -import * as _432 from "./nft/v1beta1/tx.rpc.msg"; -import * as _433 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _434 from "./staking/v1beta1/tx.rpc.msg"; -import * as _435 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _436 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _542 from "./lcd"; -import * as _543 from "./rpc.query"; -import * as _544 from "./cosmos-rpc-client.query"; -import * as _545 from "./rpc.tx"; -import * as _546 from "./cosmos-rpc-client.tx"; +import * as _400 from "./bank/v1beta1/query.rpc.func"; +import * as _401 from "./gov/v1beta1/query.rpc.func"; +import * as _402 from "./staking/v1beta1/query.rpc.func"; +import * as _403 from "./app/v1alpha1/query.rpc.Query"; +import * as _404 from "./auth/v1beta1/query.rpc.Query"; +import * as _405 from "./authz/v1beta1/query.rpc.Query"; +import * as _406 from "./bank/v1beta1/query.rpc.Query"; +import * as _407 from "./base/reflection/v1beta1/reflection.rpc.ReflectionService"; +import * as _408 from "./base/reflection/v2alpha1/reflection.rpc.ReflectionService"; +import * as _409 from "./base/tendermint/v1beta1/query.rpc.Service"; +import * as _410 from "./distribution/v1beta1/query.rpc.Query"; +import * as _411 from "./evidence/v1beta1/query.rpc.Query"; +import * as _412 from "./feegrant/v1beta1/query.rpc.Query"; +import * as _413 from "./gov/v1/query.rpc.Query"; +import * as _414 from "./gov/v1beta1/query.rpc.Query"; +import * as _415 from "./group/v1/query.rpc.Query"; +import * as _416 from "./mint/v1beta1/query.rpc.Query"; +import * as _417 from "./nft/v1beta1/query.rpc.Query"; +import * as _418 from "./params/v1beta1/query.rpc.Query"; +import * as _419 from "./slashing/v1beta1/query.rpc.Query"; +import * as _420 from "./staking/v1beta1/query.rpc.Query"; +import * as _421 from "./tx/v1beta1/service.rpc.Service"; +import * as _422 from "./upgrade/v1beta1/query.rpc.Query"; +import * as _423 from "./bank/v1beta1/tx.rpc.func"; +import * as _424 from "./gov/v1beta1/tx.rpc.func"; +import * as _425 from "./staking/v1beta1/tx.rpc.func"; +import * as _426 from "./authz/v1beta1/tx.rpc.msg"; +import * as _427 from "./bank/v1beta1/tx.rpc.msg"; +import * as _428 from "./crisis/v1beta1/tx.rpc.msg"; +import * as _429 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _430 from "./evidence/v1beta1/tx.rpc.msg"; +import * as _431 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _432 from "./gov/v1/tx.rpc.msg"; +import * as _433 from "./gov/v1beta1/tx.rpc.msg"; +import * as _434 from "./group/v1/tx.rpc.msg"; +import * as _435 from "./nft/v1beta1/tx.rpc.msg"; +import * as _436 from "./slashing/v1beta1/tx.rpc.msg"; +import * as _437 from "./staking/v1beta1/tx.rpc.msg"; +import * as _438 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _439 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _545 from "./lcd"; +import * as _546 from "./rpc.query"; +import * as _547 from "./cosmos-rpc-client.query"; +import * as _548 from "./rpc.tx"; +import * as _549 from "./cosmos-rpc-client.tx"; export namespace cosmos { export namespace app { export const v1alpha1 = { ..._55, ..._56, ..._57, - ..._401 + ..._403 }; } export namespace auth { @@ -194,7 +197,7 @@ export namespace cosmos { ..._59, ..._60, ..._381, - ..._402 + ..._404 }; } export namespace authz { @@ -206,8 +209,8 @@ export namespace cosmos { ..._353, ..._367, ..._382, - ..._403, - ..._423 + ..._405, + ..._426 }; } export namespace bank { @@ -220,9 +223,10 @@ export namespace cosmos { ..._354, ..._368, ..._383, - ..._404, - ..._421, - ..._424 + ..._400, + ..._406, + ..._423, + ..._427 }; } export namespace base { @@ -245,12 +249,12 @@ export namespace cosmos { export const v1beta1 = { ..._73, ..._384, - ..._405 + ..._407 }; export const v2alpha1 = { ..._74, ..._385, - ..._406 + ..._408 }; } export namespace snapshots { @@ -268,7 +272,7 @@ export namespace cosmos { export const v1beta1 = { ..._78, ..._386, - ..._407 + ..._409 }; } export const v1beta1 = { @@ -287,7 +291,7 @@ export namespace cosmos { ..._83, ..._355, ..._369, - ..._425 + ..._428 }; } export namespace crypto { @@ -323,8 +327,8 @@ export namespace cosmos { ..._356, ..._370, ..._387, - ..._408, - ..._426 + ..._410, + ..._429 }; } export namespace evidence { @@ -336,8 +340,8 @@ export namespace cosmos { ..._357, ..._371, ..._388, - ..._409, - ..._427 + ..._411, + ..._430 }; } export namespace feegrant { @@ -349,8 +353,8 @@ export namespace cosmos { ..._358, ..._372, ..._389, - ..._410, - ..._428 + ..._412, + ..._431 }; } export namespace genutil { @@ -367,8 +371,8 @@ export namespace cosmos { ..._359, ..._373, ..._390, - ..._411, - ..._429 + ..._413, + ..._432 }; export const v1beta1 = { ..._107, @@ -378,10 +382,10 @@ export namespace cosmos { ..._360, ..._374, ..._391, - ..._400, - ..._412, - ..._422, - ..._430 + ..._401, + ..._414, + ..._424, + ..._433 }; } export namespace group { @@ -394,8 +398,8 @@ export namespace cosmos { ..._361, ..._375, ..._392, - ..._413, - ..._431 + ..._415, + ..._434 }; } export namespace mint { @@ -404,7 +408,7 @@ export namespace cosmos { ..._117, ..._118, ..._393, - ..._414 + ..._416 }; } export namespace msg { @@ -422,8 +426,8 @@ export namespace cosmos { ..._362, ..._376, ..._394, - ..._415, - ..._432 + ..._417, + ..._435 }; } export namespace orm { @@ -444,7 +448,7 @@ export namespace cosmos { ..._128, ..._129, ..._395, - ..._416 + ..._418 }; } export namespace slashing { @@ -456,8 +460,8 @@ export namespace cosmos { ..._363, ..._377, ..._396, - ..._417, - ..._433 + ..._419, + ..._436 }; } export namespace staking { @@ -470,8 +474,10 @@ export namespace cosmos { ..._364, ..._378, ..._397, - ..._418, - ..._434 + ..._402, + ..._420, + ..._425, + ..._437 }; } export namespace tx { @@ -484,7 +490,7 @@ export namespace cosmos { ..._140, ..._141, ..._398, - ..._419 + ..._421 }; } export namespace upgrade { @@ -495,8 +501,8 @@ export namespace cosmos { ..._365, ..._379, ..._399, - ..._420, - ..._435 + ..._422, + ..._438 }; } export namespace vesting { @@ -505,14 +511,14 @@ export namespace cosmos { ..._146, ..._366, ..._380, - ..._436 + ..._439 }; } export const ClientFactory = { - ..._542, - ..._543, - ..._544, ..._545, - ..._546 + ..._546, + ..._547, + ..._548, + ..._549 }; } \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.func.ts index b7c54ed7ac..09ff77231c 100644 --- a/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.func.ts @@ -2,6 +2,7 @@ import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { RpcResolver, buildQuery } from "../../../helper-func-types"; import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; import { QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsRequestSDKType, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteRequestSDKType, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesRequestSDKType, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositRequestSDKType, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsRequestSDKType, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; export const createGetProposal = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProposalRequest.encode, @@ -11,10 +12,6 @@ export const createGetProposal = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetProposal, - queryKeyPrefix: "ProposalQuery" -}); export const createGetProposals = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProposalsRequest.encode, decode: QueryProposalsResponse.decode, @@ -23,10 +20,6 @@ export const createGetProposals = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetProposals, - queryKeyPrefix: "ProposalsQuery" -}); export const buildHelperVote = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVoteRequest.encode, decode: QueryVoteResponse.decode, @@ -35,10 +28,6 @@ export const buildHelperVote = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: buildHelperVote, - queryKeyPrefix: "VoteQuery" -}); export const buildHelperVotes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVotesRequest.encode, decode: QueryVotesResponse.decode, @@ -47,10 +36,6 @@ export const buildHelperVotes = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: buildHelperVotes, - queryKeyPrefix: "VotesQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -59,10 +44,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createCheckDeposit = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDepositRequest.encode, decode: QueryDepositResponse.decode, @@ -71,10 +52,6 @@ export const createCheckDeposit = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createCheckDeposit, - queryKeyPrefix: "DepositQuery" -}); export const createGoOverDeposits = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDepositsRequest.encode, decode: QueryDepositsResponse.decode, @@ -83,10 +60,6 @@ export const createGoOverDeposits = (clientResolver?: RpcResolver) => buildQuery clientResolver, deps: [QueryDepositsRequest, QueryDepositsResponse] }); -export const useGoOverDeposits = buildUseQuery({ - builderQueryFn: createGoOverDeposits, - queryKeyPrefix: "DepositsQuery" -}); export const createGetTallyResult = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTallyResultRequest.encode, decode: QueryTallyResultResponse.decode, @@ -94,8 +67,4 @@ export const createGetTallyResult = (clientResolver?: RpcResolver) => buildQuery method: "TallyResult", clientResolver, deps: [QueryTallyResultRequest, QueryTallyResultResponse] -}); -export const useGetTallyResult = buildUseQuery({ - builderQueryFn: createGetTallyResult, - queryKeyPrefix: "TallyResultQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..9a504a848d --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.react.ts @@ -0,0 +1,39 @@ +import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { RpcResolver, buildQuery } from "../../../helper-func-types"; +import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsRequestSDKType, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteRequestSDKType, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesRequestSDKType, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositRequestSDKType, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsRequestSDKType, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; +import { createGetProposal, createGetProposals, buildHelperVote, buildHelperVotes, createGetParams, createCheckDeposit, createGoOverDeposits, createGetTallyResult } from "./query.rpc.func.ts"; +export const useGetProposal = buildUseQuery({ + builderQueryFn: createGetProposal, + queryKeyPrefix: "ProposalQuery" +}); +export const useGetProposals = buildUseQuery({ + builderQueryFn: createGetProposals, + queryKeyPrefix: "ProposalsQuery" +}); +export const useHelperVote = buildUseQuery({ + builderQueryFn: buildHelperVote, + queryKeyPrefix: "VoteQuery" +}); +export const useHelperVotes = buildUseQuery({ + builderQueryFn: buildHelperVotes, + queryKeyPrefix: "VotesQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useCheckDeposit = buildUseQuery({ + builderQueryFn: createCheckDeposit, + queryKeyPrefix: "DepositQuery" +}); +export const useGoOverDeposits = buildUseQuery({ + builderQueryFn: createGoOverDeposits, + queryKeyPrefix: "DepositsQuery" +}); +export const useGetTallyResult = buildUseQuery({ + builderQueryFn: createGetTallyResult, + queryKeyPrefix: "TallyResultQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..8876b82935 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/query.rpc.vue.ts @@ -0,0 +1,39 @@ +import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { RpcResolver, buildQuery } from "../../../helper-func-types"; +import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsRequestSDKType, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteRequestSDKType, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesRequestSDKType, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositRequestSDKType, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsRequestSDKType, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; +import { createGetProposal, createGetProposals, buildHelperVote, buildHelperVotes, createGetParams, createCheckDeposit, createGoOverDeposits, createGetTallyResult } from "./query.rpc.func.ts"; +export const useGetProposal = buildUseVueQuery({ + builderQueryFn: createGetProposal, + queryKeyPrefix: "ProposalQuery" +}); +export const useGetProposals = buildUseVueQuery({ + builderQueryFn: createGetProposals, + queryKeyPrefix: "ProposalsQuery" +}); +export const useHelperVote = buildUseVueQuery({ + builderQueryFn: buildHelperVote, + queryKeyPrefix: "VoteQuery" +}); +export const useHelperVotes = buildUseVueQuery({ + builderQueryFn: buildHelperVotes, + queryKeyPrefix: "VotesQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useCheckDeposit = buildUseVueQuery({ + builderQueryFn: createCheckDeposit, + queryKeyPrefix: "DepositQuery" +}); +export const useGoOverDeposits = buildUseVueQuery({ + builderQueryFn: createGoOverDeposits, + queryKeyPrefix: "DepositsQuery" +}); +export const useGetTallyResult = buildUseVueQuery({ + builderQueryFn: createGetTallyResult, + queryKeyPrefix: "TallyResultQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.func.ts index 7c6be8029b..d2152658ae 100644 --- a/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.func.ts @@ -9,6 +9,7 @@ import { UpdateFeeTokenProposal, UpdateFeeTokenProposalSDKType } from "../../../ import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgVote, MsgVoteSDKType, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositSDKType, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; export const createSubmitProposal = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -17,9 +18,6 @@ export const createSubmitProposal = (clientResolver?: SigningClientResolver) => converters: toConverters(MsgSubmitProposal), deps: [MsgSubmitProposal] }); -export const useSubmitProposal = buildUseMutation({ - builderMutationFn: createSubmitProposal -}); export const buildHelperVote = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgVote.typeUrl, @@ -27,9 +25,6 @@ export const buildHelperVote = (clientResolver?: SigningClientResolver) => build converters: toConverters(MsgVote), deps: [MsgVote] }); -export const useHelperVote = buildUseMutation({ - builderMutationFn: buildHelperVote -}); export const constructLetsVoteWeighted = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgVoteWeighted.typeUrl, @@ -37,16 +32,10 @@ export const constructLetsVoteWeighted = (clientResolver?: SigningClientResolver converters: toConverters(MsgVoteWeighted), deps: [MsgVoteWeighted] }); -export const useTxLetsVoteWeighted = buildUseMutation({ - builderMutationFn: constructLetsVoteWeighted -}); export const createToDeposit = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDeposit.typeUrl, encoders: toEncoders(MsgDeposit), converters: toConverters(MsgDeposit), deps: [MsgDeposit] -}); -export const useToDeposit = buildUseMutation({ - builderMutationFn: createToDeposit }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..0e8337932a --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.react.ts @@ -0,0 +1,26 @@ +import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType, TextProposal, TextProposalSDKType } from "./gov"; +import { RegisterIncentiveProposal, RegisterIncentiveProposalSDKType } from "../../../evmos/incentives/v1/incentives"; +import { ClientUpdateProposal, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; +import { ReplacePoolIncentivesProposal, ReplacePoolIncentivesProposalSDKType, UpdatePoolIncentivesProposal, UpdatePoolIncentivesProposalSDKType } from "../../../osmosis/pool-incentives/v1beta1/gov"; +import { SetSuperfluidAssetsProposal, SetSuperfluidAssetsProposalSDKType, RemoveSuperfluidAssetsProposal, RemoveSuperfluidAssetsProposalSDKType, UpdateUnpoolWhiteListProposal, UpdateUnpoolWhiteListProposalSDKType } from "../../../osmosis/superfluid/v1beta1/gov"; +import { UpdateFeeTokenProposal, UpdateFeeTokenProposalSDKType } from "../../../osmosis/txfees/v1beta1/gov"; +import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; +import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; +import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgVote, MsgVoteSDKType, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositSDKType, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; +import { createSubmitProposal, buildHelperVote, constructLetsVoteWeighted, createToDeposit } from "./tx.rpc.func.ts"; +export const useSubmitProposal = buildUseMutation({ + builderMutationFn: createSubmitProposal +}); +export const useHelperVote = buildUseMutation({ + builderMutationFn: buildHelperVote +}); +export const useTxLetsVoteWeighted = buildUseMutation({ + builderMutationFn: constructLetsVoteWeighted +}); +export const useToDeposit = buildUseMutation({ + builderMutationFn: createToDeposit +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..a1840b18a3 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/gov/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,26 @@ +import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType, TextProposal, TextProposalSDKType } from "./gov"; +import { RegisterIncentiveProposal, RegisterIncentiveProposalSDKType } from "../../../evmos/incentives/v1/incentives"; +import { ClientUpdateProposal, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; +import { ReplacePoolIncentivesProposal, ReplacePoolIncentivesProposalSDKType, UpdatePoolIncentivesProposal, UpdatePoolIncentivesProposalSDKType } from "../../../osmosis/pool-incentives/v1beta1/gov"; +import { SetSuperfluidAssetsProposal, SetSuperfluidAssetsProposalSDKType, RemoveSuperfluidAssetsProposal, RemoveSuperfluidAssetsProposalSDKType, UpdateUnpoolWhiteListProposal, UpdateUnpoolWhiteListProposalSDKType } from "../../../osmosis/superfluid/v1beta1/gov"; +import { UpdateFeeTokenProposal, UpdateFeeTokenProposalSDKType } from "../../../osmosis/txfees/v1beta1/gov"; +import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; +import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; +import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgVote, MsgVoteSDKType, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositSDKType, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; +import { createSubmitProposal, buildHelperVote, constructLetsVoteWeighted, createToDeposit } from "./tx.rpc.func.ts"; +export const useSubmitProposal = buildUseVueMutation({ + builderMutationFn: createSubmitProposal +}); +export const useHelperVote = buildUseVueMutation({ + builderMutationFn: buildHelperVote +}); +export const useTxLetsVoteWeighted = buildUseVueMutation({ + builderMutationFn: constructLetsVoteWeighted +}); +export const useToDeposit = buildUseVueMutation({ + builderMutationFn: createToDeposit +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.Query.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.Query.ts index a49606746c..968f1d13fa 100644 --- a/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.Query.ts +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.Query.ts @@ -2,6 +2,9 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } fr import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; import { TxRpc } from "../../../types"; import { BinaryReader } from "../../../binary"; +import { ReactQueryParams } from "../../../react-query"; +import { QueryClient, createProtobufRpcClient, ProtobufRpcClient } from "@cosmjs/stargate"; +import { useQuery } from "@tanstack/react-query"; import { QueryValidatorsRequest, QueryValidatorsRequestSDKType, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorRequestSDKType, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsRequestSDKType, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsRequestSDKType, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationRequestSDKType, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationRequestSDKType, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsRequestSDKType, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsRequestSDKType, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsRequestSDKType, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsRequestSDKType, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorRequestSDKType, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoRequestSDKType, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolRequestSDKType, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; /** Query defines the gRPC querier service. */ export interface Query { @@ -142,4 +145,217 @@ export class QueryClientImpl implements Query { } export const createClientImpl = (rpc: TxRpc) => { return new QueryClientImpl(rpc); +}; +export interface UseValidatorsQuery extends ReactQueryParams { + request: QueryValidatorsRequest; +} +export interface UseValidatorQuery extends ReactQueryParams { + request: QueryValidatorRequest; +} +export interface UseValidatorDelegationsQuery extends ReactQueryParams { + request: QueryValidatorDelegationsRequest; +} +export interface UseValidatorUnbondingDelegationsQuery extends ReactQueryParams { + request: QueryValidatorUnbondingDelegationsRequest; +} +export interface UseDelegationQuery extends ReactQueryParams { + request: QueryDelegationRequest; +} +export interface UseUnbondingDelegationQuery extends ReactQueryParams { + request: QueryUnbondingDelegationRequest; +} +export interface UseDelegatorDelegationsQuery extends ReactQueryParams { + request: QueryDelegatorDelegationsRequest; +} +export interface UseDelegatorUnbondingDelegationsQuery extends ReactQueryParams { + request: QueryDelegatorUnbondingDelegationsRequest; +} +export interface UseRedelegationsQuery extends ReactQueryParams { + request: QueryRedelegationsRequest; +} +export interface UseDelegatorValidatorsQuery extends ReactQueryParams { + request: QueryDelegatorValidatorsRequest; +} +export interface UseDelegatorValidatorQuery extends ReactQueryParams { + request: QueryDelegatorValidatorRequest; +} +export interface UseHistoricalInfoQuery extends ReactQueryParams { + request: QueryHistoricalInfoRequest; +} +export interface UsePoolQuery extends ReactQueryParams { + request?: QueryPoolRequest; +} +export interface UseParamsQuery extends ReactQueryParams { + request?: QueryParamsRequest; +} +const _queryClients: WeakMap = new WeakMap(); +const getQueryService = (rpc: ProtobufRpcClient | undefined): QueryClientImpl | undefined => { + if (!rpc) return; + if (_queryClients.has(rpc)) { + return _queryClients.get(rpc); + } + const queryService = new QueryClientImpl(rpc); + _queryClients.set(rpc, queryService); + return queryService; +}; +export const createRpcQueryHooks = (rpc: ProtobufRpcClient | undefined) => { + const queryService = getQueryService(rpc); + const useValidators = ({ + request, + options + }: UseValidatorsQuery) => { + return useQuery(["validatorsQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.validators(request); + }, options); + }; + const useValidator = ({ + request, + options + }: UseValidatorQuery) => { + return useQuery(["validatorQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.validator(request); + }, options); + }; + const useValidatorDelegations = ({ + request, + options + }: UseValidatorDelegationsQuery) => { + return useQuery(["validatorDelegationsQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.validatorDelegations(request); + }, options); + }; + const useValidatorUnbondingDelegations = ({ + request, + options + }: UseValidatorUnbondingDelegationsQuery) => { + return useQuery(["validatorUnbondingDelegationsQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.validatorUnbondingDelegations(request); + }, options); + }; + const useDelegation = ({ + request, + options + }: UseDelegationQuery) => { + return useQuery(["delegationQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.delegation(request); + }, options); + }; + const useUnbondingDelegation = ({ + request, + options + }: UseUnbondingDelegationQuery) => { + return useQuery(["unbondingDelegationQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.unbondingDelegation(request); + }, options); + }; + const useDelegatorDelegations = ({ + request, + options + }: UseDelegatorDelegationsQuery) => { + return useQuery(["delegatorDelegationsQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.delegatorDelegations(request); + }, options); + }; + const useDelegatorUnbondingDelegations = ({ + request, + options + }: UseDelegatorUnbondingDelegationsQuery) => { + return useQuery(["delegatorUnbondingDelegationsQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.delegatorUnbondingDelegations(request); + }, options); + }; + const useRedelegations = ({ + request, + options + }: UseRedelegationsQuery) => { + return useQuery(["redelegationsQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.redelegations(request); + }, options); + }; + const useDelegatorValidators = ({ + request, + options + }: UseDelegatorValidatorsQuery) => { + return useQuery(["delegatorValidatorsQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.delegatorValidators(request); + }, options); + }; + const useDelegatorValidator = ({ + request, + options + }: UseDelegatorValidatorQuery) => { + return useQuery(["delegatorValidatorQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.delegatorValidator(request); + }, options); + }; + const useHistoricalInfo = ({ + request, + options + }: UseHistoricalInfoQuery) => { + return useQuery(["historicalInfoQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.historicalInfo(request); + }, options); + }; + const usePool = ({ + request, + options + }: UsePoolQuery) => { + return useQuery(["poolQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.pool(request); + }, options); + }; + const useParams = ({ + request, + options + }: UseParamsQuery) => { + return useQuery(["paramsQuery", request], () => { + if (!queryService) throw new Error("Query Service not initialized"); + return queryService.params(request); + }, options); + }; + return { + /** Validators queries all validators that match the given status. */useValidators, + /** Validator queries validator info for given validator address. */useValidator, + /** ValidatorDelegations queries delegate info for given validator. */useValidatorDelegations, + /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */useValidatorUnbondingDelegations, + /** Delegation queries delegate info for given validator delegator pair. */useDelegation, + /** + * UnbondingDelegation queries unbonding info for given validator delegator + * pair. + */ + useUnbondingDelegation, + /** DelegatorDelegations queries all delegations of a given delegator address. */useDelegatorDelegations, + /** + * DelegatorUnbondingDelegations queries all unbonding delegations of a given + * delegator address. + */ + useDelegatorUnbondingDelegations, + /** Redelegations queries redelegations of given address. */useRedelegations, + /** + * DelegatorValidators queries all validators info for given delegator + * address. + */ + useDelegatorValidators, + /** + * DelegatorValidator queries validator info for given delegator validator + * pair. + */ + useDelegatorValidator, + /** HistoricalInfo queries the historical info for given height. */useHistoricalInfo, + /** Pool queries the pool info. */usePool, + /** Parameters queries the staking parameters. */useParams + }; }; \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.func.ts new file mode 100644 index 0000000000..9d0cbd6491 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.func.ts @@ -0,0 +1,118 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; +import { RpcResolver, buildQuery } from "../../../helper-func-types"; +import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryValidatorsRequest, QueryValidatorsRequestSDKType, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorRequestSDKType, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsRequestSDKType, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsRequestSDKType, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationRequestSDKType, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationRequestSDKType, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsRequestSDKType, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsRequestSDKType, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsRequestSDKType, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsRequestSDKType, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorRequestSDKType, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoRequestSDKType, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolRequestSDKType, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; +export const createGetValidators = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryValidatorsRequest.encode, + decode: QueryValidatorsResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "Validators", + clientResolver, + deps: [QueryValidatorsRequest, QueryValidatorsResponse] +}); +export const createGetValidator = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryValidatorRequest.encode, + decode: QueryValidatorResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "Validator", + clientResolver, + deps: [QueryValidatorRequest, QueryValidatorResponse] +}); +export const createGetValidatorDelegations = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryValidatorDelegationsRequest.encode, + decode: QueryValidatorDelegationsResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "ValidatorDelegations", + clientResolver, + deps: [QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse] +}); +export const createGetValidatorUnbondingDelegations = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryValidatorUnbondingDelegationsRequest.encode, + decode: QueryValidatorUnbondingDelegationsResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "ValidatorUnbondingDelegations", + clientResolver, + deps: [QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse] +}); +export const createGetDelegation = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryDelegationRequest.encode, + decode: QueryDelegationResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "Delegation", + clientResolver, + deps: [QueryDelegationRequest, QueryDelegationResponse] +}); +export const createGetUnbondingDelegation = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryUnbondingDelegationRequest.encode, + decode: QueryUnbondingDelegationResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "UnbondingDelegation", + clientResolver, + deps: [QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse] +}); +export const createGetDelegatorDelegations = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryDelegatorDelegationsRequest.encode, + decode: QueryDelegatorDelegationsResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "DelegatorDelegations", + clientResolver, + deps: [QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse] +}); +export const createGetDelegatorUnbondingDelegations = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryDelegatorUnbondingDelegationsRequest.encode, + decode: QueryDelegatorUnbondingDelegationsResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "DelegatorUnbondingDelegations", + clientResolver, + deps: [QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse] +}); +export const createGetRedelegations = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryRedelegationsRequest.encode, + decode: QueryRedelegationsResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "Redelegations", + clientResolver, + deps: [QueryRedelegationsRequest, QueryRedelegationsResponse] +}); +export const createGetDelegatorValidators = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryDelegatorValidatorsRequest.encode, + decode: QueryDelegatorValidatorsResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "DelegatorValidators", + clientResolver, + deps: [QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse] +}); +export const createGetDelegatorValidator = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryDelegatorValidatorRequest.encode, + decode: QueryDelegatorValidatorResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "DelegatorValidator", + clientResolver, + deps: [QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse] +}); +export const createGetHistoricalInfo = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryHistoricalInfoRequest.encode, + decode: QueryHistoricalInfoResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "HistoricalInfo", + clientResolver, + deps: [QueryHistoricalInfoRequest, QueryHistoricalInfoResponse] +}); +export const createGetPool = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryPoolRequest.encode, + decode: QueryPoolResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "Pool", + clientResolver, + deps: [QueryPoolRequest, QueryPoolResponse] +}); +export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ + encode: QueryParamsRequest.encode, + decode: QueryParamsResponse.decode, + service: "cosmos.staking.v1beta1.Query", + method: "Params", + clientResolver, + deps: [QueryParamsRequest, QueryParamsResponse] +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..3a48151ef7 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.react.ts @@ -0,0 +1,63 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; +import { RpcResolver, buildQuery } from "../../../helper-func-types"; +import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryValidatorsRequest, QueryValidatorsRequestSDKType, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorRequestSDKType, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsRequestSDKType, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsRequestSDKType, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationRequestSDKType, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationRequestSDKType, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsRequestSDKType, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsRequestSDKType, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsRequestSDKType, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsRequestSDKType, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorRequestSDKType, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoRequestSDKType, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolRequestSDKType, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; +import { createGetValidators, createGetValidator, createGetValidatorDelegations, createGetValidatorUnbondingDelegations, createGetDelegation, createGetUnbondingDelegation, createGetDelegatorDelegations, createGetDelegatorUnbondingDelegations, createGetRedelegations, createGetDelegatorValidators, createGetDelegatorValidator, createGetHistoricalInfo, createGetPool, createGetParams } from "./query.rpc.func.ts"; +export const useGetValidators = buildUseQuery({ + builderQueryFn: createGetValidators, + queryKeyPrefix: "ValidatorsQuery" +}); +export const useGetValidator = buildUseQuery({ + builderQueryFn: createGetValidator, + queryKeyPrefix: "ValidatorQuery" +}); +export const useGetValidatorDelegations = buildUseQuery({ + builderQueryFn: createGetValidatorDelegations, + queryKeyPrefix: "ValidatorDelegationsQuery" +}); +export const useGetValidatorUnbondingDelegations = buildUseQuery({ + builderQueryFn: createGetValidatorUnbondingDelegations, + queryKeyPrefix: "ValidatorUnbondingDelegationsQuery" +}); +export const useGetDelegation = buildUseQuery({ + builderQueryFn: createGetDelegation, + queryKeyPrefix: "DelegationQuery" +}); +export const useGetUnbondingDelegation = buildUseQuery({ + builderQueryFn: createGetUnbondingDelegation, + queryKeyPrefix: "UnbondingDelegationQuery" +}); +export const useGetDelegatorDelegations = buildUseQuery({ + builderQueryFn: createGetDelegatorDelegations, + queryKeyPrefix: "DelegatorDelegationsQuery" +}); +export const useGetDelegatorUnbondingDelegations = buildUseQuery({ + builderQueryFn: createGetDelegatorUnbondingDelegations, + queryKeyPrefix: "DelegatorUnbondingDelegationsQuery" +}); +export const useGetRedelegations = buildUseQuery({ + builderQueryFn: createGetRedelegations, + queryKeyPrefix: "RedelegationsQuery" +}); +export const useGetDelegatorValidators = buildUseQuery({ + builderQueryFn: createGetDelegatorValidators, + queryKeyPrefix: "DelegatorValidatorsQuery" +}); +export const useGetDelegatorValidator = buildUseQuery({ + builderQueryFn: createGetDelegatorValidator, + queryKeyPrefix: "DelegatorValidatorQuery" +}); +export const useGetHistoricalInfo = buildUseQuery({ + builderQueryFn: createGetHistoricalInfo, + queryKeyPrefix: "HistoricalInfoQuery" +}); +export const useGetPool = buildUseQuery({ + builderQueryFn: createGetPool, + queryKeyPrefix: "PoolQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..5c42e03a98 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/query.rpc.vue.ts @@ -0,0 +1,63 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; +import { RpcResolver, buildQuery } from "../../../helper-func-types"; +import { buildUseQuery } from "../../../react-query"; +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryValidatorsRequest, QueryValidatorsRequestSDKType, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorRequestSDKType, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsRequestSDKType, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsRequestSDKType, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationRequestSDKType, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationRequestSDKType, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsRequestSDKType, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsRequestSDKType, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsRequestSDKType, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsRequestSDKType, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorRequestSDKType, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoRequestSDKType, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolRequestSDKType, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; +import { createGetValidators, createGetValidator, createGetValidatorDelegations, createGetValidatorUnbondingDelegations, createGetDelegation, createGetUnbondingDelegation, createGetDelegatorDelegations, createGetDelegatorUnbondingDelegations, createGetRedelegations, createGetDelegatorValidators, createGetDelegatorValidator, createGetHistoricalInfo, createGetPool, createGetParams } from "./query.rpc.func.ts"; +export const useGetValidators = buildUseVueQuery({ + builderQueryFn: createGetValidators, + queryKeyPrefix: "ValidatorsQuery" +}); +export const useGetValidator = buildUseVueQuery({ + builderQueryFn: createGetValidator, + queryKeyPrefix: "ValidatorQuery" +}); +export const useGetValidatorDelegations = buildUseVueQuery({ + builderQueryFn: createGetValidatorDelegations, + queryKeyPrefix: "ValidatorDelegationsQuery" +}); +export const useGetValidatorUnbondingDelegations = buildUseVueQuery({ + builderQueryFn: createGetValidatorUnbondingDelegations, + queryKeyPrefix: "ValidatorUnbondingDelegationsQuery" +}); +export const useGetDelegation = buildUseVueQuery({ + builderQueryFn: createGetDelegation, + queryKeyPrefix: "DelegationQuery" +}); +export const useGetUnbondingDelegation = buildUseVueQuery({ + builderQueryFn: createGetUnbondingDelegation, + queryKeyPrefix: "UnbondingDelegationQuery" +}); +export const useGetDelegatorDelegations = buildUseVueQuery({ + builderQueryFn: createGetDelegatorDelegations, + queryKeyPrefix: "DelegatorDelegationsQuery" +}); +export const useGetDelegatorUnbondingDelegations = buildUseVueQuery({ + builderQueryFn: createGetDelegatorUnbondingDelegations, + queryKeyPrefix: "DelegatorUnbondingDelegationsQuery" +}); +export const useGetRedelegations = buildUseVueQuery({ + builderQueryFn: createGetRedelegations, + queryKeyPrefix: "RedelegationsQuery" +}); +export const useGetDelegatorValidators = buildUseVueQuery({ + builderQueryFn: createGetDelegatorValidators, + queryKeyPrefix: "DelegatorValidatorsQuery" +}); +export const useGetDelegatorValidator = buildUseVueQuery({ + builderQueryFn: createGetDelegatorValidator, + queryKeyPrefix: "DelegatorValidatorQuery" +}); +export const useGetHistoricalInfo = buildUseVueQuery({ + builderQueryFn: createGetHistoricalInfo, + queryKeyPrefix: "HistoricalInfoQuery" +}); +export const useGetPool = buildUseVueQuery({ + builderQueryFn: createGetPool, + queryKeyPrefix: "PoolQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.func.ts new file mode 100644 index 0000000000..322b9c94b8 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.func.ts @@ -0,0 +1,44 @@ +import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; +import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; +import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; +import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateValidator, MsgCreateValidatorSDKType, MsgCreateValidatorResponse, MsgCreateValidatorResponseSDKType, MsgEditValidator, MsgEditValidatorSDKType, MsgEditValidatorResponse, MsgEditValidatorResponseSDKType, MsgDelegate, MsgDelegateSDKType, MsgDelegateResponse, MsgDelegateResponseSDKType, MsgBeginRedelegate, MsgBeginRedelegateSDKType, MsgBeginRedelegateResponse, MsgBeginRedelegateResponseSDKType, MsgUndelegate, MsgUndelegateSDKType, MsgUndelegateResponse, MsgUndelegateResponseSDKType } from "./tx"; +export const createCreateValidator = (clientResolver?: SigningClientResolver) => buildTx({ + clientResolver, + typeUrl: MsgCreateValidator.typeUrl, + encoders: toEncoders(MsgCreateValidator), + converters: toConverters(MsgCreateValidator), + deps: [MsgCreateValidator] +}); +export const createEditValidator = (clientResolver?: SigningClientResolver) => buildTx({ + clientResolver, + typeUrl: MsgEditValidator.typeUrl, + encoders: toEncoders(MsgEditValidator), + converters: toConverters(MsgEditValidator), + deps: [MsgEditValidator] +}); +export const createDelegate = (clientResolver?: SigningClientResolver) => buildTx({ + clientResolver, + typeUrl: MsgDelegate.typeUrl, + encoders: toEncoders(MsgDelegate), + converters: toConverters(MsgDelegate), + deps: [MsgDelegate] +}); +export const createBeginRedelegate = (clientResolver?: SigningClientResolver) => buildTx({ + clientResolver, + typeUrl: MsgBeginRedelegate.typeUrl, + encoders: toEncoders(MsgBeginRedelegate), + converters: toConverters(MsgBeginRedelegate), + deps: [MsgBeginRedelegate] +}); +export const createUndelegate = (clientResolver?: SigningClientResolver) => buildTx({ + clientResolver, + typeUrl: MsgUndelegate.typeUrl, + encoders: toEncoders(MsgUndelegate), + converters: toConverters(MsgUndelegate), + deps: [MsgUndelegate] +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..0db1d86901 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.react.ts @@ -0,0 +1,25 @@ +import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; +import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; +import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; +import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateValidator, MsgCreateValidatorSDKType, MsgCreateValidatorResponse, MsgCreateValidatorResponseSDKType, MsgEditValidator, MsgEditValidatorSDKType, MsgEditValidatorResponse, MsgEditValidatorResponseSDKType, MsgDelegate, MsgDelegateSDKType, MsgDelegateResponse, MsgDelegateResponseSDKType, MsgBeginRedelegate, MsgBeginRedelegateSDKType, MsgBeginRedelegateResponse, MsgBeginRedelegateResponseSDKType, MsgUndelegate, MsgUndelegateSDKType, MsgUndelegateResponse, MsgUndelegateResponseSDKType } from "./tx"; +import { createCreateValidator, createEditValidator, createDelegate, createBeginRedelegate, createUndelegate } from "./tx.rpc.func.ts"; +export const useCreateValidator = buildUseMutation({ + builderMutationFn: createCreateValidator +}); +export const useEditValidator = buildUseMutation({ + builderMutationFn: createEditValidator +}); +export const useDelegate = buildUseMutation({ + builderMutationFn: createDelegate +}); +export const useBeginRedelegate = buildUseMutation({ + builderMutationFn: createBeginRedelegate +}); +export const useUndelegate = buildUseMutation({ + builderMutationFn: createUndelegate +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..0929b379f7 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/cosmos/staking/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,25 @@ +import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; +import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { buildTx, ISigningClient, SigningClientResolver } from "../../../helper-func-types"; +import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; +import { buildUseMutation } from "../../../react-query"; +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateValidator, MsgCreateValidatorSDKType, MsgCreateValidatorResponse, MsgCreateValidatorResponseSDKType, MsgEditValidator, MsgEditValidatorSDKType, MsgEditValidatorResponse, MsgEditValidatorResponseSDKType, MsgDelegate, MsgDelegateSDKType, MsgDelegateResponse, MsgDelegateResponseSDKType, MsgBeginRedelegate, MsgBeginRedelegateSDKType, MsgBeginRedelegateResponse, MsgBeginRedelegateResponseSDKType, MsgUndelegate, MsgUndelegateSDKType, MsgUndelegateResponse, MsgUndelegateResponseSDKType } from "./tx"; +import { createCreateValidator, createEditValidator, createDelegate, createBeginRedelegate, createUndelegate } from "./tx.rpc.func.ts"; +export const useCreateValidator = buildUseVueMutation({ + builderMutationFn: createCreateValidator +}); +export const useEditValidator = buildUseVueMutation({ + builderMutationFn: createEditValidator +}); +export const useDelegate = buildUseVueMutation({ + builderMutationFn: createDelegate +}); +export const useBeginRedelegate = buildUseVueMutation({ + builderMutationFn: createBeginRedelegate +}); +export const useUndelegate = buildUseVueMutation({ + builderMutationFn: createUndelegate +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/cosmwasm/bundle.ts b/__fixtures__/v-next/outputhelperfunc/cosmwasm/bundle.ts index fc67c079d1..3673da2c84 100644 --- a/__fixtures__/v-next/outputhelperfunc/cosmwasm/bundle.ts +++ b/__fixtures__/v-next/outputhelperfunc/cosmwasm/bundle.ts @@ -4,14 +4,14 @@ import * as _149 from "./wasm/v1/proposal"; import * as _150 from "./wasm/v1/query"; import * as _151 from "./wasm/v1/tx"; import * as _152 from "./wasm/v1/types"; -import * as _437 from "./wasm/v1/tx.amino"; -import * as _438 from "./wasm/v1/tx.registry"; -import * as _439 from "./wasm/v1/query.lcd"; -import * as _440 from "./wasm/v1/query.rpc.Query"; -import * as _441 from "./wasm/v1/tx.rpc.msg"; -import * as _547 from "./lcd"; -import * as _548 from "./rpc.query"; -import * as _549 from "./rpc.tx"; +import * as _440 from "./wasm/v1/tx.amino"; +import * as _441 from "./wasm/v1/tx.registry"; +import * as _442 from "./wasm/v1/query.lcd"; +import * as _443 from "./wasm/v1/query.rpc.Query"; +import * as _444 from "./wasm/v1/tx.rpc.msg"; +import * as _550 from "./lcd"; +import * as _551 from "./rpc.query"; +import * as _552 from "./rpc.tx"; export namespace cosmwasm { export namespace wasm { export const v1 = { @@ -21,16 +21,16 @@ export namespace cosmwasm { ..._150, ..._151, ..._152, - ..._437, - ..._438, - ..._439, ..._440, - ..._441 + ..._441, + ..._442, + ..._443, + ..._444 }; } export const ClientFactory = { - ..._547, - ..._548, - ..._549 + ..._550, + ..._551, + ..._552 }; } \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/evmos/bundle.ts b/__fixtures__/v-next/outputhelperfunc/evmos/bundle.ts index 11480d550a..c8f50ba4fc 100644 --- a/__fixtures__/v-next/outputhelperfunc/evmos/bundle.ts +++ b/__fixtures__/v-next/outputhelperfunc/evmos/bundle.ts @@ -22,54 +22,54 @@ import * as _173 from "./recovery/v1/query"; import * as _174 from "./vesting/v1/query"; import * as _175 from "./vesting/v1/tx"; import * as _176 from "./vesting/v1/vesting"; -import * as _442 from "./erc20/v1/tx.amino"; -import * as _443 from "./fees/v1/tx.amino"; -import * as _444 from "./vesting/v1/tx.amino"; -import * as _445 from "./erc20/v1/tx.registry"; -import * as _446 from "./fees/v1/tx.registry"; -import * as _447 from "./vesting/v1/tx.registry"; -import * as _448 from "./claims/v1/query.lcd"; -import * as _449 from "./epochs/v1/query.lcd"; -import * as _450 from "./erc20/v1/query.lcd"; -import * as _451 from "./fees/v1/query.lcd"; -import * as _452 from "./incentives/v1/query.lcd"; -import * as _453 from "./inflation/v1/query.lcd"; -import * as _454 from "./recovery/v1/query.lcd"; -import * as _455 from "./vesting/v1/query.lcd"; -import * as _456 from "./claims/v1/query.rpc.Query"; -import * as _457 from "./epochs/v1/query.rpc.Query"; -import * as _458 from "./erc20/v1/query.rpc.Query"; -import * as _459 from "./fees/v1/query.rpc.Query"; -import * as _460 from "./incentives/v1/query.rpc.Query"; -import * as _461 from "./inflation/v1/query.rpc.Query"; -import * as _462 from "./recovery/v1/query.rpc.Query"; -import * as _463 from "./vesting/v1/query.rpc.Query"; -import * as _464 from "./erc20/v1/tx.rpc.msg"; -import * as _465 from "./fees/v1/tx.rpc.msg"; -import * as _466 from "./vesting/v1/tx.rpc.msg"; -import * as _467 from "./erc20/v1/query.pinia.store"; -import * as _550 from "./lcd"; -import * as _551 from "./custom-lcd-client"; -import * as _552 from "./rpc.query"; -import * as _553 from "./evmos-rpc-client.query"; -import * as _554 from "./rpc.tx"; -import * as _555 from "./evmos-rpc-client.tx"; +import * as _445 from "./erc20/v1/tx.amino"; +import * as _446 from "./fees/v1/tx.amino"; +import * as _447 from "./vesting/v1/tx.amino"; +import * as _448 from "./erc20/v1/tx.registry"; +import * as _449 from "./fees/v1/tx.registry"; +import * as _450 from "./vesting/v1/tx.registry"; +import * as _451 from "./claims/v1/query.lcd"; +import * as _452 from "./epochs/v1/query.lcd"; +import * as _453 from "./erc20/v1/query.lcd"; +import * as _454 from "./fees/v1/query.lcd"; +import * as _455 from "./incentives/v1/query.lcd"; +import * as _456 from "./inflation/v1/query.lcd"; +import * as _457 from "./recovery/v1/query.lcd"; +import * as _458 from "./vesting/v1/query.lcd"; +import * as _459 from "./claims/v1/query.rpc.Query"; +import * as _460 from "./epochs/v1/query.rpc.Query"; +import * as _461 from "./erc20/v1/query.rpc.Query"; +import * as _462 from "./fees/v1/query.rpc.Query"; +import * as _463 from "./incentives/v1/query.rpc.Query"; +import * as _464 from "./inflation/v1/query.rpc.Query"; +import * as _465 from "./recovery/v1/query.rpc.Query"; +import * as _466 from "./vesting/v1/query.rpc.Query"; +import * as _467 from "./erc20/v1/tx.rpc.msg"; +import * as _468 from "./fees/v1/tx.rpc.msg"; +import * as _469 from "./vesting/v1/tx.rpc.msg"; +import * as _470 from "./erc20/v1/query.pinia.store"; +import * as _553 from "./lcd"; +import * as _554 from "./custom-lcd-client"; +import * as _555 from "./rpc.query"; +import * as _556 from "./evmos-rpc-client.query"; +import * as _557 from "./rpc.tx"; +import * as _558 from "./evmos-rpc-client.tx"; export namespace evmos { export namespace claims { export const v1 = { ..._153, ..._154, ..._155, - ..._448, - ..._456 + ..._451, + ..._459 }; } export namespace epochs { export const v1 = { ..._156, ..._157, - ..._449, - ..._457 + ..._452, + ..._460 }; } export namespace erc20 { @@ -78,12 +78,12 @@ export namespace evmos { ..._159, ..._160, ..._161, - ..._442, ..._445, - ..._450, - ..._458, - ..._464, - ..._467 + ..._448, + ..._453, + ..._461, + ..._467, + ..._470 }; } export namespace fees { @@ -92,11 +92,11 @@ export namespace evmos { ..._163, ..._164, ..._165, - ..._443, ..._446, - ..._451, - ..._459, - ..._465 + ..._449, + ..._454, + ..._462, + ..._468 }; } export namespace incentives { @@ -104,8 +104,8 @@ export namespace evmos { ..._166, ..._167, ..._168, - ..._452, - ..._460 + ..._455, + ..._463 }; } export namespace inflation { @@ -113,16 +113,16 @@ export namespace evmos { ..._169, ..._170, ..._171, - ..._453, - ..._461 + ..._456, + ..._464 }; } export namespace recovery { export const v1 = { ..._172, ..._173, - ..._454, - ..._462 + ..._457, + ..._465 }; } export namespace vesting { @@ -130,19 +130,19 @@ export namespace evmos { ..._174, ..._175, ..._176, - ..._444, ..._447, - ..._455, - ..._463, - ..._466 + ..._450, + ..._458, + ..._466, + ..._469 }; } export const ClientFactory = { - ..._550, - ..._551, - ..._552, ..._553, ..._554, - ..._555 + ..._555, + ..._556, + ..._557, + ..._558 }; } \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/hooks.ts b/__fixtures__/v-next/outputhelperfunc/hooks.ts index 40042d5ff6..de5a37f748 100644 --- a/__fixtures__/v-next/outputhelperfunc/hooks.ts +++ b/__fixtures__/v-next/outputhelperfunc/hooks.ts @@ -3,6 +3,7 @@ import * as _AkashCertV1beta2Queryrpc from "./akash/cert/v1beta2/query.rpc.Query import * as _CosmosAuthV1beta1Queryrpc from "./cosmos/auth/v1beta1/query.rpc.Query"; import * as _CosmosBankV1beta1Queryrpc from "./cosmos/bank/v1beta1/query.rpc.Query"; import * as _CosmosNftV1beta1Queryrpc from "./cosmos/nft/v1beta1/query.rpc.Query"; +import * as _CosmosStakingV1beta1Queryrpc from "./cosmos/staking/v1beta1/query.rpc.Query"; import * as _OsmosisGammV1beta1Queryrpc from "./osmosis/gamm/v1beta1/query.rpc.Query"; import * as _OsmosisGammV2Queryrpc from "./osmosis/gamm/v2/query.rpc.Query"; export const createRpcQueryHooks = ({ @@ -25,6 +26,9 @@ export const createRpcQueryHooks = ({ }, nft: { v1beta1: _CosmosNftV1beta1Queryrpc.createRpcQueryHooks(rpc) + }, + staking: { + v1beta1: _CosmosStakingV1beta1Queryrpc.createRpcQueryHooks(rpc) } }, osmosis: { diff --git a/__fixtures__/v-next/outputhelperfunc/ibc/bundle.ts b/__fixtures__/v-next/outputhelperfunc/ibc/bundle.ts index 6242854384..727e839c8f 100644 --- a/__fixtures__/v-next/outputhelperfunc/ibc/bundle.ts +++ b/__fixtures__/v-next/outputhelperfunc/ibc/bundle.ts @@ -22,30 +22,30 @@ import * as _250 from "./lightclients/localhost/v1/localhost"; import * as _251 from "./lightclients/solomachine/v1/solomachine"; import * as _252 from "./lightclients/solomachine/v2/solomachine"; import * as _253 from "./lightclients/tendermint/v1/tendermint"; -import * as _468 from "./applications/transfer/v1/tx.amino"; -import * as _469 from "./core/channel/v1/tx.amino"; -import * as _470 from "./core/client/v1/tx.amino"; -import * as _471 from "./core/connection/v1/tx.amino"; -import * as _472 from "./applications/transfer/v1/tx.registry"; -import * as _473 from "./core/channel/v1/tx.registry"; -import * as _474 from "./core/client/v1/tx.registry"; -import * as _475 from "./core/connection/v1/tx.registry"; -import * as _476 from "./applications/transfer/v1/query.lcd"; -import * as _477 from "./core/channel/v1/query.lcd"; -import * as _478 from "./core/client/v1/query.lcd"; -import * as _479 from "./core/connection/v1/query.lcd"; -import * as _480 from "./applications/transfer/v1/query.rpc.Query"; -import * as _481 from "./core/channel/v1/query.rpc.Query"; -import * as _482 from "./core/client/v1/query.rpc.Query"; -import * as _483 from "./core/connection/v1/query.rpc.Query"; -import * as _484 from "./core/port/v1/query.rpc.Query"; -import * as _485 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _486 from "./core/channel/v1/tx.rpc.msg"; -import * as _487 from "./core/client/v1/tx.rpc.msg"; -import * as _488 from "./core/connection/v1/tx.rpc.msg"; -import * as _556 from "./lcd"; -import * as _557 from "./rpc.query"; -import * as _558 from "./rpc.tx"; +import * as _471 from "./applications/transfer/v1/tx.amino"; +import * as _472 from "./core/channel/v1/tx.amino"; +import * as _473 from "./core/client/v1/tx.amino"; +import * as _474 from "./core/connection/v1/tx.amino"; +import * as _475 from "./applications/transfer/v1/tx.registry"; +import * as _476 from "./core/channel/v1/tx.registry"; +import * as _477 from "./core/client/v1/tx.registry"; +import * as _478 from "./core/connection/v1/tx.registry"; +import * as _479 from "./applications/transfer/v1/query.lcd"; +import * as _480 from "./core/channel/v1/query.lcd"; +import * as _481 from "./core/client/v1/query.lcd"; +import * as _482 from "./core/connection/v1/query.lcd"; +import * as _483 from "./applications/transfer/v1/query.rpc.Query"; +import * as _484 from "./core/channel/v1/query.rpc.Query"; +import * as _485 from "./core/client/v1/query.rpc.Query"; +import * as _486 from "./core/connection/v1/query.rpc.Query"; +import * as _487 from "./core/port/v1/query.rpc.Query"; +import * as _488 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _489 from "./core/channel/v1/tx.rpc.msg"; +import * as _490 from "./core/client/v1/tx.rpc.msg"; +import * as _491 from "./core/connection/v1/tx.rpc.msg"; +import * as _559 from "./lcd"; +import * as _560 from "./rpc.query"; +import * as _561 from "./rpc.tx"; export namespace ibc { export namespace applications { export namespace transfer { @@ -54,11 +54,11 @@ export namespace ibc { ..._231, ..._232, ..._233, - ..._468, - ..._472, - ..._476, - ..._480, - ..._485 + ..._471, + ..._475, + ..._479, + ..._483, + ..._488 }; export const v2 = { ..._234 @@ -72,11 +72,11 @@ export namespace ibc { ..._236, ..._237, ..._238, - ..._469, - ..._473, - ..._477, - ..._481, - ..._486 + ..._472, + ..._476, + ..._480, + ..._484, + ..._489 }; } export namespace client { @@ -85,11 +85,11 @@ export namespace ibc { ..._240, ..._241, ..._242, - ..._470, - ..._474, - ..._478, - ..._482, - ..._487 + ..._473, + ..._477, + ..._481, + ..._485, + ..._490 }; } export namespace commitment { @@ -103,17 +103,17 @@ export namespace ibc { ..._245, ..._246, ..._247, - ..._471, - ..._475, - ..._479, - ..._483, - ..._488 + ..._474, + ..._478, + ..._482, + ..._486, + ..._491 }; } export namespace port { export const v1 = { ..._248, - ..._484 + ..._487 }; } export namespace types { @@ -143,8 +143,8 @@ export namespace ibc { } } export const ClientFactory = { - ..._556, - ..._557, - ..._558 + ..._559, + ..._560, + ..._561 }; } \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/index.ts b/__fixtures__/v-next/outputhelperfunc/index.ts index dbbf7053e1..25dc730014 100644 --- a/__fixtures__/v-next/outputhelperfunc/index.ts +++ b/__fixtures__/v-next/outputhelperfunc/index.ts @@ -27,6 +27,7 @@ export * from "./mobx.stores"; export * from "./extern"; export * from "./helper-func-types"; export * from "./react-query"; +export * from "./vue-query"; export * from "./mobx"; export * from "./pinia-endpoint"; export * from "./json-safe"; diff --git a/__fixtures__/v-next/outputhelperfunc/osmosis/bundle.ts b/__fixtures__/v-next/outputhelperfunc/osmosis/bundle.ts index 245658eeab..c1a648d143 100644 --- a/__fixtures__/v-next/outputhelperfunc/osmosis/bundle.ts +++ b/__fixtures__/v-next/outputhelperfunc/osmosis/bundle.ts @@ -49,59 +49,59 @@ import * as _301 from "./txfees/v1beta1/feetoken"; import * as _302 from "./txfees/v1beta1/genesis"; import * as _303 from "./txfees/v1beta1/gov"; import * as _304 from "./txfees/v1beta1/query"; -import * as _489 from "./gamm/pool-models/balancer/tx/tx.amino"; -import * as _490 from "./gamm/pool-models/stableswap/tx.amino"; -import * as _491 from "./gamm/v1beta1/tx.amino"; -import * as _492 from "./incentives/tx.amino"; -import * as _493 from "./lockup/tx.amino"; -import * as _494 from "./superfluid/tx.amino"; -import * as _495 from "./tokenfactory/v1beta1/tx.amino"; -import * as _496 from "./gamm/pool-models/balancer/tx/tx.registry"; -import * as _497 from "./gamm/pool-models/stableswap/tx.registry"; -import * as _498 from "./gamm/v1beta1/tx.registry"; -import * as _499 from "./incentives/tx.registry"; -import * as _500 from "./lockup/tx.registry"; -import * as _501 from "./superfluid/tx.registry"; -import * as _502 from "./tokenfactory/v1beta1/tx.registry"; -import * as _503 from "./claim/v1beta1/query.lcd"; -import * as _504 from "./epochs/query.lcd"; -import * as _505 from "./gamm/v1beta1/query.lcd"; -import * as _506 from "./gamm/v2/query.lcd"; -import * as _507 from "./ibc-rate-limit/v1beta1/query.lcd"; -import * as _508 from "./incentives/query.lcd"; -import * as _509 from "./lockup/query.lcd"; -import * as _510 from "./mint/v1beta1/query.lcd"; -import * as _511 from "./pool-incentives/v1beta1/query.lcd"; -import * as _512 from "./superfluid/query.lcd"; -import * as _513 from "./tokenfactory/v1beta1/query.lcd"; -import * as _514 from "./twap/v1beta1/query.lcd"; -import * as _515 from "./txfees/v1beta1/query.lcd"; -import * as _516 from "./claim/v1beta1/query.rpc.Query"; -import * as _517 from "./epochs/query.rpc.Query"; -import * as _518 from "./gamm/v1beta1/query.rpc.Query"; -import * as _519 from "./gamm/v2/query.rpc.Query"; -import * as _520 from "./ibc-rate-limit/v1beta1/query.rpc.Query"; -import * as _521 from "./incentives/query.rpc.Query"; -import * as _522 from "./lockup/query.rpc.Query"; -import * as _523 from "./mint/v1beta1/query.rpc.Query"; -import * as _524 from "./pool-incentives/v1beta1/query.rpc.Query"; -import * as _525 from "./superfluid/query.rpc.Query"; -import * as _526 from "./tokenfactory/v1beta1/query.rpc.Query"; -import * as _527 from "./twap/v1beta1/query.rpc.Query"; -import * as _528 from "./txfees/v1beta1/query.rpc.Query"; -import * as _529 from "./gamm/pool-models/balancer/tx/tx.rpc.msg"; -import * as _530 from "./gamm/pool-models/stableswap/tx.rpc.msg"; -import * as _531 from "./gamm/v1beta1/tx.rpc.msg"; -import * as _532 from "./incentives/tx.rpc.msg"; -import * as _533 from "./lockup/tx.rpc.msg"; -import * as _534 from "./superfluid/tx.rpc.msg"; -import * as _535 from "./tokenfactory/v1beta1/tx.rpc.msg"; -import * as _536 from "./gamm/v1beta1/query.pinia.store"; -import * as _537 from "./gamm/v2/query.pinia.store"; -import * as _559 from "./lcd"; -import * as _560 from "./custom-lcd-client"; -import * as _561 from "./rpc.query"; -import * as _562 from "./rpc.tx"; +import * as _492 from "./gamm/pool-models/balancer/tx/tx.amino"; +import * as _493 from "./gamm/pool-models/stableswap/tx.amino"; +import * as _494 from "./gamm/v1beta1/tx.amino"; +import * as _495 from "./incentives/tx.amino"; +import * as _496 from "./lockup/tx.amino"; +import * as _497 from "./superfluid/tx.amino"; +import * as _498 from "./tokenfactory/v1beta1/tx.amino"; +import * as _499 from "./gamm/pool-models/balancer/tx/tx.registry"; +import * as _500 from "./gamm/pool-models/stableswap/tx.registry"; +import * as _501 from "./gamm/v1beta1/tx.registry"; +import * as _502 from "./incentives/tx.registry"; +import * as _503 from "./lockup/tx.registry"; +import * as _504 from "./superfluid/tx.registry"; +import * as _505 from "./tokenfactory/v1beta1/tx.registry"; +import * as _506 from "./claim/v1beta1/query.lcd"; +import * as _507 from "./epochs/query.lcd"; +import * as _508 from "./gamm/v1beta1/query.lcd"; +import * as _509 from "./gamm/v2/query.lcd"; +import * as _510 from "./ibc-rate-limit/v1beta1/query.lcd"; +import * as _511 from "./incentives/query.lcd"; +import * as _512 from "./lockup/query.lcd"; +import * as _513 from "./mint/v1beta1/query.lcd"; +import * as _514 from "./pool-incentives/v1beta1/query.lcd"; +import * as _515 from "./superfluid/query.lcd"; +import * as _516 from "./tokenfactory/v1beta1/query.lcd"; +import * as _517 from "./twap/v1beta1/query.lcd"; +import * as _518 from "./txfees/v1beta1/query.lcd"; +import * as _519 from "./claim/v1beta1/query.rpc.Query"; +import * as _520 from "./epochs/query.rpc.Query"; +import * as _521 from "./gamm/v1beta1/query.rpc.Query"; +import * as _522 from "./gamm/v2/query.rpc.Query"; +import * as _523 from "./ibc-rate-limit/v1beta1/query.rpc.Query"; +import * as _524 from "./incentives/query.rpc.Query"; +import * as _525 from "./lockup/query.rpc.Query"; +import * as _526 from "./mint/v1beta1/query.rpc.Query"; +import * as _527 from "./pool-incentives/v1beta1/query.rpc.Query"; +import * as _528 from "./superfluid/query.rpc.Query"; +import * as _529 from "./tokenfactory/v1beta1/query.rpc.Query"; +import * as _530 from "./twap/v1beta1/query.rpc.Query"; +import * as _531 from "./txfees/v1beta1/query.rpc.Query"; +import * as _532 from "./gamm/pool-models/balancer/tx/tx.rpc.msg"; +import * as _533 from "./gamm/pool-models/stableswap/tx.rpc.msg"; +import * as _534 from "./gamm/v1beta1/tx.rpc.msg"; +import * as _535 from "./incentives/tx.rpc.msg"; +import * as _536 from "./lockup/tx.rpc.msg"; +import * as _537 from "./superfluid/tx.rpc.msg"; +import * as _538 from "./tokenfactory/v1beta1/tx.rpc.msg"; +import * as _539 from "./gamm/v1beta1/query.pinia.store"; +import * as _540 from "./gamm/v2/query.pinia.store"; +import * as _562 from "./lcd"; +import * as _563 from "./custom-lcd-client"; +import * as _564 from "./rpc.query"; +import * as _565 from "./rpc.tx"; export namespace osmosis { export namespace claim { export const v1beta1 = { @@ -109,16 +109,16 @@ export namespace osmosis { ..._255, ..._256, ..._257, - ..._503, - ..._516 + ..._506, + ..._519 }; } export namespace epochs { export const v1beta1 = { ..._258, ..._259, - ..._504, - ..._517 + ..._507, + ..._520 }; } export namespace gamm { @@ -127,45 +127,45 @@ export namespace osmosis { ..._261, ..._262, ..._263, - ..._491, - ..._498, - ..._505, - ..._518, - ..._531, - ..._536 + ..._494, + ..._501, + ..._508, + ..._521, + ..._534, + ..._539 }; export namespace poolmodels { export namespace balancer { export const v1beta1 = { ..._264, - ..._489, - ..._496, - ..._529 + ..._492, + ..._499, + ..._532 }; } export namespace stableswap { export const v1beta1 = { ..._265, ..._266, - ..._490, - ..._497, - ..._530 + ..._493, + ..._500, + ..._533 }; } } export const v2 = { ..._267, - ..._506, - ..._519, - ..._537 + ..._509, + ..._522, + ..._540 }; } export namespace ibcratelimit { export const v1beta1 = { ..._268, ..._269, - ..._507, - ..._520 + ..._510, + ..._523 }; } export const incentives = { @@ -174,11 +174,11 @@ export namespace osmosis { ..._272, ..._273, ..._274, - ..._492, - ..._499, - ..._508, - ..._521, - ..._532 + ..._495, + ..._502, + ..._511, + ..._524, + ..._535 }; export const lockup = { ..._275, @@ -186,19 +186,19 @@ export namespace osmosis { ..._277, ..._278, ..._279, - ..._493, - ..._500, - ..._509, - ..._522, - ..._533 + ..._496, + ..._503, + ..._512, + ..._525, + ..._536 }; export namespace mint { export const v1beta1 = { ..._280, ..._281, ..._282, - ..._510, - ..._523 + ..._513, + ..._526 }; } export namespace poolincentives { @@ -207,8 +207,8 @@ export namespace osmosis { ..._284, ..._285, ..._286, - ..._511, - ..._524 + ..._514, + ..._527 }; } export namespace store { @@ -222,11 +222,11 @@ export namespace osmosis { ..._290, ..._291, ..._292, - ..._494, - ..._501, - ..._512, - ..._525, - ..._534 + ..._497, + ..._504, + ..._515, + ..._528, + ..._537 }; export namespace tokenfactory { export const v1beta1 = { @@ -235,11 +235,11 @@ export namespace osmosis { ..._295, ..._296, ..._297, - ..._495, - ..._502, - ..._513, - ..._526, - ..._535 + ..._498, + ..._505, + ..._516, + ..._529, + ..._538 }; } export namespace twap { @@ -247,8 +247,8 @@ export namespace osmosis { ..._298, ..._299, ..._300, - ..._514, - ..._527 + ..._517, + ..._530 }; } export namespace txfees { @@ -257,14 +257,14 @@ export namespace osmosis { ..._302, ..._303, ..._304, - ..._515, - ..._528 + ..._518, + ..._531 }; } export const ClientFactory = { - ..._559, - ..._560, - ..._561, - ..._562 + ..._562, + ..._563, + ..._564, + ..._565 }; } \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/tendermint/bundle.ts b/__fixtures__/v-next/outputhelperfunc/tendermint/bundle.ts index 92960c7e0b..020a60510a 100644 --- a/__fixtures__/v-next/outputhelperfunc/tendermint/bundle.ts +++ b/__fixtures__/v-next/outputhelperfunc/tendermint/bundle.ts @@ -9,13 +9,13 @@ import * as _312 from "./types/params"; import * as _313 from "./types/types"; import * as _314 from "./types/validator"; import * as _315 from "./version/types"; -import * as _538 from "./abci/types.rpc.ABCIApplication"; -import * as _563 from "./lcd"; -import * as _564 from "./rpc.query"; +import * as _541 from "./abci/types.rpc.ABCIApplication"; +import * as _566 from "./lcd"; +import * as _567 from "./rpc.query"; export namespace tendermint { export const abci = { ..._305, - ..._538 + ..._541 }; export const crypto = { ..._306, @@ -40,7 +40,7 @@ export namespace tendermint { ..._315 }; export const ClientFactory = { - ..._563, - ..._564 + ..._566, + ..._567 }; } \ No newline at end of file diff --git a/__fixtures__/v-next/outputhelperfunc/vue-query.ts b/__fixtures__/v-next/outputhelperfunc/vue-query.ts new file mode 100644 index 0000000000..c5ceec6320 --- /dev/null +++ b/__fixtures__/v-next/outputhelperfunc/vue-query.ts @@ -0,0 +1,255 @@ +/** +* This file and any referenced files were automatically generated by @cosmology/telescope@latest +* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain +* and run the transpile command or npm scripts command that is used to regenerate this bundle. +*/ + + + + +import { getRpcClient } from './extern' +import { + isRpc, + Rpc, +} from './helpers' +import { + ITxArgs, + ISigningClient, + StdFee, + DeliverTxResponse, + SigningClientResolver, + RpcResolver, + isISigningClient +} from './helper-func-types' +import { + useQuery, + useQueryClient, + UseQueryOptions, + useMutation, + UseMutationOptions, + QueryKey, +} from '@tanstack/vue-query'; + +import { HttpEndpoint, ProtobufRpcClient } from '@cosmjs/stargate'; +import { CometClient, connectComet, Tendermint34Client, Tendermint37Client } from '@cosmjs/tendermint-rpc'; +import {Ref} from 'vue' + +export const DEFAULT_RPC_CLIENT_QUERY_KEY = 'rpcClient'; +export const DEFAULT_RPC_ENDPOINT_QUERY_KEY = 'rpcEndPoint'; +export const DEFAULT_SIGNING_CLIENT_QUERY_KEY = 'signingClient'; + +export interface CacheResolver { + rpcEndpoint?: string | HttpEndpoint; + clientQueryKey?: string; +} + +export function isCacheResolver(resolver: unknown): resolver is CacheResolver { + return ( + resolver !== null && + resolver !== undefined && + (resolver as CacheResolver).rpcEndpoint !== undefined && + (resolver as CacheResolver).clientQueryKey !== undefined + ); +} + +export interface VueQueryParams { + options?: UseQueryOptions; +} + +export interface UseRpcClientQuery extends VueQueryParams { + clientResolver?: CacheResolver; +} + +export interface UseRpcEndpointQuery extends VueQueryParams { + getter: () => Promise; + rpcEndPointKey?: string; + extraKey?: string +} + +export function useRpcEndpoint({ + getter, + options, + rpcEndPointKey, + extraKey, +}: UseRpcEndpointQuery) { + const key = rpcEndPointKey || DEFAULT_RPC_ENDPOINT_QUERY_KEY; + return useQuery( + { + queryKey: [key, extraKey], + queryFn: async () => { + return await getter(); + }, ...options + } + ); +}; + +export function useRpcClient({ + options, + clientResolver, +}: UseRpcClientQuery) { + const queryClient = useQueryClient(); + + const key = clientResolver?.clientQueryKey || DEFAULT_RPC_CLIENT_QUERY_KEY; + return useQuery({ + queryKey: [key, clientResolver?.rpcEndpoint], + queryFn: async () => { + if (!clientResolver?.rpcEndpoint) { + throw new Error('rpcEndpoint is required'); + } + + const client = await getRpcClient(clientResolver.rpcEndpoint); + if (!client) { + throw new Error('Failed to connect to rpc client'); + } + + queryClient.setQueryData([key], client); + + return client; + }, + ...options + } + ); +} + +interface UseTendermintClient extends VueQueryParams { + rpcEndpoint: string | HttpEndpoint; +} + +/** + * Function that uses vue-query to cache a connected tendermint client. + */ +export function useTendermintClient = ({ + rpcEndpoint, + options, +}: UseTendermintClient) => { + const { data: client } = useQuery({ + queryKey: ['client', 'tendermint', rpcEndpoint], + queryFn: () => connectComet(rpcEndpoint), + ...{ + // allow overriding + onError: (e: any) => { + throw new Error(`Failed to connect to ${rpcEndpoint}` + '\n' + e) + }, + ...options, + } + } + ); + return { client }; +}; + +export interface UseQueryBuilderOptions { + builderQueryFn: ( + clientResolver?: RpcResolver + ) => (request: TReq) => Promise; + queryKeyPrefix: string; +} + +export function buildUseVueQuery( + opts: UseQueryBuilderOptions +) { + return function useBuiltQuery({ + request, + options, + clientResolver, + customizedQueryKey, + }: UseQueryParams) { + const queryClient = useQueryClient(); + let rpcResolver: RpcResolver | undefined; + if (isRpc(clientResolver)) { + rpcResolver = clientResolver; + + } else if (isCacheResolver(clientResolver)) { + const key = clientResolver.clientQueryKey || DEFAULT_RPC_CLIENT_QUERY_KEY; + const queryKey = clientResolver.rpcEndpoint + ? [key, clientResolver.rpcEndpoint] + : [key]; + rpcResolver = queryClient.getQueryData(queryKey); + + if (!rpcResolver && clientResolver.rpcEndpoint) { + rpcResolver = clientResolver.rpcEndpoint; + } + } else { + rpcResolver = clientResolver; + + } + + const queryFn = opts.builderQueryFn(rpcResolver); + return useQuery({ + queryKey: customizedQueryKey || [opts.queryKeyPrefix, request], + queryFn: () => queryFn(request.value), + ...options + } + ); + }; +} + +export interface UseQueryParams + extends VueQueryParams { + request: Ref; + clientResolver?: CacheResolver | RpcResolver; + customizedQueryKey?: QueryKey; +} + +export interface VueMutationParams< + TData, + TError, + TVariables, + TContext = unknown +> { + options?: UseMutationOptions; + clientResolver?: CacheResolver | SigningClientResolver; +} + +export interface UseMutationBuilderOptions { + builderMutationFn: ( + clientResolver?: SigningClientResolver + ) => ( + signerAddress: string, + message: TMsg, + fee: StdFee | 'auto', + memo: string + ) => Promise; +} + +export function buildUseVueMutation( + opts: UseMutationBuilderOptions +) { + return function useBuiltMutation({ + options, + clientResolver, + }: VueMutationParams>) { + const queryClient = useQueryClient(); + + let signingClientResolver: SigningClientResolver | undefined; + + if (isISigningClient(clientResolver)) { + signingClientResolver = clientResolver; + } else if (isCacheResolver(clientResolver)) { + const key = + clientResolver.clientQueryKey || DEFAULT_SIGNING_CLIENT_QUERY_KEY; + const queryKey = clientResolver.rpcEndpoint + ? [key, clientResolver.rpcEndpoint] + : [key]; + signingClientResolver = queryClient.getQueryData( + queryKey + ); + } else { + clientResolver = clientResolver; + } + + const mutationFn = opts.builderMutationFn(signingClientResolver); + + return useMutation>( + { + mutationFn: (reqData: ITxArgs) => + mutationFn( + reqData.signerAddress, + reqData.message, + reqData.fee, + reqData.memo + ), + ...options + } + ); + }; +} diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.func.ts index 61ed91f348..f409c9709f 100644 --- a/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSignProviderAttributes, MsgDeleteProviderAttributes } from "./audit"; export const createSignProviderAttributes = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createSignProviderAttributes = (clientResolver?: SigningClientResol encoders: toEncoders(MsgSignProviderAttributes), converters: toConverters(MsgSignProviderAttributes) }); -export const useSignProviderAttributes = buildUseMutation({ - builderMutationFn: createSignProviderAttributes -}); export const createDeleteProviderAttributes = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDeleteProviderAttributes.typeUrl, encoders: toEncoders(MsgDeleteProviderAttributes), converters: toConverters(MsgDeleteProviderAttributes) -}); -export const useDeleteProviderAttributes = buildUseMutation({ - builderMutationFn: createDeleteProviderAttributes }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.react.ts new file mode 100644 index 0000000000..f4114874d3 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSignProviderAttributes, MsgDeleteProviderAttributes } from "./audit"; +import { createSignProviderAttributes, createDeleteProviderAttributes } from "./audit.rpc.func.ts"; +export const useSignProviderAttributes = buildUseMutation({ + builderMutationFn: createSignProviderAttributes +}); +export const useDeleteProviderAttributes = buildUseMutation({ + builderMutationFn: createDeleteProviderAttributes +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.vue.ts new file mode 100644 index 0000000000..cde26003d2 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta1/audit.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSignProviderAttributes, MsgDeleteProviderAttributes } from "./audit"; +import { createSignProviderAttributes, createDeleteProviderAttributes } from "./audit.rpc.func.ts"; +export const useSignProviderAttributes = buildUseVueMutation({ + builderMutationFn: createSignProviderAttributes +}); +export const useDeleteProviderAttributes = buildUseVueMutation({ + builderMutationFn: createDeleteProviderAttributes +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.func.ts index 61ed91f348..f409c9709f 100644 --- a/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSignProviderAttributes, MsgDeleteProviderAttributes } from "./audit"; export const createSignProviderAttributes = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createSignProviderAttributes = (clientResolver?: SigningClientResol encoders: toEncoders(MsgSignProviderAttributes), converters: toConverters(MsgSignProviderAttributes) }); -export const useSignProviderAttributes = buildUseMutation({ - builderMutationFn: createSignProviderAttributes -}); export const createDeleteProviderAttributes = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDeleteProviderAttributes.typeUrl, encoders: toEncoders(MsgDeleteProviderAttributes), converters: toConverters(MsgDeleteProviderAttributes) -}); -export const useDeleteProviderAttributes = buildUseMutation({ - builderMutationFn: createDeleteProviderAttributes }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.react.ts new file mode 100644 index 0000000000..f4114874d3 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSignProviderAttributes, MsgDeleteProviderAttributes } from "./audit"; +import { createSignProviderAttributes, createDeleteProviderAttributes } from "./audit.rpc.func.ts"; +export const useSignProviderAttributes = buildUseMutation({ + builderMutationFn: createSignProviderAttributes +}); +export const useDeleteProviderAttributes = buildUseMutation({ + builderMutationFn: createDeleteProviderAttributes +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.vue.ts new file mode 100644 index 0000000000..cde26003d2 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/audit.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSignProviderAttributes, MsgDeleteProviderAttributes } from "./audit"; +import { createSignProviderAttributes, createDeleteProviderAttributes } from "./audit.rpc.func.ts"; +export const useSignProviderAttributes = buildUseVueMutation({ + builderMutationFn: createSignProviderAttributes +}); +export const useDeleteProviderAttributes = buildUseVueMutation({ + builderMutationFn: createDeleteProviderAttributes +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.func.ts index a5b4139f68..ea925de398 100644 --- a/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryAllProvidersAttributesRequest, QueryProvidersResponse, QueryProviderAttributesRequest, QueryProviderAuditorRequest, QueryAuditorAttributesRequest } from "./query"; export const createGetAllProvidersAttributes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllProvidersAttributesRequest.encode, @@ -8,10 +7,6 @@ export const createGetAllProvidersAttributes = (clientResolver?: RpcResolver) => method: "AllProvidersAttributes", clientResolver }); -export const useGetAllProvidersAttributes = buildUseQuery({ - builderQueryFn: createGetAllProvidersAttributes, - queryKeyPrefix: "AllProvidersAttributesQuery" -}); export const createGetProviderAttributes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProviderAttributesRequest.encode, decode: QueryProvidersResponse.decode, @@ -19,10 +14,6 @@ export const createGetProviderAttributes = (clientResolver?: RpcResolver) => bui method: "ProviderAttributes", clientResolver }); -export const useGetProviderAttributes = buildUseQuery({ - builderQueryFn: createGetProviderAttributes, - queryKeyPrefix: "ProviderAttributesQuery" -}); export const createGetProviderAuditorAttributes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProviderAuditorRequest.encode, decode: QueryProvidersResponse.decode, @@ -30,18 +21,10 @@ export const createGetProviderAuditorAttributes = (clientResolver?: RpcResolver) method: "ProviderAuditorAttributes", clientResolver }); -export const useGetProviderAuditorAttributes = buildUseQuery({ - builderQueryFn: createGetProviderAuditorAttributes, - queryKeyPrefix: "ProviderAuditorAttributesQuery" -}); export const createGetAuditorAttributes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAuditorAttributesRequest.encode, decode: QueryProvidersResponse.decode, service: "akash.audit.v1beta2.Query", method: "AuditorAttributes", clientResolver -}); -export const useGetAuditorAttributes = buildUseQuery({ - builderQueryFn: createGetAuditorAttributes, - queryKeyPrefix: "AuditorAttributesQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.react.ts new file mode 100644 index 0000000000..6a3da564cd --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.react.ts @@ -0,0 +1,19 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryAllProvidersAttributesRequest, QueryProvidersResponse, QueryProviderAttributesRequest, QueryProviderAuditorRequest, QueryAuditorAttributesRequest } from "./query"; +import { createGetAllProvidersAttributes, createGetProviderAttributes, createGetProviderAuditorAttributes, createGetAuditorAttributes } from "./query.rpc.func.ts"; +export const useGetAllProvidersAttributes = buildUseQuery({ + builderQueryFn: createGetAllProvidersAttributes, + queryKeyPrefix: "AllProvidersAttributesQuery" +}); +export const useGetProviderAttributes = buildUseQuery({ + builderQueryFn: createGetProviderAttributes, + queryKeyPrefix: "ProviderAttributesQuery" +}); +export const useGetProviderAuditorAttributes = buildUseQuery({ + builderQueryFn: createGetProviderAuditorAttributes, + queryKeyPrefix: "ProviderAuditorAttributesQuery" +}); +export const useGetAuditorAttributes = buildUseQuery({ + builderQueryFn: createGetAuditorAttributes, + queryKeyPrefix: "AuditorAttributesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.vue.ts new file mode 100644 index 0000000000..81453ac453 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/audit/v1beta2/query.rpc.vue.ts @@ -0,0 +1,19 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryAllProvidersAttributesRequest, QueryProvidersResponse, QueryProviderAttributesRequest, QueryProviderAuditorRequest, QueryAuditorAttributesRequest } from "./query"; +import { createGetAllProvidersAttributes, createGetProviderAttributes, createGetProviderAuditorAttributes, createGetAuditorAttributes } from "./query.rpc.func.ts"; +export const useGetAllProvidersAttributes = buildUseVueQuery({ + builderQueryFn: createGetAllProvidersAttributes, + queryKeyPrefix: "AllProvidersAttributesQuery" +}); +export const useGetProviderAttributes = buildUseVueQuery({ + builderQueryFn: createGetProviderAttributes, + queryKeyPrefix: "ProviderAttributesQuery" +}); +export const useGetProviderAuditorAttributes = buildUseVueQuery({ + builderQueryFn: createGetProviderAuditorAttributes, + queryKeyPrefix: "ProviderAuditorAttributesQuery" +}); +export const useGetAuditorAttributes = buildUseVueQuery({ + builderQueryFn: createGetAuditorAttributes, + queryKeyPrefix: "AuditorAttributesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.func.ts index ada694fe37..9c287e21f3 100644 --- a/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateCertificate, MsgRevokeCertificate } from "./cert"; export const createCreateCertificate = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createCreateCertificate = (clientResolver?: SigningClientResolver) encoders: toEncoders(MsgCreateCertificate), converters: toConverters(MsgCreateCertificate) }); -export const useCreateCertificate = buildUseMutation({ - builderMutationFn: createCreateCertificate -}); export const createRevokeCertificate = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgRevokeCertificate.typeUrl, encoders: toEncoders(MsgRevokeCertificate), converters: toConverters(MsgRevokeCertificate) -}); -export const useRevokeCertificate = buildUseMutation({ - builderMutationFn: createRevokeCertificate }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.react.ts new file mode 100644 index 0000000000..084b8515d0 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateCertificate, MsgRevokeCertificate } from "./cert"; +import { createCreateCertificate, createRevokeCertificate } from "./cert.rpc.func.ts"; +export const useCreateCertificate = buildUseMutation({ + builderMutationFn: createCreateCertificate +}); +export const useRevokeCertificate = buildUseMutation({ + builderMutationFn: createRevokeCertificate +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.vue.ts new file mode 100644 index 0000000000..e70e24ae57 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/cert.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateCertificate, MsgRevokeCertificate } from "./cert"; +import { createCreateCertificate, createRevokeCertificate } from "./cert.rpc.func.ts"; +export const useCreateCertificate = buildUseVueMutation({ + builderMutationFn: createCreateCertificate +}); +export const useRevokeCertificate = buildUseVueMutation({ + builderMutationFn: createRevokeCertificate +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.func.ts index 6aa12e3885..3a6d1d2cd0 100644 --- a/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryCertificatesRequest, QueryCertificatesResponse } from "./query"; export const createGetCertificates = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCertificatesRequest.encode, @@ -7,8 +6,4 @@ export const createGetCertificates = (clientResolver?: RpcResolver) => buildQuer service: "akash.cert.v1beta2.Query", method: "Certificates", clientResolver -}); -export const useGetCertificates = buildUseQuery({ - builderQueryFn: createGetCertificates, - queryKeyPrefix: "CertificatesQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.react.ts new file mode 100644 index 0000000000..30d7e27124 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.react.ts @@ -0,0 +1,7 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryCertificatesRequest, QueryCertificatesResponse } from "./query"; +import { createGetCertificates } from "./query.rpc.func.ts"; +export const useGetCertificates = buildUseQuery({ + builderQueryFn: createGetCertificates, + queryKeyPrefix: "CertificatesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.vue.ts new file mode 100644 index 0000000000..d621fa3822 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/cert/v1beta2/query.rpc.vue.ts @@ -0,0 +1,7 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryCertificatesRequest, QueryCertificatesResponse } from "./query"; +import { createGetCertificates } from "./query.rpc.func.ts"; +export const useGetCertificates = buildUseVueQuery({ + builderQueryFn: createGetCertificates, + queryKeyPrefix: "CertificatesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.func.ts index 2c96d5263d..f942a135f0 100644 --- a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.func.ts @@ -1,7 +1,6 @@ import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./group"; import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateDeployment, MsgDepositDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deployment"; export const createCreateDeployment = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -9,60 +8,39 @@ export const createCreateDeployment = (clientResolver?: SigningClientResolver) = encoders: toEncoders(MsgCreateDeployment), converters: toConverters(MsgCreateDeployment) }); -export const useCreateDeployment = buildUseMutation({ - builderMutationFn: createCreateDeployment -}); export const createDepositDeployment = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDepositDeployment.typeUrl, encoders: toEncoders(MsgDepositDeployment), converters: toConverters(MsgDepositDeployment) }); -export const useDepositDeployment = buildUseMutation({ - builderMutationFn: createDepositDeployment -}); export const createUpdateDeployment = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateDeployment.typeUrl, encoders: toEncoders(MsgUpdateDeployment), converters: toConverters(MsgUpdateDeployment) }); -export const useUpdateDeployment = buildUseMutation({ - builderMutationFn: createUpdateDeployment -}); export const createCloseDeployment = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCloseDeployment.typeUrl, encoders: toEncoders(MsgCloseDeployment), converters: toConverters(MsgCloseDeployment) }); -export const useCloseDeployment = buildUseMutation({ - builderMutationFn: createCloseDeployment -}); export const createCloseGroup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCloseGroup.typeUrl, encoders: toEncoders(MsgCloseGroup), converters: toConverters(MsgCloseGroup) }); -export const useCloseGroup = buildUseMutation({ - builderMutationFn: createCloseGroup -}); export const createPauseGroup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgPauseGroup.typeUrl, encoders: toEncoders(MsgPauseGroup), converters: toConverters(MsgPauseGroup) }); -export const usePauseGroup = buildUseMutation({ - builderMutationFn: createPauseGroup -}); export const createStartGroup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgStartGroup.typeUrl, encoders: toEncoders(MsgStartGroup), converters: toConverters(MsgStartGroup) -}); -export const useStartGroup = buildUseMutation({ - builderMutationFn: createStartGroup }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.react.ts new file mode 100644 index 0000000000..2adbd583d8 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.react.ts @@ -0,0 +1,25 @@ +import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./group"; +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateDeployment, MsgDepositDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deployment"; +import { createCreateDeployment, createDepositDeployment, createUpdateDeployment, createCloseDeployment, createCloseGroup, createPauseGroup, createStartGroup } from "./deployment.rpc.func.ts"; +export const useCreateDeployment = buildUseMutation({ + builderMutationFn: createCreateDeployment +}); +export const useDepositDeployment = buildUseMutation({ + builderMutationFn: createDepositDeployment +}); +export const useUpdateDeployment = buildUseMutation({ + builderMutationFn: createUpdateDeployment +}); +export const useCloseDeployment = buildUseMutation({ + builderMutationFn: createCloseDeployment +}); +export const useCloseGroup = buildUseMutation({ + builderMutationFn: createCloseGroup +}); +export const usePauseGroup = buildUseMutation({ + builderMutationFn: createPauseGroup +}); +export const useStartGroup = buildUseMutation({ + builderMutationFn: createStartGroup +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.vue.ts new file mode 100644 index 0000000000..f306824961 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/deployment.rpc.vue.ts @@ -0,0 +1,25 @@ +import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./group"; +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateDeployment, MsgDepositDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deployment"; +import { createCreateDeployment, createDepositDeployment, createUpdateDeployment, createCloseDeployment, createCloseGroup, createPauseGroup, createStartGroup } from "./deployment.rpc.func.ts"; +export const useCreateDeployment = buildUseVueMutation({ + builderMutationFn: createCreateDeployment +}); +export const useDepositDeployment = buildUseVueMutation({ + builderMutationFn: createDepositDeployment +}); +export const useUpdateDeployment = buildUseVueMutation({ + builderMutationFn: createUpdateDeployment +}); +export const useCloseDeployment = buildUseVueMutation({ + builderMutationFn: createCloseDeployment +}); +export const useCloseGroup = buildUseVueMutation({ + builderMutationFn: createCloseGroup +}); +export const usePauseGroup = buildUseVueMutation({ + builderMutationFn: createPauseGroup +}); +export const useStartGroup = buildUseVueMutation({ + builderMutationFn: createStartGroup +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.func.ts index 93f2f0ed59..483ac46646 100644 --- a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryDeploymentsRequest, QueryDeploymentsResponse, QueryDeploymentRequest, QueryDeploymentResponse, QueryGroupRequest, QueryGroupResponse } from "./query"; export const createGetDeployments = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDeploymentsRequest.encode, @@ -8,10 +7,6 @@ export const createGetDeployments = (clientResolver?: RpcResolver) => buildQuery method: "Deployments", clientResolver }); -export const useGetDeployments = buildUseQuery({ - builderQueryFn: createGetDeployments, - queryKeyPrefix: "DeploymentsQuery" -}); export const createGetDeployment = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDeploymentRequest.encode, decode: QueryDeploymentResponse.decode, @@ -19,18 +14,10 @@ export const createGetDeployment = (clientResolver?: RpcResolver) => buildQuery< method: "Deployment", clientResolver }); -export const useGetDeployment = buildUseQuery({ - builderQueryFn: createGetDeployment, - queryKeyPrefix: "DeploymentQuery" -}); export const createGetGroup = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupRequest.encode, decode: QueryGroupResponse.decode, service: "akash.deployment.v1beta1.Query", method: "Group", clientResolver -}); -export const useGetGroup = buildUseQuery({ - builderQueryFn: createGetGroup, - queryKeyPrefix: "GroupQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..da5d38469e --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryDeploymentsRequest, QueryDeploymentsResponse, QueryDeploymentRequest, QueryDeploymentResponse, QueryGroupRequest, QueryGroupResponse } from "./query"; +import { createGetDeployments, createGetDeployment, createGetGroup } from "./query.rpc.func.ts"; +export const useGetDeployments = buildUseQuery({ + builderQueryFn: createGetDeployments, + queryKeyPrefix: "DeploymentsQuery" +}); +export const useGetDeployment = buildUseQuery({ + builderQueryFn: createGetDeployment, + queryKeyPrefix: "DeploymentQuery" +}); +export const useGetGroup = buildUseQuery({ + builderQueryFn: createGetGroup, + queryKeyPrefix: "GroupQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..f21b839bd2 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryDeploymentsRequest, QueryDeploymentsResponse, QueryDeploymentRequest, QueryDeploymentResponse, QueryGroupRequest, QueryGroupResponse } from "./query"; +import { createGetDeployments, createGetDeployment, createGetGroup } from "./query.rpc.func.ts"; +export const useGetDeployments = buildUseVueQuery({ + builderQueryFn: createGetDeployments, + queryKeyPrefix: "DeploymentsQuery" +}); +export const useGetDeployment = buildUseVueQuery({ + builderQueryFn: createGetDeployment, + queryKeyPrefix: "DeploymentQuery" +}); +export const useGetGroup = buildUseVueQuery({ + builderQueryFn: createGetGroup, + queryKeyPrefix: "GroupQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.func.ts index 59293fdb7c..9f6ae61f58 100644 --- a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryDeploymentsRequest, QueryDeploymentsResponse, QueryDeploymentRequest, QueryDeploymentResponse, QueryGroupRequest, QueryGroupResponse } from "./query"; export const createGetDeployments = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDeploymentsRequest.encode, @@ -8,10 +7,6 @@ export const createGetDeployments = (clientResolver?: RpcResolver) => buildQuery method: "Deployments", clientResolver }); -export const useGetDeployments = buildUseQuery({ - builderQueryFn: createGetDeployments, - queryKeyPrefix: "DeploymentsQuery" -}); export const createGetDeployment = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDeploymentRequest.encode, decode: QueryDeploymentResponse.decode, @@ -19,18 +14,10 @@ export const createGetDeployment = (clientResolver?: RpcResolver) => buildQuery< method: "Deployment", clientResolver }); -export const useGetDeployment = buildUseQuery({ - builderQueryFn: createGetDeployment, - queryKeyPrefix: "DeploymentQuery" -}); export const createGetGroup = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupRequest.encode, decode: QueryGroupResponse.decode, service: "akash.deployment.v1beta2.Query", method: "Group", clientResolver -}); -export const useGetGroup = buildUseQuery({ - builderQueryFn: createGetGroup, - queryKeyPrefix: "GroupQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.react.ts new file mode 100644 index 0000000000..da5d38469e --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryDeploymentsRequest, QueryDeploymentsResponse, QueryDeploymentRequest, QueryDeploymentResponse, QueryGroupRequest, QueryGroupResponse } from "./query"; +import { createGetDeployments, createGetDeployment, createGetGroup } from "./query.rpc.func.ts"; +export const useGetDeployments = buildUseQuery({ + builderQueryFn: createGetDeployments, + queryKeyPrefix: "DeploymentsQuery" +}); +export const useGetDeployment = buildUseQuery({ + builderQueryFn: createGetDeployment, + queryKeyPrefix: "DeploymentQuery" +}); +export const useGetGroup = buildUseQuery({ + builderQueryFn: createGetGroup, + queryKeyPrefix: "GroupQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.vue.ts new file mode 100644 index 0000000000..f21b839bd2 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryDeploymentsRequest, QueryDeploymentsResponse, QueryDeploymentRequest, QueryDeploymentResponse, QueryGroupRequest, QueryGroupResponse } from "./query"; +import { createGetDeployments, createGetDeployment, createGetGroup } from "./query.rpc.func.ts"; +export const useGetDeployments = buildUseVueQuery({ + builderQueryFn: createGetDeployments, + queryKeyPrefix: "DeploymentsQuery" +}); +export const useGetDeployment = buildUseVueQuery({ + builderQueryFn: createGetDeployment, + queryKeyPrefix: "DeploymentQuery" +}); +export const useGetGroup = buildUseVueQuery({ + builderQueryFn: createGetGroup, + queryKeyPrefix: "GroupQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.func.ts index 8960a6ecae..0a3f4e307b 100644 --- a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateDeployment, MsgDepositDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deploymentmsg"; import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./groupmsg"; export const createCreateDeployment = (clientResolver?: SigningClientResolver) => buildTx({ @@ -9,60 +8,39 @@ export const createCreateDeployment = (clientResolver?: SigningClientResolver) = encoders: toEncoders(MsgCreateDeployment), converters: toConverters(MsgCreateDeployment) }); -export const useCreateDeployment = buildUseMutation({ - builderMutationFn: createCreateDeployment -}); export const createDepositDeployment = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDepositDeployment.typeUrl, encoders: toEncoders(MsgDepositDeployment), converters: toConverters(MsgDepositDeployment) }); -export const useDepositDeployment = buildUseMutation({ - builderMutationFn: createDepositDeployment -}); export const createUpdateDeployment = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateDeployment.typeUrl, encoders: toEncoders(MsgUpdateDeployment), converters: toConverters(MsgUpdateDeployment) }); -export const useUpdateDeployment = buildUseMutation({ - builderMutationFn: createUpdateDeployment -}); export const createCloseDeployment = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCloseDeployment.typeUrl, encoders: toEncoders(MsgCloseDeployment), converters: toConverters(MsgCloseDeployment) }); -export const useCloseDeployment = buildUseMutation({ - builderMutationFn: createCloseDeployment -}); export const createCloseGroup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCloseGroup.typeUrl, encoders: toEncoders(MsgCloseGroup), converters: toConverters(MsgCloseGroup) }); -export const useCloseGroup = buildUseMutation({ - builderMutationFn: createCloseGroup -}); export const createPauseGroup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgPauseGroup.typeUrl, encoders: toEncoders(MsgPauseGroup), converters: toConverters(MsgPauseGroup) }); -export const usePauseGroup = buildUseMutation({ - builderMutationFn: createPauseGroup -}); export const createStartGroup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgStartGroup.typeUrl, encoders: toEncoders(MsgStartGroup), converters: toConverters(MsgStartGroup) -}); -export const useStartGroup = buildUseMutation({ - builderMutationFn: createStartGroup }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.react.ts new file mode 100644 index 0000000000..d8f5a3b3b2 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.react.ts @@ -0,0 +1,25 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateDeployment, MsgDepositDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deploymentmsg"; +import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./groupmsg"; +import { createCreateDeployment, createDepositDeployment, createUpdateDeployment, createCloseDeployment, createCloseGroup, createPauseGroup, createStartGroup } from "./service.rpc.func.ts"; +export const useCreateDeployment = buildUseMutation({ + builderMutationFn: createCreateDeployment +}); +export const useDepositDeployment = buildUseMutation({ + builderMutationFn: createDepositDeployment +}); +export const useUpdateDeployment = buildUseMutation({ + builderMutationFn: createUpdateDeployment +}); +export const useCloseDeployment = buildUseMutation({ + builderMutationFn: createCloseDeployment +}); +export const useCloseGroup = buildUseMutation({ + builderMutationFn: createCloseGroup +}); +export const usePauseGroup = buildUseMutation({ + builderMutationFn: createPauseGroup +}); +export const useStartGroup = buildUseMutation({ + builderMutationFn: createStartGroup +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.vue.ts new file mode 100644 index 0000000000..2676d3e5f2 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/deployment/v1beta2/service.rpc.vue.ts @@ -0,0 +1,25 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateDeployment, MsgDepositDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deploymentmsg"; +import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./groupmsg"; +import { createCreateDeployment, createDepositDeployment, createUpdateDeployment, createCloseDeployment, createCloseGroup, createPauseGroup, createStartGroup } from "./service.rpc.func.ts"; +export const useCreateDeployment = buildUseVueMutation({ + builderMutationFn: createCreateDeployment +}); +export const useDepositDeployment = buildUseVueMutation({ + builderMutationFn: createDepositDeployment +}); +export const useUpdateDeployment = buildUseVueMutation({ + builderMutationFn: createUpdateDeployment +}); +export const useCloseDeployment = buildUseVueMutation({ + builderMutationFn: createCloseDeployment +}); +export const useCloseGroup = buildUseVueMutation({ + builderMutationFn: createCloseGroup +}); +export const usePauseGroup = buildUseVueMutation({ + builderMutationFn: createPauseGroup +}); +export const useStartGroup = buildUseVueMutation({ + builderMutationFn: createStartGroup +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.func.ts index 360629d1f7..04afd85d8d 100644 --- a/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryAccountsRequest, QueryAccountsResponse, QueryPaymentsRequest, QueryPaymentsResponse } from "./query"; export const createGetAccounts = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAccountsRequest.encode, @@ -8,18 +7,10 @@ export const createGetAccounts = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetAccounts, - queryKeyPrefix: "AccountsQuery" -}); export const createGetPayments = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPaymentsRequest.encode, decode: QueryPaymentsResponse.decode, service: "akash.escrow.v1beta1.Query", method: "Payments", clientResolver -}); -export const useGetPayments = buildUseQuery({ - builderQueryFn: createGetPayments, - queryKeyPrefix: "PaymentsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..a577f877ab --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryPaymentsRequest, QueryPaymentsResponse } from "./query"; +import { createGetAccounts, createGetPayments } from "./query.rpc.func.ts"; +export const useGetAccounts = buildUseQuery({ + builderQueryFn: createGetAccounts, + queryKeyPrefix: "AccountsQuery" +}); +export const useGetPayments = buildUseQuery({ + builderQueryFn: createGetPayments, + queryKeyPrefix: "PaymentsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..365f40b8ea --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta1/query.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryPaymentsRequest, QueryPaymentsResponse } from "./query"; +import { createGetAccounts, createGetPayments } from "./query.rpc.func.ts"; +export const useGetAccounts = buildUseVueQuery({ + builderQueryFn: createGetAccounts, + queryKeyPrefix: "AccountsQuery" +}); +export const useGetPayments = buildUseVueQuery({ + builderQueryFn: createGetPayments, + queryKeyPrefix: "PaymentsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.func.ts index 4784f78024..7d75328e1c 100644 --- a/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryAccountsRequest, QueryAccountsResponse, QueryPaymentsRequest, QueryPaymentsResponse } from "./query"; export const createGetAccounts = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAccountsRequest.encode, @@ -8,18 +7,10 @@ export const createGetAccounts = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetAccounts, - queryKeyPrefix: "AccountsQuery" -}); export const createGetPayments = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPaymentsRequest.encode, decode: QueryPaymentsResponse.decode, service: "akash.escrow.v1beta2.Query", method: "Payments", clientResolver -}); -export const useGetPayments = buildUseQuery({ - builderQueryFn: createGetPayments, - queryKeyPrefix: "PaymentsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.react.ts new file mode 100644 index 0000000000..a577f877ab --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryPaymentsRequest, QueryPaymentsResponse } from "./query"; +import { createGetAccounts, createGetPayments } from "./query.rpc.func.ts"; +export const useGetAccounts = buildUseQuery({ + builderQueryFn: createGetAccounts, + queryKeyPrefix: "AccountsQuery" +}); +export const useGetPayments = buildUseQuery({ + builderQueryFn: createGetPayments, + queryKeyPrefix: "PaymentsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.vue.ts new file mode 100644 index 0000000000..365f40b8ea --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/escrow/v1beta2/query.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryPaymentsRequest, QueryPaymentsResponse } from "./query"; +import { createGetAccounts, createGetPayments } from "./query.rpc.func.ts"; +export const useGetAccounts = buildUseVueQuery({ + builderQueryFn: createGetAccounts, + queryKeyPrefix: "AccountsQuery" +}); +export const useGetPayments = buildUseVueQuery({ + builderQueryFn: createGetPayments, + queryKeyPrefix: "PaymentsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.func.ts index 5ac30fa892..667e8d63eb 100644 --- a/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse } from "./query"; export const createGetOrders = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryOrdersRequest.encode, @@ -8,10 +7,6 @@ export const createGetOrders = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetOrders, - queryKeyPrefix: "OrdersQuery" -}); export const createGetOrder = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryOrderRequest.encode, decode: QueryOrderResponse.decode, @@ -19,10 +14,6 @@ export const createGetOrder = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetOrder, - queryKeyPrefix: "OrderQuery" -}); export const createGetBids = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryBidsRequest.encode, decode: QueryBidsResponse.decode, @@ -30,10 +21,6 @@ export const createGetBids = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetBids, - queryKeyPrefix: "BidsQuery" -}); export const createGetBid = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryBidRequest.encode, decode: QueryBidResponse.decode, @@ -41,10 +28,6 @@ export const createGetBid = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetBid, - queryKeyPrefix: "BidQuery" -}); export const createGetLeases = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryLeasesRequest.encode, decode: QueryLeasesResponse.decode, @@ -52,18 +35,10 @@ export const createGetLeases = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetLeases, - queryKeyPrefix: "LeasesQuery" -}); export const createGetLease = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryLeaseRequest.encode, decode: QueryLeaseResponse.decode, service: "akash.market.v1beta2.Query", method: "Lease", clientResolver -}); -export const useGetLease = buildUseQuery({ - builderQueryFn: createGetLease, - queryKeyPrefix: "LeaseQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.react.ts new file mode 100644 index 0000000000..befe992e34 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.react.ts @@ -0,0 +1,27 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse } from "./query"; +import { createGetOrders, createGetOrder, createGetBids, createGetBid, createGetLeases, createGetLease } from "./query.rpc.func.ts"; +export const useGetOrders = buildUseQuery({ + builderQueryFn: createGetOrders, + queryKeyPrefix: "OrdersQuery" +}); +export const useGetOrder = buildUseQuery({ + builderQueryFn: createGetOrder, + queryKeyPrefix: "OrderQuery" +}); +export const useGetBids = buildUseQuery({ + builderQueryFn: createGetBids, + queryKeyPrefix: "BidsQuery" +}); +export const useGetBid = buildUseQuery({ + builderQueryFn: createGetBid, + queryKeyPrefix: "BidQuery" +}); +export const useGetLeases = buildUseQuery({ + builderQueryFn: createGetLeases, + queryKeyPrefix: "LeasesQuery" +}); +export const useGetLease = buildUseQuery({ + builderQueryFn: createGetLease, + queryKeyPrefix: "LeaseQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.vue.ts new file mode 100644 index 0000000000..8803ffe7cb --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/query.rpc.vue.ts @@ -0,0 +1,27 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse } from "./query"; +import { createGetOrders, createGetOrder, createGetBids, createGetBid, createGetLeases, createGetLease } from "./query.rpc.func.ts"; +export const useGetOrders = buildUseVueQuery({ + builderQueryFn: createGetOrders, + queryKeyPrefix: "OrdersQuery" +}); +export const useGetOrder = buildUseVueQuery({ + builderQueryFn: createGetOrder, + queryKeyPrefix: "OrderQuery" +}); +export const useGetBids = buildUseVueQuery({ + builderQueryFn: createGetBids, + queryKeyPrefix: "BidsQuery" +}); +export const useGetBid = buildUseVueQuery({ + builderQueryFn: createGetBid, + queryKeyPrefix: "BidQuery" +}); +export const useGetLeases = buildUseVueQuery({ + builderQueryFn: createGetLeases, + queryKeyPrefix: "LeasesQuery" +}); +export const useGetLease = buildUseVueQuery({ + builderQueryFn: createGetLease, + queryKeyPrefix: "LeaseQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.func.ts index d40d03914c..8ec4bc431b 100644 --- a/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.func.ts @@ -2,49 +2,33 @@ import { MsgCreateBid, MsgCloseBid } from "./bid"; import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./lease"; import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; export const createCreateBid = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCreateBid.typeUrl, encoders: toEncoders(MsgCreateBid), converters: toConverters(MsgCreateBid) }); -export const useCreateBid = buildUseMutation({ - builderMutationFn: createCreateBid -}); export const createCloseBid = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCloseBid.typeUrl, encoders: toEncoders(MsgCloseBid), converters: toConverters(MsgCloseBid) }); -export const useCloseBid = buildUseMutation({ - builderMutationFn: createCloseBid -}); export const createWithdrawLease = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgWithdrawLease.typeUrl, encoders: toEncoders(MsgWithdrawLease), converters: toConverters(MsgWithdrawLease) }); -export const useWithdrawLease = buildUseMutation({ - builderMutationFn: createWithdrawLease -}); export const createCreateLease = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCreateLease.typeUrl, encoders: toEncoders(MsgCreateLease), converters: toConverters(MsgCreateLease) }); -export const useCreateLease = buildUseMutation({ - builderMutationFn: createCreateLease -}); export const createCloseLease = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCloseLease.typeUrl, encoders: toEncoders(MsgCloseLease), converters: toConverters(MsgCloseLease) -}); -export const useCloseLease = buildUseMutation({ - builderMutationFn: createCloseLease }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.react.ts new file mode 100644 index 0000000000..c04c7b9db9 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.react.ts @@ -0,0 +1,19 @@ +import { MsgCreateBid, MsgCloseBid } from "./bid"; +import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./lease"; +import { buildUseMutation } from "../../../react-query"; +import { createCreateBid, createCloseBid, createWithdrawLease, createCreateLease, createCloseLease } from "./service.rpc.func.ts"; +export const useCreateBid = buildUseMutation({ + builderMutationFn: createCreateBid +}); +export const useCloseBid = buildUseMutation({ + builderMutationFn: createCloseBid +}); +export const useWithdrawLease = buildUseMutation({ + builderMutationFn: createWithdrawLease +}); +export const useCreateLease = buildUseMutation({ + builderMutationFn: createCreateLease +}); +export const useCloseLease = buildUseMutation({ + builderMutationFn: createCloseLease +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.vue.ts new file mode 100644 index 0000000000..9e23b24c31 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/market/v1beta2/service.rpc.vue.ts @@ -0,0 +1,19 @@ +import { MsgCreateBid, MsgCloseBid } from "./bid"; +import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./lease"; +import { buildUseVueMutation } from "../../../vue-query"; +import { createCreateBid, createCloseBid, createWithdrawLease, createCreateLease, createCloseLease } from "./service.rpc.func.ts"; +export const useCreateBid = buildUseVueMutation({ + builderMutationFn: createCreateBid +}); +export const useCloseBid = buildUseVueMutation({ + builderMutationFn: createCloseBid +}); +export const useWithdrawLease = buildUseVueMutation({ + builderMutationFn: createWithdrawLease +}); +export const useCreateLease = buildUseVueMutation({ + builderMutationFn: createCreateLease +}); +export const useCloseLease = buildUseVueMutation({ + builderMutationFn: createCloseLease +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.func.ts index 4316bfa757..d3517321f7 100644 --- a/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./provider"; export const createCreateProvider = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,24 +7,15 @@ export const createCreateProvider = (clientResolver?: SigningClientResolver) => encoders: toEncoders(MsgCreateProvider), converters: toConverters(MsgCreateProvider) }); -export const useCreateProvider = buildUseMutation({ - builderMutationFn: createCreateProvider -}); export const createUpdateProvider = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateProvider.typeUrl, encoders: toEncoders(MsgUpdateProvider), converters: toConverters(MsgUpdateProvider) }); -export const useUpdateProvider = buildUseMutation({ - builderMutationFn: createUpdateProvider -}); export const createDeleteProvider = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDeleteProvider.typeUrl, encoders: toEncoders(MsgDeleteProvider), converters: toConverters(MsgDeleteProvider) -}); -export const useDeleteProvider = buildUseMutation({ - builderMutationFn: createDeleteProvider }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.react.ts new file mode 100644 index 0000000000..33139e4a25 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.react.ts @@ -0,0 +1,12 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./provider"; +import { createCreateProvider, createUpdateProvider, createDeleteProvider } from "./provider.rpc.func.ts"; +export const useCreateProvider = buildUseMutation({ + builderMutationFn: createCreateProvider +}); +export const useUpdateProvider = buildUseMutation({ + builderMutationFn: createUpdateProvider +}); +export const useDeleteProvider = buildUseMutation({ + builderMutationFn: createDeleteProvider +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.vue.ts new file mode 100644 index 0000000000..73124d42b9 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta1/provider.rpc.vue.ts @@ -0,0 +1,12 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./provider"; +import { createCreateProvider, createUpdateProvider, createDeleteProvider } from "./provider.rpc.func.ts"; +export const useCreateProvider = buildUseVueMutation({ + builderMutationFn: createCreateProvider +}); +export const useUpdateProvider = buildUseVueMutation({ + builderMutationFn: createUpdateProvider +}); +export const useDeleteProvider = buildUseVueMutation({ + builderMutationFn: createDeleteProvider +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.func.ts index 4316bfa757..d3517321f7 100644 --- a/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./provider"; export const createCreateProvider = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,24 +7,15 @@ export const createCreateProvider = (clientResolver?: SigningClientResolver) => encoders: toEncoders(MsgCreateProvider), converters: toConverters(MsgCreateProvider) }); -export const useCreateProvider = buildUseMutation({ - builderMutationFn: createCreateProvider -}); export const createUpdateProvider = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateProvider.typeUrl, encoders: toEncoders(MsgUpdateProvider), converters: toConverters(MsgUpdateProvider) }); -export const useUpdateProvider = buildUseMutation({ - builderMutationFn: createUpdateProvider -}); export const createDeleteProvider = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDeleteProvider.typeUrl, encoders: toEncoders(MsgDeleteProvider), converters: toConverters(MsgDeleteProvider) -}); -export const useDeleteProvider = buildUseMutation({ - builderMutationFn: createDeleteProvider }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.react.ts new file mode 100644 index 0000000000..33139e4a25 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.react.ts @@ -0,0 +1,12 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./provider"; +import { createCreateProvider, createUpdateProvider, createDeleteProvider } from "./provider.rpc.func.ts"; +export const useCreateProvider = buildUseMutation({ + builderMutationFn: createCreateProvider +}); +export const useUpdateProvider = buildUseMutation({ + builderMutationFn: createUpdateProvider +}); +export const useDeleteProvider = buildUseMutation({ + builderMutationFn: createDeleteProvider +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.vue.ts new file mode 100644 index 0000000000..73124d42b9 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/provider.rpc.vue.ts @@ -0,0 +1,12 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./provider"; +import { createCreateProvider, createUpdateProvider, createDeleteProvider } from "./provider.rpc.func.ts"; +export const useCreateProvider = buildUseVueMutation({ + builderMutationFn: createCreateProvider +}); +export const useUpdateProvider = buildUseVueMutation({ + builderMutationFn: createUpdateProvider +}); +export const useDeleteProvider = buildUseVueMutation({ + builderMutationFn: createDeleteProvider +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.func.ts index d703290f4a..aef0606000 100644 --- a/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryProvidersRequest, QueryProvidersResponse, QueryProviderRequest, QueryProviderResponse } from "./query"; export const createGetProviders = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProvidersRequest.encode, @@ -8,18 +7,10 @@ export const createGetProviders = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetProviders, - queryKeyPrefix: "ProvidersQuery" -}); export const createGetProvider = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProviderRequest.encode, decode: QueryProviderResponse.decode, service: "akash.provider.v1beta2.Query", method: "Provider", clientResolver -}); -export const useGetProvider = buildUseQuery({ - builderQueryFn: createGetProvider, - queryKeyPrefix: "ProviderQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.react.ts new file mode 100644 index 0000000000..873bbb19a8 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryProvidersRequest, QueryProvidersResponse, QueryProviderRequest, QueryProviderResponse } from "./query"; +import { createGetProviders, createGetProvider } from "./query.rpc.func.ts"; +export const useGetProviders = buildUseQuery({ + builderQueryFn: createGetProviders, + queryKeyPrefix: "ProvidersQuery" +}); +export const useGetProvider = buildUseQuery({ + builderQueryFn: createGetProvider, + queryKeyPrefix: "ProviderQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.vue.ts new file mode 100644 index 0000000000..bdc8d2d8c8 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/akash/provider/v1beta2/query.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryProvidersRequest, QueryProvidersResponse, QueryProviderRequest, QueryProviderResponse } from "./query"; +import { createGetProviders, createGetProvider } from "./query.rpc.func.ts"; +export const useGetProviders = buildUseVueQuery({ + builderQueryFn: createGetProviders, + queryKeyPrefix: "ProvidersQuery" +}); +export const useGetProvider = buildUseVueQuery({ + builderQueryFn: createGetProvider, + queryKeyPrefix: "ProviderQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.func.ts index da2da1acab..32b7aad1ec 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryConfigRequest, QueryConfigResponse } from "./query"; export const createGetConfig = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryConfigRequest.encode, @@ -7,8 +6,4 @@ export const createGetConfig = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetConfig, - queryKeyPrefix: "ConfigQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.react.ts new file mode 100644 index 0000000000..8a6a48d0a7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.react.ts @@ -0,0 +1,7 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryConfigRequest, QueryConfigResponse } from "./query"; +import { createGetConfig } from "./query.rpc.func.ts"; +export const useGetConfig = buildUseQuery({ + builderQueryFn: createGetConfig, + queryKeyPrefix: "ConfigQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.vue.ts new file mode 100644 index 0000000000..e40053f069 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/app/v1alpha1/query.rpc.vue.ts @@ -0,0 +1,7 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryConfigRequest, QueryConfigResponse } from "./query"; +import { createGetConfig } from "./query.rpc.func.ts"; +export const useGetConfig = buildUseVueQuery({ + builderQueryFn: createGetConfig, + queryKeyPrefix: "ConfigQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.func.ts index e64f51fd89..40c64b481a 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; export const createGetAccounts = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAccountsRequest.encode, @@ -8,10 +7,6 @@ export const createGetAccounts = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetAccounts, - queryKeyPrefix: "AccountsQuery" -}); export const createGetAccount = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAccountRequest.encode, decode: QueryAccountResponse.decode, @@ -19,10 +14,6 @@ export const createGetAccount = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetAccount, - queryKeyPrefix: "AccountQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -30,10 +21,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetModuleAccounts = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryModuleAccountsRequest.encode, decode: QueryModuleAccountsResponse.decode, @@ -41,10 +28,6 @@ export const createGetModuleAccounts = (clientResolver?: RpcResolver) => buildQu method: "ModuleAccounts", clientResolver }); -export const useGetModuleAccounts = buildUseQuery({ - builderQueryFn: createGetModuleAccounts, - queryKeyPrefix: "ModuleAccountsQuery" -}); export const createGetBech32Prefix = (clientResolver?: RpcResolver) => buildQuery({ encode: Bech32PrefixRequest.encode, decode: Bech32PrefixResponse.decode, @@ -52,10 +35,6 @@ export const createGetBech32Prefix = (clientResolver?: RpcResolver) => buildQuer method: "Bech32Prefix", clientResolver }); -export const useGetBech32Prefix = buildUseQuery({ - builderQueryFn: createGetBech32Prefix, - queryKeyPrefix: "Bech32PrefixQuery" -}); export const createGetAddressBytesToString = (clientResolver?: RpcResolver) => buildQuery({ encode: AddressBytesToStringRequest.encode, decode: AddressBytesToStringResponse.decode, @@ -63,18 +42,10 @@ export const createGetAddressBytesToString = (clientResolver?: RpcResolver) => b method: "AddressBytesToString", clientResolver }); -export const useGetAddressBytesToString = buildUseQuery({ - builderQueryFn: createGetAddressBytesToString, - queryKeyPrefix: "AddressBytesToStringQuery" -}); export const createGetAddressStringToBytes = (clientResolver?: RpcResolver) => buildQuery({ encode: AddressStringToBytesRequest.encode, decode: AddressStringToBytesResponse.decode, service: "cosmos.auth.v1beta1.Query", method: "AddressStringToBytes", clientResolver -}); -export const useGetAddressStringToBytes = buildUseQuery({ - builderQueryFn: createGetAddressStringToBytes, - queryKeyPrefix: "AddressStringToBytesQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..b9fba75ca9 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.react.ts @@ -0,0 +1,31 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; +import { createGetAccounts, createGetAccount, createGetParams, createGetModuleAccounts, createGetBech32Prefix, createGetAddressBytesToString, createGetAddressStringToBytes } from "./query.rpc.func.ts"; +export const useGetAccounts = buildUseQuery({ + builderQueryFn: createGetAccounts, + queryKeyPrefix: "AccountsQuery" +}); +export const useGetAccount = buildUseQuery({ + builderQueryFn: createGetAccount, + queryKeyPrefix: "AccountQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetModuleAccounts = buildUseQuery({ + builderQueryFn: createGetModuleAccounts, + queryKeyPrefix: "ModuleAccountsQuery" +}); +export const useGetBech32Prefix = buildUseQuery({ + builderQueryFn: createGetBech32Prefix, + queryKeyPrefix: "Bech32PrefixQuery" +}); +export const useGetAddressBytesToString = buildUseQuery({ + builderQueryFn: createGetAddressBytesToString, + queryKeyPrefix: "AddressBytesToStringQuery" +}); +export const useGetAddressStringToBytes = buildUseQuery({ + builderQueryFn: createGetAddressStringToBytes, + queryKeyPrefix: "AddressStringToBytesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..5f9eb81242 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/auth/v1beta1/query.rpc.vue.ts @@ -0,0 +1,31 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; +import { createGetAccounts, createGetAccount, createGetParams, createGetModuleAccounts, createGetBech32Prefix, createGetAddressBytesToString, createGetAddressStringToBytes } from "./query.rpc.func.ts"; +export const useGetAccounts = buildUseVueQuery({ + builderQueryFn: createGetAccounts, + queryKeyPrefix: "AccountsQuery" +}); +export const useGetAccount = buildUseVueQuery({ + builderQueryFn: createGetAccount, + queryKeyPrefix: "AccountQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetModuleAccounts = buildUseVueQuery({ + builderQueryFn: createGetModuleAccounts, + queryKeyPrefix: "ModuleAccountsQuery" +}); +export const useGetBech32Prefix = buildUseVueQuery({ + builderQueryFn: createGetBech32Prefix, + queryKeyPrefix: "Bech32PrefixQuery" +}); +export const useGetAddressBytesToString = buildUseVueQuery({ + builderQueryFn: createGetAddressBytesToString, + queryKeyPrefix: "AddressBytesToStringQuery" +}); +export const useGetAddressStringToBytes = buildUseVueQuery({ + builderQueryFn: createGetAddressStringToBytes, + queryKeyPrefix: "AddressStringToBytesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.func.ts index 42e5af7ede..d06d8995a5 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; export const createGetGrants = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGrantsRequest.encode, @@ -8,10 +7,6 @@ export const createGetGrants = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetGrants, - queryKeyPrefix: "GrantsQuery" -}); export const createGetGranterGrants = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGranterGrantsRequest.encode, decode: QueryGranterGrantsResponse.decode, @@ -19,18 +14,10 @@ export const createGetGranterGrants = (clientResolver?: RpcResolver) => buildQue method: "GranterGrants", clientResolver }); -export const useGetGranterGrants = buildUseQuery({ - builderQueryFn: createGetGranterGrants, - queryKeyPrefix: "GranterGrantsQuery" -}); export const createGetGranteeGrants = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGranteeGrantsRequest.encode, decode: QueryGranteeGrantsResponse.decode, service: "cosmos.authz.v1beta1.Query", method: "GranteeGrants", clientResolver -}); -export const useGetGranteeGrants = buildUseQuery({ - builderQueryFn: createGetGranteeGrants, - queryKeyPrefix: "GranteeGrantsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..2c287d6275 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; +import { createGetGrants, createGetGranterGrants, createGetGranteeGrants } from "./query.rpc.func.ts"; +export const useGetGrants = buildUseQuery({ + builderQueryFn: createGetGrants, + queryKeyPrefix: "GrantsQuery" +}); +export const useGetGranterGrants = buildUseQuery({ + builderQueryFn: createGetGranterGrants, + queryKeyPrefix: "GranterGrantsQuery" +}); +export const useGetGranteeGrants = buildUseQuery({ + builderQueryFn: createGetGranteeGrants, + queryKeyPrefix: "GranteeGrantsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..9cfcad77a9 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; +import { createGetGrants, createGetGranterGrants, createGetGranteeGrants } from "./query.rpc.func.ts"; +export const useGetGrants = buildUseVueQuery({ + builderQueryFn: createGetGrants, + queryKeyPrefix: "GrantsQuery" +}); +export const useGetGranterGrants = buildUseVueQuery({ + builderQueryFn: createGetGranterGrants, + queryKeyPrefix: "GranterGrantsQuery" +}); +export const useGetGranteeGrants = buildUseVueQuery({ + builderQueryFn: createGetGranteeGrants, + queryKeyPrefix: "GranteeGrantsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.func.ts index ce23c0483e..18006a6c6a 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; export const createGrant = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,24 +7,15 @@ export const createGrant = (clientResolver?: SigningClientResolver) => buildTx({ - builderMutationFn: createGrant -}); export const createExec = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgExec.typeUrl, encoders: toEncoders(MsgExec), converters: toConverters(MsgExec) }); -export const useExec = buildUseMutation({ - builderMutationFn: createExec -}); export const createRevoke = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgRevoke.typeUrl, encoders: toEncoders(MsgRevoke), converters: toConverters(MsgRevoke) -}); -export const useRevoke = buildUseMutation({ - builderMutationFn: createRevoke }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..c94561d27f --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.react.ts @@ -0,0 +1,12 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; +import { createGrant, createExec, createRevoke } from "./tx.rpc.func.ts"; +export const useGrant = buildUseMutation({ + builderMutationFn: createGrant +}); +export const useExec = buildUseMutation({ + builderMutationFn: createExec +}); +export const useRevoke = buildUseMutation({ + builderMutationFn: createRevoke +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..214f14b1f3 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/authz/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,12 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; +import { createGrant, createExec, createRevoke } from "./tx.rpc.func.ts"; +export const useGrant = buildUseVueMutation({ + builderMutationFn: createGrant +}); +export const useExec = buildUseVueMutation({ + builderMutationFn: createExec +}); +export const useRevoke = buildUseVueMutation({ + builderMutationFn: createRevoke +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.func.ts index 9edafbf38e..a0411b6d70 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; export const createGetBalance = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryBalanceRequest.encode, @@ -8,10 +7,6 @@ export const createGetBalance = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetBalance, - queryKeyPrefix: "BalanceQuery" -}); export const createGetAllBalances = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllBalancesRequest.encode, decode: QueryAllBalancesResponse.decode, @@ -19,10 +14,6 @@ export const createGetAllBalances = (clientResolver?: RpcResolver) => buildQuery method: "AllBalances", clientResolver }); -export const useGetAllBalances = buildUseQuery({ - builderQueryFn: createGetAllBalances, - queryKeyPrefix: "AllBalancesQuery" -}); export const createGetSpendableBalances = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySpendableBalancesRequest.encode, decode: QuerySpendableBalancesResponse.decode, @@ -30,10 +21,6 @@ export const createGetSpendableBalances = (clientResolver?: RpcResolver) => buil method: "SpendableBalances", clientResolver }); -export const useGetSpendableBalances = buildUseQuery({ - builderQueryFn: createGetSpendableBalances, - queryKeyPrefix: "SpendableBalancesQuery" -}); export const createGetTotalSupply = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTotalSupplyRequest.encode, decode: QueryTotalSupplyResponse.decode, @@ -41,10 +28,6 @@ export const createGetTotalSupply = (clientResolver?: RpcResolver) => buildQuery method: "TotalSupply", clientResolver }); -export const useGetTotalSupply = buildUseQuery({ - builderQueryFn: createGetTotalSupply, - queryKeyPrefix: "TotalSupplyQuery" -}); export const createGetSupplyOf = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySupplyOfRequest.encode, decode: QuerySupplyOfResponse.decode, @@ -52,10 +35,6 @@ export const createGetSupplyOf = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetSupplyOf, - queryKeyPrefix: "SupplyOfQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -63,10 +42,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetDenomMetadata = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomMetadataRequest.encode, decode: QueryDenomMetadataResponse.decode, @@ -74,10 +49,6 @@ export const createGetDenomMetadata = (clientResolver?: RpcResolver) => buildQue method: "DenomMetadata", clientResolver }); -export const useGetDenomMetadata = buildUseQuery({ - builderQueryFn: createGetDenomMetadata, - queryKeyPrefix: "DenomMetadataQuery" -}); export const createGetDenomsMetadata = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomsMetadataRequest.encode, decode: QueryDenomsMetadataResponse.decode, @@ -85,18 +56,10 @@ export const createGetDenomsMetadata = (clientResolver?: RpcResolver) => buildQu method: "DenomsMetadata", clientResolver }); -export const useGetDenomsMetadata = buildUseQuery({ - builderQueryFn: createGetDenomsMetadata, - queryKeyPrefix: "DenomsMetadataQuery" -}); export const createGetDenomOwners = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomOwnersRequest.encode, decode: QueryDenomOwnersResponse.decode, service: "cosmos.bank.v1beta1.Query", method: "DenomOwners", clientResolver -}); -export const useGetDenomOwners = buildUseQuery({ - builderQueryFn: createGetDenomOwners, - queryKeyPrefix: "DenomOwnersQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..0aa44023ac --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.react.ts @@ -0,0 +1,39 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; +import { createGetBalance, createGetAllBalances, createGetSpendableBalances, createGetTotalSupply, createGetSupplyOf, createGetParams, createGetDenomMetadata, createGetDenomsMetadata, createGetDenomOwners } from "./query.rpc.func.ts"; +export const useGetBalance = buildUseQuery({ + builderQueryFn: createGetBalance, + queryKeyPrefix: "BalanceQuery" +}); +export const useGetAllBalances = buildUseQuery({ + builderQueryFn: createGetAllBalances, + queryKeyPrefix: "AllBalancesQuery" +}); +export const useGetSpendableBalances = buildUseQuery({ + builderQueryFn: createGetSpendableBalances, + queryKeyPrefix: "SpendableBalancesQuery" +}); +export const useGetTotalSupply = buildUseQuery({ + builderQueryFn: createGetTotalSupply, + queryKeyPrefix: "TotalSupplyQuery" +}); +export const useGetSupplyOf = buildUseQuery({ + builderQueryFn: createGetSupplyOf, + queryKeyPrefix: "SupplyOfQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDenomMetadata = buildUseQuery({ + builderQueryFn: createGetDenomMetadata, + queryKeyPrefix: "DenomMetadataQuery" +}); +export const useGetDenomsMetadata = buildUseQuery({ + builderQueryFn: createGetDenomsMetadata, + queryKeyPrefix: "DenomsMetadataQuery" +}); +export const useGetDenomOwners = buildUseQuery({ + builderQueryFn: createGetDenomOwners, + queryKeyPrefix: "DenomOwnersQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..a1d98130bb --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/query.rpc.vue.ts @@ -0,0 +1,39 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; +import { createGetBalance, createGetAllBalances, createGetSpendableBalances, createGetTotalSupply, createGetSupplyOf, createGetParams, createGetDenomMetadata, createGetDenomsMetadata, createGetDenomOwners } from "./query.rpc.func.ts"; +export const useGetBalance = buildUseVueQuery({ + builderQueryFn: createGetBalance, + queryKeyPrefix: "BalanceQuery" +}); +export const useGetAllBalances = buildUseVueQuery({ + builderQueryFn: createGetAllBalances, + queryKeyPrefix: "AllBalancesQuery" +}); +export const useGetSpendableBalances = buildUseVueQuery({ + builderQueryFn: createGetSpendableBalances, + queryKeyPrefix: "SpendableBalancesQuery" +}); +export const useGetTotalSupply = buildUseVueQuery({ + builderQueryFn: createGetTotalSupply, + queryKeyPrefix: "TotalSupplyQuery" +}); +export const useGetSupplyOf = buildUseVueQuery({ + builderQueryFn: createGetSupplyOf, + queryKeyPrefix: "SupplyOfQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDenomMetadata = buildUseVueQuery({ + builderQueryFn: createGetDenomMetadata, + queryKeyPrefix: "DenomMetadataQuery" +}); +export const useGetDenomsMetadata = buildUseVueQuery({ + builderQueryFn: createGetDenomsMetadata, + queryKeyPrefix: "DenomsMetadataQuery" +}); +export const useGetDenomOwners = buildUseVueQuery({ + builderQueryFn: createGetDenomOwners, + queryKeyPrefix: "DenomOwnersQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.func.ts index 8a38a7535f..ba13b4a7fc 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSend, MsgMultiSend } from "./tx"; export const createSend = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createSend = (clientResolver?: SigningClientResolver) => buildTx({ - builderMutationFn: createSend -}); export const createMultiSend = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgMultiSend.typeUrl, encoders: toEncoders(MsgMultiSend), converters: toConverters(MsgMultiSend) -}); -export const useMultiSend = buildUseMutation({ - builderMutationFn: createMultiSend }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..c5f86641bd --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSend, MsgMultiSend } from "./tx"; +import { createSend, createMultiSend } from "./tx.rpc.func.ts"; +export const useSend = buildUseMutation({ + builderMutationFn: createSend +}); +export const useMultiSend = buildUseMutation({ + builderMutationFn: createMultiSend +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..0e24e8b2b7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/bank/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSend, MsgMultiSend } from "./tx"; +import { createSend, createMultiSend } from "./tx.rpc.func.ts"; +export const useSend = buildUseVueMutation({ + builderMutationFn: createSend +}); +export const useMultiSend = buildUseVueMutation({ + builderMutationFn: createMultiSend +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts index 6c47a84de2..ed6199cd54 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../../helper-func-types"; -import { buildUseQuery } from "../../../../react-query"; import { ListAllInterfacesRequest, ListAllInterfacesResponse, ListImplementationsRequest, ListImplementationsResponse } from "./reflection"; export const createGetListAllInterfaces = (clientResolver?: RpcResolver) => buildQuery({ encode: ListAllInterfacesRequest.encode, @@ -8,18 +7,10 @@ export const createGetListAllInterfaces = (clientResolver?: RpcResolver) => buil method: "ListAllInterfaces", clientResolver }); -export const useGetListAllInterfaces = buildUseQuery({ - builderQueryFn: createGetListAllInterfaces, - queryKeyPrefix: "ListAllInterfacesQuery" -}); export const createGetListImplementations = (clientResolver?: RpcResolver) => buildQuery({ encode: ListImplementationsRequest.encode, decode: ListImplementationsResponse.decode, service: "cosmos.base.reflection.v1beta1.ReflectionService", method: "ListImplementations", clientResolver -}); -export const useGetListImplementations = buildUseQuery({ - builderQueryFn: createGetListImplementations, - queryKeyPrefix: "ListImplementationsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.react.ts new file mode 100644 index 0000000000..cad0701674 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../../../react-query"; +import { ListAllInterfacesRequest, ListAllInterfacesResponse, ListImplementationsRequest, ListImplementationsResponse } from "./reflection"; +import { createGetListAllInterfaces, createGetListImplementations } from "./reflection.rpc.func.ts"; +export const useGetListAllInterfaces = buildUseQuery({ + builderQueryFn: createGetListAllInterfaces, + queryKeyPrefix: "ListAllInterfacesQuery" +}); +export const useGetListImplementations = buildUseQuery({ + builderQueryFn: createGetListImplementations, + queryKeyPrefix: "ListImplementationsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.vue.ts new file mode 100644 index 0000000000..377fdb3172 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v1beta1/reflection.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../../../vue-query"; +import { ListAllInterfacesRequest, ListAllInterfacesResponse, ListImplementationsRequest, ListImplementationsResponse } from "./reflection"; +import { createGetListAllInterfaces, createGetListImplementations } from "./reflection.rpc.func.ts"; +export const useGetListAllInterfaces = buildUseVueQuery({ + builderQueryFn: createGetListAllInterfaces, + queryKeyPrefix: "ListAllInterfacesQuery" +}); +export const useGetListImplementations = buildUseVueQuery({ + builderQueryFn: createGetListImplementations, + queryKeyPrefix: "ListImplementationsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts index 86876a89f2..4f975b5e62 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../../helper-func-types"; -import { buildUseQuery } from "../../../../react-query"; import { GetAuthnDescriptorRequest, GetAuthnDescriptorResponse, GetChainDescriptorRequest, GetChainDescriptorResponse, GetCodecDescriptorRequest, GetCodecDescriptorResponse, GetConfigurationDescriptorRequest, GetConfigurationDescriptorResponse, GetQueryServicesDescriptorRequest, GetQueryServicesDescriptorResponse, GetTxDescriptorRequest, GetTxDescriptorResponse } from "./reflection"; export const createGetGetAuthnDescriptor = (clientResolver?: RpcResolver) => buildQuery({ encode: GetAuthnDescriptorRequest.encode, @@ -8,10 +7,6 @@ export const createGetGetAuthnDescriptor = (clientResolver?: RpcResolver) => bui method: "GetAuthnDescriptor", clientResolver }); -export const useGetGetAuthnDescriptor = buildUseQuery({ - builderQueryFn: createGetGetAuthnDescriptor, - queryKeyPrefix: "GetAuthnDescriptorQuery" -}); export const createGetGetChainDescriptor = (clientResolver?: RpcResolver) => buildQuery({ encode: GetChainDescriptorRequest.encode, decode: GetChainDescriptorResponse.decode, @@ -19,10 +14,6 @@ export const createGetGetChainDescriptor = (clientResolver?: RpcResolver) => bui method: "GetChainDescriptor", clientResolver }); -export const useGetGetChainDescriptor = buildUseQuery({ - builderQueryFn: createGetGetChainDescriptor, - queryKeyPrefix: "GetChainDescriptorQuery" -}); export const createGetGetCodecDescriptor = (clientResolver?: RpcResolver) => buildQuery({ encode: GetCodecDescriptorRequest.encode, decode: GetCodecDescriptorResponse.decode, @@ -30,10 +21,6 @@ export const createGetGetCodecDescriptor = (clientResolver?: RpcResolver) => bui method: "GetCodecDescriptor", clientResolver }); -export const useGetGetCodecDescriptor = buildUseQuery({ - builderQueryFn: createGetGetCodecDescriptor, - queryKeyPrefix: "GetCodecDescriptorQuery" -}); export const createGetGetConfigurationDescriptor = (clientResolver?: RpcResolver) => buildQuery({ encode: GetConfigurationDescriptorRequest.encode, decode: GetConfigurationDescriptorResponse.decode, @@ -41,10 +28,6 @@ export const createGetGetConfigurationDescriptor = (clientResolver?: RpcResolver method: "GetConfigurationDescriptor", clientResolver }); -export const useGetGetConfigurationDescriptor = buildUseQuery({ - builderQueryFn: createGetGetConfigurationDescriptor, - queryKeyPrefix: "GetConfigurationDescriptorQuery" -}); export const createGetGetQueryServicesDescriptor = (clientResolver?: RpcResolver) => buildQuery({ encode: GetQueryServicesDescriptorRequest.encode, decode: GetQueryServicesDescriptorResponse.decode, @@ -52,18 +35,10 @@ export const createGetGetQueryServicesDescriptor = (clientResolver?: RpcResolver method: "GetQueryServicesDescriptor", clientResolver }); -export const useGetGetQueryServicesDescriptor = buildUseQuery({ - builderQueryFn: createGetGetQueryServicesDescriptor, - queryKeyPrefix: "GetQueryServicesDescriptorQuery" -}); export const createGetGetTxDescriptor = (clientResolver?: RpcResolver) => buildQuery({ encode: GetTxDescriptorRequest.encode, decode: GetTxDescriptorResponse.decode, service: "cosmos.base.reflection.v2alpha1.ReflectionService", method: "GetTxDescriptor", clientResolver -}); -export const useGetGetTxDescriptor = buildUseQuery({ - builderQueryFn: createGetGetTxDescriptor, - queryKeyPrefix: "GetTxDescriptorQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.react.ts new file mode 100644 index 0000000000..e6aafa0e9c --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.react.ts @@ -0,0 +1,27 @@ +import { buildUseQuery } from "../../../../react-query"; +import { GetAuthnDescriptorRequest, GetAuthnDescriptorResponse, GetChainDescriptorRequest, GetChainDescriptorResponse, GetCodecDescriptorRequest, GetCodecDescriptorResponse, GetConfigurationDescriptorRequest, GetConfigurationDescriptorResponse, GetQueryServicesDescriptorRequest, GetQueryServicesDescriptorResponse, GetTxDescriptorRequest, GetTxDescriptorResponse } from "./reflection"; +import { createGetGetAuthnDescriptor, createGetGetChainDescriptor, createGetGetCodecDescriptor, createGetGetConfigurationDescriptor, createGetGetQueryServicesDescriptor, createGetGetTxDescriptor } from "./reflection.rpc.func.ts"; +export const useGetGetAuthnDescriptor = buildUseQuery({ + builderQueryFn: createGetGetAuthnDescriptor, + queryKeyPrefix: "GetAuthnDescriptorQuery" +}); +export const useGetGetChainDescriptor = buildUseQuery({ + builderQueryFn: createGetGetChainDescriptor, + queryKeyPrefix: "GetChainDescriptorQuery" +}); +export const useGetGetCodecDescriptor = buildUseQuery({ + builderQueryFn: createGetGetCodecDescriptor, + queryKeyPrefix: "GetCodecDescriptorQuery" +}); +export const useGetGetConfigurationDescriptor = buildUseQuery({ + builderQueryFn: createGetGetConfigurationDescriptor, + queryKeyPrefix: "GetConfigurationDescriptorQuery" +}); +export const useGetGetQueryServicesDescriptor = buildUseQuery({ + builderQueryFn: createGetGetQueryServicesDescriptor, + queryKeyPrefix: "GetQueryServicesDescriptorQuery" +}); +export const useGetGetTxDescriptor = buildUseQuery({ + builderQueryFn: createGetGetTxDescriptor, + queryKeyPrefix: "GetTxDescriptorQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.vue.ts new file mode 100644 index 0000000000..342d01a673 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/base/reflection/v2alpha1/reflection.rpc.vue.ts @@ -0,0 +1,27 @@ +import { buildUseVueQuery } from "../../../../vue-query"; +import { GetAuthnDescriptorRequest, GetAuthnDescriptorResponse, GetChainDescriptorRequest, GetChainDescriptorResponse, GetCodecDescriptorRequest, GetCodecDescriptorResponse, GetConfigurationDescriptorRequest, GetConfigurationDescriptorResponse, GetQueryServicesDescriptorRequest, GetQueryServicesDescriptorResponse, GetTxDescriptorRequest, GetTxDescriptorResponse } from "./reflection"; +import { createGetGetAuthnDescriptor, createGetGetChainDescriptor, createGetGetCodecDescriptor, createGetGetConfigurationDescriptor, createGetGetQueryServicesDescriptor, createGetGetTxDescriptor } from "./reflection.rpc.func.ts"; +export const useGetGetAuthnDescriptor = buildUseVueQuery({ + builderQueryFn: createGetGetAuthnDescriptor, + queryKeyPrefix: "GetAuthnDescriptorQuery" +}); +export const useGetGetChainDescriptor = buildUseVueQuery({ + builderQueryFn: createGetGetChainDescriptor, + queryKeyPrefix: "GetChainDescriptorQuery" +}); +export const useGetGetCodecDescriptor = buildUseVueQuery({ + builderQueryFn: createGetGetCodecDescriptor, + queryKeyPrefix: "GetCodecDescriptorQuery" +}); +export const useGetGetConfigurationDescriptor = buildUseVueQuery({ + builderQueryFn: createGetGetConfigurationDescriptor, + queryKeyPrefix: "GetConfigurationDescriptorQuery" +}); +export const useGetGetQueryServicesDescriptor = buildUseVueQuery({ + builderQueryFn: createGetGetQueryServicesDescriptor, + queryKeyPrefix: "GetQueryServicesDescriptorQuery" +}); +export const useGetGetTxDescriptor = buildUseVueQuery({ + builderQueryFn: createGetGetTxDescriptor, + queryKeyPrefix: "GetTxDescriptorQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.func.ts index ffa4a58869..c5db0ac4e5 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../../helper-func-types"; -import { buildUseQuery } from "../../../../react-query"; import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; export const createGetGetNodeInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: GetNodeInfoRequest.encode, @@ -8,10 +7,6 @@ export const createGetGetNodeInfo = (clientResolver?: RpcResolver) => buildQuery method: "GetNodeInfo", clientResolver }); -export const useGetGetNodeInfo = buildUseQuery({ - builderQueryFn: createGetGetNodeInfo, - queryKeyPrefix: "GetNodeInfoQuery" -}); export const createGetGetSyncing = (clientResolver?: RpcResolver) => buildQuery({ encode: GetSyncingRequest.encode, decode: GetSyncingResponse.decode, @@ -19,10 +14,6 @@ export const createGetGetSyncing = (clientResolver?: RpcResolver) => buildQuery< method: "GetSyncing", clientResolver }); -export const useGetGetSyncing = buildUseQuery({ - builderQueryFn: createGetGetSyncing, - queryKeyPrefix: "GetSyncingQuery" -}); export const createGetGetLatestBlock = (clientResolver?: RpcResolver) => buildQuery({ encode: GetLatestBlockRequest.encode, decode: GetLatestBlockResponse.decode, @@ -30,10 +21,6 @@ export const createGetGetLatestBlock = (clientResolver?: RpcResolver) => buildQu method: "GetLatestBlock", clientResolver }); -export const useGetGetLatestBlock = buildUseQuery({ - builderQueryFn: createGetGetLatestBlock, - queryKeyPrefix: "GetLatestBlockQuery" -}); export const createGetGetBlockByHeight = (clientResolver?: RpcResolver) => buildQuery({ encode: GetBlockByHeightRequest.encode, decode: GetBlockByHeightResponse.decode, @@ -41,10 +28,6 @@ export const createGetGetBlockByHeight = (clientResolver?: RpcResolver) => build method: "GetBlockByHeight", clientResolver }); -export const useGetGetBlockByHeight = buildUseQuery({ - builderQueryFn: createGetGetBlockByHeight, - queryKeyPrefix: "GetBlockByHeightQuery" -}); export const createGetGetLatestValidatorSet = (clientResolver?: RpcResolver) => buildQuery({ encode: GetLatestValidatorSetRequest.encode, decode: GetLatestValidatorSetResponse.decode, @@ -52,18 +35,10 @@ export const createGetGetLatestValidatorSet = (clientResolver?: RpcResolver) => method: "GetLatestValidatorSet", clientResolver }); -export const useGetGetLatestValidatorSet = buildUseQuery({ - builderQueryFn: createGetGetLatestValidatorSet, - queryKeyPrefix: "GetLatestValidatorSetQuery" -}); export const createGetGetValidatorSetByHeight = (clientResolver?: RpcResolver) => buildQuery({ encode: GetValidatorSetByHeightRequest.encode, decode: GetValidatorSetByHeightResponse.decode, service: "cosmos.base.tendermint.v1beta1.Service", method: "GetValidatorSetByHeight", clientResolver -}); -export const useGetGetValidatorSetByHeight = buildUseQuery({ - builderQueryFn: createGetGetValidatorSetByHeight, - queryKeyPrefix: "GetValidatorSetByHeightQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..f85ff7714b --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.react.ts @@ -0,0 +1,27 @@ +import { buildUseQuery } from "../../../../react-query"; +import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; +import { createGetGetNodeInfo, createGetGetSyncing, createGetGetLatestBlock, createGetGetBlockByHeight, createGetGetLatestValidatorSet, createGetGetValidatorSetByHeight } from "./query.rpc.func.ts"; +export const useGetGetNodeInfo = buildUseQuery({ + builderQueryFn: createGetGetNodeInfo, + queryKeyPrefix: "GetNodeInfoQuery" +}); +export const useGetGetSyncing = buildUseQuery({ + builderQueryFn: createGetGetSyncing, + queryKeyPrefix: "GetSyncingQuery" +}); +export const useGetGetLatestBlock = buildUseQuery({ + builderQueryFn: createGetGetLatestBlock, + queryKeyPrefix: "GetLatestBlockQuery" +}); +export const useGetGetBlockByHeight = buildUseQuery({ + builderQueryFn: createGetGetBlockByHeight, + queryKeyPrefix: "GetBlockByHeightQuery" +}); +export const useGetGetLatestValidatorSet = buildUseQuery({ + builderQueryFn: createGetGetLatestValidatorSet, + queryKeyPrefix: "GetLatestValidatorSetQuery" +}); +export const useGetGetValidatorSetByHeight = buildUseQuery({ + builderQueryFn: createGetGetValidatorSetByHeight, + queryKeyPrefix: "GetValidatorSetByHeightQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..046fc0fbd0 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/base/tendermint/v1beta1/query.rpc.vue.ts @@ -0,0 +1,27 @@ +import { buildUseVueQuery } from "../../../../vue-query"; +import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; +import { createGetGetNodeInfo, createGetGetSyncing, createGetGetLatestBlock, createGetGetBlockByHeight, createGetGetLatestValidatorSet, createGetGetValidatorSetByHeight } from "./query.rpc.func.ts"; +export const useGetGetNodeInfo = buildUseVueQuery({ + builderQueryFn: createGetGetNodeInfo, + queryKeyPrefix: "GetNodeInfoQuery" +}); +export const useGetGetSyncing = buildUseVueQuery({ + builderQueryFn: createGetGetSyncing, + queryKeyPrefix: "GetSyncingQuery" +}); +export const useGetGetLatestBlock = buildUseVueQuery({ + builderQueryFn: createGetGetLatestBlock, + queryKeyPrefix: "GetLatestBlockQuery" +}); +export const useGetGetBlockByHeight = buildUseVueQuery({ + builderQueryFn: createGetGetBlockByHeight, + queryKeyPrefix: "GetBlockByHeightQuery" +}); +export const useGetGetLatestValidatorSet = buildUseVueQuery({ + builderQueryFn: createGetGetLatestValidatorSet, + queryKeyPrefix: "GetLatestValidatorSetQuery" +}); +export const useGetGetValidatorSetByHeight = buildUseVueQuery({ + builderQueryFn: createGetGetValidatorSetByHeight, + queryKeyPrefix: "GetValidatorSetByHeightQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.func.ts index 631216538f..ba136bec1b 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.func.ts @@ -1,13 +1,9 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgVerifyInvariant } from "./tx"; export const createVerifyInvariant = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgVerifyInvariant.typeUrl, encoders: toEncoders(MsgVerifyInvariant), converters: toConverters(MsgVerifyInvariant) -}); -export const useVerifyInvariant = buildUseMutation({ - builderMutationFn: createVerifyInvariant }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..ec4733a562 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.react.ts @@ -0,0 +1,6 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgVerifyInvariant } from "./tx"; +import { createVerifyInvariant } from "./tx.rpc.func.ts"; +export const useVerifyInvariant = buildUseMutation({ + builderMutationFn: createVerifyInvariant +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..64ab42fd8a --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/crisis/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,6 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgVerifyInvariant } from "./tx"; +import { createVerifyInvariant } from "./tx.rpc.func.ts"; +export const useVerifyInvariant = buildUseVueMutation({ + builderMutationFn: createVerifyInvariant +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.func.ts index 9624dfd160..7268baca1a 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -8,10 +7,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetValidatorOutstandingRewards = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryValidatorOutstandingRewardsRequest.encode, decode: QueryValidatorOutstandingRewardsResponse.decode, @@ -19,10 +14,6 @@ export const createGetValidatorOutstandingRewards = (clientResolver?: RpcResolve method: "ValidatorOutstandingRewards", clientResolver }); -export const useGetValidatorOutstandingRewards = buildUseQuery({ - builderQueryFn: createGetValidatorOutstandingRewards, - queryKeyPrefix: "ValidatorOutstandingRewardsQuery" -}); export const createGetValidatorCommission = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryValidatorCommissionRequest.encode, decode: QueryValidatorCommissionResponse.decode, @@ -30,10 +21,6 @@ export const createGetValidatorCommission = (clientResolver?: RpcResolver) => bu method: "ValidatorCommission", clientResolver }); -export const useGetValidatorCommission = buildUseQuery({ - builderQueryFn: createGetValidatorCommission, - queryKeyPrefix: "ValidatorCommissionQuery" -}); export const createGetValidatorSlashes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryValidatorSlashesRequest.encode, decode: QueryValidatorSlashesResponse.decode, @@ -41,10 +28,6 @@ export const createGetValidatorSlashes = (clientResolver?: RpcResolver) => build method: "ValidatorSlashes", clientResolver }); -export const useGetValidatorSlashes = buildUseQuery({ - builderQueryFn: createGetValidatorSlashes, - queryKeyPrefix: "ValidatorSlashesQuery" -}); export const createGetDelegationRewards = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegationRewardsRequest.encode, decode: QueryDelegationRewardsResponse.decode, @@ -52,10 +35,6 @@ export const createGetDelegationRewards = (clientResolver?: RpcResolver) => buil method: "DelegationRewards", clientResolver }); -export const useGetDelegationRewards = buildUseQuery({ - builderQueryFn: createGetDelegationRewards, - queryKeyPrefix: "DelegationRewardsQuery" -}); export const createGetDelegationTotalRewards = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegationTotalRewardsRequest.encode, decode: QueryDelegationTotalRewardsResponse.decode, @@ -63,10 +42,6 @@ export const createGetDelegationTotalRewards = (clientResolver?: RpcResolver) => method: "DelegationTotalRewards", clientResolver }); -export const useGetDelegationTotalRewards = buildUseQuery({ - builderQueryFn: createGetDelegationTotalRewards, - queryKeyPrefix: "DelegationTotalRewardsQuery" -}); export const createGetDelegatorValidators = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegatorValidatorsRequest.encode, decode: QueryDelegatorValidatorsResponse.decode, @@ -74,10 +49,6 @@ export const createGetDelegatorValidators = (clientResolver?: RpcResolver) => bu method: "DelegatorValidators", clientResolver }); -export const useGetDelegatorValidators = buildUseQuery({ - builderQueryFn: createGetDelegatorValidators, - queryKeyPrefix: "DelegatorValidatorsQuery" -}); export const createGetDelegatorWithdrawAddress = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegatorWithdrawAddressRequest.encode, decode: QueryDelegatorWithdrawAddressResponse.decode, @@ -85,18 +56,10 @@ export const createGetDelegatorWithdrawAddress = (clientResolver?: RpcResolver) method: "DelegatorWithdrawAddress", clientResolver }); -export const useGetDelegatorWithdrawAddress = buildUseQuery({ - builderQueryFn: createGetDelegatorWithdrawAddress, - queryKeyPrefix: "DelegatorWithdrawAddressQuery" -}); export const createGetCommunityPool = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCommunityPoolRequest.encode, decode: QueryCommunityPoolResponse.decode, service: "cosmos.distribution.v1beta1.Query", method: "CommunityPool", clientResolver -}); -export const useGetCommunityPool = buildUseQuery({ - builderQueryFn: createGetCommunityPool, - queryKeyPrefix: "CommunityPoolQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..e5debdbc75 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.react.ts @@ -0,0 +1,39 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; +import { createGetParams, createGetValidatorOutstandingRewards, createGetValidatorCommission, createGetValidatorSlashes, createGetDelegationRewards, createGetDelegationTotalRewards, createGetDelegatorValidators, createGetDelegatorWithdrawAddress, createGetCommunityPool } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetValidatorOutstandingRewards = buildUseQuery({ + builderQueryFn: createGetValidatorOutstandingRewards, + queryKeyPrefix: "ValidatorOutstandingRewardsQuery" +}); +export const useGetValidatorCommission = buildUseQuery({ + builderQueryFn: createGetValidatorCommission, + queryKeyPrefix: "ValidatorCommissionQuery" +}); +export const useGetValidatorSlashes = buildUseQuery({ + builderQueryFn: createGetValidatorSlashes, + queryKeyPrefix: "ValidatorSlashesQuery" +}); +export const useGetDelegationRewards = buildUseQuery({ + builderQueryFn: createGetDelegationRewards, + queryKeyPrefix: "DelegationRewardsQuery" +}); +export const useGetDelegationTotalRewards = buildUseQuery({ + builderQueryFn: createGetDelegationTotalRewards, + queryKeyPrefix: "DelegationTotalRewardsQuery" +}); +export const useGetDelegatorValidators = buildUseQuery({ + builderQueryFn: createGetDelegatorValidators, + queryKeyPrefix: "DelegatorValidatorsQuery" +}); +export const useGetDelegatorWithdrawAddress = buildUseQuery({ + builderQueryFn: createGetDelegatorWithdrawAddress, + queryKeyPrefix: "DelegatorWithdrawAddressQuery" +}); +export const useGetCommunityPool = buildUseQuery({ + builderQueryFn: createGetCommunityPool, + queryKeyPrefix: "CommunityPoolQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..8b8c55686d --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/query.rpc.vue.ts @@ -0,0 +1,39 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; +import { createGetParams, createGetValidatorOutstandingRewards, createGetValidatorCommission, createGetValidatorSlashes, createGetDelegationRewards, createGetDelegationTotalRewards, createGetDelegatorValidators, createGetDelegatorWithdrawAddress, createGetCommunityPool } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetValidatorOutstandingRewards = buildUseVueQuery({ + builderQueryFn: createGetValidatorOutstandingRewards, + queryKeyPrefix: "ValidatorOutstandingRewardsQuery" +}); +export const useGetValidatorCommission = buildUseVueQuery({ + builderQueryFn: createGetValidatorCommission, + queryKeyPrefix: "ValidatorCommissionQuery" +}); +export const useGetValidatorSlashes = buildUseVueQuery({ + builderQueryFn: createGetValidatorSlashes, + queryKeyPrefix: "ValidatorSlashesQuery" +}); +export const useGetDelegationRewards = buildUseVueQuery({ + builderQueryFn: createGetDelegationRewards, + queryKeyPrefix: "DelegationRewardsQuery" +}); +export const useGetDelegationTotalRewards = buildUseVueQuery({ + builderQueryFn: createGetDelegationTotalRewards, + queryKeyPrefix: "DelegationTotalRewardsQuery" +}); +export const useGetDelegatorValidators = buildUseVueQuery({ + builderQueryFn: createGetDelegatorValidators, + queryKeyPrefix: "DelegatorValidatorsQuery" +}); +export const useGetDelegatorWithdrawAddress = buildUseVueQuery({ + builderQueryFn: createGetDelegatorWithdrawAddress, + queryKeyPrefix: "DelegatorWithdrawAddressQuery" +}); +export const useGetCommunityPool = buildUseVueQuery({ + builderQueryFn: createGetCommunityPool, + queryKeyPrefix: "CommunityPoolQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.func.ts index 36fbed6f0f..26e82005d4 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; export const createSetWithdrawAddress = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,33 +7,21 @@ export const createSetWithdrawAddress = (clientResolver?: SigningClientResolver) encoders: toEncoders(MsgSetWithdrawAddress), converters: toConverters(MsgSetWithdrawAddress) }); -export const useSetWithdrawAddress = buildUseMutation({ - builderMutationFn: createSetWithdrawAddress -}); export const createWithdrawDelegatorReward = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgWithdrawDelegatorReward.typeUrl, encoders: toEncoders(MsgWithdrawDelegatorReward), converters: toConverters(MsgWithdrawDelegatorReward) }); -export const useWithdrawDelegatorReward = buildUseMutation({ - builderMutationFn: createWithdrawDelegatorReward -}); export const createWithdrawValidatorCommission = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgWithdrawValidatorCommission.typeUrl, encoders: toEncoders(MsgWithdrawValidatorCommission), converters: toConverters(MsgWithdrawValidatorCommission) }); -export const useWithdrawValidatorCommission = buildUseMutation({ - builderMutationFn: createWithdrawValidatorCommission -}); export const createFundCommunityPool = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgFundCommunityPool.typeUrl, encoders: toEncoders(MsgFundCommunityPool), converters: toConverters(MsgFundCommunityPool) -}); -export const useFundCommunityPool = buildUseMutation({ - builderMutationFn: createFundCommunityPool }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..7494d5fa0d --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; +import { createSetWithdrawAddress, createWithdrawDelegatorReward, createWithdrawValidatorCommission, createFundCommunityPool } from "./tx.rpc.func.ts"; +export const useSetWithdrawAddress = buildUseMutation({ + builderMutationFn: createSetWithdrawAddress +}); +export const useWithdrawDelegatorReward = buildUseMutation({ + builderMutationFn: createWithdrawDelegatorReward +}); +export const useWithdrawValidatorCommission = buildUseMutation({ + builderMutationFn: createWithdrawValidatorCommission +}); +export const useFundCommunityPool = buildUseMutation({ + builderMutationFn: createFundCommunityPool +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..466be35638 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/distribution/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; +import { createSetWithdrawAddress, createWithdrawDelegatorReward, createWithdrawValidatorCommission, createFundCommunityPool } from "./tx.rpc.func.ts"; +export const useSetWithdrawAddress = buildUseVueMutation({ + builderMutationFn: createSetWithdrawAddress +}); +export const useWithdrawDelegatorReward = buildUseVueMutation({ + builderMutationFn: createWithdrawDelegatorReward +}); +export const useWithdrawValidatorCommission = buildUseVueMutation({ + builderMutationFn: createWithdrawValidatorCommission +}); +export const useFundCommunityPool = buildUseVueMutation({ + builderMutationFn: createFundCommunityPool +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.func.ts index 0a42724ace..55ba061b69 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; export const createGetEvidence = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryEvidenceRequest.encode, @@ -8,18 +7,10 @@ export const createGetEvidence = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetEvidence, - queryKeyPrefix: "EvidenceQuery" -}); export const createGetAllEvidence = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllEvidenceRequest.encode, decode: QueryAllEvidenceResponse.decode, service: "cosmos.evidence.v1beta1.Query", method: "AllEvidence", clientResolver -}); -export const useGetAllEvidence = buildUseQuery({ - builderQueryFn: createGetAllEvidence, - queryKeyPrefix: "AllEvidenceQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..6db1024e9e --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; +import { createGetEvidence, createGetAllEvidence } from "./query.rpc.func.ts"; +export const useGetEvidence = buildUseQuery({ + builderQueryFn: createGetEvidence, + queryKeyPrefix: "EvidenceQuery" +}); +export const useGetAllEvidence = buildUseQuery({ + builderQueryFn: createGetAllEvidence, + queryKeyPrefix: "AllEvidenceQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..f370dfee10 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/query.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; +import { createGetEvidence, createGetAllEvidence } from "./query.rpc.func.ts"; +export const useGetEvidence = buildUseVueQuery({ + builderQueryFn: createGetEvidence, + queryKeyPrefix: "EvidenceQuery" +}); +export const useGetAllEvidence = buildUseVueQuery({ + builderQueryFn: createGetAllEvidence, + queryKeyPrefix: "AllEvidenceQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.func.ts index fc08ed3e83..873fedd93b 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.func.ts @@ -1,13 +1,9 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSubmitEvidence } from "./tx"; export const createSubmitEvidence = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSubmitEvidence.typeUrl, encoders: toEncoders(MsgSubmitEvidence), converters: toConverters(MsgSubmitEvidence) -}); -export const useSubmitEvidence = buildUseMutation({ - builderMutationFn: createSubmitEvidence }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..57f78e5ea3 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.react.ts @@ -0,0 +1,6 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSubmitEvidence } from "./tx"; +import { createSubmitEvidence } from "./tx.rpc.func.ts"; +export const useSubmitEvidence = buildUseMutation({ + builderMutationFn: createSubmitEvidence +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..b4a38940c9 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/evidence/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,6 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSubmitEvidence } from "./tx"; +import { createSubmitEvidence } from "./tx.rpc.func.ts"; +export const useSubmitEvidence = buildUseVueMutation({ + builderMutationFn: createSubmitEvidence +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.func.ts index b756a913a1..ddf38cdfe2 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; export const createGetAllowance = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllowanceRequest.encode, @@ -8,10 +7,6 @@ export const createGetAllowance = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetAllowance, - queryKeyPrefix: "AllowanceQuery" -}); export const createGetAllowances = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllowancesRequest.encode, decode: QueryAllowancesResponse.decode, @@ -19,18 +14,10 @@ export const createGetAllowances = (clientResolver?: RpcResolver) => buildQuery< method: "Allowances", clientResolver }); -export const useGetAllowances = buildUseQuery({ - builderQueryFn: createGetAllowances, - queryKeyPrefix: "AllowancesQuery" -}); export const createGetAllowancesByGranter = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllowancesByGranterRequest.encode, decode: QueryAllowancesByGranterResponse.decode, service: "cosmos.feegrant.v1beta1.Query", method: "AllowancesByGranter", clientResolver -}); -export const useGetAllowancesByGranter = buildUseQuery({ - builderQueryFn: createGetAllowancesByGranter, - queryKeyPrefix: "AllowancesByGranterQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..2e06e17a2f --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; +import { createGetAllowance, createGetAllowances, createGetAllowancesByGranter } from "./query.rpc.func.ts"; +export const useGetAllowance = buildUseQuery({ + builderQueryFn: createGetAllowance, + queryKeyPrefix: "AllowanceQuery" +}); +export const useGetAllowances = buildUseQuery({ + builderQueryFn: createGetAllowances, + queryKeyPrefix: "AllowancesQuery" +}); +export const useGetAllowancesByGranter = buildUseQuery({ + builderQueryFn: createGetAllowancesByGranter, + queryKeyPrefix: "AllowancesByGranterQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..b4282d36c5 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; +import { createGetAllowance, createGetAllowances, createGetAllowancesByGranter } from "./query.rpc.func.ts"; +export const useGetAllowance = buildUseVueQuery({ + builderQueryFn: createGetAllowance, + queryKeyPrefix: "AllowanceQuery" +}); +export const useGetAllowances = buildUseVueQuery({ + builderQueryFn: createGetAllowances, + queryKeyPrefix: "AllowancesQuery" +}); +export const useGetAllowancesByGranter = buildUseVueQuery({ + builderQueryFn: createGetAllowancesByGranter, + queryKeyPrefix: "AllowancesByGranterQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.func.ts index 13fa650b9d..c8bcd4a774 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; export const createGrantAllowance = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createGrantAllowance = (clientResolver?: SigningClientResolver) => encoders: toEncoders(MsgGrantAllowance), converters: toConverters(MsgGrantAllowance) }); -export const useGrantAllowance = buildUseMutation({ - builderMutationFn: createGrantAllowance -}); export const createRevokeAllowance = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgRevokeAllowance.typeUrl, encoders: toEncoders(MsgRevokeAllowance), converters: toConverters(MsgRevokeAllowance) -}); -export const useRevokeAllowance = buildUseMutation({ - builderMutationFn: createRevokeAllowance }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..86feb2f2f0 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; +import { createGrantAllowance, createRevokeAllowance } from "./tx.rpc.func.ts"; +export const useGrantAllowance = buildUseMutation({ + builderMutationFn: createGrantAllowance +}); +export const useRevokeAllowance = buildUseMutation({ + builderMutationFn: createRevokeAllowance +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..31f1cdcefd --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/feegrant/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; +import { createGrantAllowance, createRevokeAllowance } from "./tx.rpc.func.ts"; +export const useGrantAllowance = buildUseVueMutation({ + builderMutationFn: createGrantAllowance +}); +export const useRevokeAllowance = buildUseVueMutation({ + builderMutationFn: createRevokeAllowance +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.func.ts index 0ead078b3b..b509dc7d22 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; export const createGetProposal = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProposalRequest.encode, @@ -8,10 +7,6 @@ export const createGetProposal = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetProposal, - queryKeyPrefix: "ProposalQuery" -}); export const createGetProposals = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProposalsRequest.encode, decode: QueryProposalsResponse.decode, @@ -19,10 +14,6 @@ export const createGetProposals = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetProposals, - queryKeyPrefix: "ProposalsQuery" -}); export const createGetVote = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVoteRequest.encode, decode: QueryVoteResponse.decode, @@ -30,10 +21,6 @@ export const createGetVote = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetVote, - queryKeyPrefix: "VoteQuery" -}); export const createGetVotes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVotesRequest.encode, decode: QueryVotesResponse.decode, @@ -41,10 +28,6 @@ export const createGetVotes = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetVotes, - queryKeyPrefix: "VotesQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -52,10 +35,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetDeposit = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDepositRequest.encode, decode: QueryDepositResponse.decode, @@ -63,10 +42,6 @@ export const createGetDeposit = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetDeposit, - queryKeyPrefix: "DepositQuery" -}); export const createGetDeposits = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDepositsRequest.encode, decode: QueryDepositsResponse.decode, @@ -74,18 +49,10 @@ export const createGetDeposits = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetDeposits, - queryKeyPrefix: "DepositsQuery" -}); export const createGetTallyResult = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTallyResultRequest.encode, decode: QueryTallyResultResponse.decode, service: "cosmos.gov.v1.Query", method: "TallyResult", clientResolver -}); -export const useGetTallyResult = buildUseQuery({ - builderQueryFn: createGetTallyResult, - queryKeyPrefix: "TallyResultQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.react.ts new file mode 100644 index 0000000000..5f574fba73 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.react.ts @@ -0,0 +1,35 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +import { createGetProposal, createGetProposals, createGetVote, createGetVotes, createGetParams, createGetDeposit, createGetDeposits, createGetTallyResult } from "./query.rpc.func.ts"; +export const useGetProposal = buildUseQuery({ + builderQueryFn: createGetProposal, + queryKeyPrefix: "ProposalQuery" +}); +export const useGetProposals = buildUseQuery({ + builderQueryFn: createGetProposals, + queryKeyPrefix: "ProposalsQuery" +}); +export const useGetVote = buildUseQuery({ + builderQueryFn: createGetVote, + queryKeyPrefix: "VoteQuery" +}); +export const useGetVotes = buildUseQuery({ + builderQueryFn: createGetVotes, + queryKeyPrefix: "VotesQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDeposit = buildUseQuery({ + builderQueryFn: createGetDeposit, + queryKeyPrefix: "DepositQuery" +}); +export const useGetDeposits = buildUseQuery({ + builderQueryFn: createGetDeposits, + queryKeyPrefix: "DepositsQuery" +}); +export const useGetTallyResult = buildUseQuery({ + builderQueryFn: createGetTallyResult, + queryKeyPrefix: "TallyResultQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..1771e4a1fb --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/query.rpc.vue.ts @@ -0,0 +1,35 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +import { createGetProposal, createGetProposals, createGetVote, createGetVotes, createGetParams, createGetDeposit, createGetDeposits, createGetTallyResult } from "./query.rpc.func.ts"; +export const useGetProposal = buildUseVueQuery({ + builderQueryFn: createGetProposal, + queryKeyPrefix: "ProposalQuery" +}); +export const useGetProposals = buildUseVueQuery({ + builderQueryFn: createGetProposals, + queryKeyPrefix: "ProposalsQuery" +}); +export const useGetVote = buildUseVueQuery({ + builderQueryFn: createGetVote, + queryKeyPrefix: "VoteQuery" +}); +export const useGetVotes = buildUseVueQuery({ + builderQueryFn: createGetVotes, + queryKeyPrefix: "VotesQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDeposit = buildUseVueQuery({ + builderQueryFn: createGetDeposit, + queryKeyPrefix: "DepositQuery" +}); +export const useGetDeposits = buildUseVueQuery({ + builderQueryFn: createGetDeposits, + queryKeyPrefix: "DepositsQuery" +}); +export const useGetTallyResult = buildUseVueQuery({ + builderQueryFn: createGetTallyResult, + queryKeyPrefix: "TallyResultQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.func.ts index 4723ba8d2c..11f09230bf 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export const createSubmitProposal = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,42 +7,27 @@ export const createSubmitProposal = (clientResolver?: SigningClientResolver) => encoders: toEncoders(MsgSubmitProposal), converters: toConverters(MsgSubmitProposal) }); -export const useSubmitProposal = buildUseMutation({ - builderMutationFn: createSubmitProposal -}); export const createExecLegacyContent = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgExecLegacyContent.typeUrl, encoders: toEncoders(MsgExecLegacyContent), converters: toConverters(MsgExecLegacyContent) }); -export const useExecLegacyContent = buildUseMutation({ - builderMutationFn: createExecLegacyContent -}); export const createVote = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgVote.typeUrl, encoders: toEncoders(MsgVote), converters: toConverters(MsgVote) }); -export const useVote = buildUseMutation({ - builderMutationFn: createVote -}); export const createVoteWeighted = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgVoteWeighted.typeUrl, encoders: toEncoders(MsgVoteWeighted), converters: toConverters(MsgVoteWeighted) }); -export const useVoteWeighted = buildUseMutation({ - builderMutationFn: createVoteWeighted -}); export const createDeposit = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDeposit.typeUrl, encoders: toEncoders(MsgDeposit), converters: toConverters(MsgDeposit) -}); -export const useDeposit = buildUseMutation({ - builderMutationFn: createDeposit }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..d403c0679b --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.react.ts @@ -0,0 +1,18 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +import { createSubmitProposal, createExecLegacyContent, createVote, createVoteWeighted, createDeposit } from "./tx.rpc.func.ts"; +export const useSubmitProposal = buildUseMutation({ + builderMutationFn: createSubmitProposal +}); +export const useExecLegacyContent = buildUseMutation({ + builderMutationFn: createExecLegacyContent +}); +export const useVote = buildUseMutation({ + builderMutationFn: createVote +}); +export const useVoteWeighted = buildUseMutation({ + builderMutationFn: createVoteWeighted +}); +export const useDeposit = buildUseMutation({ + builderMutationFn: createDeposit +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..6de7d25603 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1/tx.rpc.vue.ts @@ -0,0 +1,18 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +import { createSubmitProposal, createExecLegacyContent, createVote, createVoteWeighted, createDeposit } from "./tx.rpc.func.ts"; +export const useSubmitProposal = buildUseVueMutation({ + builderMutationFn: createSubmitProposal +}); +export const useExecLegacyContent = buildUseVueMutation({ + builderMutationFn: createExecLegacyContent +}); +export const useVote = buildUseVueMutation({ + builderMutationFn: createVote +}); +export const useVoteWeighted = buildUseVueMutation({ + builderMutationFn: createVoteWeighted +}); +export const useDeposit = buildUseVueMutation({ + builderMutationFn: createDeposit +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.func.ts index 5add14c496..eadeddd8c2 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; export const createGetProposal = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProposalRequest.encode, @@ -8,10 +7,6 @@ export const createGetProposal = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetProposal, - queryKeyPrefix: "ProposalQuery" -}); export const createGetProposals = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProposalsRequest.encode, decode: QueryProposalsResponse.decode, @@ -19,10 +14,6 @@ export const createGetProposals = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetProposals, - queryKeyPrefix: "ProposalsQuery" -}); export const createGetVote = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVoteRequest.encode, decode: QueryVoteResponse.decode, @@ -30,10 +21,6 @@ export const createGetVote = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetVote, - queryKeyPrefix: "VoteQuery" -}); export const createGetVotes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVotesRequest.encode, decode: QueryVotesResponse.decode, @@ -41,10 +28,6 @@ export const createGetVotes = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetVotes, - queryKeyPrefix: "VotesQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -52,10 +35,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetDeposit = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDepositRequest.encode, decode: QueryDepositResponse.decode, @@ -63,10 +42,6 @@ export const createGetDeposit = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetDeposit, - queryKeyPrefix: "DepositQuery" -}); export const createGetDeposits = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDepositsRequest.encode, decode: QueryDepositsResponse.decode, @@ -74,18 +49,10 @@ export const createGetDeposits = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetDeposits, - queryKeyPrefix: "DepositsQuery" -}); export const createGetTallyResult = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTallyResultRequest.encode, decode: QueryTallyResultResponse.decode, service: "cosmos.gov.v1beta1.Query", method: "TallyResult", clientResolver -}); -export const useGetTallyResult = buildUseQuery({ - builderQueryFn: createGetTallyResult, - queryKeyPrefix: "TallyResultQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..5f574fba73 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.react.ts @@ -0,0 +1,35 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +import { createGetProposal, createGetProposals, createGetVote, createGetVotes, createGetParams, createGetDeposit, createGetDeposits, createGetTallyResult } from "./query.rpc.func.ts"; +export const useGetProposal = buildUseQuery({ + builderQueryFn: createGetProposal, + queryKeyPrefix: "ProposalQuery" +}); +export const useGetProposals = buildUseQuery({ + builderQueryFn: createGetProposals, + queryKeyPrefix: "ProposalsQuery" +}); +export const useGetVote = buildUseQuery({ + builderQueryFn: createGetVote, + queryKeyPrefix: "VoteQuery" +}); +export const useGetVotes = buildUseQuery({ + builderQueryFn: createGetVotes, + queryKeyPrefix: "VotesQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDeposit = buildUseQuery({ + builderQueryFn: createGetDeposit, + queryKeyPrefix: "DepositQuery" +}); +export const useGetDeposits = buildUseQuery({ + builderQueryFn: createGetDeposits, + queryKeyPrefix: "DepositsQuery" +}); +export const useGetTallyResult = buildUseQuery({ + builderQueryFn: createGetTallyResult, + queryKeyPrefix: "TallyResultQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..1771e4a1fb --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/query.rpc.vue.ts @@ -0,0 +1,35 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +import { createGetProposal, createGetProposals, createGetVote, createGetVotes, createGetParams, createGetDeposit, createGetDeposits, createGetTallyResult } from "./query.rpc.func.ts"; +export const useGetProposal = buildUseVueQuery({ + builderQueryFn: createGetProposal, + queryKeyPrefix: "ProposalQuery" +}); +export const useGetProposals = buildUseVueQuery({ + builderQueryFn: createGetProposals, + queryKeyPrefix: "ProposalsQuery" +}); +export const useGetVote = buildUseVueQuery({ + builderQueryFn: createGetVote, + queryKeyPrefix: "VoteQuery" +}); +export const useGetVotes = buildUseVueQuery({ + builderQueryFn: createGetVotes, + queryKeyPrefix: "VotesQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDeposit = buildUseVueQuery({ + builderQueryFn: createGetDeposit, + queryKeyPrefix: "DepositQuery" +}); +export const useGetDeposits = buildUseVueQuery({ + builderQueryFn: createGetDeposits, + queryKeyPrefix: "DepositsQuery" +}); +export const useGetTallyResult = buildUseVueQuery({ + builderQueryFn: createGetTallyResult, + queryKeyPrefix: "TallyResultQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.func.ts index b4c29c820a..222ecb6c47 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export const createSubmitProposal = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,33 +7,21 @@ export const createSubmitProposal = (clientResolver?: SigningClientResolver) => encoders: toEncoders(MsgSubmitProposal), converters: toConverters(MsgSubmitProposal) }); -export const useSubmitProposal = buildUseMutation({ - builderMutationFn: createSubmitProposal -}); export const createVote = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgVote.typeUrl, encoders: toEncoders(MsgVote), converters: toConverters(MsgVote) }); -export const useVote = buildUseMutation({ - builderMutationFn: createVote -}); export const createVoteWeighted = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgVoteWeighted.typeUrl, encoders: toEncoders(MsgVoteWeighted), converters: toConverters(MsgVoteWeighted) }); -export const useVoteWeighted = buildUseMutation({ - builderMutationFn: createVoteWeighted -}); export const createDeposit = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDeposit.typeUrl, encoders: toEncoders(MsgDeposit), converters: toConverters(MsgDeposit) -}); -export const useDeposit = buildUseMutation({ - builderMutationFn: createDeposit }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..b2fb7805f4 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +import { createSubmitProposal, createVote, createVoteWeighted, createDeposit } from "./tx.rpc.func.ts"; +export const useSubmitProposal = buildUseMutation({ + builderMutationFn: createSubmitProposal +}); +export const useVote = buildUseMutation({ + builderMutationFn: createVote +}); +export const useVoteWeighted = buildUseMutation({ + builderMutationFn: createVoteWeighted +}); +export const useDeposit = buildUseMutation({ + builderMutationFn: createDeposit +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..f1bc66daa9 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/gov/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +import { createSubmitProposal, createVote, createVoteWeighted, createDeposit } from "./tx.rpc.func.ts"; +export const useSubmitProposal = buildUseVueMutation({ + builderMutationFn: createSubmitProposal +}); +export const useVote = buildUseVueMutation({ + builderMutationFn: createVote +}); +export const useVoteWeighted = buildUseVueMutation({ + builderMutationFn: createVoteWeighted +}); +export const useDeposit = buildUseVueMutation({ + builderMutationFn: createDeposit +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.func.ts index ae211fc6e7..f299deef09 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryProposalRequest, QueryProposalResponse, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; export const createGetGroupInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupInfoRequest.encode, @@ -8,10 +7,6 @@ export const createGetGroupInfo = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetGroupInfo, - queryKeyPrefix: "GroupInfoQuery" -}); export const createGetGroupPolicyInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupPolicyInfoRequest.encode, decode: QueryGroupPolicyInfoResponse.decode, @@ -19,10 +14,6 @@ export const createGetGroupPolicyInfo = (clientResolver?: RpcResolver) => buildQ method: "GroupPolicyInfo", clientResolver }); -export const useGetGroupPolicyInfo = buildUseQuery({ - builderQueryFn: createGetGroupPolicyInfo, - queryKeyPrefix: "GroupPolicyInfoQuery" -}); export const createGetGroupMembers = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupMembersRequest.encode, decode: QueryGroupMembersResponse.decode, @@ -30,10 +21,6 @@ export const createGetGroupMembers = (clientResolver?: RpcResolver) => buildQuer method: "GroupMembers", clientResolver }); -export const useGetGroupMembers = buildUseQuery({ - builderQueryFn: createGetGroupMembers, - queryKeyPrefix: "GroupMembersQuery" -}); export const createGetGroupsByAdmin = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupsByAdminRequest.encode, decode: QueryGroupsByAdminResponse.decode, @@ -41,10 +28,6 @@ export const createGetGroupsByAdmin = (clientResolver?: RpcResolver) => buildQue method: "GroupsByAdmin", clientResolver }); -export const useGetGroupsByAdmin = buildUseQuery({ - builderQueryFn: createGetGroupsByAdmin, - queryKeyPrefix: "GroupsByAdminQuery" -}); export const createGetGroupPoliciesByGroup = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupPoliciesByGroupRequest.encode, decode: QueryGroupPoliciesByGroupResponse.decode, @@ -52,10 +35,6 @@ export const createGetGroupPoliciesByGroup = (clientResolver?: RpcResolver) => b method: "GroupPoliciesByGroup", clientResolver }); -export const useGetGroupPoliciesByGroup = buildUseQuery({ - builderQueryFn: createGetGroupPoliciesByGroup, - queryKeyPrefix: "GroupPoliciesByGroupQuery" -}); export const createGetGroupPoliciesByAdmin = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupPoliciesByAdminRequest.encode, decode: QueryGroupPoliciesByAdminResponse.decode, @@ -63,10 +42,6 @@ export const createGetGroupPoliciesByAdmin = (clientResolver?: RpcResolver) => b method: "GroupPoliciesByAdmin", clientResolver }); -export const useGetGroupPoliciesByAdmin = buildUseQuery({ - builderQueryFn: createGetGroupPoliciesByAdmin, - queryKeyPrefix: "GroupPoliciesByAdminQuery" -}); export const createGetProposal = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProposalRequest.encode, decode: QueryProposalResponse.decode, @@ -74,10 +49,6 @@ export const createGetProposal = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetProposal, - queryKeyPrefix: "ProposalQuery" -}); export const createGetProposalsByGroupPolicy = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryProposalsByGroupPolicyRequest.encode, decode: QueryProposalsByGroupPolicyResponse.decode, @@ -85,10 +56,6 @@ export const createGetProposalsByGroupPolicy = (clientResolver?: RpcResolver) => method: "ProposalsByGroupPolicy", clientResolver }); -export const useGetProposalsByGroupPolicy = buildUseQuery({ - builderQueryFn: createGetProposalsByGroupPolicy, - queryKeyPrefix: "ProposalsByGroupPolicyQuery" -}); export const createGetVoteByProposalVoter = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVoteByProposalVoterRequest.encode, decode: QueryVoteByProposalVoterResponse.decode, @@ -96,10 +63,6 @@ export const createGetVoteByProposalVoter = (clientResolver?: RpcResolver) => bu method: "VoteByProposalVoter", clientResolver }); -export const useGetVoteByProposalVoter = buildUseQuery({ - builderQueryFn: createGetVoteByProposalVoter, - queryKeyPrefix: "VoteByProposalVoterQuery" -}); export const createGetVotesByProposal = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVotesByProposalRequest.encode, decode: QueryVotesByProposalResponse.decode, @@ -107,10 +70,6 @@ export const createGetVotesByProposal = (clientResolver?: RpcResolver) => buildQ method: "VotesByProposal", clientResolver }); -export const useGetVotesByProposal = buildUseQuery({ - builderQueryFn: createGetVotesByProposal, - queryKeyPrefix: "VotesByProposalQuery" -}); export const createGetVotesByVoter = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryVotesByVoterRequest.encode, decode: QueryVotesByVoterResponse.decode, @@ -118,10 +77,6 @@ export const createGetVotesByVoter = (clientResolver?: RpcResolver) => buildQuer method: "VotesByVoter", clientResolver }); -export const useGetVotesByVoter = buildUseQuery({ - builderQueryFn: createGetVotesByVoter, - queryKeyPrefix: "VotesByVoterQuery" -}); export const createGetGroupsByMember = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGroupsByMemberRequest.encode, decode: QueryGroupsByMemberResponse.decode, @@ -129,18 +84,10 @@ export const createGetGroupsByMember = (clientResolver?: RpcResolver) => buildQu method: "GroupsByMember", clientResolver }); -export const useGetGroupsByMember = buildUseQuery({ - builderQueryFn: createGetGroupsByMember, - queryKeyPrefix: "GroupsByMemberQuery" -}); export const createGetTallyResult = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTallyResultRequest.encode, decode: QueryTallyResultResponse.decode, service: "cosmos.group.v1.Query", method: "TallyResult", clientResolver -}); -export const useGetTallyResult = buildUseQuery({ - builderQueryFn: createGetTallyResult, - queryKeyPrefix: "TallyResultQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.react.ts new file mode 100644 index 0000000000..79a0a58f05 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.react.ts @@ -0,0 +1,55 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryProposalRequest, QueryProposalResponse, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +import { createGetGroupInfo, createGetGroupPolicyInfo, createGetGroupMembers, createGetGroupsByAdmin, createGetGroupPoliciesByGroup, createGetGroupPoliciesByAdmin, createGetProposal, createGetProposalsByGroupPolicy, createGetVoteByProposalVoter, createGetVotesByProposal, createGetVotesByVoter, createGetGroupsByMember, createGetTallyResult } from "./query.rpc.func.ts"; +export const useGetGroupInfo = buildUseQuery({ + builderQueryFn: createGetGroupInfo, + queryKeyPrefix: "GroupInfoQuery" +}); +export const useGetGroupPolicyInfo = buildUseQuery({ + builderQueryFn: createGetGroupPolicyInfo, + queryKeyPrefix: "GroupPolicyInfoQuery" +}); +export const useGetGroupMembers = buildUseQuery({ + builderQueryFn: createGetGroupMembers, + queryKeyPrefix: "GroupMembersQuery" +}); +export const useGetGroupsByAdmin = buildUseQuery({ + builderQueryFn: createGetGroupsByAdmin, + queryKeyPrefix: "GroupsByAdminQuery" +}); +export const useGetGroupPoliciesByGroup = buildUseQuery({ + builderQueryFn: createGetGroupPoliciesByGroup, + queryKeyPrefix: "GroupPoliciesByGroupQuery" +}); +export const useGetGroupPoliciesByAdmin = buildUseQuery({ + builderQueryFn: createGetGroupPoliciesByAdmin, + queryKeyPrefix: "GroupPoliciesByAdminQuery" +}); +export const useGetProposal = buildUseQuery({ + builderQueryFn: createGetProposal, + queryKeyPrefix: "ProposalQuery" +}); +export const useGetProposalsByGroupPolicy = buildUseQuery({ + builderQueryFn: createGetProposalsByGroupPolicy, + queryKeyPrefix: "ProposalsByGroupPolicyQuery" +}); +export const useGetVoteByProposalVoter = buildUseQuery({ + builderQueryFn: createGetVoteByProposalVoter, + queryKeyPrefix: "VoteByProposalVoterQuery" +}); +export const useGetVotesByProposal = buildUseQuery({ + builderQueryFn: createGetVotesByProposal, + queryKeyPrefix: "VotesByProposalQuery" +}); +export const useGetVotesByVoter = buildUseQuery({ + builderQueryFn: createGetVotesByVoter, + queryKeyPrefix: "VotesByVoterQuery" +}); +export const useGetGroupsByMember = buildUseQuery({ + builderQueryFn: createGetGroupsByMember, + queryKeyPrefix: "GroupsByMemberQuery" +}); +export const useGetTallyResult = buildUseQuery({ + builderQueryFn: createGetTallyResult, + queryKeyPrefix: "TallyResultQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..fff7059513 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/group/v1/query.rpc.vue.ts @@ -0,0 +1,55 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryProposalRequest, QueryProposalResponse, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +import { createGetGroupInfo, createGetGroupPolicyInfo, createGetGroupMembers, createGetGroupsByAdmin, createGetGroupPoliciesByGroup, createGetGroupPoliciesByAdmin, createGetProposal, createGetProposalsByGroupPolicy, createGetVoteByProposalVoter, createGetVotesByProposal, createGetVotesByVoter, createGetGroupsByMember, createGetTallyResult } from "./query.rpc.func.ts"; +export const useGetGroupInfo = buildUseVueQuery({ + builderQueryFn: createGetGroupInfo, + queryKeyPrefix: "GroupInfoQuery" +}); +export const useGetGroupPolicyInfo = buildUseVueQuery({ + builderQueryFn: createGetGroupPolicyInfo, + queryKeyPrefix: "GroupPolicyInfoQuery" +}); +export const useGetGroupMembers = buildUseVueQuery({ + builderQueryFn: createGetGroupMembers, + queryKeyPrefix: "GroupMembersQuery" +}); +export const useGetGroupsByAdmin = buildUseVueQuery({ + builderQueryFn: createGetGroupsByAdmin, + queryKeyPrefix: "GroupsByAdminQuery" +}); +export const useGetGroupPoliciesByGroup = buildUseVueQuery({ + builderQueryFn: createGetGroupPoliciesByGroup, + queryKeyPrefix: "GroupPoliciesByGroupQuery" +}); +export const useGetGroupPoliciesByAdmin = buildUseVueQuery({ + builderQueryFn: createGetGroupPoliciesByAdmin, + queryKeyPrefix: "GroupPoliciesByAdminQuery" +}); +export const useGetProposal = buildUseVueQuery({ + builderQueryFn: createGetProposal, + queryKeyPrefix: "ProposalQuery" +}); +export const useGetProposalsByGroupPolicy = buildUseVueQuery({ + builderQueryFn: createGetProposalsByGroupPolicy, + queryKeyPrefix: "ProposalsByGroupPolicyQuery" +}); +export const useGetVoteByProposalVoter = buildUseVueQuery({ + builderQueryFn: createGetVoteByProposalVoter, + queryKeyPrefix: "VoteByProposalVoterQuery" +}); +export const useGetVotesByProposal = buildUseVueQuery({ + builderQueryFn: createGetVotesByProposal, + queryKeyPrefix: "VotesByProposalQuery" +}); +export const useGetVotesByVoter = buildUseVueQuery({ + builderQueryFn: createGetVotesByVoter, + queryKeyPrefix: "VotesByVoterQuery" +}); +export const useGetGroupsByMember = buildUseVueQuery({ + builderQueryFn: createGetGroupsByMember, + queryKeyPrefix: "GroupsByMemberQuery" +}); +export const useGetTallyResult = buildUseVueQuery({ + builderQueryFn: createGetTallyResult, + queryKeyPrefix: "TallyResultQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.func.ts index 274c0be9c2..28648bdd95 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; export const createCreateGroup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,123 +7,81 @@ export const createCreateGroup = (clientResolver?: SigningClientResolver) => bui encoders: toEncoders(MsgCreateGroup), converters: toConverters(MsgCreateGroup) }); -export const useCreateGroup = buildUseMutation({ - builderMutationFn: createCreateGroup -}); export const createUpdateGroupMembers = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateGroupMembers.typeUrl, encoders: toEncoders(MsgUpdateGroupMembers), converters: toConverters(MsgUpdateGroupMembers) }); -export const useUpdateGroupMembers = buildUseMutation({ - builderMutationFn: createUpdateGroupMembers -}); export const createUpdateGroupAdmin = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateGroupAdmin.typeUrl, encoders: toEncoders(MsgUpdateGroupAdmin), converters: toConverters(MsgUpdateGroupAdmin) }); -export const useUpdateGroupAdmin = buildUseMutation({ - builderMutationFn: createUpdateGroupAdmin -}); export const createUpdateGroupMetadata = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateGroupMetadata.typeUrl, encoders: toEncoders(MsgUpdateGroupMetadata), converters: toConverters(MsgUpdateGroupMetadata) }); -export const useUpdateGroupMetadata = buildUseMutation({ - builderMutationFn: createUpdateGroupMetadata -}); export const createCreateGroupPolicy = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCreateGroupPolicy.typeUrl, encoders: toEncoders(MsgCreateGroupPolicy), converters: toConverters(MsgCreateGroupPolicy) }); -export const useCreateGroupPolicy = buildUseMutation({ - builderMutationFn: createCreateGroupPolicy -}); export const createCreateGroupWithPolicy = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCreateGroupWithPolicy.typeUrl, encoders: toEncoders(MsgCreateGroupWithPolicy), converters: toConverters(MsgCreateGroupWithPolicy) }); -export const useCreateGroupWithPolicy = buildUseMutation({ - builderMutationFn: createCreateGroupWithPolicy -}); export const createUpdateGroupPolicyAdmin = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateGroupPolicyAdmin.typeUrl, encoders: toEncoders(MsgUpdateGroupPolicyAdmin), converters: toConverters(MsgUpdateGroupPolicyAdmin) }); -export const useUpdateGroupPolicyAdmin = buildUseMutation({ - builderMutationFn: createUpdateGroupPolicyAdmin -}); export const createUpdateGroupPolicyDecisionPolicy = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateGroupPolicyDecisionPolicy.typeUrl, encoders: toEncoders(MsgUpdateGroupPolicyDecisionPolicy), converters: toConverters(MsgUpdateGroupPolicyDecisionPolicy) }); -export const useUpdateGroupPolicyDecisionPolicy = buildUseMutation({ - builderMutationFn: createUpdateGroupPolicyDecisionPolicy -}); export const createUpdateGroupPolicyMetadata = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateGroupPolicyMetadata.typeUrl, encoders: toEncoders(MsgUpdateGroupPolicyMetadata), converters: toConverters(MsgUpdateGroupPolicyMetadata) }); -export const useUpdateGroupPolicyMetadata = buildUseMutation({ - builderMutationFn: createUpdateGroupPolicyMetadata -}); export const createSubmitProposal = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSubmitProposal.typeUrl, encoders: toEncoders(MsgSubmitProposal), converters: toConverters(MsgSubmitProposal) }); -export const useSubmitProposal = buildUseMutation({ - builderMutationFn: createSubmitProposal -}); export const createWithdrawProposal = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgWithdrawProposal.typeUrl, encoders: toEncoders(MsgWithdrawProposal), converters: toConverters(MsgWithdrawProposal) }); -export const useWithdrawProposal = buildUseMutation({ - builderMutationFn: createWithdrawProposal -}); export const createVote = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgVote.typeUrl, encoders: toEncoders(MsgVote), converters: toConverters(MsgVote) }); -export const useVote = buildUseMutation({ - builderMutationFn: createVote -}); export const createExec = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgExec.typeUrl, encoders: toEncoders(MsgExec), converters: toConverters(MsgExec) }); -export const useExec = buildUseMutation({ - builderMutationFn: createExec -}); export const createLeaveGroup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgLeaveGroup.typeUrl, encoders: toEncoders(MsgLeaveGroup), converters: toConverters(MsgLeaveGroup) -}); -export const useLeaveGroup = buildUseMutation({ - builderMutationFn: createLeaveGroup }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..25f1ac8451 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.react.ts @@ -0,0 +1,45 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; +import { createCreateGroup, createUpdateGroupMembers, createUpdateGroupAdmin, createUpdateGroupMetadata, createCreateGroupPolicy, createCreateGroupWithPolicy, createUpdateGroupPolicyAdmin, createUpdateGroupPolicyDecisionPolicy, createUpdateGroupPolicyMetadata, createSubmitProposal, createWithdrawProposal, createVote, createExec, createLeaveGroup } from "./tx.rpc.func.ts"; +export const useCreateGroup = buildUseMutation({ + builderMutationFn: createCreateGroup +}); +export const useUpdateGroupMembers = buildUseMutation({ + builderMutationFn: createUpdateGroupMembers +}); +export const useUpdateGroupAdmin = buildUseMutation({ + builderMutationFn: createUpdateGroupAdmin +}); +export const useUpdateGroupMetadata = buildUseMutation({ + builderMutationFn: createUpdateGroupMetadata +}); +export const useCreateGroupPolicy = buildUseMutation({ + builderMutationFn: createCreateGroupPolicy +}); +export const useCreateGroupWithPolicy = buildUseMutation({ + builderMutationFn: createCreateGroupWithPolicy +}); +export const useUpdateGroupPolicyAdmin = buildUseMutation({ + builderMutationFn: createUpdateGroupPolicyAdmin +}); +export const useUpdateGroupPolicyDecisionPolicy = buildUseMutation({ + builderMutationFn: createUpdateGroupPolicyDecisionPolicy +}); +export const useUpdateGroupPolicyMetadata = buildUseMutation({ + builderMutationFn: createUpdateGroupPolicyMetadata +}); +export const useSubmitProposal = buildUseMutation({ + builderMutationFn: createSubmitProposal +}); +export const useWithdrawProposal = buildUseMutation({ + builderMutationFn: createWithdrawProposal +}); +export const useVote = buildUseMutation({ + builderMutationFn: createVote +}); +export const useExec = buildUseMutation({ + builderMutationFn: createExec +}); +export const useLeaveGroup = buildUseMutation({ + builderMutationFn: createLeaveGroup +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..ed9a30e064 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/group/v1/tx.rpc.vue.ts @@ -0,0 +1,45 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; +import { createCreateGroup, createUpdateGroupMembers, createUpdateGroupAdmin, createUpdateGroupMetadata, createCreateGroupPolicy, createCreateGroupWithPolicy, createUpdateGroupPolicyAdmin, createUpdateGroupPolicyDecisionPolicy, createUpdateGroupPolicyMetadata, createSubmitProposal, createWithdrawProposal, createVote, createExec, createLeaveGroup } from "./tx.rpc.func.ts"; +export const useCreateGroup = buildUseVueMutation({ + builderMutationFn: createCreateGroup +}); +export const useUpdateGroupMembers = buildUseVueMutation({ + builderMutationFn: createUpdateGroupMembers +}); +export const useUpdateGroupAdmin = buildUseVueMutation({ + builderMutationFn: createUpdateGroupAdmin +}); +export const useUpdateGroupMetadata = buildUseVueMutation({ + builderMutationFn: createUpdateGroupMetadata +}); +export const useCreateGroupPolicy = buildUseVueMutation({ + builderMutationFn: createCreateGroupPolicy +}); +export const useCreateGroupWithPolicy = buildUseVueMutation({ + builderMutationFn: createCreateGroupWithPolicy +}); +export const useUpdateGroupPolicyAdmin = buildUseVueMutation({ + builderMutationFn: createUpdateGroupPolicyAdmin +}); +export const useUpdateGroupPolicyDecisionPolicy = buildUseVueMutation({ + builderMutationFn: createUpdateGroupPolicyDecisionPolicy +}); +export const useUpdateGroupPolicyMetadata = buildUseVueMutation({ + builderMutationFn: createUpdateGroupPolicyMetadata +}); +export const useSubmitProposal = buildUseVueMutation({ + builderMutationFn: createSubmitProposal +}); +export const useWithdrawProposal = buildUseVueMutation({ + builderMutationFn: createWithdrawProposal +}); +export const useVote = buildUseVueMutation({ + builderMutationFn: createVote +}); +export const useExec = buildUseVueMutation({ + builderMutationFn: createExec +}); +export const useLeaveGroup = buildUseVueMutation({ + builderMutationFn: createLeaveGroup +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.func.ts index d90a2cf6c0..a809d63dac 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -8,10 +7,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetInflation = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryInflationRequest.encode, decode: QueryInflationResponse.decode, @@ -19,18 +14,10 @@ export const createGetInflation = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetInflation, - queryKeyPrefix: "InflationQuery" -}); export const createGetAnnualProvisions = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAnnualProvisionsRequest.encode, decode: QueryAnnualProvisionsResponse.decode, service: "cosmos.mint.v1beta1.Query", method: "AnnualProvisions", clientResolver -}); -export const useGetAnnualProvisions = buildUseQuery({ - builderQueryFn: createGetAnnualProvisions, - queryKeyPrefix: "AnnualProvisionsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..9c9b0f317b --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; +import { createGetParams, createGetInflation, createGetAnnualProvisions } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetInflation = buildUseQuery({ + builderQueryFn: createGetInflation, + queryKeyPrefix: "InflationQuery" +}); +export const useGetAnnualProvisions = buildUseQuery({ + builderQueryFn: createGetAnnualProvisions, + queryKeyPrefix: "AnnualProvisionsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..224f8a341a --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/mint/v1beta1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; +import { createGetParams, createGetInflation, createGetAnnualProvisions } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetInflation = buildUseVueQuery({ + builderQueryFn: createGetInflation, + queryKeyPrefix: "InflationQuery" +}); +export const useGetAnnualProvisions = buildUseVueQuery({ + builderQueryFn: createGetAnnualProvisions, + queryKeyPrefix: "AnnualProvisionsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.func.ts index 8554954dce..26f2348065 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; export const createGetBalance = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryBalanceRequest.encode, @@ -8,10 +7,6 @@ export const createGetBalance = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetBalance, - queryKeyPrefix: "BalanceQuery" -}); export const createGetOwner = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryOwnerRequest.encode, decode: QueryOwnerResponse.decode, @@ -19,10 +14,6 @@ export const createGetOwner = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetOwner, - queryKeyPrefix: "OwnerQuery" -}); export const createGetSupply = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySupplyRequest.encode, decode: QuerySupplyResponse.decode, @@ -30,10 +21,6 @@ export const createGetSupply = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetSupply, - queryKeyPrefix: "SupplyQuery" -}); export const createGetNFTs = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryNFTsRequest.encode, decode: QueryNFTsResponse.decode, @@ -41,10 +28,6 @@ export const createGetNFTs = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetNFTs, - queryKeyPrefix: "NFTsQuery" -}); export const createGetNFT = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryNFTRequest.encode, decode: QueryNFTResponse.decode, @@ -52,10 +35,6 @@ export const createGetNFT = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetNFT, - queryKeyPrefix: "NFTQuery" -}); export const createGetClass = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClassRequest.encode, decode: QueryClassResponse.decode, @@ -63,18 +42,10 @@ export const createGetClass = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetClass, - queryKeyPrefix: "ClassQuery" -}); export const createGetClasses = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClassesRequest.encode, decode: QueryClassesResponse.decode, service: "cosmos.nft.v1beta1.Query", method: "Classes", clientResolver -}); -export const useGetClasses = buildUseQuery({ - builderQueryFn: createGetClasses, - queryKeyPrefix: "ClassesQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..860909b4aa --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.react.ts @@ -0,0 +1,31 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; +import { createGetBalance, createGetOwner, createGetSupply, createGetNFTs, createGetNFT, createGetClass, createGetClasses } from "./query.rpc.func.ts"; +export const useGetBalance = buildUseQuery({ + builderQueryFn: createGetBalance, + queryKeyPrefix: "BalanceQuery" +}); +export const useGetOwner = buildUseQuery({ + builderQueryFn: createGetOwner, + queryKeyPrefix: "OwnerQuery" +}); +export const useGetSupply = buildUseQuery({ + builderQueryFn: createGetSupply, + queryKeyPrefix: "SupplyQuery" +}); +export const useGetNFTs = buildUseQuery({ + builderQueryFn: createGetNFTs, + queryKeyPrefix: "NFTsQuery" +}); +export const useGetNFT = buildUseQuery({ + builderQueryFn: createGetNFT, + queryKeyPrefix: "NFTQuery" +}); +export const useGetClass = buildUseQuery({ + builderQueryFn: createGetClass, + queryKeyPrefix: "ClassQuery" +}); +export const useGetClasses = buildUseQuery({ + builderQueryFn: createGetClasses, + queryKeyPrefix: "ClassesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..f0fb82310f --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/query.rpc.vue.ts @@ -0,0 +1,31 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; +import { createGetBalance, createGetOwner, createGetSupply, createGetNFTs, createGetNFT, createGetClass, createGetClasses } from "./query.rpc.func.ts"; +export const useGetBalance = buildUseVueQuery({ + builderQueryFn: createGetBalance, + queryKeyPrefix: "BalanceQuery" +}); +export const useGetOwner = buildUseVueQuery({ + builderQueryFn: createGetOwner, + queryKeyPrefix: "OwnerQuery" +}); +export const useGetSupply = buildUseVueQuery({ + builderQueryFn: createGetSupply, + queryKeyPrefix: "SupplyQuery" +}); +export const useGetNFTs = buildUseVueQuery({ + builderQueryFn: createGetNFTs, + queryKeyPrefix: "NFTsQuery" +}); +export const useGetNFT = buildUseVueQuery({ + builderQueryFn: createGetNFT, + queryKeyPrefix: "NFTQuery" +}); +export const useGetClass = buildUseVueQuery({ + builderQueryFn: createGetClass, + queryKeyPrefix: "ClassQuery" +}); +export const useGetClasses = buildUseVueQuery({ + builderQueryFn: createGetClasses, + queryKeyPrefix: "ClassesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.func.ts index f01622cee6..e8e832b326 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.func.ts @@ -1,13 +1,9 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSend } from "./tx"; export const createSend = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSend.typeUrl, encoders: toEncoders(MsgSend), converters: toConverters(MsgSend) -}); -export const useSend = buildUseMutation({ - builderMutationFn: createSend }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..01f2c70110 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.react.ts @@ -0,0 +1,6 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSend } from "./tx"; +import { createSend } from "./tx.rpc.func.ts"; +export const useSend = buildUseMutation({ + builderMutationFn: createSend +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..6ec53ef621 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/nft/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,6 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSend } from "./tx"; +import { createSend } from "./tx.rpc.func.ts"; +export const useSend = buildUseVueMutation({ + builderMutationFn: createSend +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.func.ts index ff567e8ea8..ce4af5b26b 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -8,18 +7,10 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetSubspaces = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySubspacesRequest.encode, decode: QuerySubspacesResponse.decode, service: "cosmos.params.v1beta1.Query", method: "Subspaces", clientResolver -}); -export const useGetSubspaces = buildUseQuery({ - builderQueryFn: createGetSubspaces, - queryKeyPrefix: "SubspacesQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..9ef0617ba7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; +import { createGetParams, createGetSubspaces } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetSubspaces = buildUseQuery({ + builderQueryFn: createGetSubspaces, + queryKeyPrefix: "SubspacesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..2b06be90c7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/params/v1beta1/query.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; +import { createGetParams, createGetSubspaces } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetSubspaces = buildUseVueQuery({ + builderQueryFn: createGetSubspaces, + queryKeyPrefix: "SubspacesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.func.ts index e3bcdad7ae..7d006edea4 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -8,10 +7,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetSigningInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySigningInfoRequest.encode, decode: QuerySigningInfoResponse.decode, @@ -19,18 +14,10 @@ export const createGetSigningInfo = (clientResolver?: RpcResolver) => buildQuery method: "SigningInfo", clientResolver }); -export const useGetSigningInfo = buildUseQuery({ - builderQueryFn: createGetSigningInfo, - queryKeyPrefix: "SigningInfoQuery" -}); export const createGetSigningInfos = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySigningInfosRequest.encode, decode: QuerySigningInfosResponse.decode, service: "cosmos.slashing.v1beta1.Query", method: "SigningInfos", clientResolver -}); -export const useGetSigningInfos = buildUseQuery({ - builderQueryFn: createGetSigningInfos, - queryKeyPrefix: "SigningInfosQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..81907d3e6c --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; +import { createGetParams, createGetSigningInfo, createGetSigningInfos } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetSigningInfo = buildUseQuery({ + builderQueryFn: createGetSigningInfo, + queryKeyPrefix: "SigningInfoQuery" +}); +export const useGetSigningInfos = buildUseQuery({ + builderQueryFn: createGetSigningInfos, + queryKeyPrefix: "SigningInfosQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..cc3cd01d95 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; +import { createGetParams, createGetSigningInfo, createGetSigningInfos } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetSigningInfo = buildUseVueQuery({ + builderQueryFn: createGetSigningInfo, + queryKeyPrefix: "SigningInfoQuery" +}); +export const useGetSigningInfos = buildUseVueQuery({ + builderQueryFn: createGetSigningInfos, + queryKeyPrefix: "SigningInfosQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.func.ts index a97afcec2e..32df93f54d 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.func.ts @@ -1,13 +1,9 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgUnjail } from "./tx"; export const createUnjail = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUnjail.typeUrl, encoders: toEncoders(MsgUnjail), converters: toConverters(MsgUnjail) -}); -export const useUnjail = buildUseMutation({ - builderMutationFn: createUnjail }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..42bcccc388 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.react.ts @@ -0,0 +1,6 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgUnjail } from "./tx"; +import { createUnjail } from "./tx.rpc.func.ts"; +export const useUnjail = buildUseMutation({ + builderMutationFn: createUnjail +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..6fbdf17477 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/slashing/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,6 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgUnjail } from "./tx"; +import { createUnjail } from "./tx.rpc.func.ts"; +export const useUnjail = buildUseVueMutation({ + builderMutationFn: createUnjail +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.func.ts index 0d3c0cfcf0..d870abdcd1 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; export const createGetValidators = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryValidatorsRequest.encode, @@ -8,10 +7,6 @@ export const createGetValidators = (clientResolver?: RpcResolver) => buildQuery< method: "Validators", clientResolver }); -export const useGetValidators = buildUseQuery({ - builderQueryFn: createGetValidators, - queryKeyPrefix: "ValidatorsQuery" -}); export const createGetValidator = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryValidatorRequest.encode, decode: QueryValidatorResponse.decode, @@ -19,10 +14,6 @@ export const createGetValidator = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetValidator, - queryKeyPrefix: "ValidatorQuery" -}); export const createGetValidatorDelegations = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryValidatorDelegationsRequest.encode, decode: QueryValidatorDelegationsResponse.decode, @@ -30,10 +21,6 @@ export const createGetValidatorDelegations = (clientResolver?: RpcResolver) => b method: "ValidatorDelegations", clientResolver }); -export const useGetValidatorDelegations = buildUseQuery({ - builderQueryFn: createGetValidatorDelegations, - queryKeyPrefix: "ValidatorDelegationsQuery" -}); export const createGetValidatorUnbondingDelegations = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryValidatorUnbondingDelegationsRequest.encode, decode: QueryValidatorUnbondingDelegationsResponse.decode, @@ -41,10 +28,6 @@ export const createGetValidatorUnbondingDelegations = (clientResolver?: RpcResol method: "ValidatorUnbondingDelegations", clientResolver }); -export const useGetValidatorUnbondingDelegations = buildUseQuery({ - builderQueryFn: createGetValidatorUnbondingDelegations, - queryKeyPrefix: "ValidatorUnbondingDelegationsQuery" -}); export const createGetDelegation = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegationRequest.encode, decode: QueryDelegationResponse.decode, @@ -52,10 +35,6 @@ export const createGetDelegation = (clientResolver?: RpcResolver) => buildQuery< method: "Delegation", clientResolver }); -export const useGetDelegation = buildUseQuery({ - builderQueryFn: createGetDelegation, - queryKeyPrefix: "DelegationQuery" -}); export const createGetUnbondingDelegation = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryUnbondingDelegationRequest.encode, decode: QueryUnbondingDelegationResponse.decode, @@ -63,10 +42,6 @@ export const createGetUnbondingDelegation = (clientResolver?: RpcResolver) => bu method: "UnbondingDelegation", clientResolver }); -export const useGetUnbondingDelegation = buildUseQuery({ - builderQueryFn: createGetUnbondingDelegation, - queryKeyPrefix: "UnbondingDelegationQuery" -}); export const createGetDelegatorDelegations = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegatorDelegationsRequest.encode, decode: QueryDelegatorDelegationsResponse.decode, @@ -74,10 +49,6 @@ export const createGetDelegatorDelegations = (clientResolver?: RpcResolver) => b method: "DelegatorDelegations", clientResolver }); -export const useGetDelegatorDelegations = buildUseQuery({ - builderQueryFn: createGetDelegatorDelegations, - queryKeyPrefix: "DelegatorDelegationsQuery" -}); export const createGetDelegatorUnbondingDelegations = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegatorUnbondingDelegationsRequest.encode, decode: QueryDelegatorUnbondingDelegationsResponse.decode, @@ -85,10 +56,6 @@ export const createGetDelegatorUnbondingDelegations = (clientResolver?: RpcResol method: "DelegatorUnbondingDelegations", clientResolver }); -export const useGetDelegatorUnbondingDelegations = buildUseQuery({ - builderQueryFn: createGetDelegatorUnbondingDelegations, - queryKeyPrefix: "DelegatorUnbondingDelegationsQuery" -}); export const createGetRedelegations = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryRedelegationsRequest.encode, decode: QueryRedelegationsResponse.decode, @@ -96,10 +63,6 @@ export const createGetRedelegations = (clientResolver?: RpcResolver) => buildQue method: "Redelegations", clientResolver }); -export const useGetRedelegations = buildUseQuery({ - builderQueryFn: createGetRedelegations, - queryKeyPrefix: "RedelegationsQuery" -}); export const createGetDelegatorValidators = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegatorValidatorsRequest.encode, decode: QueryDelegatorValidatorsResponse.decode, @@ -107,10 +70,6 @@ export const createGetDelegatorValidators = (clientResolver?: RpcResolver) => bu method: "DelegatorValidators", clientResolver }); -export const useGetDelegatorValidators = buildUseQuery({ - builderQueryFn: createGetDelegatorValidators, - queryKeyPrefix: "DelegatorValidatorsQuery" -}); export const createGetDelegatorValidator = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDelegatorValidatorRequest.encode, decode: QueryDelegatorValidatorResponse.decode, @@ -118,10 +77,6 @@ export const createGetDelegatorValidator = (clientResolver?: RpcResolver) => bui method: "DelegatorValidator", clientResolver }); -export const useGetDelegatorValidator = buildUseQuery({ - builderQueryFn: createGetDelegatorValidator, - queryKeyPrefix: "DelegatorValidatorQuery" -}); export const createGetHistoricalInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryHistoricalInfoRequest.encode, decode: QueryHistoricalInfoResponse.decode, @@ -129,10 +84,6 @@ export const createGetHistoricalInfo = (clientResolver?: RpcResolver) => buildQu method: "HistoricalInfo", clientResolver }); -export const useGetHistoricalInfo = buildUseQuery({ - builderQueryFn: createGetHistoricalInfo, - queryKeyPrefix: "HistoricalInfoQuery" -}); export const createGetPool = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPoolRequest.encode, decode: QueryPoolResponse.decode, @@ -140,18 +91,10 @@ export const createGetPool = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetPool, - queryKeyPrefix: "PoolQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, service: "cosmos.staking.v1beta1.Query", method: "Params", clientResolver -}); -export const useGetParams = buildUseQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..07eb6ea032 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.react.ts @@ -0,0 +1,59 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetValidators, createGetValidator, createGetValidatorDelegations, createGetValidatorUnbondingDelegations, createGetDelegation, createGetUnbondingDelegation, createGetDelegatorDelegations, createGetDelegatorUnbondingDelegations, createGetRedelegations, createGetDelegatorValidators, createGetDelegatorValidator, createGetHistoricalInfo, createGetPool, createGetParams } from "./query.rpc.func.ts"; +export const useGetValidators = buildUseQuery({ + builderQueryFn: createGetValidators, + queryKeyPrefix: "ValidatorsQuery" +}); +export const useGetValidator = buildUseQuery({ + builderQueryFn: createGetValidator, + queryKeyPrefix: "ValidatorQuery" +}); +export const useGetValidatorDelegations = buildUseQuery({ + builderQueryFn: createGetValidatorDelegations, + queryKeyPrefix: "ValidatorDelegationsQuery" +}); +export const useGetValidatorUnbondingDelegations = buildUseQuery({ + builderQueryFn: createGetValidatorUnbondingDelegations, + queryKeyPrefix: "ValidatorUnbondingDelegationsQuery" +}); +export const useGetDelegation = buildUseQuery({ + builderQueryFn: createGetDelegation, + queryKeyPrefix: "DelegationQuery" +}); +export const useGetUnbondingDelegation = buildUseQuery({ + builderQueryFn: createGetUnbondingDelegation, + queryKeyPrefix: "UnbondingDelegationQuery" +}); +export const useGetDelegatorDelegations = buildUseQuery({ + builderQueryFn: createGetDelegatorDelegations, + queryKeyPrefix: "DelegatorDelegationsQuery" +}); +export const useGetDelegatorUnbondingDelegations = buildUseQuery({ + builderQueryFn: createGetDelegatorUnbondingDelegations, + queryKeyPrefix: "DelegatorUnbondingDelegationsQuery" +}); +export const useGetRedelegations = buildUseQuery({ + builderQueryFn: createGetRedelegations, + queryKeyPrefix: "RedelegationsQuery" +}); +export const useGetDelegatorValidators = buildUseQuery({ + builderQueryFn: createGetDelegatorValidators, + queryKeyPrefix: "DelegatorValidatorsQuery" +}); +export const useGetDelegatorValidator = buildUseQuery({ + builderQueryFn: createGetDelegatorValidator, + queryKeyPrefix: "DelegatorValidatorQuery" +}); +export const useGetHistoricalInfo = buildUseQuery({ + builderQueryFn: createGetHistoricalInfo, + queryKeyPrefix: "HistoricalInfoQuery" +}); +export const useGetPool = buildUseQuery({ + builderQueryFn: createGetPool, + queryKeyPrefix: "PoolQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..92fc3c2093 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/query.rpc.vue.ts @@ -0,0 +1,59 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetValidators, createGetValidator, createGetValidatorDelegations, createGetValidatorUnbondingDelegations, createGetDelegation, createGetUnbondingDelegation, createGetDelegatorDelegations, createGetDelegatorUnbondingDelegations, createGetRedelegations, createGetDelegatorValidators, createGetDelegatorValidator, createGetHistoricalInfo, createGetPool, createGetParams } from "./query.rpc.func.ts"; +export const useGetValidators = buildUseVueQuery({ + builderQueryFn: createGetValidators, + queryKeyPrefix: "ValidatorsQuery" +}); +export const useGetValidator = buildUseVueQuery({ + builderQueryFn: createGetValidator, + queryKeyPrefix: "ValidatorQuery" +}); +export const useGetValidatorDelegations = buildUseVueQuery({ + builderQueryFn: createGetValidatorDelegations, + queryKeyPrefix: "ValidatorDelegationsQuery" +}); +export const useGetValidatorUnbondingDelegations = buildUseVueQuery({ + builderQueryFn: createGetValidatorUnbondingDelegations, + queryKeyPrefix: "ValidatorUnbondingDelegationsQuery" +}); +export const useGetDelegation = buildUseVueQuery({ + builderQueryFn: createGetDelegation, + queryKeyPrefix: "DelegationQuery" +}); +export const useGetUnbondingDelegation = buildUseVueQuery({ + builderQueryFn: createGetUnbondingDelegation, + queryKeyPrefix: "UnbondingDelegationQuery" +}); +export const useGetDelegatorDelegations = buildUseVueQuery({ + builderQueryFn: createGetDelegatorDelegations, + queryKeyPrefix: "DelegatorDelegationsQuery" +}); +export const useGetDelegatorUnbondingDelegations = buildUseVueQuery({ + builderQueryFn: createGetDelegatorUnbondingDelegations, + queryKeyPrefix: "DelegatorUnbondingDelegationsQuery" +}); +export const useGetRedelegations = buildUseVueQuery({ + builderQueryFn: createGetRedelegations, + queryKeyPrefix: "RedelegationsQuery" +}); +export const useGetDelegatorValidators = buildUseVueQuery({ + builderQueryFn: createGetDelegatorValidators, + queryKeyPrefix: "DelegatorValidatorsQuery" +}); +export const useGetDelegatorValidator = buildUseVueQuery({ + builderQueryFn: createGetDelegatorValidator, + queryKeyPrefix: "DelegatorValidatorQuery" +}); +export const useGetHistoricalInfo = buildUseVueQuery({ + builderQueryFn: createGetHistoricalInfo, + queryKeyPrefix: "HistoricalInfoQuery" +}); +export const useGetPool = buildUseVueQuery({ + builderQueryFn: createGetPool, + queryKeyPrefix: "PoolQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.func.ts index 1f235b369a..cba353e746 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; export const createCreateValidator = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,42 +7,27 @@ export const createCreateValidator = (clientResolver?: SigningClientResolver) => encoders: toEncoders(MsgCreateValidator), converters: toConverters(MsgCreateValidator) }); -export const useCreateValidator = buildUseMutation({ - builderMutationFn: createCreateValidator -}); export const createEditValidator = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgEditValidator.typeUrl, encoders: toEncoders(MsgEditValidator), converters: toConverters(MsgEditValidator) }); -export const useEditValidator = buildUseMutation({ - builderMutationFn: createEditValidator -}); export const createDelegate = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgDelegate.typeUrl, encoders: toEncoders(MsgDelegate), converters: toConverters(MsgDelegate) }); -export const useDelegate = buildUseMutation({ - builderMutationFn: createDelegate -}); export const createBeginRedelegate = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgBeginRedelegate.typeUrl, encoders: toEncoders(MsgBeginRedelegate), converters: toConverters(MsgBeginRedelegate) }); -export const useBeginRedelegate = buildUseMutation({ - builderMutationFn: createBeginRedelegate -}); export const createUndelegate = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUndelegate.typeUrl, encoders: toEncoders(MsgUndelegate), converters: toConverters(MsgUndelegate) -}); -export const useUndelegate = buildUseMutation({ - builderMutationFn: createUndelegate }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..123cc55306 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.react.ts @@ -0,0 +1,18 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; +import { createCreateValidator, createEditValidator, createDelegate, createBeginRedelegate, createUndelegate } from "./tx.rpc.func.ts"; +export const useCreateValidator = buildUseMutation({ + builderMutationFn: createCreateValidator +}); +export const useEditValidator = buildUseMutation({ + builderMutationFn: createEditValidator +}); +export const useDelegate = buildUseMutation({ + builderMutationFn: createDelegate +}); +export const useBeginRedelegate = buildUseMutation({ + builderMutationFn: createBeginRedelegate +}); +export const useUndelegate = buildUseMutation({ + builderMutationFn: createUndelegate +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..5cc1779aa7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/staking/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,18 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; +import { createCreateValidator, createEditValidator, createDelegate, createBeginRedelegate, createUndelegate } from "./tx.rpc.func.ts"; +export const useCreateValidator = buildUseVueMutation({ + builderMutationFn: createCreateValidator +}); +export const useEditValidator = buildUseVueMutation({ + builderMutationFn: createEditValidator +}); +export const useDelegate = buildUseVueMutation({ + builderMutationFn: createDelegate +}); +export const useBeginRedelegate = buildUseVueMutation({ + builderMutationFn: createBeginRedelegate +}); +export const useUndelegate = buildUseVueMutation({ + builderMutationFn: createUndelegate +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.func.ts index 0ffcbc3bc9..afc7301be6 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; export const createGetSimulate = (clientResolver?: RpcResolver) => buildQuery({ encode: SimulateRequest.encode, @@ -8,10 +7,6 @@ export const createGetSimulate = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetSimulate, - queryKeyPrefix: "SimulateQuery" -}); export const createGetGetTx = (clientResolver?: RpcResolver) => buildQuery({ encode: GetTxRequest.encode, decode: GetTxResponse.decode, @@ -19,10 +14,6 @@ export const createGetGetTx = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetGetTx, - queryKeyPrefix: "GetTxQuery" -}); export const createGetBroadcastTx = (clientResolver?: RpcResolver) => buildQuery({ encode: BroadcastTxRequest.encode, decode: BroadcastTxResponse.decode, @@ -30,10 +21,6 @@ export const createGetBroadcastTx = (clientResolver?: RpcResolver) => buildQuery method: "BroadcastTx", clientResolver }); -export const useGetBroadcastTx = buildUseQuery({ - builderQueryFn: createGetBroadcastTx, - queryKeyPrefix: "BroadcastTxQuery" -}); export const createGetGetTxsEvent = (clientResolver?: RpcResolver) => buildQuery({ encode: GetTxsEventRequest.encode, decode: GetTxsEventResponse.decode, @@ -41,18 +28,10 @@ export const createGetGetTxsEvent = (clientResolver?: RpcResolver) => buildQuery method: "GetTxsEvent", clientResolver }); -export const useGetGetTxsEvent = buildUseQuery({ - builderQueryFn: createGetGetTxsEvent, - queryKeyPrefix: "GetTxsEventQuery" -}); export const createGetGetBlockWithTxs = (clientResolver?: RpcResolver) => buildQuery({ encode: GetBlockWithTxsRequest.encode, decode: GetBlockWithTxsResponse.decode, service: "cosmos.tx.v1beta1.Service", method: "GetBlockWithTxs", clientResolver -}); -export const useGetGetBlockWithTxs = buildUseQuery({ - builderQueryFn: createGetGetBlockWithTxs, - queryKeyPrefix: "GetBlockWithTxsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.react.ts new file mode 100644 index 0000000000..6b881b8c7c --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.react.ts @@ -0,0 +1,23 @@ +import { buildUseQuery } from "../../../react-query"; +import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; +import { createGetSimulate, createGetGetTx, createGetBroadcastTx, createGetGetTxsEvent, createGetGetBlockWithTxs } from "./service.rpc.func.ts"; +export const useGetSimulate = buildUseQuery({ + builderQueryFn: createGetSimulate, + queryKeyPrefix: "SimulateQuery" +}); +export const useGetGetTx = buildUseQuery({ + builderQueryFn: createGetGetTx, + queryKeyPrefix: "GetTxQuery" +}); +export const useGetBroadcastTx = buildUseQuery({ + builderQueryFn: createGetBroadcastTx, + queryKeyPrefix: "BroadcastTxQuery" +}); +export const useGetGetTxsEvent = buildUseQuery({ + builderQueryFn: createGetGetTxsEvent, + queryKeyPrefix: "GetTxsEventQuery" +}); +export const useGetGetBlockWithTxs = buildUseQuery({ + builderQueryFn: createGetGetBlockWithTxs, + queryKeyPrefix: "GetBlockWithTxsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.vue.ts new file mode 100644 index 0000000000..3e38dc2d3d --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/tx/v1beta1/service.rpc.vue.ts @@ -0,0 +1,23 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; +import { createGetSimulate, createGetGetTx, createGetBroadcastTx, createGetGetTxsEvent, createGetGetBlockWithTxs } from "./service.rpc.func.ts"; +export const useGetSimulate = buildUseVueQuery({ + builderQueryFn: createGetSimulate, + queryKeyPrefix: "SimulateQuery" +}); +export const useGetGetTx = buildUseVueQuery({ + builderQueryFn: createGetGetTx, + queryKeyPrefix: "GetTxQuery" +}); +export const useGetBroadcastTx = buildUseVueQuery({ + builderQueryFn: createGetBroadcastTx, + queryKeyPrefix: "BroadcastTxQuery" +}); +export const useGetGetTxsEvent = buildUseVueQuery({ + builderQueryFn: createGetGetTxsEvent, + queryKeyPrefix: "GetTxsEventQuery" +}); +export const useGetGetBlockWithTxs = buildUseVueQuery({ + builderQueryFn: createGetGetBlockWithTxs, + queryKeyPrefix: "GetBlockWithTxsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.func.ts index 88c9eb6662..82a1af0ab4 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; export const createGetCurrentPlan = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCurrentPlanRequest.encode, @@ -8,10 +7,6 @@ export const createGetCurrentPlan = (clientResolver?: RpcResolver) => buildQuery method: "CurrentPlan", clientResolver }); -export const useGetCurrentPlan = buildUseQuery({ - builderQueryFn: createGetCurrentPlan, - queryKeyPrefix: "CurrentPlanQuery" -}); export const createGetAppliedPlan = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAppliedPlanRequest.encode, decode: QueryAppliedPlanResponse.decode, @@ -19,10 +14,6 @@ export const createGetAppliedPlan = (clientResolver?: RpcResolver) => buildQuery method: "AppliedPlan", clientResolver }); -export const useGetAppliedPlan = buildUseQuery({ - builderQueryFn: createGetAppliedPlan, - queryKeyPrefix: "AppliedPlanQuery" -}); export const createGetUpgradedConsensusState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryUpgradedConsensusStateRequest.encode, decode: QueryUpgradedConsensusStateResponse.decode, @@ -30,10 +21,6 @@ export const createGetUpgradedConsensusState = (clientResolver?: RpcResolver) => method: "UpgradedConsensusState", clientResolver }); -export const useGetUpgradedConsensusState = buildUseQuery({ - builderQueryFn: createGetUpgradedConsensusState, - queryKeyPrefix: "UpgradedConsensusStateQuery" -}); export const createGetModuleVersions = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryModuleVersionsRequest.encode, decode: QueryModuleVersionsResponse.decode, @@ -41,18 +28,10 @@ export const createGetModuleVersions = (clientResolver?: RpcResolver) => buildQu method: "ModuleVersions", clientResolver }); -export const useGetModuleVersions = buildUseQuery({ - builderQueryFn: createGetModuleVersions, - queryKeyPrefix: "ModuleVersionsQuery" -}); export const createGetAuthority = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAuthorityRequest.encode, decode: QueryAuthorityResponse.decode, service: "cosmos.upgrade.v1beta1.Query", method: "Authority", clientResolver -}); -export const useGetAuthority = buildUseQuery({ - builderQueryFn: createGetAuthority, - queryKeyPrefix: "AuthorityQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..28870ca032 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.react.ts @@ -0,0 +1,23 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; +import { createGetCurrentPlan, createGetAppliedPlan, createGetUpgradedConsensusState, createGetModuleVersions, createGetAuthority } from "./query.rpc.func.ts"; +export const useGetCurrentPlan = buildUseQuery({ + builderQueryFn: createGetCurrentPlan, + queryKeyPrefix: "CurrentPlanQuery" +}); +export const useGetAppliedPlan = buildUseQuery({ + builderQueryFn: createGetAppliedPlan, + queryKeyPrefix: "AppliedPlanQuery" +}); +export const useGetUpgradedConsensusState = buildUseQuery({ + builderQueryFn: createGetUpgradedConsensusState, + queryKeyPrefix: "UpgradedConsensusStateQuery" +}); +export const useGetModuleVersions = buildUseQuery({ + builderQueryFn: createGetModuleVersions, + queryKeyPrefix: "ModuleVersionsQuery" +}); +export const useGetAuthority = buildUseQuery({ + builderQueryFn: createGetAuthority, + queryKeyPrefix: "AuthorityQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..e8a93ccc44 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/query.rpc.vue.ts @@ -0,0 +1,23 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; +import { createGetCurrentPlan, createGetAppliedPlan, createGetUpgradedConsensusState, createGetModuleVersions, createGetAuthority } from "./query.rpc.func.ts"; +export const useGetCurrentPlan = buildUseVueQuery({ + builderQueryFn: createGetCurrentPlan, + queryKeyPrefix: "CurrentPlanQuery" +}); +export const useGetAppliedPlan = buildUseVueQuery({ + builderQueryFn: createGetAppliedPlan, + queryKeyPrefix: "AppliedPlanQuery" +}); +export const useGetUpgradedConsensusState = buildUseVueQuery({ + builderQueryFn: createGetUpgradedConsensusState, + queryKeyPrefix: "UpgradedConsensusStateQuery" +}); +export const useGetModuleVersions = buildUseVueQuery({ + builderQueryFn: createGetModuleVersions, + queryKeyPrefix: "ModuleVersionsQuery" +}); +export const useGetAuthority = buildUseVueQuery({ + builderQueryFn: createGetAuthority, + queryKeyPrefix: "AuthorityQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.func.ts index 4bab4d44c0..74f704a891 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; export const createSoftwareUpgrade = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createSoftwareUpgrade = (clientResolver?: SigningClientResolver) => encoders: toEncoders(MsgSoftwareUpgrade), converters: toConverters(MsgSoftwareUpgrade) }); -export const useSoftwareUpgrade = buildUseMutation({ - builderMutationFn: createSoftwareUpgrade -}); export const createCancelUpgrade = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCancelUpgrade.typeUrl, encoders: toEncoders(MsgCancelUpgrade), converters: toConverters(MsgCancelUpgrade) -}); -export const useCancelUpgrade = buildUseMutation({ - builderMutationFn: createCancelUpgrade }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..83144e1410 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; +import { createSoftwareUpgrade, createCancelUpgrade } from "./tx.rpc.func.ts"; +export const useSoftwareUpgrade = buildUseMutation({ + builderMutationFn: createSoftwareUpgrade +}); +export const useCancelUpgrade = buildUseMutation({ + builderMutationFn: createCancelUpgrade +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..a57a6b6dda --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/upgrade/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; +import { createSoftwareUpgrade, createCancelUpgrade } from "./tx.rpc.func.ts"; +export const useSoftwareUpgrade = buildUseVueMutation({ + builderMutationFn: createSoftwareUpgrade +}); +export const useCancelUpgrade = buildUseVueMutation({ + builderMutationFn: createCancelUpgrade +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.func.ts index 0cf61400af..49328086f3 100644 --- a/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; export const createCreateVestingAccount = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,24 +7,15 @@ export const createCreateVestingAccount = (clientResolver?: SigningClientResolve encoders: toEncoders(MsgCreateVestingAccount), converters: toConverters(MsgCreateVestingAccount) }); -export const useCreateVestingAccount = buildUseMutation({ - builderMutationFn: createCreateVestingAccount -}); export const createCreatePermanentLockedAccount = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCreatePermanentLockedAccount.typeUrl, encoders: toEncoders(MsgCreatePermanentLockedAccount), converters: toConverters(MsgCreatePermanentLockedAccount) }); -export const useCreatePermanentLockedAccount = buildUseMutation({ - builderMutationFn: createCreatePermanentLockedAccount -}); export const createCreatePeriodicVestingAccount = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCreatePeriodicVestingAccount.typeUrl, encoders: toEncoders(MsgCreatePeriodicVestingAccount), converters: toConverters(MsgCreatePeriodicVestingAccount) -}); -export const useCreatePeriodicVestingAccount = buildUseMutation({ - builderMutationFn: createCreatePeriodicVestingAccount }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..9c725c4e33 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.react.ts @@ -0,0 +1,12 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; +import { createCreateVestingAccount, createCreatePermanentLockedAccount, createCreatePeriodicVestingAccount } from "./tx.rpc.func.ts"; +export const useCreateVestingAccount = buildUseMutation({ + builderMutationFn: createCreateVestingAccount +}); +export const useCreatePermanentLockedAccount = buildUseMutation({ + builderMutationFn: createCreatePermanentLockedAccount +}); +export const useCreatePeriodicVestingAccount = buildUseMutation({ + builderMutationFn: createCreatePeriodicVestingAccount +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..a5ff2e801a --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmos/vesting/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,12 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; +import { createCreateVestingAccount, createCreatePermanentLockedAccount, createCreatePeriodicVestingAccount } from "./tx.rpc.func.ts"; +export const useCreateVestingAccount = buildUseVueMutation({ + builderMutationFn: createCreateVestingAccount +}); +export const useCreatePermanentLockedAccount = buildUseVueMutation({ + builderMutationFn: createCreatePermanentLockedAccount +}); +export const useCreatePeriodicVestingAccount = buildUseVueMutation({ + builderMutationFn: createCreatePeriodicVestingAccount +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.func.ts index acfef61044..a04f17952b 100644 --- a/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; export const createGetContractInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryContractInfoRequest.encode, @@ -8,10 +7,6 @@ export const createGetContractInfo = (clientResolver?: RpcResolver) => buildQuer method: "ContractInfo", clientResolver }); -export const useGetContractInfo = buildUseQuery({ - builderQueryFn: createGetContractInfo, - queryKeyPrefix: "ContractInfoQuery" -}); export const createGetContractHistory = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryContractHistoryRequest.encode, decode: QueryContractHistoryResponse.decode, @@ -19,10 +14,6 @@ export const createGetContractHistory = (clientResolver?: RpcResolver) => buildQ method: "ContractHistory", clientResolver }); -export const useGetContractHistory = buildUseQuery({ - builderQueryFn: createGetContractHistory, - queryKeyPrefix: "ContractHistoryQuery" -}); export const createGetContractsByCode = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryContractsByCodeRequest.encode, decode: QueryContractsByCodeResponse.decode, @@ -30,10 +21,6 @@ export const createGetContractsByCode = (clientResolver?: RpcResolver) => buildQ method: "ContractsByCode", clientResolver }); -export const useGetContractsByCode = buildUseQuery({ - builderQueryFn: createGetContractsByCode, - queryKeyPrefix: "ContractsByCodeQuery" -}); export const createGetAllContractState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllContractStateRequest.encode, decode: QueryAllContractStateResponse.decode, @@ -41,10 +28,6 @@ export const createGetAllContractState = (clientResolver?: RpcResolver) => build method: "AllContractState", clientResolver }); -export const useGetAllContractState = buildUseQuery({ - builderQueryFn: createGetAllContractState, - queryKeyPrefix: "AllContractStateQuery" -}); export const createGetRawContractState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryRawContractStateRequest.encode, decode: QueryRawContractStateResponse.decode, @@ -52,10 +35,6 @@ export const createGetRawContractState = (clientResolver?: RpcResolver) => build method: "RawContractState", clientResolver }); -export const useGetRawContractState = buildUseQuery({ - builderQueryFn: createGetRawContractState, - queryKeyPrefix: "RawContractStateQuery" -}); export const createGetSmartContractState = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySmartContractStateRequest.encode, decode: QuerySmartContractStateResponse.decode, @@ -63,10 +42,6 @@ export const createGetSmartContractState = (clientResolver?: RpcResolver) => bui method: "SmartContractState", clientResolver }); -export const useGetSmartContractState = buildUseQuery({ - builderQueryFn: createGetSmartContractState, - queryKeyPrefix: "SmartContractStateQuery" -}); export const createGetCode = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCodeRequest.encode, decode: QueryCodeResponse.decode, @@ -74,10 +49,6 @@ export const createGetCode = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetCode, - queryKeyPrefix: "CodeQuery" -}); export const createGetCodes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCodesRequest.encode, decode: QueryCodesResponse.decode, @@ -85,18 +56,10 @@ export const createGetCodes = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetCodes, - queryKeyPrefix: "CodesQuery" -}); export const createGetPinnedCodes = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPinnedCodesRequest.encode, decode: QueryPinnedCodesResponse.decode, service: "cosmwasm.wasm.v1.Query", method: "PinnedCodes", clientResolver -}); -export const useGetPinnedCodes = buildUseQuery({ - builderQueryFn: createGetPinnedCodes, - queryKeyPrefix: "PinnedCodesQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.react.ts new file mode 100644 index 0000000000..6de8a6d901 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.react.ts @@ -0,0 +1,39 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; +import { createGetContractInfo, createGetContractHistory, createGetContractsByCode, createGetAllContractState, createGetRawContractState, createGetSmartContractState, createGetCode, createGetCodes, createGetPinnedCodes } from "./query.rpc.func.ts"; +export const useGetContractInfo = buildUseQuery({ + builderQueryFn: createGetContractInfo, + queryKeyPrefix: "ContractInfoQuery" +}); +export const useGetContractHistory = buildUseQuery({ + builderQueryFn: createGetContractHistory, + queryKeyPrefix: "ContractHistoryQuery" +}); +export const useGetContractsByCode = buildUseQuery({ + builderQueryFn: createGetContractsByCode, + queryKeyPrefix: "ContractsByCodeQuery" +}); +export const useGetAllContractState = buildUseQuery({ + builderQueryFn: createGetAllContractState, + queryKeyPrefix: "AllContractStateQuery" +}); +export const useGetRawContractState = buildUseQuery({ + builderQueryFn: createGetRawContractState, + queryKeyPrefix: "RawContractStateQuery" +}); +export const useGetSmartContractState = buildUseQuery({ + builderQueryFn: createGetSmartContractState, + queryKeyPrefix: "SmartContractStateQuery" +}); +export const useGetCode = buildUseQuery({ + builderQueryFn: createGetCode, + queryKeyPrefix: "CodeQuery" +}); +export const useGetCodes = buildUseQuery({ + builderQueryFn: createGetCodes, + queryKeyPrefix: "CodesQuery" +}); +export const useGetPinnedCodes = buildUseQuery({ + builderQueryFn: createGetPinnedCodes, + queryKeyPrefix: "PinnedCodesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..6281bcb78f --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/query.rpc.vue.ts @@ -0,0 +1,39 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; +import { createGetContractInfo, createGetContractHistory, createGetContractsByCode, createGetAllContractState, createGetRawContractState, createGetSmartContractState, createGetCode, createGetCodes, createGetPinnedCodes } from "./query.rpc.func.ts"; +export const useGetContractInfo = buildUseVueQuery({ + builderQueryFn: createGetContractInfo, + queryKeyPrefix: "ContractInfoQuery" +}); +export const useGetContractHistory = buildUseVueQuery({ + builderQueryFn: createGetContractHistory, + queryKeyPrefix: "ContractHistoryQuery" +}); +export const useGetContractsByCode = buildUseVueQuery({ + builderQueryFn: createGetContractsByCode, + queryKeyPrefix: "ContractsByCodeQuery" +}); +export const useGetAllContractState = buildUseVueQuery({ + builderQueryFn: createGetAllContractState, + queryKeyPrefix: "AllContractStateQuery" +}); +export const useGetRawContractState = buildUseVueQuery({ + builderQueryFn: createGetRawContractState, + queryKeyPrefix: "RawContractStateQuery" +}); +export const useGetSmartContractState = buildUseVueQuery({ + builderQueryFn: createGetSmartContractState, + queryKeyPrefix: "SmartContractStateQuery" +}); +export const useGetCode = buildUseVueQuery({ + builderQueryFn: createGetCode, + queryKeyPrefix: "CodeQuery" +}); +export const useGetCodes = buildUseVueQuery({ + builderQueryFn: createGetCodes, + queryKeyPrefix: "CodesQuery" +}); +export const useGetPinnedCodes = buildUseVueQuery({ + builderQueryFn: createGetPinnedCodes, + queryKeyPrefix: "PinnedCodesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.func.ts index 74fd550278..784ce25818 100644 --- a/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; export const createStoreCode = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,51 +7,33 @@ export const createStoreCode = (clientResolver?: SigningClientResolver) => build encoders: toEncoders(MsgStoreCode), converters: toConverters(MsgStoreCode) }); -export const useStoreCode = buildUseMutation({ - builderMutationFn: createStoreCode -}); export const createInstantiateContract = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgInstantiateContract.typeUrl, encoders: toEncoders(MsgInstantiateContract), converters: toConverters(MsgInstantiateContract) }); -export const useInstantiateContract = buildUseMutation({ - builderMutationFn: createInstantiateContract -}); export const createExecuteContract = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgExecuteContract.typeUrl, encoders: toEncoders(MsgExecuteContract), converters: toConverters(MsgExecuteContract) }); -export const useExecuteContract = buildUseMutation({ - builderMutationFn: createExecuteContract -}); export const createMigrateContract = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgMigrateContract.typeUrl, encoders: toEncoders(MsgMigrateContract), converters: toConverters(MsgMigrateContract) }); -export const useMigrateContract = buildUseMutation({ - builderMutationFn: createMigrateContract -}); export const createUpdateAdmin = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateAdmin.typeUrl, encoders: toEncoders(MsgUpdateAdmin), converters: toConverters(MsgUpdateAdmin) }); -export const useUpdateAdmin = buildUseMutation({ - builderMutationFn: createUpdateAdmin -}); export const createClearAdmin = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgClearAdmin.typeUrl, encoders: toEncoders(MsgClearAdmin), converters: toConverters(MsgClearAdmin) -}); -export const useClearAdmin = buildUseMutation({ - builderMutationFn: createClearAdmin }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..3974588017 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.react.ts @@ -0,0 +1,21 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; +import { createStoreCode, createInstantiateContract, createExecuteContract, createMigrateContract, createUpdateAdmin, createClearAdmin } from "./tx.rpc.func.ts"; +export const useStoreCode = buildUseMutation({ + builderMutationFn: createStoreCode +}); +export const useInstantiateContract = buildUseMutation({ + builderMutationFn: createInstantiateContract +}); +export const useExecuteContract = buildUseMutation({ + builderMutationFn: createExecuteContract +}); +export const useMigrateContract = buildUseMutation({ + builderMutationFn: createMigrateContract +}); +export const useUpdateAdmin = buildUseMutation({ + builderMutationFn: createUpdateAdmin +}); +export const useClearAdmin = buildUseMutation({ + builderMutationFn: createClearAdmin +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..8558a778b5 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/cosmwasm/wasm/v1/tx.rpc.vue.ts @@ -0,0 +1,21 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; +import { createStoreCode, createInstantiateContract, createExecuteContract, createMigrateContract, createUpdateAdmin, createClearAdmin } from "./tx.rpc.func.ts"; +export const useStoreCode = buildUseVueMutation({ + builderMutationFn: createStoreCode +}); +export const useInstantiateContract = buildUseVueMutation({ + builderMutationFn: createInstantiateContract +}); +export const useExecuteContract = buildUseVueMutation({ + builderMutationFn: createExecuteContract +}); +export const useMigrateContract = buildUseVueMutation({ + builderMutationFn: createMigrateContract +}); +export const useUpdateAdmin = buildUseVueMutation({ + builderMutationFn: createUpdateAdmin +}); +export const useClearAdmin = buildUseVueMutation({ + builderMutationFn: createClearAdmin +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.func.ts index 1049c58f1f..9aeb7f456c 100644 --- a/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryTotalUnclaimedRequest, QueryTotalUnclaimedResponse, QueryParamsRequest, QueryParamsResponse, QueryClaimsRecordsRequest, QueryClaimsRecordsResponse, QueryClaimsRecordRequest, QueryClaimsRecordResponse } from "./query"; export const createGetTotalUnclaimed = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTotalUnclaimedRequest.encode, @@ -8,10 +7,6 @@ export const createGetTotalUnclaimed = (clientResolver?: RpcResolver) => buildQu method: "TotalUnclaimed", clientResolver }); -export const useGetTotalUnclaimed = buildUseQuery({ - builderQueryFn: createGetTotalUnclaimed, - queryKeyPrefix: "TotalUnclaimedQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -19,10 +14,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetClaimsRecords = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClaimsRecordsRequest.encode, decode: QueryClaimsRecordsResponse.decode, @@ -30,18 +21,10 @@ export const createGetClaimsRecords = (clientResolver?: RpcResolver) => buildQue method: "ClaimsRecords", clientResolver }); -export const useGetClaimsRecords = buildUseQuery({ - builderQueryFn: createGetClaimsRecords, - queryKeyPrefix: "ClaimsRecordsQuery" -}); export const createGetClaimsRecord = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClaimsRecordRequest.encode, decode: QueryClaimsRecordResponse.decode, service: "evmos.claims.v1.Query", method: "ClaimsRecord", clientResolver -}); -export const useGetClaimsRecord = buildUseQuery({ - builderQueryFn: createGetClaimsRecord, - queryKeyPrefix: "ClaimsRecordQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.react.ts new file mode 100644 index 0000000000..cecdd2d7d7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.react.ts @@ -0,0 +1,19 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryTotalUnclaimedRequest, QueryTotalUnclaimedResponse, QueryParamsRequest, QueryParamsResponse, QueryClaimsRecordsRequest, QueryClaimsRecordsResponse, QueryClaimsRecordRequest, QueryClaimsRecordResponse } from "./query"; +import { createGetTotalUnclaimed, createGetParams, createGetClaimsRecords, createGetClaimsRecord } from "./query.rpc.func.ts"; +export const useGetTotalUnclaimed = buildUseQuery({ + builderQueryFn: createGetTotalUnclaimed, + queryKeyPrefix: "TotalUnclaimedQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetClaimsRecords = buildUseQuery({ + builderQueryFn: createGetClaimsRecords, + queryKeyPrefix: "ClaimsRecordsQuery" +}); +export const useGetClaimsRecord = buildUseQuery({ + builderQueryFn: createGetClaimsRecord, + queryKeyPrefix: "ClaimsRecordQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..9f3b3a307d --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/claims/v1/query.rpc.vue.ts @@ -0,0 +1,19 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryTotalUnclaimedRequest, QueryTotalUnclaimedResponse, QueryParamsRequest, QueryParamsResponse, QueryClaimsRecordsRequest, QueryClaimsRecordsResponse, QueryClaimsRecordRequest, QueryClaimsRecordResponse } from "./query"; +import { createGetTotalUnclaimed, createGetParams, createGetClaimsRecords, createGetClaimsRecord } from "./query.rpc.func.ts"; +export const useGetTotalUnclaimed = buildUseVueQuery({ + builderQueryFn: createGetTotalUnclaimed, + queryKeyPrefix: "TotalUnclaimedQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetClaimsRecords = buildUseVueQuery({ + builderQueryFn: createGetClaimsRecords, + queryKeyPrefix: "ClaimsRecordsQuery" +}); +export const useGetClaimsRecord = buildUseVueQuery({ + builderQueryFn: createGetClaimsRecord, + queryKeyPrefix: "ClaimsRecordQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.func.ts index e384e2fcfa..26c5a1d2f7 100644 --- a/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryEpochsInfoRequest, QueryEpochsInfoResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query"; export const createGetEpochInfos = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryEpochsInfoRequest.encode, @@ -8,18 +7,10 @@ export const createGetEpochInfos = (clientResolver?: RpcResolver) => buildQuery< method: "EpochInfos", clientResolver }); -export const useGetEpochInfos = buildUseQuery({ - builderQueryFn: createGetEpochInfos, - queryKeyPrefix: "EpochInfosQuery" -}); export const createGetCurrentEpoch = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCurrentEpochRequest.encode, decode: QueryCurrentEpochResponse.decode, service: "evmos.epochs.v1.Query", method: "CurrentEpoch", clientResolver -}); -export const useGetCurrentEpoch = buildUseQuery({ - builderQueryFn: createGetCurrentEpoch, - queryKeyPrefix: "CurrentEpochQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.react.ts new file mode 100644 index 0000000000..73df28c3e4 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryEpochsInfoRequest, QueryEpochsInfoResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query"; +import { createGetEpochInfos, createGetCurrentEpoch } from "./query.rpc.func.ts"; +export const useGetEpochInfos = buildUseQuery({ + builderQueryFn: createGetEpochInfos, + queryKeyPrefix: "EpochInfosQuery" +}); +export const useGetCurrentEpoch = buildUseQuery({ + builderQueryFn: createGetCurrentEpoch, + queryKeyPrefix: "CurrentEpochQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..54d78da407 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/epochs/v1/query.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryEpochsInfoRequest, QueryEpochsInfoResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query"; +import { createGetEpochInfos, createGetCurrentEpoch } from "./query.rpc.func.ts"; +export const useGetEpochInfos = buildUseVueQuery({ + builderQueryFn: createGetEpochInfos, + queryKeyPrefix: "EpochInfosQuery" +}); +export const useGetCurrentEpoch = buildUseVueQuery({ + builderQueryFn: createGetCurrentEpoch, + queryKeyPrefix: "CurrentEpochQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.func.ts index 3344d65f27..96f1a2cb02 100644 --- a/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryTokenPairsRequest, QueryTokenPairsResponse, QueryTokenPairRequest, QueryTokenPairResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; export const createGetTokenPairs = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTokenPairsRequest.encode, @@ -8,10 +7,6 @@ export const createGetTokenPairs = (clientResolver?: RpcResolver) => buildQuery< method: "TokenPairs", clientResolver }); -export const useGetTokenPairs = buildUseQuery({ - builderQueryFn: createGetTokenPairs, - queryKeyPrefix: "TokenPairsQuery" -}); export const createGetTokenPair = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTokenPairRequest.encode, decode: QueryTokenPairResponse.decode, @@ -19,18 +14,10 @@ export const createGetTokenPair = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetTokenPair, - queryKeyPrefix: "TokenPairQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, service: "evmos.erc20.v1.Query", method: "Params", clientResolver -}); -export const useGetParams = buildUseQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.react.ts new file mode 100644 index 0000000000..f314e7a1f7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryTokenPairsRequest, QueryTokenPairsResponse, QueryTokenPairRequest, QueryTokenPairResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetTokenPairs, createGetTokenPair, createGetParams } from "./query.rpc.func.ts"; +export const useGetTokenPairs = buildUseQuery({ + builderQueryFn: createGetTokenPairs, + queryKeyPrefix: "TokenPairsQuery" +}); +export const useGetTokenPair = buildUseQuery({ + builderQueryFn: createGetTokenPair, + queryKeyPrefix: "TokenPairQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..4769fb61f3 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryTokenPairsRequest, QueryTokenPairsResponse, QueryTokenPairRequest, QueryTokenPairResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetTokenPairs, createGetTokenPair, createGetParams } from "./query.rpc.func.ts"; +export const useGetTokenPairs = buildUseVueQuery({ + builderQueryFn: createGetTokenPairs, + queryKeyPrefix: "TokenPairsQuery" +}); +export const useGetTokenPair = buildUseVueQuery({ + builderQueryFn: createGetTokenPair, + queryKeyPrefix: "TokenPairQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.func.ts index ba080fe631..be7f632ff8 100644 --- a/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgConvertCoin, MsgConvertERC20 } from "./tx"; export const createConvertCoin = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createConvertCoin = (clientResolver?: SigningClientResolver) => bui encoders: toEncoders(MsgConvertCoin), converters: toConverters(MsgConvertCoin) }); -export const useConvertCoin = buildUseMutation({ - builderMutationFn: createConvertCoin -}); export const createConvertERC20 = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgConvertERC20.typeUrl, encoders: toEncoders(MsgConvertERC20), converters: toConverters(MsgConvertERC20) -}); -export const useConvertERC20 = buildUseMutation({ - builderMutationFn: createConvertERC20 }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..6a3a26300d --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgConvertCoin, MsgConvertERC20 } from "./tx"; +import { createConvertCoin, createConvertERC20 } from "./tx.rpc.func.ts"; +export const useConvertCoin = buildUseMutation({ + builderMutationFn: createConvertCoin +}); +export const useConvertERC20 = buildUseMutation({ + builderMutationFn: createConvertERC20 +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..9d44d75aa5 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/erc20/v1/tx.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgConvertCoin, MsgConvertERC20 } from "./tx"; +import { createConvertCoin, createConvertERC20 } from "./tx.rpc.func.ts"; +export const useConvertCoin = buildUseVueMutation({ + builderMutationFn: createConvertCoin +}); +export const useConvertERC20 = buildUseVueMutation({ + builderMutationFn: createConvertERC20 +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.func.ts index cfb28037ea..a0a60018a6 100644 --- a/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryDevFeeInfosRequest, QueryDevFeeInfosResponse, QueryDevFeeInfoRequest, QueryDevFeeInfoResponse, QueryParamsRequest, QueryParamsResponse, QueryDevFeeInfosPerDeployerRequest, QueryDevFeeInfosPerDeployerResponse } from "./query"; export const createGetDevFeeInfos = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDevFeeInfosRequest.encode, @@ -8,10 +7,6 @@ export const createGetDevFeeInfos = (clientResolver?: RpcResolver) => buildQuery method: "DevFeeInfos", clientResolver }); -export const useGetDevFeeInfos = buildUseQuery({ - builderQueryFn: createGetDevFeeInfos, - queryKeyPrefix: "DevFeeInfosQuery" -}); export const createGetDevFeeInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDevFeeInfoRequest.encode, decode: QueryDevFeeInfoResponse.decode, @@ -19,10 +14,6 @@ export const createGetDevFeeInfo = (clientResolver?: RpcResolver) => buildQuery< method: "DevFeeInfo", clientResolver }); -export const useGetDevFeeInfo = buildUseQuery({ - builderQueryFn: createGetDevFeeInfo, - queryKeyPrefix: "DevFeeInfoQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -30,18 +21,10 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetDevFeeInfosPerDeployer = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDevFeeInfosPerDeployerRequest.encode, decode: QueryDevFeeInfosPerDeployerResponse.decode, service: "evmos.fees.v1.Query", method: "DevFeeInfosPerDeployer", clientResolver -}); -export const useGetDevFeeInfosPerDeployer = buildUseQuery({ - builderQueryFn: createGetDevFeeInfosPerDeployer, - queryKeyPrefix: "DevFeeInfosPerDeployerQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.react.ts new file mode 100644 index 0000000000..729fd16108 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.react.ts @@ -0,0 +1,19 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryDevFeeInfosRequest, QueryDevFeeInfosResponse, QueryDevFeeInfoRequest, QueryDevFeeInfoResponse, QueryParamsRequest, QueryParamsResponse, QueryDevFeeInfosPerDeployerRequest, QueryDevFeeInfosPerDeployerResponse } from "./query"; +import { createGetDevFeeInfos, createGetDevFeeInfo, createGetParams, createGetDevFeeInfosPerDeployer } from "./query.rpc.func.ts"; +export const useGetDevFeeInfos = buildUseQuery({ + builderQueryFn: createGetDevFeeInfos, + queryKeyPrefix: "DevFeeInfosQuery" +}); +export const useGetDevFeeInfo = buildUseQuery({ + builderQueryFn: createGetDevFeeInfo, + queryKeyPrefix: "DevFeeInfoQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDevFeeInfosPerDeployer = buildUseQuery({ + builderQueryFn: createGetDevFeeInfosPerDeployer, + queryKeyPrefix: "DevFeeInfosPerDeployerQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..7e40010f97 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/fees/v1/query.rpc.vue.ts @@ -0,0 +1,19 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryDevFeeInfosRequest, QueryDevFeeInfosResponse, QueryDevFeeInfoRequest, QueryDevFeeInfoResponse, QueryParamsRequest, QueryParamsResponse, QueryDevFeeInfosPerDeployerRequest, QueryDevFeeInfosPerDeployerResponse } from "./query"; +import { createGetDevFeeInfos, createGetDevFeeInfo, createGetParams, createGetDevFeeInfosPerDeployer } from "./query.rpc.func.ts"; +export const useGetDevFeeInfos = buildUseVueQuery({ + builderQueryFn: createGetDevFeeInfos, + queryKeyPrefix: "DevFeeInfosQuery" +}); +export const useGetDevFeeInfo = buildUseVueQuery({ + builderQueryFn: createGetDevFeeInfo, + queryKeyPrefix: "DevFeeInfoQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDevFeeInfosPerDeployer = buildUseVueQuery({ + builderQueryFn: createGetDevFeeInfosPerDeployer, + queryKeyPrefix: "DevFeeInfosPerDeployerQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.func.ts index 9eac83bd48..2c028b6c6f 100644 --- a/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgRegisterDevFeeInfo, MsgCancelDevFeeInfo, MsgUpdateDevFeeInfo } from "./tx"; export const createRegisterDevFeeInfo = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,24 +7,15 @@ export const createRegisterDevFeeInfo = (clientResolver?: SigningClientResolver) encoders: toEncoders(MsgRegisterDevFeeInfo), converters: toConverters(MsgRegisterDevFeeInfo) }); -export const useRegisterDevFeeInfo = buildUseMutation({ - builderMutationFn: createRegisterDevFeeInfo -}); export const createCancelDevFeeInfo = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCancelDevFeeInfo.typeUrl, encoders: toEncoders(MsgCancelDevFeeInfo), converters: toConverters(MsgCancelDevFeeInfo) }); -export const useCancelDevFeeInfo = buildUseMutation({ - builderMutationFn: createCancelDevFeeInfo -}); export const createUpdateDevFeeInfo = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateDevFeeInfo.typeUrl, encoders: toEncoders(MsgUpdateDevFeeInfo), converters: toConverters(MsgUpdateDevFeeInfo) -}); -export const useUpdateDevFeeInfo = buildUseMutation({ - builderMutationFn: createUpdateDevFeeInfo }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..89ff07f8d0 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.react.ts @@ -0,0 +1,12 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgRegisterDevFeeInfo, MsgCancelDevFeeInfo, MsgUpdateDevFeeInfo } from "./tx"; +import { createRegisterDevFeeInfo, createCancelDevFeeInfo, createUpdateDevFeeInfo } from "./tx.rpc.func.ts"; +export const useRegisterDevFeeInfo = buildUseMutation({ + builderMutationFn: createRegisterDevFeeInfo +}); +export const useCancelDevFeeInfo = buildUseMutation({ + builderMutationFn: createCancelDevFeeInfo +}); +export const useUpdateDevFeeInfo = buildUseMutation({ + builderMutationFn: createUpdateDevFeeInfo +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..833acf7c74 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/fees/v1/tx.rpc.vue.ts @@ -0,0 +1,12 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgRegisterDevFeeInfo, MsgCancelDevFeeInfo, MsgUpdateDevFeeInfo } from "./tx"; +import { createRegisterDevFeeInfo, createCancelDevFeeInfo, createUpdateDevFeeInfo } from "./tx.rpc.func.ts"; +export const useRegisterDevFeeInfo = buildUseVueMutation({ + builderMutationFn: createRegisterDevFeeInfo +}); +export const useCancelDevFeeInfo = buildUseVueMutation({ + builderMutationFn: createCancelDevFeeInfo +}); +export const useUpdateDevFeeInfo = buildUseVueMutation({ + builderMutationFn: createUpdateDevFeeInfo +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.func.ts index 3a1f9ac407..9cee079156 100644 --- a/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryIncentivesRequest, QueryIncentivesResponse, QueryIncentiveRequest, QueryIncentiveResponse, QueryGasMetersRequest, QueryGasMetersResponse, QueryGasMeterRequest, QueryGasMeterResponse, QueryAllocationMetersRequest, QueryAllocationMetersResponse, QueryAllocationMeterRequest, QueryAllocationMeterResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; export const createGetIncentives = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryIncentivesRequest.encode, @@ -8,10 +7,6 @@ export const createGetIncentives = (clientResolver?: RpcResolver) => buildQuery< method: "Incentives", clientResolver }); -export const useGetIncentives = buildUseQuery({ - builderQueryFn: createGetIncentives, - queryKeyPrefix: "IncentivesQuery" -}); export const createGetIncentive = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryIncentiveRequest.encode, decode: QueryIncentiveResponse.decode, @@ -19,10 +14,6 @@ export const createGetIncentive = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetIncentive, - queryKeyPrefix: "IncentiveQuery" -}); export const createGetGasMeters = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGasMetersRequest.encode, decode: QueryGasMetersResponse.decode, @@ -30,10 +21,6 @@ export const createGetGasMeters = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetGasMeters, - queryKeyPrefix: "GasMetersQuery" -}); export const createGetGasMeter = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGasMeterRequest.encode, decode: QueryGasMeterResponse.decode, @@ -41,10 +28,6 @@ export const createGetGasMeter = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetGasMeter, - queryKeyPrefix: "GasMeterQuery" -}); export const createGetAllocationMeters = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllocationMetersRequest.encode, decode: QueryAllocationMetersResponse.decode, @@ -52,10 +35,6 @@ export const createGetAllocationMeters = (clientResolver?: RpcResolver) => build method: "AllocationMeters", clientResolver }); -export const useGetAllocationMeters = buildUseQuery({ - builderQueryFn: createGetAllocationMeters, - queryKeyPrefix: "AllocationMetersQuery" -}); export const createGetAllocationMeter = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAllocationMeterRequest.encode, decode: QueryAllocationMeterResponse.decode, @@ -63,18 +42,10 @@ export const createGetAllocationMeter = (clientResolver?: RpcResolver) => buildQ method: "AllocationMeter", clientResolver }); -export const useGetAllocationMeter = buildUseQuery({ - builderQueryFn: createGetAllocationMeter, - queryKeyPrefix: "AllocationMeterQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, service: "evmos.incentives.v1.Query", method: "Params", clientResolver -}); -export const useGetParams = buildUseQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.react.ts new file mode 100644 index 0000000000..4a6489fcb1 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.react.ts @@ -0,0 +1,31 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryIncentivesRequest, QueryIncentivesResponse, QueryIncentiveRequest, QueryIncentiveResponse, QueryGasMetersRequest, QueryGasMetersResponse, QueryGasMeterRequest, QueryGasMeterResponse, QueryAllocationMetersRequest, QueryAllocationMetersResponse, QueryAllocationMeterRequest, QueryAllocationMeterResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetIncentives, createGetIncentive, createGetGasMeters, createGetGasMeter, createGetAllocationMeters, createGetAllocationMeter, createGetParams } from "./query.rpc.func.ts"; +export const useGetIncentives = buildUseQuery({ + builderQueryFn: createGetIncentives, + queryKeyPrefix: "IncentivesQuery" +}); +export const useGetIncentive = buildUseQuery({ + builderQueryFn: createGetIncentive, + queryKeyPrefix: "IncentiveQuery" +}); +export const useGetGasMeters = buildUseQuery({ + builderQueryFn: createGetGasMeters, + queryKeyPrefix: "GasMetersQuery" +}); +export const useGetGasMeter = buildUseQuery({ + builderQueryFn: createGetGasMeter, + queryKeyPrefix: "GasMeterQuery" +}); +export const useGetAllocationMeters = buildUseQuery({ + builderQueryFn: createGetAllocationMeters, + queryKeyPrefix: "AllocationMetersQuery" +}); +export const useGetAllocationMeter = buildUseQuery({ + builderQueryFn: createGetAllocationMeter, + queryKeyPrefix: "AllocationMeterQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..d1698faeea --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/incentives/v1/query.rpc.vue.ts @@ -0,0 +1,31 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryIncentivesRequest, QueryIncentivesResponse, QueryIncentiveRequest, QueryIncentiveResponse, QueryGasMetersRequest, QueryGasMetersResponse, QueryGasMeterRequest, QueryGasMeterResponse, QueryAllocationMetersRequest, QueryAllocationMetersResponse, QueryAllocationMeterRequest, QueryAllocationMeterResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetIncentives, createGetIncentive, createGetGasMeters, createGetGasMeter, createGetAllocationMeters, createGetAllocationMeter, createGetParams } from "./query.rpc.func.ts"; +export const useGetIncentives = buildUseVueQuery({ + builderQueryFn: createGetIncentives, + queryKeyPrefix: "IncentivesQuery" +}); +export const useGetIncentive = buildUseVueQuery({ + builderQueryFn: createGetIncentive, + queryKeyPrefix: "IncentiveQuery" +}); +export const useGetGasMeters = buildUseVueQuery({ + builderQueryFn: createGetGasMeters, + queryKeyPrefix: "GasMetersQuery" +}); +export const useGetGasMeter = buildUseVueQuery({ + builderQueryFn: createGetGasMeter, + queryKeyPrefix: "GasMeterQuery" +}); +export const useGetAllocationMeters = buildUseVueQuery({ + builderQueryFn: createGetAllocationMeters, + queryKeyPrefix: "AllocationMetersQuery" +}); +export const useGetAllocationMeter = buildUseVueQuery({ + builderQueryFn: createGetAllocationMeter, + queryKeyPrefix: "AllocationMeterQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.func.ts index 76fbe18c3e..c2f37b7132 100644 --- a/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryPeriodRequest, QueryPeriodResponse, QueryEpochMintProvisionRequest, QueryEpochMintProvisionResponse, QuerySkippedEpochsRequest, QuerySkippedEpochsResponse, QueryCirculatingSupplyRequest, QueryCirculatingSupplyResponse, QueryInflationRateRequest, QueryInflationRateResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; export const createGetPeriod = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPeriodRequest.encode, @@ -8,10 +7,6 @@ export const createGetPeriod = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetPeriod, - queryKeyPrefix: "PeriodQuery" -}); export const createGetEpochMintProvision = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryEpochMintProvisionRequest.encode, decode: QueryEpochMintProvisionResponse.decode, @@ -19,10 +14,6 @@ export const createGetEpochMintProvision = (clientResolver?: RpcResolver) => bui method: "EpochMintProvision", clientResolver }); -export const useGetEpochMintProvision = buildUseQuery({ - builderQueryFn: createGetEpochMintProvision, - queryKeyPrefix: "EpochMintProvisionQuery" -}); export const createGetSkippedEpochs = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySkippedEpochsRequest.encode, decode: QuerySkippedEpochsResponse.decode, @@ -30,10 +21,6 @@ export const createGetSkippedEpochs = (clientResolver?: RpcResolver) => buildQue method: "SkippedEpochs", clientResolver }); -export const useGetSkippedEpochs = buildUseQuery({ - builderQueryFn: createGetSkippedEpochs, - queryKeyPrefix: "SkippedEpochsQuery" -}); export const createGetCirculatingSupply = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCirculatingSupplyRequest.encode, decode: QueryCirculatingSupplyResponse.decode, @@ -41,10 +28,6 @@ export const createGetCirculatingSupply = (clientResolver?: RpcResolver) => buil method: "CirculatingSupply", clientResolver }); -export const useGetCirculatingSupply = buildUseQuery({ - builderQueryFn: createGetCirculatingSupply, - queryKeyPrefix: "CirculatingSupplyQuery" -}); export const createGetInflationRate = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryInflationRateRequest.encode, decode: QueryInflationRateResponse.decode, @@ -52,18 +35,10 @@ export const createGetInflationRate = (clientResolver?: RpcResolver) => buildQue method: "InflationRate", clientResolver }); -export const useGetInflationRate = buildUseQuery({ - builderQueryFn: createGetInflationRate, - queryKeyPrefix: "InflationRateQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, service: "evmos.inflation.v1.Query", method: "Params", clientResolver -}); -export const useGetParams = buildUseQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.react.ts new file mode 100644 index 0000000000..39b4e48a91 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.react.ts @@ -0,0 +1,27 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryPeriodRequest, QueryPeriodResponse, QueryEpochMintProvisionRequest, QueryEpochMintProvisionResponse, QuerySkippedEpochsRequest, QuerySkippedEpochsResponse, QueryCirculatingSupplyRequest, QueryCirculatingSupplyResponse, QueryInflationRateRequest, QueryInflationRateResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetPeriod, createGetEpochMintProvision, createGetSkippedEpochs, createGetCirculatingSupply, createGetInflationRate, createGetParams } from "./query.rpc.func.ts"; +export const useGetPeriod = buildUseQuery({ + builderQueryFn: createGetPeriod, + queryKeyPrefix: "PeriodQuery" +}); +export const useGetEpochMintProvision = buildUseQuery({ + builderQueryFn: createGetEpochMintProvision, + queryKeyPrefix: "EpochMintProvisionQuery" +}); +export const useGetSkippedEpochs = buildUseQuery({ + builderQueryFn: createGetSkippedEpochs, + queryKeyPrefix: "SkippedEpochsQuery" +}); +export const useGetCirculatingSupply = buildUseQuery({ + builderQueryFn: createGetCirculatingSupply, + queryKeyPrefix: "CirculatingSupplyQuery" +}); +export const useGetInflationRate = buildUseQuery({ + builderQueryFn: createGetInflationRate, + queryKeyPrefix: "InflationRateQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..575835c37d --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/inflation/v1/query.rpc.vue.ts @@ -0,0 +1,27 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryPeriodRequest, QueryPeriodResponse, QueryEpochMintProvisionRequest, QueryEpochMintProvisionResponse, QuerySkippedEpochsRequest, QuerySkippedEpochsResponse, QueryCirculatingSupplyRequest, QueryCirculatingSupplyResponse, QueryInflationRateRequest, QueryInflationRateResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetPeriod, createGetEpochMintProvision, createGetSkippedEpochs, createGetCirculatingSupply, createGetInflationRate, createGetParams } from "./query.rpc.func.ts"; +export const useGetPeriod = buildUseVueQuery({ + builderQueryFn: createGetPeriod, + queryKeyPrefix: "PeriodQuery" +}); +export const useGetEpochMintProvision = buildUseVueQuery({ + builderQueryFn: createGetEpochMintProvision, + queryKeyPrefix: "EpochMintProvisionQuery" +}); +export const useGetSkippedEpochs = buildUseVueQuery({ + builderQueryFn: createGetSkippedEpochs, + queryKeyPrefix: "SkippedEpochsQuery" +}); +export const useGetCirculatingSupply = buildUseVueQuery({ + builderQueryFn: createGetCirculatingSupply, + queryKeyPrefix: "CirculatingSupplyQuery" +}); +export const useGetInflationRate = buildUseVueQuery({ + builderQueryFn: createGetInflationRate, + queryKeyPrefix: "InflationRateQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.func.ts index 828bed2e3c..4d5bedd2bc 100644 --- a/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryParamsRequest, QueryParamsResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -7,8 +6,4 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.react.ts new file mode 100644 index 0000000000..7604e46474 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.react.ts @@ -0,0 +1,7 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetParams } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..ccdb727bb8 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/recovery/v1/query.rpc.vue.ts @@ -0,0 +1,7 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetParams } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.func.ts index a98ce4ebea..028671e743 100644 --- a/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryBalancesRequest, QueryBalancesResponse } from "./query"; export const createGetBalances = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryBalancesRequest.encode, @@ -7,8 +6,4 @@ export const createGetBalances = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetBalances, - queryKeyPrefix: "BalancesQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.react.ts new file mode 100644 index 0000000000..c64f12158e --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.react.ts @@ -0,0 +1,7 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryBalancesRequest, QueryBalancesResponse } from "./query"; +import { createGetBalances } from "./query.rpc.func.ts"; +export const useGetBalances = buildUseQuery({ + builderQueryFn: createGetBalances, + queryKeyPrefix: "BalancesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..5882ba5a1a --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/query.rpc.vue.ts @@ -0,0 +1,7 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryBalancesRequest, QueryBalancesResponse } from "./query"; +import { createGetBalances } from "./query.rpc.func.ts"; +export const useGetBalances = buildUseVueQuery({ + builderQueryFn: createGetBalances, + queryKeyPrefix: "BalancesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.func.ts index 3659d58d61..c3fb3a4add 100644 --- a/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateClawbackVestingAccount, MsgClawback } from "./tx"; export const createCreateClawbackVestingAccount = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createCreateClawbackVestingAccount = (clientResolver?: SigningClien encoders: toEncoders(MsgCreateClawbackVestingAccount), converters: toConverters(MsgCreateClawbackVestingAccount) }); -export const useCreateClawbackVestingAccount = buildUseMutation({ - builderMutationFn: createCreateClawbackVestingAccount -}); export const createClawback = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgClawback.typeUrl, encoders: toEncoders(MsgClawback), converters: toConverters(MsgClawback) -}); -export const useClawback = buildUseMutation({ - builderMutationFn: createClawback }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..8397888e34 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateClawbackVestingAccount, MsgClawback } from "./tx"; +import { createCreateClawbackVestingAccount, createClawback } from "./tx.rpc.func.ts"; +export const useCreateClawbackVestingAccount = buildUseMutation({ + builderMutationFn: createCreateClawbackVestingAccount +}); +export const useClawback = buildUseMutation({ + builderMutationFn: createClawback +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..bc9e003ad7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/evmos/vesting/v1/tx.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateClawbackVestingAccount, MsgClawback } from "./tx"; +import { createCreateClawbackVestingAccount, createClawback } from "./tx.rpc.func.ts"; +export const useCreateClawbackVestingAccount = buildUseVueMutation({ + builderMutationFn: createCreateClawbackVestingAccount +}); +export const useClawback = buildUseVueMutation({ + builderMutationFn: createClawback +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.func.ts index c435769a04..c9d89f1975 100644 --- a/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../../helper-func-types"; -import { buildUseQuery } from "../../../../react-query"; import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; export const createGetDenomTrace = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomTraceRequest.encode, @@ -8,10 +7,6 @@ export const createGetDenomTrace = (clientResolver?: RpcResolver) => buildQuery< method: "DenomTrace", clientResolver }); -export const useGetDenomTrace = buildUseQuery({ - builderQueryFn: createGetDenomTrace, - queryKeyPrefix: "DenomTraceQuery" -}); export const createGetDenomTraces = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomTracesRequest.encode, decode: QueryDenomTracesResponse.decode, @@ -19,18 +14,10 @@ export const createGetDenomTraces = (clientResolver?: RpcResolver) => buildQuery method: "DenomTraces", clientResolver }); -export const useGetDenomTraces = buildUseQuery({ - builderQueryFn: createGetDenomTraces, - queryKeyPrefix: "DenomTracesQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, service: "ibc.applications.transfer.v1.Query", method: "Params", clientResolver -}); -export const useGetParams = buildUseQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.react.ts new file mode 100644 index 0000000000..f8b368ea83 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../../react-query"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetDenomTrace, createGetDenomTraces, createGetParams } from "./query.rpc.func.ts"; +export const useGetDenomTrace = buildUseQuery({ + builderQueryFn: createGetDenomTrace, + queryKeyPrefix: "DenomTraceQuery" +}); +export const useGetDenomTraces = buildUseQuery({ + builderQueryFn: createGetDenomTraces, + queryKeyPrefix: "DenomTracesQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..70e3883b20 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../../vue-query"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetDenomTrace, createGetDenomTraces, createGetParams } from "./query.rpc.func.ts"; +export const useGetDenomTrace = buildUseVueQuery({ + builderQueryFn: createGetDenomTrace, + queryKeyPrefix: "DenomTraceQuery" +}); +export const useGetDenomTraces = buildUseVueQuery({ + builderQueryFn: createGetDenomTraces, + queryKeyPrefix: "DenomTracesQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.func.ts index 04fd7b9179..367433e1c0 100644 --- a/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.func.ts @@ -1,13 +1,9 @@ import { buildTx, SigningClientResolver } from "../../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../../react-query"; import { MsgTransfer } from "./tx"; export const createTransfer = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgTransfer.typeUrl, encoders: toEncoders(MsgTransfer), converters: toConverters(MsgTransfer) -}); -export const useTransfer = buildUseMutation({ - builderMutationFn: createTransfer }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..15bb21a387 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.react.ts @@ -0,0 +1,6 @@ +import { buildUseMutation } from "../../../../react-query"; +import { MsgTransfer } from "./tx"; +import { createTransfer } from "./tx.rpc.func.ts"; +export const useTransfer = buildUseMutation({ + builderMutationFn: createTransfer +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..b6116645ef --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/applications/transfer/v1/tx.rpc.vue.ts @@ -0,0 +1,6 @@ +import { buildUseVueMutation } from "../../../../vue-query"; +import { MsgTransfer } from "./tx"; +import { createTransfer } from "./tx.rpc.func.ts"; +export const useTransfer = buildUseVueMutation({ + builderMutationFn: createTransfer +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.func.ts index 9f916f9334..dd2142c549 100644 --- a/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../../helper-func-types"; -import { buildUseQuery } from "../../../../react-query"; import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; export const createGetChannel = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryChannelRequest.encode, @@ -8,10 +7,6 @@ export const createGetChannel = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetChannel, - queryKeyPrefix: "ChannelQuery" -}); export const createGetChannels = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryChannelsRequest.encode, decode: QueryChannelsResponse.decode, @@ -19,10 +14,6 @@ export const createGetChannels = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetChannels, - queryKeyPrefix: "ChannelsQuery" -}); export const createGetConnectionChannels = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryConnectionChannelsRequest.encode, decode: QueryConnectionChannelsResponse.decode, @@ -30,10 +21,6 @@ export const createGetConnectionChannels = (clientResolver?: RpcResolver) => bui method: "ConnectionChannels", clientResolver }); -export const useGetConnectionChannels = buildUseQuery({ - builderQueryFn: createGetConnectionChannels, - queryKeyPrefix: "ConnectionChannelsQuery" -}); export const createGetChannelClientState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryChannelClientStateRequest.encode, decode: QueryChannelClientStateResponse.decode, @@ -41,10 +28,6 @@ export const createGetChannelClientState = (clientResolver?: RpcResolver) => bui method: "ChannelClientState", clientResolver }); -export const useGetChannelClientState = buildUseQuery({ - builderQueryFn: createGetChannelClientState, - queryKeyPrefix: "ChannelClientStateQuery" -}); export const createGetChannelConsensusState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryChannelConsensusStateRequest.encode, decode: QueryChannelConsensusStateResponse.decode, @@ -52,10 +35,6 @@ export const createGetChannelConsensusState = (clientResolver?: RpcResolver) => method: "ChannelConsensusState", clientResolver }); -export const useGetChannelConsensusState = buildUseQuery({ - builderQueryFn: createGetChannelConsensusState, - queryKeyPrefix: "ChannelConsensusStateQuery" -}); export const createGetPacketCommitment = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPacketCommitmentRequest.encode, decode: QueryPacketCommitmentResponse.decode, @@ -63,10 +42,6 @@ export const createGetPacketCommitment = (clientResolver?: RpcResolver) => build method: "PacketCommitment", clientResolver }); -export const useGetPacketCommitment = buildUseQuery({ - builderQueryFn: createGetPacketCommitment, - queryKeyPrefix: "PacketCommitmentQuery" -}); export const createGetPacketCommitments = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPacketCommitmentsRequest.encode, decode: QueryPacketCommitmentsResponse.decode, @@ -74,10 +49,6 @@ export const createGetPacketCommitments = (clientResolver?: RpcResolver) => buil method: "PacketCommitments", clientResolver }); -export const useGetPacketCommitments = buildUseQuery({ - builderQueryFn: createGetPacketCommitments, - queryKeyPrefix: "PacketCommitmentsQuery" -}); export const createGetPacketReceipt = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPacketReceiptRequest.encode, decode: QueryPacketReceiptResponse.decode, @@ -85,10 +56,6 @@ export const createGetPacketReceipt = (clientResolver?: RpcResolver) => buildQue method: "PacketReceipt", clientResolver }); -export const useGetPacketReceipt = buildUseQuery({ - builderQueryFn: createGetPacketReceipt, - queryKeyPrefix: "PacketReceiptQuery" -}); export const createGetPacketAcknowledgement = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPacketAcknowledgementRequest.encode, decode: QueryPacketAcknowledgementResponse.decode, @@ -96,10 +63,6 @@ export const createGetPacketAcknowledgement = (clientResolver?: RpcResolver) => method: "PacketAcknowledgement", clientResolver }); -export const useGetPacketAcknowledgement = buildUseQuery({ - builderQueryFn: createGetPacketAcknowledgement, - queryKeyPrefix: "PacketAcknowledgementQuery" -}); export const createGetPacketAcknowledgements = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPacketAcknowledgementsRequest.encode, decode: QueryPacketAcknowledgementsResponse.decode, @@ -107,10 +70,6 @@ export const createGetPacketAcknowledgements = (clientResolver?: RpcResolver) => method: "PacketAcknowledgements", clientResolver }); -export const useGetPacketAcknowledgements = buildUseQuery({ - builderQueryFn: createGetPacketAcknowledgements, - queryKeyPrefix: "PacketAcknowledgementsQuery" -}); export const createGetUnreceivedPackets = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryUnreceivedPacketsRequest.encode, decode: QueryUnreceivedPacketsResponse.decode, @@ -118,10 +77,6 @@ export const createGetUnreceivedPackets = (clientResolver?: RpcResolver) => buil method: "UnreceivedPackets", clientResolver }); -export const useGetUnreceivedPackets = buildUseQuery({ - builderQueryFn: createGetUnreceivedPackets, - queryKeyPrefix: "UnreceivedPacketsQuery" -}); export const createGetUnreceivedAcks = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryUnreceivedAcksRequest.encode, decode: QueryUnreceivedAcksResponse.decode, @@ -129,18 +84,10 @@ export const createGetUnreceivedAcks = (clientResolver?: RpcResolver) => buildQu method: "UnreceivedAcks", clientResolver }); -export const useGetUnreceivedAcks = buildUseQuery({ - builderQueryFn: createGetUnreceivedAcks, - queryKeyPrefix: "UnreceivedAcksQuery" -}); export const createGetNextSequenceReceive = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryNextSequenceReceiveRequest.encode, decode: QueryNextSequenceReceiveResponse.decode, service: "ibc.core.channel.v1.Query", method: "NextSequenceReceive", clientResolver -}); -export const useGetNextSequenceReceive = buildUseQuery({ - builderQueryFn: createGetNextSequenceReceive, - queryKeyPrefix: "NextSequenceReceiveQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.react.ts new file mode 100644 index 0000000000..09821a7ae6 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.react.ts @@ -0,0 +1,55 @@ +import { buildUseQuery } from "../../../../react-query"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; +import { createGetChannel, createGetChannels, createGetConnectionChannels, createGetChannelClientState, createGetChannelConsensusState, createGetPacketCommitment, createGetPacketCommitments, createGetPacketReceipt, createGetPacketAcknowledgement, createGetPacketAcknowledgements, createGetUnreceivedPackets, createGetUnreceivedAcks, createGetNextSequenceReceive } from "./query.rpc.func.ts"; +export const useGetChannel = buildUseQuery({ + builderQueryFn: createGetChannel, + queryKeyPrefix: "ChannelQuery" +}); +export const useGetChannels = buildUseQuery({ + builderQueryFn: createGetChannels, + queryKeyPrefix: "ChannelsQuery" +}); +export const useGetConnectionChannels = buildUseQuery({ + builderQueryFn: createGetConnectionChannels, + queryKeyPrefix: "ConnectionChannelsQuery" +}); +export const useGetChannelClientState = buildUseQuery({ + builderQueryFn: createGetChannelClientState, + queryKeyPrefix: "ChannelClientStateQuery" +}); +export const useGetChannelConsensusState = buildUseQuery({ + builderQueryFn: createGetChannelConsensusState, + queryKeyPrefix: "ChannelConsensusStateQuery" +}); +export const useGetPacketCommitment = buildUseQuery({ + builderQueryFn: createGetPacketCommitment, + queryKeyPrefix: "PacketCommitmentQuery" +}); +export const useGetPacketCommitments = buildUseQuery({ + builderQueryFn: createGetPacketCommitments, + queryKeyPrefix: "PacketCommitmentsQuery" +}); +export const useGetPacketReceipt = buildUseQuery({ + builderQueryFn: createGetPacketReceipt, + queryKeyPrefix: "PacketReceiptQuery" +}); +export const useGetPacketAcknowledgement = buildUseQuery({ + builderQueryFn: createGetPacketAcknowledgement, + queryKeyPrefix: "PacketAcknowledgementQuery" +}); +export const useGetPacketAcknowledgements = buildUseQuery({ + builderQueryFn: createGetPacketAcknowledgements, + queryKeyPrefix: "PacketAcknowledgementsQuery" +}); +export const useGetUnreceivedPackets = buildUseQuery({ + builderQueryFn: createGetUnreceivedPackets, + queryKeyPrefix: "UnreceivedPacketsQuery" +}); +export const useGetUnreceivedAcks = buildUseQuery({ + builderQueryFn: createGetUnreceivedAcks, + queryKeyPrefix: "UnreceivedAcksQuery" +}); +export const useGetNextSequenceReceive = buildUseQuery({ + builderQueryFn: createGetNextSequenceReceive, + queryKeyPrefix: "NextSequenceReceiveQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..7dd5b51792 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/query.rpc.vue.ts @@ -0,0 +1,55 @@ +import { buildUseVueQuery } from "../../../../vue-query"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; +import { createGetChannel, createGetChannels, createGetConnectionChannels, createGetChannelClientState, createGetChannelConsensusState, createGetPacketCommitment, createGetPacketCommitments, createGetPacketReceipt, createGetPacketAcknowledgement, createGetPacketAcknowledgements, createGetUnreceivedPackets, createGetUnreceivedAcks, createGetNextSequenceReceive } from "./query.rpc.func.ts"; +export const useGetChannel = buildUseVueQuery({ + builderQueryFn: createGetChannel, + queryKeyPrefix: "ChannelQuery" +}); +export const useGetChannels = buildUseVueQuery({ + builderQueryFn: createGetChannels, + queryKeyPrefix: "ChannelsQuery" +}); +export const useGetConnectionChannels = buildUseVueQuery({ + builderQueryFn: createGetConnectionChannels, + queryKeyPrefix: "ConnectionChannelsQuery" +}); +export const useGetChannelClientState = buildUseVueQuery({ + builderQueryFn: createGetChannelClientState, + queryKeyPrefix: "ChannelClientStateQuery" +}); +export const useGetChannelConsensusState = buildUseVueQuery({ + builderQueryFn: createGetChannelConsensusState, + queryKeyPrefix: "ChannelConsensusStateQuery" +}); +export const useGetPacketCommitment = buildUseVueQuery({ + builderQueryFn: createGetPacketCommitment, + queryKeyPrefix: "PacketCommitmentQuery" +}); +export const useGetPacketCommitments = buildUseVueQuery({ + builderQueryFn: createGetPacketCommitments, + queryKeyPrefix: "PacketCommitmentsQuery" +}); +export const useGetPacketReceipt = buildUseVueQuery({ + builderQueryFn: createGetPacketReceipt, + queryKeyPrefix: "PacketReceiptQuery" +}); +export const useGetPacketAcknowledgement = buildUseVueQuery({ + builderQueryFn: createGetPacketAcknowledgement, + queryKeyPrefix: "PacketAcknowledgementQuery" +}); +export const useGetPacketAcknowledgements = buildUseVueQuery({ + builderQueryFn: createGetPacketAcknowledgements, + queryKeyPrefix: "PacketAcknowledgementsQuery" +}); +export const useGetUnreceivedPackets = buildUseVueQuery({ + builderQueryFn: createGetUnreceivedPackets, + queryKeyPrefix: "UnreceivedPacketsQuery" +}); +export const useGetUnreceivedAcks = buildUseVueQuery({ + builderQueryFn: createGetUnreceivedAcks, + queryKeyPrefix: "UnreceivedAcksQuery" +}); +export const useGetNextSequenceReceive = buildUseVueQuery({ + builderQueryFn: createGetNextSequenceReceive, + queryKeyPrefix: "NextSequenceReceiveQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.func.ts index 3b32fdbedc..25255412f5 100644 --- a/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../../react-query"; import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; export const createChannelOpenInit = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,87 +7,57 @@ export const createChannelOpenInit = (clientResolver?: SigningClientResolver) => encoders: toEncoders(MsgChannelOpenInit), converters: toConverters(MsgChannelOpenInit) }); -export const useChannelOpenInit = buildUseMutation({ - builderMutationFn: createChannelOpenInit -}); export const createChannelOpenTry = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgChannelOpenTry.typeUrl, encoders: toEncoders(MsgChannelOpenTry), converters: toConverters(MsgChannelOpenTry) }); -export const useChannelOpenTry = buildUseMutation({ - builderMutationFn: createChannelOpenTry -}); export const createChannelOpenAck = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgChannelOpenAck.typeUrl, encoders: toEncoders(MsgChannelOpenAck), converters: toConverters(MsgChannelOpenAck) }); -export const useChannelOpenAck = buildUseMutation({ - builderMutationFn: createChannelOpenAck -}); export const createChannelOpenConfirm = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgChannelOpenConfirm.typeUrl, encoders: toEncoders(MsgChannelOpenConfirm), converters: toConverters(MsgChannelOpenConfirm) }); -export const useChannelOpenConfirm = buildUseMutation({ - builderMutationFn: createChannelOpenConfirm -}); export const createChannelCloseInit = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgChannelCloseInit.typeUrl, encoders: toEncoders(MsgChannelCloseInit), converters: toConverters(MsgChannelCloseInit) }); -export const useChannelCloseInit = buildUseMutation({ - builderMutationFn: createChannelCloseInit -}); export const createChannelCloseConfirm = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgChannelCloseConfirm.typeUrl, encoders: toEncoders(MsgChannelCloseConfirm), converters: toConverters(MsgChannelCloseConfirm) }); -export const useChannelCloseConfirm = buildUseMutation({ - builderMutationFn: createChannelCloseConfirm -}); export const createRecvPacket = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgRecvPacket.typeUrl, encoders: toEncoders(MsgRecvPacket), converters: toConverters(MsgRecvPacket) }); -export const useRecvPacket = buildUseMutation({ - builderMutationFn: createRecvPacket -}); export const createTimeout = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgTimeout.typeUrl, encoders: toEncoders(MsgTimeout), converters: toConverters(MsgTimeout) }); -export const useTimeout = buildUseMutation({ - builderMutationFn: createTimeout -}); export const createTimeoutOnClose = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgTimeoutOnClose.typeUrl, encoders: toEncoders(MsgTimeoutOnClose), converters: toConverters(MsgTimeoutOnClose) }); -export const useTimeoutOnClose = buildUseMutation({ - builderMutationFn: createTimeoutOnClose -}); export const createAcknowledgement = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgAcknowledgement.typeUrl, encoders: toEncoders(MsgAcknowledgement), converters: toConverters(MsgAcknowledgement) -}); -export const useAcknowledgement = buildUseMutation({ - builderMutationFn: createAcknowledgement }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..2c03255159 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.react.ts @@ -0,0 +1,33 @@ +import { buildUseMutation } from "../../../../react-query"; +import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; +import { createChannelOpenInit, createChannelOpenTry, createChannelOpenAck, createChannelOpenConfirm, createChannelCloseInit, createChannelCloseConfirm, createRecvPacket, createTimeout, createTimeoutOnClose, createAcknowledgement } from "./tx.rpc.func.ts"; +export const useChannelOpenInit = buildUseMutation({ + builderMutationFn: createChannelOpenInit +}); +export const useChannelOpenTry = buildUseMutation({ + builderMutationFn: createChannelOpenTry +}); +export const useChannelOpenAck = buildUseMutation({ + builderMutationFn: createChannelOpenAck +}); +export const useChannelOpenConfirm = buildUseMutation({ + builderMutationFn: createChannelOpenConfirm +}); +export const useChannelCloseInit = buildUseMutation({ + builderMutationFn: createChannelCloseInit +}); +export const useChannelCloseConfirm = buildUseMutation({ + builderMutationFn: createChannelCloseConfirm +}); +export const useRecvPacket = buildUseMutation({ + builderMutationFn: createRecvPacket +}); +export const useTimeout = buildUseMutation({ + builderMutationFn: createTimeout +}); +export const useTimeoutOnClose = buildUseMutation({ + builderMutationFn: createTimeoutOnClose +}); +export const useAcknowledgement = buildUseMutation({ + builderMutationFn: createAcknowledgement +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..e12b604e78 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/channel/v1/tx.rpc.vue.ts @@ -0,0 +1,33 @@ +import { buildUseVueMutation } from "../../../../vue-query"; +import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; +import { createChannelOpenInit, createChannelOpenTry, createChannelOpenAck, createChannelOpenConfirm, createChannelCloseInit, createChannelCloseConfirm, createRecvPacket, createTimeout, createTimeoutOnClose, createAcknowledgement } from "./tx.rpc.func.ts"; +export const useChannelOpenInit = buildUseVueMutation({ + builderMutationFn: createChannelOpenInit +}); +export const useChannelOpenTry = buildUseVueMutation({ + builderMutationFn: createChannelOpenTry +}); +export const useChannelOpenAck = buildUseVueMutation({ + builderMutationFn: createChannelOpenAck +}); +export const useChannelOpenConfirm = buildUseVueMutation({ + builderMutationFn: createChannelOpenConfirm +}); +export const useChannelCloseInit = buildUseVueMutation({ + builderMutationFn: createChannelCloseInit +}); +export const useChannelCloseConfirm = buildUseVueMutation({ + builderMutationFn: createChannelCloseConfirm +}); +export const useRecvPacket = buildUseVueMutation({ + builderMutationFn: createRecvPacket +}); +export const useTimeout = buildUseVueMutation({ + builderMutationFn: createTimeout +}); +export const useTimeoutOnClose = buildUseVueMutation({ + builderMutationFn: createTimeoutOnClose +}); +export const useAcknowledgement = buildUseVueMutation({ + builderMutationFn: createAcknowledgement +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.func.ts index e4cb98d491..f0a69be9aa 100644 --- a/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../../helper-func-types"; -import { buildUseQuery } from "../../../../react-query"; import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; export const createGetClientState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClientStateRequest.encode, @@ -8,10 +7,6 @@ export const createGetClientState = (clientResolver?: RpcResolver) => buildQuery method: "ClientState", clientResolver }); -export const useGetClientState = buildUseQuery({ - builderQueryFn: createGetClientState, - queryKeyPrefix: "ClientStateQuery" -}); export const createGetClientStates = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClientStatesRequest.encode, decode: QueryClientStatesResponse.decode, @@ -19,10 +14,6 @@ export const createGetClientStates = (clientResolver?: RpcResolver) => buildQuer method: "ClientStates", clientResolver }); -export const useGetClientStates = buildUseQuery({ - builderQueryFn: createGetClientStates, - queryKeyPrefix: "ClientStatesQuery" -}); export const createGetConsensusState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryConsensusStateRequest.encode, decode: QueryConsensusStateResponse.decode, @@ -30,10 +21,6 @@ export const createGetConsensusState = (clientResolver?: RpcResolver) => buildQu method: "ConsensusState", clientResolver }); -export const useGetConsensusState = buildUseQuery({ - builderQueryFn: createGetConsensusState, - queryKeyPrefix: "ConsensusStateQuery" -}); export const createGetConsensusStates = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryConsensusStatesRequest.encode, decode: QueryConsensusStatesResponse.decode, @@ -41,10 +28,6 @@ export const createGetConsensusStates = (clientResolver?: RpcResolver) => buildQ method: "ConsensusStates", clientResolver }); -export const useGetConsensusStates = buildUseQuery({ - builderQueryFn: createGetConsensusStates, - queryKeyPrefix: "ConsensusStatesQuery" -}); export const createGetClientStatus = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClientStatusRequest.encode, decode: QueryClientStatusResponse.decode, @@ -52,10 +35,6 @@ export const createGetClientStatus = (clientResolver?: RpcResolver) => buildQuer method: "ClientStatus", clientResolver }); -export const useGetClientStatus = buildUseQuery({ - builderQueryFn: createGetClientStatus, - queryKeyPrefix: "ClientStatusQuery" -}); export const createGetClientParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClientParamsRequest.encode, decode: QueryClientParamsResponse.decode, @@ -63,10 +42,6 @@ export const createGetClientParams = (clientResolver?: RpcResolver) => buildQuer method: "ClientParams", clientResolver }); -export const useGetClientParams = buildUseQuery({ - builderQueryFn: createGetClientParams, - queryKeyPrefix: "ClientParamsQuery" -}); export const createGetUpgradedClientState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryUpgradedClientStateRequest.encode, decode: QueryUpgradedClientStateResponse.decode, @@ -74,18 +49,10 @@ export const createGetUpgradedClientState = (clientResolver?: RpcResolver) => bu method: "UpgradedClientState", clientResolver }); -export const useGetUpgradedClientState = buildUseQuery({ - builderQueryFn: createGetUpgradedClientState, - queryKeyPrefix: "UpgradedClientStateQuery" -}); export const createGetUpgradedConsensusState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryUpgradedConsensusStateRequest.encode, decode: QueryUpgradedConsensusStateResponse.decode, service: "ibc.core.client.v1.Query", method: "UpgradedConsensusState", clientResolver -}); -export const useGetUpgradedConsensusState = buildUseQuery({ - builderQueryFn: createGetUpgradedConsensusState, - queryKeyPrefix: "UpgradedConsensusStateQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.react.ts new file mode 100644 index 0000000000..3c8f3886b4 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.react.ts @@ -0,0 +1,35 @@ +import { buildUseQuery } from "../../../../react-query"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; +import { createGetClientState, createGetClientStates, createGetConsensusState, createGetConsensusStates, createGetClientStatus, createGetClientParams, createGetUpgradedClientState, createGetUpgradedConsensusState } from "./query.rpc.func.ts"; +export const useGetClientState = buildUseQuery({ + builderQueryFn: createGetClientState, + queryKeyPrefix: "ClientStateQuery" +}); +export const useGetClientStates = buildUseQuery({ + builderQueryFn: createGetClientStates, + queryKeyPrefix: "ClientStatesQuery" +}); +export const useGetConsensusState = buildUseQuery({ + builderQueryFn: createGetConsensusState, + queryKeyPrefix: "ConsensusStateQuery" +}); +export const useGetConsensusStates = buildUseQuery({ + builderQueryFn: createGetConsensusStates, + queryKeyPrefix: "ConsensusStatesQuery" +}); +export const useGetClientStatus = buildUseQuery({ + builderQueryFn: createGetClientStatus, + queryKeyPrefix: "ClientStatusQuery" +}); +export const useGetClientParams = buildUseQuery({ + builderQueryFn: createGetClientParams, + queryKeyPrefix: "ClientParamsQuery" +}); +export const useGetUpgradedClientState = buildUseQuery({ + builderQueryFn: createGetUpgradedClientState, + queryKeyPrefix: "UpgradedClientStateQuery" +}); +export const useGetUpgradedConsensusState = buildUseQuery({ + builderQueryFn: createGetUpgradedConsensusState, + queryKeyPrefix: "UpgradedConsensusStateQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..d1354db23e --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/query.rpc.vue.ts @@ -0,0 +1,35 @@ +import { buildUseVueQuery } from "../../../../vue-query"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; +import { createGetClientState, createGetClientStates, createGetConsensusState, createGetConsensusStates, createGetClientStatus, createGetClientParams, createGetUpgradedClientState, createGetUpgradedConsensusState } from "./query.rpc.func.ts"; +export const useGetClientState = buildUseVueQuery({ + builderQueryFn: createGetClientState, + queryKeyPrefix: "ClientStateQuery" +}); +export const useGetClientStates = buildUseVueQuery({ + builderQueryFn: createGetClientStates, + queryKeyPrefix: "ClientStatesQuery" +}); +export const useGetConsensusState = buildUseVueQuery({ + builderQueryFn: createGetConsensusState, + queryKeyPrefix: "ConsensusStateQuery" +}); +export const useGetConsensusStates = buildUseVueQuery({ + builderQueryFn: createGetConsensusStates, + queryKeyPrefix: "ConsensusStatesQuery" +}); +export const useGetClientStatus = buildUseVueQuery({ + builderQueryFn: createGetClientStatus, + queryKeyPrefix: "ClientStatusQuery" +}); +export const useGetClientParams = buildUseVueQuery({ + builderQueryFn: createGetClientParams, + queryKeyPrefix: "ClientParamsQuery" +}); +export const useGetUpgradedClientState = buildUseVueQuery({ + builderQueryFn: createGetUpgradedClientState, + queryKeyPrefix: "UpgradedClientStateQuery" +}); +export const useGetUpgradedConsensusState = buildUseVueQuery({ + builderQueryFn: createGetUpgradedConsensusState, + queryKeyPrefix: "UpgradedConsensusStateQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.func.ts index 3e85bc1805..bc9b78240e 100644 --- a/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../../react-query"; import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; export const createCreateClient = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,33 +7,21 @@ export const createCreateClient = (clientResolver?: SigningClientResolver) => bu encoders: toEncoders(MsgCreateClient), converters: toConverters(MsgCreateClient) }); -export const useCreateClient = buildUseMutation({ - builderMutationFn: createCreateClient -}); export const createUpdateClient = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpdateClient.typeUrl, encoders: toEncoders(MsgUpdateClient), converters: toConverters(MsgUpdateClient) }); -export const useUpdateClient = buildUseMutation({ - builderMutationFn: createUpdateClient -}); export const createUpgradeClient = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUpgradeClient.typeUrl, encoders: toEncoders(MsgUpgradeClient), converters: toConverters(MsgUpgradeClient) }); -export const useUpgradeClient = buildUseMutation({ - builderMutationFn: createUpgradeClient -}); export const createSubmitMisbehaviour = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSubmitMisbehaviour.typeUrl, encoders: toEncoders(MsgSubmitMisbehaviour), converters: toConverters(MsgSubmitMisbehaviour) -}); -export const useSubmitMisbehaviour = buildUseMutation({ - builderMutationFn: createSubmitMisbehaviour }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..4c98432def --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseMutation } from "../../../../react-query"; +import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; +import { createCreateClient, createUpdateClient, createUpgradeClient, createSubmitMisbehaviour } from "./tx.rpc.func.ts"; +export const useCreateClient = buildUseMutation({ + builderMutationFn: createCreateClient +}); +export const useUpdateClient = buildUseMutation({ + builderMutationFn: createUpdateClient +}); +export const useUpgradeClient = buildUseMutation({ + builderMutationFn: createUpgradeClient +}); +export const useSubmitMisbehaviour = buildUseMutation({ + builderMutationFn: createSubmitMisbehaviour +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..0c423c75e7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/client/v1/tx.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueMutation } from "../../../../vue-query"; +import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; +import { createCreateClient, createUpdateClient, createUpgradeClient, createSubmitMisbehaviour } from "./tx.rpc.func.ts"; +export const useCreateClient = buildUseVueMutation({ + builderMutationFn: createCreateClient +}); +export const useUpdateClient = buildUseVueMutation({ + builderMutationFn: createUpdateClient +}); +export const useUpgradeClient = buildUseVueMutation({ + builderMutationFn: createUpgradeClient +}); +export const useSubmitMisbehaviour = buildUseVueMutation({ + builderMutationFn: createSubmitMisbehaviour +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.func.ts index 8bc300e8a5..1bc8e9d14f 100644 --- a/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../../helper-func-types"; -import { buildUseQuery } from "../../../../react-query"; import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; export const createGetConnection = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryConnectionRequest.encode, @@ -8,10 +7,6 @@ export const createGetConnection = (clientResolver?: RpcResolver) => buildQuery< method: "Connection", clientResolver }); -export const useGetConnection = buildUseQuery({ - builderQueryFn: createGetConnection, - queryKeyPrefix: "ConnectionQuery" -}); export const createGetConnections = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryConnectionsRequest.encode, decode: QueryConnectionsResponse.decode, @@ -19,10 +14,6 @@ export const createGetConnections = (clientResolver?: RpcResolver) => buildQuery method: "Connections", clientResolver }); -export const useGetConnections = buildUseQuery({ - builderQueryFn: createGetConnections, - queryKeyPrefix: "ConnectionsQuery" -}); export const createGetClientConnections = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClientConnectionsRequest.encode, decode: QueryClientConnectionsResponse.decode, @@ -30,10 +21,6 @@ export const createGetClientConnections = (clientResolver?: RpcResolver) => buil method: "ClientConnections", clientResolver }); -export const useGetClientConnections = buildUseQuery({ - builderQueryFn: createGetClientConnections, - queryKeyPrefix: "ClientConnectionsQuery" -}); export const createGetConnectionClientState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryConnectionClientStateRequest.encode, decode: QueryConnectionClientStateResponse.decode, @@ -41,18 +28,10 @@ export const createGetConnectionClientState = (clientResolver?: RpcResolver) => method: "ConnectionClientState", clientResolver }); -export const useGetConnectionClientState = buildUseQuery({ - builderQueryFn: createGetConnectionClientState, - queryKeyPrefix: "ConnectionClientStateQuery" -}); export const createGetConnectionConsensusState = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryConnectionConsensusStateRequest.encode, decode: QueryConnectionConsensusStateResponse.decode, service: "ibc.core.connection.v1.Query", method: "ConnectionConsensusState", clientResolver -}); -export const useGetConnectionConsensusState = buildUseQuery({ - builderQueryFn: createGetConnectionConsensusState, - queryKeyPrefix: "ConnectionConsensusStateQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.react.ts new file mode 100644 index 0000000000..a0be9d5b22 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.react.ts @@ -0,0 +1,23 @@ +import { buildUseQuery } from "../../../../react-query"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; +import { createGetConnection, createGetConnections, createGetClientConnections, createGetConnectionClientState, createGetConnectionConsensusState } from "./query.rpc.func.ts"; +export const useGetConnection = buildUseQuery({ + builderQueryFn: createGetConnection, + queryKeyPrefix: "ConnectionQuery" +}); +export const useGetConnections = buildUseQuery({ + builderQueryFn: createGetConnections, + queryKeyPrefix: "ConnectionsQuery" +}); +export const useGetClientConnections = buildUseQuery({ + builderQueryFn: createGetClientConnections, + queryKeyPrefix: "ClientConnectionsQuery" +}); +export const useGetConnectionClientState = buildUseQuery({ + builderQueryFn: createGetConnectionClientState, + queryKeyPrefix: "ConnectionClientStateQuery" +}); +export const useGetConnectionConsensusState = buildUseQuery({ + builderQueryFn: createGetConnectionConsensusState, + queryKeyPrefix: "ConnectionConsensusStateQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..ae30d168ab --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/query.rpc.vue.ts @@ -0,0 +1,23 @@ +import { buildUseVueQuery } from "../../../../vue-query"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; +import { createGetConnection, createGetConnections, createGetClientConnections, createGetConnectionClientState, createGetConnectionConsensusState } from "./query.rpc.func.ts"; +export const useGetConnection = buildUseVueQuery({ + builderQueryFn: createGetConnection, + queryKeyPrefix: "ConnectionQuery" +}); +export const useGetConnections = buildUseVueQuery({ + builderQueryFn: createGetConnections, + queryKeyPrefix: "ConnectionsQuery" +}); +export const useGetClientConnections = buildUseVueQuery({ + builderQueryFn: createGetClientConnections, + queryKeyPrefix: "ClientConnectionsQuery" +}); +export const useGetConnectionClientState = buildUseVueQuery({ + builderQueryFn: createGetConnectionClientState, + queryKeyPrefix: "ConnectionClientStateQuery" +}); +export const useGetConnectionConsensusState = buildUseVueQuery({ + builderQueryFn: createGetConnectionConsensusState, + queryKeyPrefix: "ConnectionConsensusStateQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.func.ts index f895847439..610363364a 100644 --- a/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../../react-query"; import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; export const createConnectionOpenInit = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,33 +7,21 @@ export const createConnectionOpenInit = (clientResolver?: SigningClientResolver) encoders: toEncoders(MsgConnectionOpenInit), converters: toConverters(MsgConnectionOpenInit) }); -export const useConnectionOpenInit = buildUseMutation({ - builderMutationFn: createConnectionOpenInit -}); export const createConnectionOpenTry = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgConnectionOpenTry.typeUrl, encoders: toEncoders(MsgConnectionOpenTry), converters: toConverters(MsgConnectionOpenTry) }); -export const useConnectionOpenTry = buildUseMutation({ - builderMutationFn: createConnectionOpenTry -}); export const createConnectionOpenAck = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgConnectionOpenAck.typeUrl, encoders: toEncoders(MsgConnectionOpenAck), converters: toConverters(MsgConnectionOpenAck) }); -export const useConnectionOpenAck = buildUseMutation({ - builderMutationFn: createConnectionOpenAck -}); export const createConnectionOpenConfirm = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgConnectionOpenConfirm.typeUrl, encoders: toEncoders(MsgConnectionOpenConfirm), converters: toConverters(MsgConnectionOpenConfirm) -}); -export const useConnectionOpenConfirm = buildUseMutation({ - builderMutationFn: createConnectionOpenConfirm }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.react.ts new file mode 100644 index 0000000000..81701da496 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseMutation } from "../../../../react-query"; +import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; +import { createConnectionOpenInit, createConnectionOpenTry, createConnectionOpenAck, createConnectionOpenConfirm } from "./tx.rpc.func.ts"; +export const useConnectionOpenInit = buildUseMutation({ + builderMutationFn: createConnectionOpenInit +}); +export const useConnectionOpenTry = buildUseMutation({ + builderMutationFn: createConnectionOpenTry +}); +export const useConnectionOpenAck = buildUseMutation({ + builderMutationFn: createConnectionOpenAck +}); +export const useConnectionOpenConfirm = buildUseMutation({ + builderMutationFn: createConnectionOpenConfirm +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.vue.ts new file mode 100644 index 0000000000..11e1686733 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/connection/v1/tx.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueMutation } from "../../../../vue-query"; +import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; +import { createConnectionOpenInit, createConnectionOpenTry, createConnectionOpenAck, createConnectionOpenConfirm } from "./tx.rpc.func.ts"; +export const useConnectionOpenInit = buildUseVueMutation({ + builderMutationFn: createConnectionOpenInit +}); +export const useConnectionOpenTry = buildUseVueMutation({ + builderMutationFn: createConnectionOpenTry +}); +export const useConnectionOpenAck = buildUseVueMutation({ + builderMutationFn: createConnectionOpenAck +}); +export const useConnectionOpenConfirm = buildUseVueMutation({ + builderMutationFn: createConnectionOpenConfirm +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.func.ts index c57258a7a9..baba352d7c 100644 --- a/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../../helper-func-types"; -import { buildUseQuery } from "../../../../react-query"; import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; export const createGetAppVersion = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryAppVersionRequest.encode, @@ -7,8 +6,4 @@ export const createGetAppVersion = (clientResolver?: RpcResolver) => buildQuery< service: "ibc.core.port.v1.Query", method: "AppVersion", clientResolver -}); -export const useGetAppVersion = buildUseQuery({ - builderQueryFn: createGetAppVersion, - queryKeyPrefix: "AppVersionQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.react.ts new file mode 100644 index 0000000000..a3f4f1dda8 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.react.ts @@ -0,0 +1,7 @@ +import { buildUseQuery } from "../../../../react-query"; +import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; +import { createGetAppVersion } from "./query.rpc.func.ts"; +export const useGetAppVersion = buildUseQuery({ + builderQueryFn: createGetAppVersion, + queryKeyPrefix: "AppVersionQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.vue.ts new file mode 100644 index 0000000000..452f7f09f7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/ibc/core/port/v1/query.rpc.vue.ts @@ -0,0 +1,7 @@ +import { buildUseVueQuery } from "../../../../vue-query"; +import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; +import { createGetAppVersion } from "./query.rpc.func.ts"; +export const useGetAppVersion = buildUseVueQuery({ + builderQueryFn: createGetAppVersion, + queryKeyPrefix: "AppVersionQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.func.ts index 9c23fc36de..70d3021594 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryModuleAccountBalanceRequest, QueryModuleAccountBalanceResponse, QueryParamsRequest, QueryParamsResponse, QueryClaimRecordRequest, QueryClaimRecordResponse, QueryClaimableForActionRequest, QueryClaimableForActionResponse, QueryTotalClaimableRequest, QueryTotalClaimableResponse } from "./query"; export const createGetModuleAccountBalance = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryModuleAccountBalanceRequest.encode, @@ -8,10 +7,6 @@ export const createGetModuleAccountBalance = (clientResolver?: RpcResolver) => b method: "ModuleAccountBalance", clientResolver }); -export const useGetModuleAccountBalance = buildUseQuery({ - builderQueryFn: createGetModuleAccountBalance, - queryKeyPrefix: "ModuleAccountBalanceQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -19,10 +14,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetClaimRecord = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClaimRecordRequest.encode, decode: QueryClaimRecordResponse.decode, @@ -30,10 +21,6 @@ export const createGetClaimRecord = (clientResolver?: RpcResolver) => buildQuery method: "ClaimRecord", clientResolver }); -export const useGetClaimRecord = buildUseQuery({ - builderQueryFn: createGetClaimRecord, - queryKeyPrefix: "ClaimRecordQuery" -}); export const createGetClaimableForAction = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryClaimableForActionRequest.encode, decode: QueryClaimableForActionResponse.decode, @@ -41,18 +28,10 @@ export const createGetClaimableForAction = (clientResolver?: RpcResolver) => bui method: "ClaimableForAction", clientResolver }); -export const useGetClaimableForAction = buildUseQuery({ - builderQueryFn: createGetClaimableForAction, - queryKeyPrefix: "ClaimableForActionQuery" -}); export const createGetTotalClaimable = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTotalClaimableRequest.encode, decode: QueryTotalClaimableResponse.decode, service: "osmosis.claim.v1beta1.Query", method: "TotalClaimable", clientResolver -}); -export const useGetTotalClaimable = buildUseQuery({ - builderQueryFn: createGetTotalClaimable, - queryKeyPrefix: "TotalClaimableQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..78c7ba08d1 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.react.ts @@ -0,0 +1,23 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryModuleAccountBalanceRequest, QueryModuleAccountBalanceResponse, QueryParamsRequest, QueryParamsResponse, QueryClaimRecordRequest, QueryClaimRecordResponse, QueryClaimableForActionRequest, QueryClaimableForActionResponse, QueryTotalClaimableRequest, QueryTotalClaimableResponse } from "./query"; +import { createGetModuleAccountBalance, createGetParams, createGetClaimRecord, createGetClaimableForAction, createGetTotalClaimable } from "./query.rpc.func.ts"; +export const useGetModuleAccountBalance = buildUseQuery({ + builderQueryFn: createGetModuleAccountBalance, + queryKeyPrefix: "ModuleAccountBalanceQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetClaimRecord = buildUseQuery({ + builderQueryFn: createGetClaimRecord, + queryKeyPrefix: "ClaimRecordQuery" +}); +export const useGetClaimableForAction = buildUseQuery({ + builderQueryFn: createGetClaimableForAction, + queryKeyPrefix: "ClaimableForActionQuery" +}); +export const useGetTotalClaimable = buildUseQuery({ + builderQueryFn: createGetTotalClaimable, + queryKeyPrefix: "TotalClaimableQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..2952df4856 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/claim/v1beta1/query.rpc.vue.ts @@ -0,0 +1,23 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryModuleAccountBalanceRequest, QueryModuleAccountBalanceResponse, QueryParamsRequest, QueryParamsResponse, QueryClaimRecordRequest, QueryClaimRecordResponse, QueryClaimableForActionRequest, QueryClaimableForActionResponse, QueryTotalClaimableRequest, QueryTotalClaimableResponse } from "./query"; +import { createGetModuleAccountBalance, createGetParams, createGetClaimRecord, createGetClaimableForAction, createGetTotalClaimable } from "./query.rpc.func.ts"; +export const useGetModuleAccountBalance = buildUseVueQuery({ + builderQueryFn: createGetModuleAccountBalance, + queryKeyPrefix: "ModuleAccountBalanceQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetClaimRecord = buildUseVueQuery({ + builderQueryFn: createGetClaimRecord, + queryKeyPrefix: "ClaimRecordQuery" +}); +export const useGetClaimableForAction = buildUseVueQuery({ + builderQueryFn: createGetClaimableForAction, + queryKeyPrefix: "ClaimableForActionQuery" +}); +export const useGetTotalClaimable = buildUseVueQuery({ + builderQueryFn: createGetTotalClaimable, + queryKeyPrefix: "TotalClaimableQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.func.ts index 32e58cf378..dfaa2aafd2 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../helper-func-types"; -import { buildUseQuery } from "../../react-query"; import { QueryEpochsInfoRequest, QueryEpochsInfoResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query"; export const createGetEpochInfos = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryEpochsInfoRequest.encode, @@ -8,18 +7,10 @@ export const createGetEpochInfos = (clientResolver?: RpcResolver) => buildQuery< method: "EpochInfos", clientResolver }); -export const useGetEpochInfos = buildUseQuery({ - builderQueryFn: createGetEpochInfos, - queryKeyPrefix: "EpochInfosQuery" -}); export const createGetCurrentEpoch = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCurrentEpochRequest.encode, decode: QueryCurrentEpochResponse.decode, service: "osmosis.epochs.v1beta1.Query", method: "CurrentEpoch", clientResolver -}); -export const useGetCurrentEpoch = buildUseQuery({ - builderQueryFn: createGetCurrentEpoch, - queryKeyPrefix: "CurrentEpochQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.react.ts new file mode 100644 index 0000000000..5168397db9 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../react-query"; +import { QueryEpochsInfoRequest, QueryEpochsInfoResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query"; +import { createGetEpochInfos, createGetCurrentEpoch } from "./query.rpc.func.ts"; +export const useGetEpochInfos = buildUseQuery({ + builderQueryFn: createGetEpochInfos, + queryKeyPrefix: "EpochInfosQuery" +}); +export const useGetCurrentEpoch = buildUseQuery({ + builderQueryFn: createGetCurrentEpoch, + queryKeyPrefix: "CurrentEpochQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.vue.ts new file mode 100644 index 0000000000..b9956e9235 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/epochs/query.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../vue-query"; +import { QueryEpochsInfoRequest, QueryEpochsInfoResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query"; +import { createGetEpochInfos, createGetCurrentEpoch } from "./query.rpc.func.ts"; +export const useGetEpochInfos = buildUseVueQuery({ + builderQueryFn: createGetEpochInfos, + queryKeyPrefix: "EpochInfosQuery" +}); +export const useGetCurrentEpoch = buildUseVueQuery({ + builderQueryFn: createGetCurrentEpoch, + queryKeyPrefix: "CurrentEpochQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.func.ts index fa11094859..9fcd596a17 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.func.ts @@ -1,13 +1,9 @@ import { buildTx, SigningClientResolver } from "../../../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../../../react-query"; import { MsgCreateBalancerPool } from "./tx"; export const createCreateBalancerPool = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgCreateBalancerPool.typeUrl, encoders: toEncoders(MsgCreateBalancerPool), converters: toConverters(MsgCreateBalancerPool) -}); -export const useCreateBalancerPool = buildUseMutation({ - builderMutationFn: createCreateBalancerPool }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.react.ts new file mode 100644 index 0000000000..2ca2304b2b --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.react.ts @@ -0,0 +1,6 @@ +import { buildUseMutation } from "../../../../../react-query"; +import { MsgCreateBalancerPool } from "./tx"; +import { createCreateBalancerPool } from "./tx.rpc.func.ts"; +export const useCreateBalancerPool = buildUseMutation({ + builderMutationFn: createCreateBalancerPool +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.vue.ts new file mode 100644 index 0000000000..a37f3ba0df --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/balancer/tx/tx.rpc.vue.ts @@ -0,0 +1,6 @@ +import { buildUseVueMutation } from "../../../../../vue-query"; +import { MsgCreateBalancerPool } from "./tx"; +import { createCreateBalancerPool } from "./tx.rpc.func.ts"; +export const useCreateBalancerPool = buildUseVueMutation({ + builderMutationFn: createCreateBalancerPool +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.func.ts index 8f194e21e0..0a0ea8f9d7 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../../react-query"; import { MsgCreateStableswapPool, MsgStableSwapAdjustScalingFactors } from "./tx"; export const createCreateStableswapPool = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createCreateStableswapPool = (clientResolver?: SigningClientResolve encoders: toEncoders(MsgCreateStableswapPool), converters: toConverters(MsgCreateStableswapPool) }); -export const useCreateStableswapPool = buildUseMutation({ - builderMutationFn: createCreateStableswapPool -}); export const createStableSwapAdjustScalingFactors = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgStableSwapAdjustScalingFactors.typeUrl, encoders: toEncoders(MsgStableSwapAdjustScalingFactors), converters: toConverters(MsgStableSwapAdjustScalingFactors) -}); -export const useStableSwapAdjustScalingFactors = buildUseMutation({ - builderMutationFn: createStableSwapAdjustScalingFactors }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.react.ts new file mode 100644 index 0000000000..982a25556c --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../../../react-query"; +import { MsgCreateStableswapPool, MsgStableSwapAdjustScalingFactors } from "./tx"; +import { createCreateStableswapPool, createStableSwapAdjustScalingFactors } from "./tx.rpc.func.ts"; +export const useCreateStableswapPool = buildUseMutation({ + builderMutationFn: createCreateStableswapPool +}); +export const useStableSwapAdjustScalingFactors = buildUseMutation({ + builderMutationFn: createStableSwapAdjustScalingFactors +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.vue.ts new file mode 100644 index 0000000000..17c41f33bc --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/pool-models/stableswap/tx.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../../../vue-query"; +import { MsgCreateStableswapPool, MsgStableSwapAdjustScalingFactors } from "./tx"; +import { createCreateStableswapPool, createStableSwapAdjustScalingFactors } from "./tx.rpc.func.ts"; +export const useCreateStableswapPool = buildUseVueMutation({ + builderMutationFn: createCreateStableswapPool +}); +export const useStableSwapAdjustScalingFactors = buildUseVueMutation({ + builderMutationFn: createStableSwapAdjustScalingFactors +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.func.ts index 83106f3044..26a0c0ed30 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryPoolsRequest, QueryPoolsResponse, QueryNumPoolsRequest, QueryNumPoolsResponse, QueryTotalLiquidityRequest, QueryTotalLiquidityResponse, QueryPoolsWithFilterRequest, QueryPoolsWithFilterResponse, QueryPoolRequest, QueryPoolResponse, QueryPoolTypeRequest, QueryPoolTypeResponse, QueryCalcJoinPoolNoSwapSharesRequest, QueryCalcJoinPoolNoSwapSharesResponse, QueryCalcJoinPoolSharesRequest, QueryCalcJoinPoolSharesResponse, QueryCalcExitPoolCoinsFromSharesRequest, QueryCalcExitPoolCoinsFromSharesResponse, QueryPoolParamsRequest, QueryPoolParamsResponse, QueryTotalPoolLiquidityRequest, QueryTotalPoolLiquidityResponse, QueryTotalSharesRequest, QueryTotalSharesResponse, QuerySpotPriceRequest, QuerySpotPriceResponse, QuerySwapExactAmountInRequest, QuerySwapExactAmountInResponse, QuerySwapExactAmountOutRequest, QuerySwapExactAmountOutResponse } from "./query"; export const createGetPools = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPoolsRequest.encode, @@ -8,10 +7,6 @@ export const createGetPools = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetPools, - queryKeyPrefix: "PoolsQuery" -}); export const createGetNumPools = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryNumPoolsRequest.encode, decode: QueryNumPoolsResponse.decode, @@ -19,10 +14,6 @@ export const createGetNumPools = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetNumPools, - queryKeyPrefix: "NumPoolsQuery" -}); export const createGetTotalLiquidity = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTotalLiquidityRequest.encode, decode: QueryTotalLiquidityResponse.decode, @@ -30,10 +21,6 @@ export const createGetTotalLiquidity = (clientResolver?: RpcResolver) => buildQu method: "TotalLiquidity", clientResolver }); -export const useGetTotalLiquidity = buildUseQuery({ - builderQueryFn: createGetTotalLiquidity, - queryKeyPrefix: "TotalLiquidityQuery" -}); export const createGetPoolsWithFilter = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPoolsWithFilterRequest.encode, decode: QueryPoolsWithFilterResponse.decode, @@ -41,10 +28,6 @@ export const createGetPoolsWithFilter = (clientResolver?: RpcResolver) => buildQ method: "PoolsWithFilter", clientResolver }); -export const useGetPoolsWithFilter = buildUseQuery({ - builderQueryFn: createGetPoolsWithFilter, - queryKeyPrefix: "PoolsWithFilterQuery" -}); export const createGetPool = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPoolRequest.encode, decode: QueryPoolResponse.decode, @@ -52,10 +35,6 @@ export const createGetPool = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetPool, - queryKeyPrefix: "PoolQuery" -}); export const createGetPoolType = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPoolTypeRequest.encode, decode: QueryPoolTypeResponse.decode, @@ -63,10 +42,6 @@ export const createGetPoolType = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetPoolType, - queryKeyPrefix: "PoolTypeQuery" -}); export const createGetCalcJoinPoolNoSwapShares = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCalcJoinPoolNoSwapSharesRequest.encode, decode: QueryCalcJoinPoolNoSwapSharesResponse.decode, @@ -74,10 +49,6 @@ export const createGetCalcJoinPoolNoSwapShares = (clientResolver?: RpcResolver) method: "CalcJoinPoolNoSwapShares", clientResolver }); -export const useGetCalcJoinPoolNoSwapShares = buildUseQuery({ - builderQueryFn: createGetCalcJoinPoolNoSwapShares, - queryKeyPrefix: "CalcJoinPoolNoSwapSharesQuery" -}); export const createGetCalcJoinPoolShares = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCalcJoinPoolSharesRequest.encode, decode: QueryCalcJoinPoolSharesResponse.decode, @@ -85,10 +56,6 @@ export const createGetCalcJoinPoolShares = (clientResolver?: RpcResolver) => bui method: "CalcJoinPoolShares", clientResolver }); -export const useGetCalcJoinPoolShares = buildUseQuery({ - builderQueryFn: createGetCalcJoinPoolShares, - queryKeyPrefix: "CalcJoinPoolSharesQuery" -}); export const createGetCalcExitPoolCoinsFromShares = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryCalcExitPoolCoinsFromSharesRequest.encode, decode: QueryCalcExitPoolCoinsFromSharesResponse.decode, @@ -96,10 +63,6 @@ export const createGetCalcExitPoolCoinsFromShares = (clientResolver?: RpcResolve method: "CalcExitPoolCoinsFromShares", clientResolver }); -export const useGetCalcExitPoolCoinsFromShares = buildUseQuery({ - builderQueryFn: createGetCalcExitPoolCoinsFromShares, - queryKeyPrefix: "CalcExitPoolCoinsFromSharesQuery" -}); export const createGetPoolParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryPoolParamsRequest.encode, decode: QueryPoolParamsResponse.decode, @@ -107,10 +70,6 @@ export const createGetPoolParams = (clientResolver?: RpcResolver) => buildQuery< method: "PoolParams", clientResolver }); -export const useGetPoolParams = buildUseQuery({ - builderQueryFn: createGetPoolParams, - queryKeyPrefix: "PoolParamsQuery" -}); export const createGetTotalPoolLiquidity = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTotalPoolLiquidityRequest.encode, decode: QueryTotalPoolLiquidityResponse.decode, @@ -118,10 +77,6 @@ export const createGetTotalPoolLiquidity = (clientResolver?: RpcResolver) => bui method: "TotalPoolLiquidity", clientResolver }); -export const useGetTotalPoolLiquidity = buildUseQuery({ - builderQueryFn: createGetTotalPoolLiquidity, - queryKeyPrefix: "TotalPoolLiquidityQuery" -}); export const createGetTotalShares = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTotalSharesRequest.encode, decode: QueryTotalSharesResponse.decode, @@ -129,10 +84,6 @@ export const createGetTotalShares = (clientResolver?: RpcResolver) => buildQuery method: "TotalShares", clientResolver }); -export const useGetTotalShares = buildUseQuery({ - builderQueryFn: createGetTotalShares, - queryKeyPrefix: "TotalSharesQuery" -}); export const createGetSpotPrice = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySpotPriceRequest.encode, decode: QuerySpotPriceResponse.decode, @@ -140,10 +91,6 @@ export const createGetSpotPrice = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetSpotPrice, - queryKeyPrefix: "SpotPriceQuery" -}); export const createGetEstimateSwapExactAmountIn = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySwapExactAmountInRequest.encode, decode: QuerySwapExactAmountInResponse.decode, @@ -151,18 +98,10 @@ export const createGetEstimateSwapExactAmountIn = (clientResolver?: RpcResolver) method: "EstimateSwapExactAmountIn", clientResolver }); -export const useGetEstimateSwapExactAmountIn = buildUseQuery({ - builderQueryFn: createGetEstimateSwapExactAmountIn, - queryKeyPrefix: "EstimateSwapExactAmountInQuery" -}); export const createGetEstimateSwapExactAmountOut = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySwapExactAmountOutRequest.encode, decode: QuerySwapExactAmountOutResponse.decode, service: "osmosis.gamm.v1beta1.Query", method: "EstimateSwapExactAmountOut", clientResolver -}); -export const useGetEstimateSwapExactAmountOut = buildUseQuery({ - builderQueryFn: createGetEstimateSwapExactAmountOut, - queryKeyPrefix: "EstimateSwapExactAmountOutQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..315c5329a7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.react.ts @@ -0,0 +1,63 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryPoolsRequest, QueryPoolsResponse, QueryNumPoolsRequest, QueryNumPoolsResponse, QueryTotalLiquidityRequest, QueryTotalLiquidityResponse, QueryPoolsWithFilterRequest, QueryPoolsWithFilterResponse, QueryPoolRequest, QueryPoolResponse, QueryPoolTypeRequest, QueryPoolTypeResponse, QueryCalcJoinPoolNoSwapSharesRequest, QueryCalcJoinPoolNoSwapSharesResponse, QueryCalcJoinPoolSharesRequest, QueryCalcJoinPoolSharesResponse, QueryCalcExitPoolCoinsFromSharesRequest, QueryCalcExitPoolCoinsFromSharesResponse, QueryPoolParamsRequest, QueryPoolParamsResponse, QueryTotalPoolLiquidityRequest, QueryTotalPoolLiquidityResponse, QueryTotalSharesRequest, QueryTotalSharesResponse, QuerySpotPriceRequest, QuerySpotPriceResponse, QuerySwapExactAmountInRequest, QuerySwapExactAmountInResponse, QuerySwapExactAmountOutRequest, QuerySwapExactAmountOutResponse } from "./query"; +import { createGetPools, createGetNumPools, createGetTotalLiquidity, createGetPoolsWithFilter, createGetPool, createGetPoolType, createGetCalcJoinPoolNoSwapShares, createGetCalcJoinPoolShares, createGetCalcExitPoolCoinsFromShares, createGetPoolParams, createGetTotalPoolLiquidity, createGetTotalShares, createGetSpotPrice, createGetEstimateSwapExactAmountIn, createGetEstimateSwapExactAmountOut } from "./query.rpc.func.ts"; +export const useGetPools = buildUseQuery({ + builderQueryFn: createGetPools, + queryKeyPrefix: "PoolsQuery" +}); +export const useGetNumPools = buildUseQuery({ + builderQueryFn: createGetNumPools, + queryKeyPrefix: "NumPoolsQuery" +}); +export const useGetTotalLiquidity = buildUseQuery({ + builderQueryFn: createGetTotalLiquidity, + queryKeyPrefix: "TotalLiquidityQuery" +}); +export const useGetPoolsWithFilter = buildUseQuery({ + builderQueryFn: createGetPoolsWithFilter, + queryKeyPrefix: "PoolsWithFilterQuery" +}); +export const useGetPool = buildUseQuery({ + builderQueryFn: createGetPool, + queryKeyPrefix: "PoolQuery" +}); +export const useGetPoolType = buildUseQuery({ + builderQueryFn: createGetPoolType, + queryKeyPrefix: "PoolTypeQuery" +}); +export const useGetCalcJoinPoolNoSwapShares = buildUseQuery({ + builderQueryFn: createGetCalcJoinPoolNoSwapShares, + queryKeyPrefix: "CalcJoinPoolNoSwapSharesQuery" +}); +export const useGetCalcJoinPoolShares = buildUseQuery({ + builderQueryFn: createGetCalcJoinPoolShares, + queryKeyPrefix: "CalcJoinPoolSharesQuery" +}); +export const useGetCalcExitPoolCoinsFromShares = buildUseQuery({ + builderQueryFn: createGetCalcExitPoolCoinsFromShares, + queryKeyPrefix: "CalcExitPoolCoinsFromSharesQuery" +}); +export const useGetPoolParams = buildUseQuery({ + builderQueryFn: createGetPoolParams, + queryKeyPrefix: "PoolParamsQuery" +}); +export const useGetTotalPoolLiquidity = buildUseQuery({ + builderQueryFn: createGetTotalPoolLiquidity, + queryKeyPrefix: "TotalPoolLiquidityQuery" +}); +export const useGetTotalShares = buildUseQuery({ + builderQueryFn: createGetTotalShares, + queryKeyPrefix: "TotalSharesQuery" +}); +export const useGetSpotPrice = buildUseQuery({ + builderQueryFn: createGetSpotPrice, + queryKeyPrefix: "SpotPriceQuery" +}); +export const useGetEstimateSwapExactAmountIn = buildUseQuery({ + builderQueryFn: createGetEstimateSwapExactAmountIn, + queryKeyPrefix: "EstimateSwapExactAmountInQuery" +}); +export const useGetEstimateSwapExactAmountOut = buildUseQuery({ + builderQueryFn: createGetEstimateSwapExactAmountOut, + queryKeyPrefix: "EstimateSwapExactAmountOutQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..84f8e7a0fa --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/query.rpc.vue.ts @@ -0,0 +1,63 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryPoolsRequest, QueryPoolsResponse, QueryNumPoolsRequest, QueryNumPoolsResponse, QueryTotalLiquidityRequest, QueryTotalLiquidityResponse, QueryPoolsWithFilterRequest, QueryPoolsWithFilterResponse, QueryPoolRequest, QueryPoolResponse, QueryPoolTypeRequest, QueryPoolTypeResponse, QueryCalcJoinPoolNoSwapSharesRequest, QueryCalcJoinPoolNoSwapSharesResponse, QueryCalcJoinPoolSharesRequest, QueryCalcJoinPoolSharesResponse, QueryCalcExitPoolCoinsFromSharesRequest, QueryCalcExitPoolCoinsFromSharesResponse, QueryPoolParamsRequest, QueryPoolParamsResponse, QueryTotalPoolLiquidityRequest, QueryTotalPoolLiquidityResponse, QueryTotalSharesRequest, QueryTotalSharesResponse, QuerySpotPriceRequest, QuerySpotPriceResponse, QuerySwapExactAmountInRequest, QuerySwapExactAmountInResponse, QuerySwapExactAmountOutRequest, QuerySwapExactAmountOutResponse } from "./query"; +import { createGetPools, createGetNumPools, createGetTotalLiquidity, createGetPoolsWithFilter, createGetPool, createGetPoolType, createGetCalcJoinPoolNoSwapShares, createGetCalcJoinPoolShares, createGetCalcExitPoolCoinsFromShares, createGetPoolParams, createGetTotalPoolLiquidity, createGetTotalShares, createGetSpotPrice, createGetEstimateSwapExactAmountIn, createGetEstimateSwapExactAmountOut } from "./query.rpc.func.ts"; +export const useGetPools = buildUseVueQuery({ + builderQueryFn: createGetPools, + queryKeyPrefix: "PoolsQuery" +}); +export const useGetNumPools = buildUseVueQuery({ + builderQueryFn: createGetNumPools, + queryKeyPrefix: "NumPoolsQuery" +}); +export const useGetTotalLiquidity = buildUseVueQuery({ + builderQueryFn: createGetTotalLiquidity, + queryKeyPrefix: "TotalLiquidityQuery" +}); +export const useGetPoolsWithFilter = buildUseVueQuery({ + builderQueryFn: createGetPoolsWithFilter, + queryKeyPrefix: "PoolsWithFilterQuery" +}); +export const useGetPool = buildUseVueQuery({ + builderQueryFn: createGetPool, + queryKeyPrefix: "PoolQuery" +}); +export const useGetPoolType = buildUseVueQuery({ + builderQueryFn: createGetPoolType, + queryKeyPrefix: "PoolTypeQuery" +}); +export const useGetCalcJoinPoolNoSwapShares = buildUseVueQuery({ + builderQueryFn: createGetCalcJoinPoolNoSwapShares, + queryKeyPrefix: "CalcJoinPoolNoSwapSharesQuery" +}); +export const useGetCalcJoinPoolShares = buildUseVueQuery({ + builderQueryFn: createGetCalcJoinPoolShares, + queryKeyPrefix: "CalcJoinPoolSharesQuery" +}); +export const useGetCalcExitPoolCoinsFromShares = buildUseVueQuery({ + builderQueryFn: createGetCalcExitPoolCoinsFromShares, + queryKeyPrefix: "CalcExitPoolCoinsFromSharesQuery" +}); +export const useGetPoolParams = buildUseVueQuery({ + builderQueryFn: createGetPoolParams, + queryKeyPrefix: "PoolParamsQuery" +}); +export const useGetTotalPoolLiquidity = buildUseVueQuery({ + builderQueryFn: createGetTotalPoolLiquidity, + queryKeyPrefix: "TotalPoolLiquidityQuery" +}); +export const useGetTotalShares = buildUseVueQuery({ + builderQueryFn: createGetTotalShares, + queryKeyPrefix: "TotalSharesQuery" +}); +export const useGetSpotPrice = buildUseVueQuery({ + builderQueryFn: createGetSpotPrice, + queryKeyPrefix: "SpotPriceQuery" +}); +export const useGetEstimateSwapExactAmountIn = buildUseVueQuery({ + builderQueryFn: createGetEstimateSwapExactAmountIn, + queryKeyPrefix: "EstimateSwapExactAmountInQuery" +}); +export const useGetEstimateSwapExactAmountOut = buildUseVueQuery({ + builderQueryFn: createGetEstimateSwapExactAmountOut, + queryKeyPrefix: "EstimateSwapExactAmountOutQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.func.ts index c969a1b97f..ff212bf462 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgJoinPool, MsgExitPool, MsgSwapExactAmountIn, MsgSwapExactAmountOut, MsgJoinSwapExternAmountIn, MsgJoinSwapShareAmountOut, MsgExitSwapExternAmountOut, MsgExitSwapShareAmountIn } from "./tx"; export const createJoinPool = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,69 +7,45 @@ export const createJoinPool = (clientResolver?: SigningClientResolver) => buildT encoders: toEncoders(MsgJoinPool), converters: toConverters(MsgJoinPool) }); -export const useJoinPool = buildUseMutation({ - builderMutationFn: createJoinPool -}); export const createExitPool = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgExitPool.typeUrl, encoders: toEncoders(MsgExitPool), converters: toConverters(MsgExitPool) }); -export const useExitPool = buildUseMutation({ - builderMutationFn: createExitPool -}); export const createSwapExactAmountIn = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSwapExactAmountIn.typeUrl, encoders: toEncoders(MsgSwapExactAmountIn), converters: toConverters(MsgSwapExactAmountIn) }); -export const useSwapExactAmountIn = buildUseMutation({ - builderMutationFn: createSwapExactAmountIn -}); export const createSwapExactAmountOut = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSwapExactAmountOut.typeUrl, encoders: toEncoders(MsgSwapExactAmountOut), converters: toConverters(MsgSwapExactAmountOut) }); -export const useSwapExactAmountOut = buildUseMutation({ - builderMutationFn: createSwapExactAmountOut -}); export const createJoinSwapExternAmountIn = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgJoinSwapExternAmountIn.typeUrl, encoders: toEncoders(MsgJoinSwapExternAmountIn), converters: toConverters(MsgJoinSwapExternAmountIn) }); -export const useJoinSwapExternAmountIn = buildUseMutation({ - builderMutationFn: createJoinSwapExternAmountIn -}); export const createJoinSwapShareAmountOut = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgJoinSwapShareAmountOut.typeUrl, encoders: toEncoders(MsgJoinSwapShareAmountOut), converters: toConverters(MsgJoinSwapShareAmountOut) }); -export const useJoinSwapShareAmountOut = buildUseMutation({ - builderMutationFn: createJoinSwapShareAmountOut -}); export const createExitSwapExternAmountOut = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgExitSwapExternAmountOut.typeUrl, encoders: toEncoders(MsgExitSwapExternAmountOut), converters: toConverters(MsgExitSwapExternAmountOut) }); -export const useExitSwapExternAmountOut = buildUseMutation({ - builderMutationFn: createExitSwapExternAmountOut -}); export const createExitSwapShareAmountIn = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgExitSwapShareAmountIn.typeUrl, encoders: toEncoders(MsgExitSwapShareAmountIn), converters: toConverters(MsgExitSwapShareAmountIn) -}); -export const useExitSwapShareAmountIn = buildUseMutation({ - builderMutationFn: createExitSwapShareAmountIn }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..59e810e462 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.react.ts @@ -0,0 +1,27 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgJoinPool, MsgExitPool, MsgSwapExactAmountIn, MsgSwapExactAmountOut, MsgJoinSwapExternAmountIn, MsgJoinSwapShareAmountOut, MsgExitSwapExternAmountOut, MsgExitSwapShareAmountIn } from "./tx"; +import { createJoinPool, createExitPool, createSwapExactAmountIn, createSwapExactAmountOut, createJoinSwapExternAmountIn, createJoinSwapShareAmountOut, createExitSwapExternAmountOut, createExitSwapShareAmountIn } from "./tx.rpc.func.ts"; +export const useJoinPool = buildUseMutation({ + builderMutationFn: createJoinPool +}); +export const useExitPool = buildUseMutation({ + builderMutationFn: createExitPool +}); +export const useSwapExactAmountIn = buildUseMutation({ + builderMutationFn: createSwapExactAmountIn +}); +export const useSwapExactAmountOut = buildUseMutation({ + builderMutationFn: createSwapExactAmountOut +}); +export const useJoinSwapExternAmountIn = buildUseMutation({ + builderMutationFn: createJoinSwapExternAmountIn +}); +export const useJoinSwapShareAmountOut = buildUseMutation({ + builderMutationFn: createJoinSwapShareAmountOut +}); +export const useExitSwapExternAmountOut = buildUseMutation({ + builderMutationFn: createExitSwapExternAmountOut +}); +export const useExitSwapShareAmountIn = buildUseMutation({ + builderMutationFn: createExitSwapShareAmountIn +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..f56c16320d --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,27 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgJoinPool, MsgExitPool, MsgSwapExactAmountIn, MsgSwapExactAmountOut, MsgJoinSwapExternAmountIn, MsgJoinSwapShareAmountOut, MsgExitSwapExternAmountOut, MsgExitSwapShareAmountIn } from "./tx"; +import { createJoinPool, createExitPool, createSwapExactAmountIn, createSwapExactAmountOut, createJoinSwapExternAmountIn, createJoinSwapShareAmountOut, createExitSwapExternAmountOut, createExitSwapShareAmountIn } from "./tx.rpc.func.ts"; +export const useJoinPool = buildUseVueMutation({ + builderMutationFn: createJoinPool +}); +export const useExitPool = buildUseVueMutation({ + builderMutationFn: createExitPool +}); +export const useSwapExactAmountIn = buildUseVueMutation({ + builderMutationFn: createSwapExactAmountIn +}); +export const useSwapExactAmountOut = buildUseVueMutation({ + builderMutationFn: createSwapExactAmountOut +}); +export const useJoinSwapExternAmountIn = buildUseVueMutation({ + builderMutationFn: createJoinSwapExternAmountIn +}); +export const useJoinSwapShareAmountOut = buildUseVueMutation({ + builderMutationFn: createJoinSwapShareAmountOut +}); +export const useExitSwapExternAmountOut = buildUseVueMutation({ + builderMutationFn: createExitSwapExternAmountOut +}); +export const useExitSwapShareAmountIn = buildUseVueMutation({ + builderMutationFn: createExitSwapShareAmountIn +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.func.ts index 145bb8a972..dd1406488f 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QuerySpotPriceRequest, QuerySpotPriceResponse } from "./query"; export const createGetSpotPrice = (clientResolver?: RpcResolver) => buildQuery({ encode: QuerySpotPriceRequest.encode, @@ -7,8 +6,4 @@ export const createGetSpotPrice = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetSpotPrice, - queryKeyPrefix: "SpotPriceQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.react.ts new file mode 100644 index 0000000000..d5e976e1f0 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.react.ts @@ -0,0 +1,7 @@ +import { buildUseQuery } from "../../../react-query"; +import { QuerySpotPriceRequest, QuerySpotPriceResponse } from "./query"; +import { createGetSpotPrice } from "./query.rpc.func.ts"; +export const useGetSpotPrice = buildUseQuery({ + builderQueryFn: createGetSpotPrice, + queryKeyPrefix: "SpotPriceQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.vue.ts new file mode 100644 index 0000000000..96d53ec2de --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/gamm/v2/query.rpc.vue.ts @@ -0,0 +1,7 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QuerySpotPriceRequest, QuerySpotPriceResponse } from "./query"; +import { createGetSpotPrice } from "./query.rpc.func.ts"; +export const useGetSpotPrice = buildUseVueQuery({ + builderQueryFn: createGetSpotPrice, + queryKeyPrefix: "SpotPriceQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.func.ts index 679fa1cfed..eff52aa81c 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryParamsRequest, QueryParamsResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -7,8 +6,4 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..7604e46474 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.react.ts @@ -0,0 +1,7 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetParams } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..ccdb727bb8 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/ibc-rate-limit/v1beta1/query.rpc.vue.ts @@ -0,0 +1,7 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetParams } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.func.ts index 89bcdadc73..6960ee3f2c 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../helper-func-types"; -import { buildUseQuery } from "../../react-query"; import { ModuleToDistributeCoinsRequest, ModuleToDistributeCoinsResponse, GaugeByIDRequest, GaugeByIDResponse, GaugesRequest, GaugesResponse, ActiveGaugesRequest, ActiveGaugesResponse, ActiveGaugesPerDenomRequest, ActiveGaugesPerDenomResponse, UpcomingGaugesRequest, UpcomingGaugesResponse, UpcomingGaugesPerDenomRequest, UpcomingGaugesPerDenomResponse, RewardsEstRequest, RewardsEstResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse } from "./query"; export const createGetModuleToDistributeCoins = (clientResolver?: RpcResolver) => buildQuery({ encode: ModuleToDistributeCoinsRequest.encode, @@ -8,10 +7,6 @@ export const createGetModuleToDistributeCoins = (clientResolver?: RpcResolver) = method: "ModuleToDistributeCoins", clientResolver }); -export const useGetModuleToDistributeCoins = buildUseQuery({ - builderQueryFn: createGetModuleToDistributeCoins, - queryKeyPrefix: "ModuleToDistributeCoinsQuery" -}); export const createGetGaugeByID = (clientResolver?: RpcResolver) => buildQuery({ encode: GaugeByIDRequest.encode, decode: GaugeByIDResponse.decode, @@ -19,10 +14,6 @@ export const createGetGaugeByID = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetGaugeByID, - queryKeyPrefix: "GaugeByIDQuery" -}); export const createGetGauges = (clientResolver?: RpcResolver) => buildQuery({ encode: GaugesRequest.encode, decode: GaugesResponse.decode, @@ -30,10 +21,6 @@ export const createGetGauges = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetGauges, - queryKeyPrefix: "GaugesQuery" -}); export const createGetActiveGauges = (clientResolver?: RpcResolver) => buildQuery({ encode: ActiveGaugesRequest.encode, decode: ActiveGaugesResponse.decode, @@ -41,10 +28,6 @@ export const createGetActiveGauges = (clientResolver?: RpcResolver) => buildQuer method: "ActiveGauges", clientResolver }); -export const useGetActiveGauges = buildUseQuery({ - builderQueryFn: createGetActiveGauges, - queryKeyPrefix: "ActiveGaugesQuery" -}); export const createGetActiveGaugesPerDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: ActiveGaugesPerDenomRequest.encode, decode: ActiveGaugesPerDenomResponse.decode, @@ -52,10 +35,6 @@ export const createGetActiveGaugesPerDenom = (clientResolver?: RpcResolver) => b method: "ActiveGaugesPerDenom", clientResolver }); -export const useGetActiveGaugesPerDenom = buildUseQuery({ - builderQueryFn: createGetActiveGaugesPerDenom, - queryKeyPrefix: "ActiveGaugesPerDenomQuery" -}); export const createGetUpcomingGauges = (clientResolver?: RpcResolver) => buildQuery({ encode: UpcomingGaugesRequest.encode, decode: UpcomingGaugesResponse.decode, @@ -63,10 +42,6 @@ export const createGetUpcomingGauges = (clientResolver?: RpcResolver) => buildQu method: "UpcomingGauges", clientResolver }); -export const useGetUpcomingGauges = buildUseQuery({ - builderQueryFn: createGetUpcomingGauges, - queryKeyPrefix: "UpcomingGaugesQuery" -}); export const createGetUpcomingGaugesPerDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: UpcomingGaugesPerDenomRequest.encode, decode: UpcomingGaugesPerDenomResponse.decode, @@ -74,10 +49,6 @@ export const createGetUpcomingGaugesPerDenom = (clientResolver?: RpcResolver) => method: "UpcomingGaugesPerDenom", clientResolver }); -export const useGetUpcomingGaugesPerDenom = buildUseQuery({ - builderQueryFn: createGetUpcomingGaugesPerDenom, - queryKeyPrefix: "UpcomingGaugesPerDenomQuery" -}); export const createGetRewardsEst = (clientResolver?: RpcResolver) => buildQuery({ encode: RewardsEstRequest.encode, decode: RewardsEstResponse.decode, @@ -85,18 +56,10 @@ export const createGetRewardsEst = (clientResolver?: RpcResolver) => buildQuery< method: "RewardsEst", clientResolver }); -export const useGetRewardsEst = buildUseQuery({ - builderQueryFn: createGetRewardsEst, - queryKeyPrefix: "RewardsEstQuery" -}); export const createGetLockableDurations = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryLockableDurationsRequest.encode, decode: QueryLockableDurationsResponse.decode, service: "osmosis.incentives.Query", method: "LockableDurations", clientResolver -}); -export const useGetLockableDurations = buildUseQuery({ - builderQueryFn: createGetLockableDurations, - queryKeyPrefix: "LockableDurationsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.react.ts new file mode 100644 index 0000000000..9d7d2d654e --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.react.ts @@ -0,0 +1,39 @@ +import { buildUseQuery } from "../../react-query"; +import { ModuleToDistributeCoinsRequest, ModuleToDistributeCoinsResponse, GaugeByIDRequest, GaugeByIDResponse, GaugesRequest, GaugesResponse, ActiveGaugesRequest, ActiveGaugesResponse, ActiveGaugesPerDenomRequest, ActiveGaugesPerDenomResponse, UpcomingGaugesRequest, UpcomingGaugesResponse, UpcomingGaugesPerDenomRequest, UpcomingGaugesPerDenomResponse, RewardsEstRequest, RewardsEstResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse } from "./query"; +import { createGetModuleToDistributeCoins, createGetGaugeByID, createGetGauges, createGetActiveGauges, createGetActiveGaugesPerDenom, createGetUpcomingGauges, createGetUpcomingGaugesPerDenom, createGetRewardsEst, createGetLockableDurations } from "./query.rpc.func.ts"; +export const useGetModuleToDistributeCoins = buildUseQuery({ + builderQueryFn: createGetModuleToDistributeCoins, + queryKeyPrefix: "ModuleToDistributeCoinsQuery" +}); +export const useGetGaugeByID = buildUseQuery({ + builderQueryFn: createGetGaugeByID, + queryKeyPrefix: "GaugeByIDQuery" +}); +export const useGetGauges = buildUseQuery({ + builderQueryFn: createGetGauges, + queryKeyPrefix: "GaugesQuery" +}); +export const useGetActiveGauges = buildUseQuery({ + builderQueryFn: createGetActiveGauges, + queryKeyPrefix: "ActiveGaugesQuery" +}); +export const useGetActiveGaugesPerDenom = buildUseQuery({ + builderQueryFn: createGetActiveGaugesPerDenom, + queryKeyPrefix: "ActiveGaugesPerDenomQuery" +}); +export const useGetUpcomingGauges = buildUseQuery({ + builderQueryFn: createGetUpcomingGauges, + queryKeyPrefix: "UpcomingGaugesQuery" +}); +export const useGetUpcomingGaugesPerDenom = buildUseQuery({ + builderQueryFn: createGetUpcomingGaugesPerDenom, + queryKeyPrefix: "UpcomingGaugesPerDenomQuery" +}); +export const useGetRewardsEst = buildUseQuery({ + builderQueryFn: createGetRewardsEst, + queryKeyPrefix: "RewardsEstQuery" +}); +export const useGetLockableDurations = buildUseQuery({ + builderQueryFn: createGetLockableDurations, + queryKeyPrefix: "LockableDurationsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.vue.ts new file mode 100644 index 0000000000..ad0c3d1581 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/incentives/query.rpc.vue.ts @@ -0,0 +1,39 @@ +import { buildUseVueQuery } from "../../vue-query"; +import { ModuleToDistributeCoinsRequest, ModuleToDistributeCoinsResponse, GaugeByIDRequest, GaugeByIDResponse, GaugesRequest, GaugesResponse, ActiveGaugesRequest, ActiveGaugesResponse, ActiveGaugesPerDenomRequest, ActiveGaugesPerDenomResponse, UpcomingGaugesRequest, UpcomingGaugesResponse, UpcomingGaugesPerDenomRequest, UpcomingGaugesPerDenomResponse, RewardsEstRequest, RewardsEstResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse } from "./query"; +import { createGetModuleToDistributeCoins, createGetGaugeByID, createGetGauges, createGetActiveGauges, createGetActiveGaugesPerDenom, createGetUpcomingGauges, createGetUpcomingGaugesPerDenom, createGetRewardsEst, createGetLockableDurations } from "./query.rpc.func.ts"; +export const useGetModuleToDistributeCoins = buildUseVueQuery({ + builderQueryFn: createGetModuleToDistributeCoins, + queryKeyPrefix: "ModuleToDistributeCoinsQuery" +}); +export const useGetGaugeByID = buildUseVueQuery({ + builderQueryFn: createGetGaugeByID, + queryKeyPrefix: "GaugeByIDQuery" +}); +export const useGetGauges = buildUseVueQuery({ + builderQueryFn: createGetGauges, + queryKeyPrefix: "GaugesQuery" +}); +export const useGetActiveGauges = buildUseVueQuery({ + builderQueryFn: createGetActiveGauges, + queryKeyPrefix: "ActiveGaugesQuery" +}); +export const useGetActiveGaugesPerDenom = buildUseVueQuery({ + builderQueryFn: createGetActiveGaugesPerDenom, + queryKeyPrefix: "ActiveGaugesPerDenomQuery" +}); +export const useGetUpcomingGauges = buildUseVueQuery({ + builderQueryFn: createGetUpcomingGauges, + queryKeyPrefix: "UpcomingGaugesQuery" +}); +export const useGetUpcomingGaugesPerDenom = buildUseVueQuery({ + builderQueryFn: createGetUpcomingGaugesPerDenom, + queryKeyPrefix: "UpcomingGaugesPerDenomQuery" +}); +export const useGetRewardsEst = buildUseVueQuery({ + builderQueryFn: createGetRewardsEst, + queryKeyPrefix: "RewardsEstQuery" +}); +export const useGetLockableDurations = buildUseVueQuery({ + builderQueryFn: createGetLockableDurations, + queryKeyPrefix: "LockableDurationsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.func.ts index 6e1b85b6b8..d61b012037 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../react-query"; import { MsgCreateGauge, MsgAddToGauge } from "./tx"; export const createCreateGauge = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,15 +7,9 @@ export const createCreateGauge = (clientResolver?: SigningClientResolver) => bui encoders: toEncoders(MsgCreateGauge), converters: toConverters(MsgCreateGauge) }); -export const useCreateGauge = buildUseMutation({ - builderMutationFn: createCreateGauge -}); export const createAddToGauge = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgAddToGauge.typeUrl, encoders: toEncoders(MsgAddToGauge), converters: toConverters(MsgAddToGauge) -}); -export const useAddToGauge = buildUseMutation({ - builderMutationFn: createAddToGauge }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.react.ts new file mode 100644 index 0000000000..8d575ab52a --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.react.ts @@ -0,0 +1,9 @@ +import { buildUseMutation } from "../../react-query"; +import { MsgCreateGauge, MsgAddToGauge } from "./tx"; +import { createCreateGauge, createAddToGauge } from "./tx.rpc.func.ts"; +export const useCreateGauge = buildUseMutation({ + builderMutationFn: createCreateGauge +}); +export const useAddToGauge = buildUseMutation({ + builderMutationFn: createAddToGauge +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.vue.ts new file mode 100644 index 0000000000..a594171831 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/incentives/tx.rpc.vue.ts @@ -0,0 +1,9 @@ +import { buildUseVueMutation } from "../../vue-query"; +import { MsgCreateGauge, MsgAddToGauge } from "./tx"; +import { createCreateGauge, createAddToGauge } from "./tx.rpc.func.ts"; +export const useCreateGauge = buildUseVueMutation({ + builderMutationFn: createCreateGauge +}); +export const useAddToGauge = buildUseVueMutation({ + builderMutationFn: createAddToGauge +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.func.ts index 8495b3ddf1..b64626e91e 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../helper-func-types"; -import { buildUseQuery } from "../../react-query"; import { ModuleBalanceRequest, ModuleBalanceResponse, ModuleLockedAmountRequest, ModuleLockedAmountResponse, AccountUnlockableCoinsRequest, AccountUnlockableCoinsResponse, AccountUnlockingCoinsRequest, AccountUnlockingCoinsResponse, AccountLockedCoinsRequest, AccountLockedCoinsResponse, AccountLockedPastTimeRequest, AccountLockedPastTimeResponse, AccountLockedPastTimeNotUnlockingOnlyRequest, AccountLockedPastTimeNotUnlockingOnlyResponse, AccountUnlockedBeforeTimeRequest, AccountUnlockedBeforeTimeResponse, AccountLockedPastTimeDenomRequest, AccountLockedPastTimeDenomResponse, LockedDenomRequest, LockedDenomResponse, LockedRequest, LockedResponse, SyntheticLockupsByLockupIDRequest, SyntheticLockupsByLockupIDResponse, AccountLockedLongerDurationRequest, AccountLockedLongerDurationResponse, AccountLockedDurationRequest, AccountLockedDurationResponse, AccountLockedLongerDurationNotUnlockingOnlyRequest, AccountLockedLongerDurationNotUnlockingOnlyResponse, AccountLockedLongerDurationDenomRequest, AccountLockedLongerDurationDenomResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; export const createGetModuleBalance = (clientResolver?: RpcResolver) => buildQuery({ encode: ModuleBalanceRequest.encode, @@ -8,10 +7,6 @@ export const createGetModuleBalance = (clientResolver?: RpcResolver) => buildQue method: "ModuleBalance", clientResolver }); -export const useGetModuleBalance = buildUseQuery({ - builderQueryFn: createGetModuleBalance, - queryKeyPrefix: "ModuleBalanceQuery" -}); export const createGetModuleLockedAmount = (clientResolver?: RpcResolver) => buildQuery({ encode: ModuleLockedAmountRequest.encode, decode: ModuleLockedAmountResponse.decode, @@ -19,10 +14,6 @@ export const createGetModuleLockedAmount = (clientResolver?: RpcResolver) => bui method: "ModuleLockedAmount", clientResolver }); -export const useGetModuleLockedAmount = buildUseQuery({ - builderQueryFn: createGetModuleLockedAmount, - queryKeyPrefix: "ModuleLockedAmountQuery" -}); export const createGetAccountUnlockableCoins = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountUnlockableCoinsRequest.encode, decode: AccountUnlockableCoinsResponse.decode, @@ -30,10 +21,6 @@ export const createGetAccountUnlockableCoins = (clientResolver?: RpcResolver) => method: "AccountUnlockableCoins", clientResolver }); -export const useGetAccountUnlockableCoins = buildUseQuery({ - builderQueryFn: createGetAccountUnlockableCoins, - queryKeyPrefix: "AccountUnlockableCoinsQuery" -}); export const createGetAccountUnlockingCoins = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountUnlockingCoinsRequest.encode, decode: AccountUnlockingCoinsResponse.decode, @@ -41,10 +28,6 @@ export const createGetAccountUnlockingCoins = (clientResolver?: RpcResolver) => method: "AccountUnlockingCoins", clientResolver }); -export const useGetAccountUnlockingCoins = buildUseQuery({ - builderQueryFn: createGetAccountUnlockingCoins, - queryKeyPrefix: "AccountUnlockingCoinsQuery" -}); export const createGetAccountLockedCoins = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountLockedCoinsRequest.encode, decode: AccountLockedCoinsResponse.decode, @@ -52,10 +35,6 @@ export const createGetAccountLockedCoins = (clientResolver?: RpcResolver) => bui method: "AccountLockedCoins", clientResolver }); -export const useGetAccountLockedCoins = buildUseQuery({ - builderQueryFn: createGetAccountLockedCoins, - queryKeyPrefix: "AccountLockedCoinsQuery" -}); export const createGetAccountLockedPastTime = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountLockedPastTimeRequest.encode, decode: AccountLockedPastTimeResponse.decode, @@ -63,10 +42,6 @@ export const createGetAccountLockedPastTime = (clientResolver?: RpcResolver) => method: "AccountLockedPastTime", clientResolver }); -export const useGetAccountLockedPastTime = buildUseQuery({ - builderQueryFn: createGetAccountLockedPastTime, - queryKeyPrefix: "AccountLockedPastTimeQuery" -}); export const createGetAccountLockedPastTimeNotUnlockingOnly = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountLockedPastTimeNotUnlockingOnlyRequest.encode, decode: AccountLockedPastTimeNotUnlockingOnlyResponse.decode, @@ -74,10 +49,6 @@ export const createGetAccountLockedPastTimeNotUnlockingOnly = (clientResolver?: method: "AccountLockedPastTimeNotUnlockingOnly", clientResolver }); -export const useGetAccountLockedPastTimeNotUnlockingOnly = buildUseQuery({ - builderQueryFn: createGetAccountLockedPastTimeNotUnlockingOnly, - queryKeyPrefix: "AccountLockedPastTimeNotUnlockingOnlyQuery" -}); export const createGetAccountUnlockedBeforeTime = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountUnlockedBeforeTimeRequest.encode, decode: AccountUnlockedBeforeTimeResponse.decode, @@ -85,10 +56,6 @@ export const createGetAccountUnlockedBeforeTime = (clientResolver?: RpcResolver) method: "AccountUnlockedBeforeTime", clientResolver }); -export const useGetAccountUnlockedBeforeTime = buildUseQuery({ - builderQueryFn: createGetAccountUnlockedBeforeTime, - queryKeyPrefix: "AccountUnlockedBeforeTimeQuery" -}); export const createGetAccountLockedPastTimeDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountLockedPastTimeDenomRequest.encode, decode: AccountLockedPastTimeDenomResponse.decode, @@ -96,10 +63,6 @@ export const createGetAccountLockedPastTimeDenom = (clientResolver?: RpcResolver method: "AccountLockedPastTimeDenom", clientResolver }); -export const useGetAccountLockedPastTimeDenom = buildUseQuery({ - builderQueryFn: createGetAccountLockedPastTimeDenom, - queryKeyPrefix: "AccountLockedPastTimeDenomQuery" -}); export const createGetLockedDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: LockedDenomRequest.encode, decode: LockedDenomResponse.decode, @@ -107,10 +70,6 @@ export const createGetLockedDenom = (clientResolver?: RpcResolver) => buildQuery method: "LockedDenom", clientResolver }); -export const useGetLockedDenom = buildUseQuery({ - builderQueryFn: createGetLockedDenom, - queryKeyPrefix: "LockedDenomQuery" -}); export const createGetLockedByID = (clientResolver?: RpcResolver) => buildQuery({ encode: LockedRequest.encode, decode: LockedResponse.decode, @@ -118,10 +77,6 @@ export const createGetLockedByID = (clientResolver?: RpcResolver) => buildQuery< method: "LockedByID", clientResolver }); -export const useGetLockedByID = buildUseQuery({ - builderQueryFn: createGetLockedByID, - queryKeyPrefix: "LockedByIDQuery" -}); export const createGetSyntheticLockupsByLockupID = (clientResolver?: RpcResolver) => buildQuery({ encode: SyntheticLockupsByLockupIDRequest.encode, decode: SyntheticLockupsByLockupIDResponse.decode, @@ -129,10 +84,6 @@ export const createGetSyntheticLockupsByLockupID = (clientResolver?: RpcResolver method: "SyntheticLockupsByLockupID", clientResolver }); -export const useGetSyntheticLockupsByLockupID = buildUseQuery({ - builderQueryFn: createGetSyntheticLockupsByLockupID, - queryKeyPrefix: "SyntheticLockupsByLockupIDQuery" -}); export const createGetAccountLockedLongerDuration = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountLockedLongerDurationRequest.encode, decode: AccountLockedLongerDurationResponse.decode, @@ -140,10 +91,6 @@ export const createGetAccountLockedLongerDuration = (clientResolver?: RpcResolve method: "AccountLockedLongerDuration", clientResolver }); -export const useGetAccountLockedLongerDuration = buildUseQuery({ - builderQueryFn: createGetAccountLockedLongerDuration, - queryKeyPrefix: "AccountLockedLongerDurationQuery" -}); export const createGetAccountLockedDuration = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountLockedDurationRequest.encode, decode: AccountLockedDurationResponse.decode, @@ -151,10 +98,6 @@ export const createGetAccountLockedDuration = (clientResolver?: RpcResolver) => method: "AccountLockedDuration", clientResolver }); -export const useGetAccountLockedDuration = buildUseQuery({ - builderQueryFn: createGetAccountLockedDuration, - queryKeyPrefix: "AccountLockedDurationQuery" -}); export const createGetAccountLockedLongerDurationNotUnlockingOnly = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountLockedLongerDurationNotUnlockingOnlyRequest.encode, decode: AccountLockedLongerDurationNotUnlockingOnlyResponse.decode, @@ -162,10 +105,6 @@ export const createGetAccountLockedLongerDurationNotUnlockingOnly = (clientResol method: "AccountLockedLongerDurationNotUnlockingOnly", clientResolver }); -export const useGetAccountLockedLongerDurationNotUnlockingOnly = buildUseQuery({ - builderQueryFn: createGetAccountLockedLongerDurationNotUnlockingOnly, - queryKeyPrefix: "AccountLockedLongerDurationNotUnlockingOnlyQuery" -}); export const createGetAccountLockedLongerDurationDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: AccountLockedLongerDurationDenomRequest.encode, decode: AccountLockedLongerDurationDenomResponse.decode, @@ -173,18 +112,10 @@ export const createGetAccountLockedLongerDurationDenom = (clientResolver?: RpcRe method: "AccountLockedLongerDurationDenom", clientResolver }); -export const useGetAccountLockedLongerDurationDenom = buildUseQuery({ - builderQueryFn: createGetAccountLockedLongerDurationDenom, - queryKeyPrefix: "AccountLockedLongerDurationDenomQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, service: "osmosis.lockup.Query", method: "Params", clientResolver -}); -export const useGetParams = buildUseQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.react.ts new file mode 100644 index 0000000000..34d0da022b --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.react.ts @@ -0,0 +1,71 @@ +import { buildUseQuery } from "../../react-query"; +import { ModuleBalanceRequest, ModuleBalanceResponse, ModuleLockedAmountRequest, ModuleLockedAmountResponse, AccountUnlockableCoinsRequest, AccountUnlockableCoinsResponse, AccountUnlockingCoinsRequest, AccountUnlockingCoinsResponse, AccountLockedCoinsRequest, AccountLockedCoinsResponse, AccountLockedPastTimeRequest, AccountLockedPastTimeResponse, AccountLockedPastTimeNotUnlockingOnlyRequest, AccountLockedPastTimeNotUnlockingOnlyResponse, AccountUnlockedBeforeTimeRequest, AccountUnlockedBeforeTimeResponse, AccountLockedPastTimeDenomRequest, AccountLockedPastTimeDenomResponse, LockedDenomRequest, LockedDenomResponse, LockedRequest, LockedResponse, SyntheticLockupsByLockupIDRequest, SyntheticLockupsByLockupIDResponse, AccountLockedLongerDurationRequest, AccountLockedLongerDurationResponse, AccountLockedDurationRequest, AccountLockedDurationResponse, AccountLockedLongerDurationNotUnlockingOnlyRequest, AccountLockedLongerDurationNotUnlockingOnlyResponse, AccountLockedLongerDurationDenomRequest, AccountLockedLongerDurationDenomResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetModuleBalance, createGetModuleLockedAmount, createGetAccountUnlockableCoins, createGetAccountUnlockingCoins, createGetAccountLockedCoins, createGetAccountLockedPastTime, createGetAccountLockedPastTimeNotUnlockingOnly, createGetAccountUnlockedBeforeTime, createGetAccountLockedPastTimeDenom, createGetLockedDenom, createGetLockedByID, createGetSyntheticLockupsByLockupID, createGetAccountLockedLongerDuration, createGetAccountLockedDuration, createGetAccountLockedLongerDurationNotUnlockingOnly, createGetAccountLockedLongerDurationDenom, createGetParams } from "./query.rpc.func.ts"; +export const useGetModuleBalance = buildUseQuery({ + builderQueryFn: createGetModuleBalance, + queryKeyPrefix: "ModuleBalanceQuery" +}); +export const useGetModuleLockedAmount = buildUseQuery({ + builderQueryFn: createGetModuleLockedAmount, + queryKeyPrefix: "ModuleLockedAmountQuery" +}); +export const useGetAccountUnlockableCoins = buildUseQuery({ + builderQueryFn: createGetAccountUnlockableCoins, + queryKeyPrefix: "AccountUnlockableCoinsQuery" +}); +export const useGetAccountUnlockingCoins = buildUseQuery({ + builderQueryFn: createGetAccountUnlockingCoins, + queryKeyPrefix: "AccountUnlockingCoinsQuery" +}); +export const useGetAccountLockedCoins = buildUseQuery({ + builderQueryFn: createGetAccountLockedCoins, + queryKeyPrefix: "AccountLockedCoinsQuery" +}); +export const useGetAccountLockedPastTime = buildUseQuery({ + builderQueryFn: createGetAccountLockedPastTime, + queryKeyPrefix: "AccountLockedPastTimeQuery" +}); +export const useGetAccountLockedPastTimeNotUnlockingOnly = buildUseQuery({ + builderQueryFn: createGetAccountLockedPastTimeNotUnlockingOnly, + queryKeyPrefix: "AccountLockedPastTimeNotUnlockingOnlyQuery" +}); +export const useGetAccountUnlockedBeforeTime = buildUseQuery({ + builderQueryFn: createGetAccountUnlockedBeforeTime, + queryKeyPrefix: "AccountUnlockedBeforeTimeQuery" +}); +export const useGetAccountLockedPastTimeDenom = buildUseQuery({ + builderQueryFn: createGetAccountLockedPastTimeDenom, + queryKeyPrefix: "AccountLockedPastTimeDenomQuery" +}); +export const useGetLockedDenom = buildUseQuery({ + builderQueryFn: createGetLockedDenom, + queryKeyPrefix: "LockedDenomQuery" +}); +export const useGetLockedByID = buildUseQuery({ + builderQueryFn: createGetLockedByID, + queryKeyPrefix: "LockedByIDQuery" +}); +export const useGetSyntheticLockupsByLockupID = buildUseQuery({ + builderQueryFn: createGetSyntheticLockupsByLockupID, + queryKeyPrefix: "SyntheticLockupsByLockupIDQuery" +}); +export const useGetAccountLockedLongerDuration = buildUseQuery({ + builderQueryFn: createGetAccountLockedLongerDuration, + queryKeyPrefix: "AccountLockedLongerDurationQuery" +}); +export const useGetAccountLockedDuration = buildUseQuery({ + builderQueryFn: createGetAccountLockedDuration, + queryKeyPrefix: "AccountLockedDurationQuery" +}); +export const useGetAccountLockedLongerDurationNotUnlockingOnly = buildUseQuery({ + builderQueryFn: createGetAccountLockedLongerDurationNotUnlockingOnly, + queryKeyPrefix: "AccountLockedLongerDurationNotUnlockingOnlyQuery" +}); +export const useGetAccountLockedLongerDurationDenom = buildUseQuery({ + builderQueryFn: createGetAccountLockedLongerDurationDenom, + queryKeyPrefix: "AccountLockedLongerDurationDenomQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.vue.ts new file mode 100644 index 0000000000..45ecf887a5 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/lockup/query.rpc.vue.ts @@ -0,0 +1,71 @@ +import { buildUseVueQuery } from "../../vue-query"; +import { ModuleBalanceRequest, ModuleBalanceResponse, ModuleLockedAmountRequest, ModuleLockedAmountResponse, AccountUnlockableCoinsRequest, AccountUnlockableCoinsResponse, AccountUnlockingCoinsRequest, AccountUnlockingCoinsResponse, AccountLockedCoinsRequest, AccountLockedCoinsResponse, AccountLockedPastTimeRequest, AccountLockedPastTimeResponse, AccountLockedPastTimeNotUnlockingOnlyRequest, AccountLockedPastTimeNotUnlockingOnlyResponse, AccountUnlockedBeforeTimeRequest, AccountUnlockedBeforeTimeResponse, AccountLockedPastTimeDenomRequest, AccountLockedPastTimeDenomResponse, LockedDenomRequest, LockedDenomResponse, LockedRequest, LockedResponse, SyntheticLockupsByLockupIDRequest, SyntheticLockupsByLockupIDResponse, AccountLockedLongerDurationRequest, AccountLockedLongerDurationResponse, AccountLockedDurationRequest, AccountLockedDurationResponse, AccountLockedLongerDurationNotUnlockingOnlyRequest, AccountLockedLongerDurationNotUnlockingOnlyResponse, AccountLockedLongerDurationDenomRequest, AccountLockedLongerDurationDenomResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +import { createGetModuleBalance, createGetModuleLockedAmount, createGetAccountUnlockableCoins, createGetAccountUnlockingCoins, createGetAccountLockedCoins, createGetAccountLockedPastTime, createGetAccountLockedPastTimeNotUnlockingOnly, createGetAccountUnlockedBeforeTime, createGetAccountLockedPastTimeDenom, createGetLockedDenom, createGetLockedByID, createGetSyntheticLockupsByLockupID, createGetAccountLockedLongerDuration, createGetAccountLockedDuration, createGetAccountLockedLongerDurationNotUnlockingOnly, createGetAccountLockedLongerDurationDenom, createGetParams } from "./query.rpc.func.ts"; +export const useGetModuleBalance = buildUseVueQuery({ + builderQueryFn: createGetModuleBalance, + queryKeyPrefix: "ModuleBalanceQuery" +}); +export const useGetModuleLockedAmount = buildUseVueQuery({ + builderQueryFn: createGetModuleLockedAmount, + queryKeyPrefix: "ModuleLockedAmountQuery" +}); +export const useGetAccountUnlockableCoins = buildUseVueQuery({ + builderQueryFn: createGetAccountUnlockableCoins, + queryKeyPrefix: "AccountUnlockableCoinsQuery" +}); +export const useGetAccountUnlockingCoins = buildUseVueQuery({ + builderQueryFn: createGetAccountUnlockingCoins, + queryKeyPrefix: "AccountUnlockingCoinsQuery" +}); +export const useGetAccountLockedCoins = buildUseVueQuery({ + builderQueryFn: createGetAccountLockedCoins, + queryKeyPrefix: "AccountLockedCoinsQuery" +}); +export const useGetAccountLockedPastTime = buildUseVueQuery({ + builderQueryFn: createGetAccountLockedPastTime, + queryKeyPrefix: "AccountLockedPastTimeQuery" +}); +export const useGetAccountLockedPastTimeNotUnlockingOnly = buildUseVueQuery({ + builderQueryFn: createGetAccountLockedPastTimeNotUnlockingOnly, + queryKeyPrefix: "AccountLockedPastTimeNotUnlockingOnlyQuery" +}); +export const useGetAccountUnlockedBeforeTime = buildUseVueQuery({ + builderQueryFn: createGetAccountUnlockedBeforeTime, + queryKeyPrefix: "AccountUnlockedBeforeTimeQuery" +}); +export const useGetAccountLockedPastTimeDenom = buildUseVueQuery({ + builderQueryFn: createGetAccountLockedPastTimeDenom, + queryKeyPrefix: "AccountLockedPastTimeDenomQuery" +}); +export const useGetLockedDenom = buildUseVueQuery({ + builderQueryFn: createGetLockedDenom, + queryKeyPrefix: "LockedDenomQuery" +}); +export const useGetLockedByID = buildUseVueQuery({ + builderQueryFn: createGetLockedByID, + queryKeyPrefix: "LockedByIDQuery" +}); +export const useGetSyntheticLockupsByLockupID = buildUseVueQuery({ + builderQueryFn: createGetSyntheticLockupsByLockupID, + queryKeyPrefix: "SyntheticLockupsByLockupIDQuery" +}); +export const useGetAccountLockedLongerDuration = buildUseVueQuery({ + builderQueryFn: createGetAccountLockedLongerDuration, + queryKeyPrefix: "AccountLockedLongerDurationQuery" +}); +export const useGetAccountLockedDuration = buildUseVueQuery({ + builderQueryFn: createGetAccountLockedDuration, + queryKeyPrefix: "AccountLockedDurationQuery" +}); +export const useGetAccountLockedLongerDurationNotUnlockingOnly = buildUseVueQuery({ + builderQueryFn: createGetAccountLockedLongerDurationNotUnlockingOnly, + queryKeyPrefix: "AccountLockedLongerDurationNotUnlockingOnlyQuery" +}); +export const useGetAccountLockedLongerDurationDenom = buildUseVueQuery({ + builderQueryFn: createGetAccountLockedLongerDurationDenom, + queryKeyPrefix: "AccountLockedLongerDurationDenomQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.func.ts index a397855465..d51840084b 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../react-query"; import { MsgLockTokens, MsgBeginUnlockingAll, MsgBeginUnlocking, MsgExtendLockup, MsgForceUnlock } from "./tx"; export const createLockTokens = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,42 +7,27 @@ export const createLockTokens = (clientResolver?: SigningClientResolver) => buil encoders: toEncoders(MsgLockTokens), converters: toConverters(MsgLockTokens) }); -export const useLockTokens = buildUseMutation({ - builderMutationFn: createLockTokens -}); export const createBeginUnlockingAll = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgBeginUnlockingAll.typeUrl, encoders: toEncoders(MsgBeginUnlockingAll), converters: toConverters(MsgBeginUnlockingAll) }); -export const useBeginUnlockingAll = buildUseMutation({ - builderMutationFn: createBeginUnlockingAll -}); export const createBeginUnlocking = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgBeginUnlocking.typeUrl, encoders: toEncoders(MsgBeginUnlocking), converters: toConverters(MsgBeginUnlocking) }); -export const useBeginUnlocking = buildUseMutation({ - builderMutationFn: createBeginUnlocking -}); export const createExtendLockup = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgExtendLockup.typeUrl, encoders: toEncoders(MsgExtendLockup), converters: toConverters(MsgExtendLockup) }); -export const useExtendLockup = buildUseMutation({ - builderMutationFn: createExtendLockup -}); export const createForceUnlock = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgForceUnlock.typeUrl, encoders: toEncoders(MsgForceUnlock), converters: toConverters(MsgForceUnlock) -}); -export const useForceUnlock = buildUseMutation({ - builderMutationFn: createForceUnlock }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.react.ts new file mode 100644 index 0000000000..79565be91c --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.react.ts @@ -0,0 +1,18 @@ +import { buildUseMutation } from "../../react-query"; +import { MsgLockTokens, MsgBeginUnlockingAll, MsgBeginUnlocking, MsgExtendLockup, MsgForceUnlock } from "./tx"; +import { createLockTokens, createBeginUnlockingAll, createBeginUnlocking, createExtendLockup, createForceUnlock } from "./tx.rpc.func.ts"; +export const useLockTokens = buildUseMutation({ + builderMutationFn: createLockTokens +}); +export const useBeginUnlockingAll = buildUseMutation({ + builderMutationFn: createBeginUnlockingAll +}); +export const useBeginUnlocking = buildUseMutation({ + builderMutationFn: createBeginUnlocking +}); +export const useExtendLockup = buildUseMutation({ + builderMutationFn: createExtendLockup +}); +export const useForceUnlock = buildUseMutation({ + builderMutationFn: createForceUnlock +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.vue.ts new file mode 100644 index 0000000000..c65051d6e7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/lockup/tx.rpc.vue.ts @@ -0,0 +1,18 @@ +import { buildUseVueMutation } from "../../vue-query"; +import { MsgLockTokens, MsgBeginUnlockingAll, MsgBeginUnlocking, MsgExtendLockup, MsgForceUnlock } from "./tx"; +import { createLockTokens, createBeginUnlockingAll, createBeginUnlocking, createExtendLockup, createForceUnlock } from "./tx.rpc.func.ts"; +export const useLockTokens = buildUseVueMutation({ + builderMutationFn: createLockTokens +}); +export const useBeginUnlockingAll = buildUseVueMutation({ + builderMutationFn: createBeginUnlockingAll +}); +export const useBeginUnlocking = buildUseVueMutation({ + builderMutationFn: createBeginUnlocking +}); +export const useExtendLockup = buildUseVueMutation({ + builderMutationFn: createExtendLockup +}); +export const useForceUnlock = buildUseVueMutation({ + builderMutationFn: createForceUnlock +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.func.ts index 246916aaf6..e291652fae 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryParamsRequest, QueryParamsResponse, QueryEpochProvisionsRequest, QueryEpochProvisionsResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -8,18 +7,10 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetEpochProvisions = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryEpochProvisionsRequest.encode, decode: QueryEpochProvisionsResponse.decode, service: "osmosis.mint.v1beta1.Query", method: "EpochProvisions", clientResolver -}); -export const useGetEpochProvisions = buildUseQuery({ - builderQueryFn: createGetEpochProvisions, - queryKeyPrefix: "EpochProvisionsQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..f47d3db77d --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.react.ts @@ -0,0 +1,11 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryParamsRequest, QueryParamsResponse, QueryEpochProvisionsRequest, QueryEpochProvisionsResponse } from "./query"; +import { createGetParams, createGetEpochProvisions } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetEpochProvisions = buildUseQuery({ + builderQueryFn: createGetEpochProvisions, + queryKeyPrefix: "EpochProvisionsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..686d56f60a --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/mint/v1beta1/query.rpc.vue.ts @@ -0,0 +1,11 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse, QueryEpochProvisionsRequest, QueryEpochProvisionsResponse } from "./query"; +import { createGetParams, createGetEpochProvisions } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetEpochProvisions = buildUseVueQuery({ + builderQueryFn: createGetEpochProvisions, + queryKeyPrefix: "EpochProvisionsQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.func.ts index c2e4b1c21f..0cc738169f 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryGaugeIdsRequest, QueryGaugeIdsResponse, QueryDistrInfoRequest, QueryDistrInfoResponse, QueryParamsRequest, QueryParamsResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse, QueryIncentivizedPoolsRequest, QueryIncentivizedPoolsResponse, QueryExternalIncentiveGaugesRequest, QueryExternalIncentiveGaugesResponse } from "./query"; export const createGetGaugeIds = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryGaugeIdsRequest.encode, @@ -8,10 +7,6 @@ export const createGetGaugeIds = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetGaugeIds, - queryKeyPrefix: "GaugeIdsQuery" -}); export const createGetDistrInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDistrInfoRequest.encode, decode: QueryDistrInfoResponse.decode, @@ -19,10 +14,6 @@ export const createGetDistrInfo = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetDistrInfo, - queryKeyPrefix: "DistrInfoQuery" -}); export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, decode: QueryParamsResponse.decode, @@ -30,10 +21,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetLockableDurations = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryLockableDurationsRequest.encode, decode: QueryLockableDurationsResponse.decode, @@ -41,10 +28,6 @@ export const createGetLockableDurations = (clientResolver?: RpcResolver) => buil method: "LockableDurations", clientResolver }); -export const useGetLockableDurations = buildUseQuery({ - builderQueryFn: createGetLockableDurations, - queryKeyPrefix: "LockableDurationsQuery" -}); export const createGetIncentivizedPools = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryIncentivizedPoolsRequest.encode, decode: QueryIncentivizedPoolsResponse.decode, @@ -52,18 +35,10 @@ export const createGetIncentivizedPools = (clientResolver?: RpcResolver) => buil method: "IncentivizedPools", clientResolver }); -export const useGetIncentivizedPools = buildUseQuery({ - builderQueryFn: createGetIncentivizedPools, - queryKeyPrefix: "IncentivizedPoolsQuery" -}); export const createGetExternalIncentiveGauges = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryExternalIncentiveGaugesRequest.encode, decode: QueryExternalIncentiveGaugesResponse.decode, service: "osmosis.poolincentives.v1beta1.Query", method: "ExternalIncentiveGauges", clientResolver -}); -export const useGetExternalIncentiveGauges = buildUseQuery({ - builderQueryFn: createGetExternalIncentiveGauges, - queryKeyPrefix: "ExternalIncentiveGaugesQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..2c5685b541 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.react.ts @@ -0,0 +1,27 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryGaugeIdsRequest, QueryGaugeIdsResponse, QueryDistrInfoRequest, QueryDistrInfoResponse, QueryParamsRequest, QueryParamsResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse, QueryIncentivizedPoolsRequest, QueryIncentivizedPoolsResponse, QueryExternalIncentiveGaugesRequest, QueryExternalIncentiveGaugesResponse } from "./query"; +import { createGetGaugeIds, createGetDistrInfo, createGetParams, createGetLockableDurations, createGetIncentivizedPools, createGetExternalIncentiveGauges } from "./query.rpc.func.ts"; +export const useGetGaugeIds = buildUseQuery({ + builderQueryFn: createGetGaugeIds, + queryKeyPrefix: "GaugeIdsQuery" +}); +export const useGetDistrInfo = buildUseQuery({ + builderQueryFn: createGetDistrInfo, + queryKeyPrefix: "DistrInfoQuery" +}); +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetLockableDurations = buildUseQuery({ + builderQueryFn: createGetLockableDurations, + queryKeyPrefix: "LockableDurationsQuery" +}); +export const useGetIncentivizedPools = buildUseQuery({ + builderQueryFn: createGetIncentivizedPools, + queryKeyPrefix: "IncentivizedPoolsQuery" +}); +export const useGetExternalIncentiveGauges = buildUseQuery({ + builderQueryFn: createGetExternalIncentiveGauges, + queryKeyPrefix: "ExternalIncentiveGaugesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..6e531ca794 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/pool-incentives/v1beta1/query.rpc.vue.ts @@ -0,0 +1,27 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryGaugeIdsRequest, QueryGaugeIdsResponse, QueryDistrInfoRequest, QueryDistrInfoResponse, QueryParamsRequest, QueryParamsResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse, QueryIncentivizedPoolsRequest, QueryIncentivizedPoolsResponse, QueryExternalIncentiveGaugesRequest, QueryExternalIncentiveGaugesResponse } from "./query"; +import { createGetGaugeIds, createGetDistrInfo, createGetParams, createGetLockableDurations, createGetIncentivizedPools, createGetExternalIncentiveGauges } from "./query.rpc.func.ts"; +export const useGetGaugeIds = buildUseVueQuery({ + builderQueryFn: createGetGaugeIds, + queryKeyPrefix: "GaugeIdsQuery" +}); +export const useGetDistrInfo = buildUseVueQuery({ + builderQueryFn: createGetDistrInfo, + queryKeyPrefix: "DistrInfoQuery" +}); +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetLockableDurations = buildUseVueQuery({ + builderQueryFn: createGetLockableDurations, + queryKeyPrefix: "LockableDurationsQuery" +}); +export const useGetIncentivizedPools = buildUseVueQuery({ + builderQueryFn: createGetIncentivizedPools, + queryKeyPrefix: "IncentivizedPoolsQuery" +}); +export const useGetExternalIncentiveGauges = buildUseVueQuery({ + builderQueryFn: createGetExternalIncentiveGauges, + queryKeyPrefix: "ExternalIncentiveGaugesQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.func.ts index 14c0df6847..9ae6326f0d 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../helper-func-types"; -import { buildUseQuery } from "../../react-query"; import { QueryParamsRequest, QueryParamsResponse, AssetTypeRequest, AssetTypeResponse, AllAssetsRequest, AllAssetsResponse, AssetMultiplierRequest, AssetMultiplierResponse, AllIntermediaryAccountsRequest, AllIntermediaryAccountsResponse, ConnectedIntermediaryAccountRequest, ConnectedIntermediaryAccountResponse, QueryTotalDelegationByValidatorForDenomRequest, QueryTotalDelegationByValidatorForDenomResponse, TotalSuperfluidDelegationsRequest, TotalSuperfluidDelegationsResponse, SuperfluidDelegationAmountRequest, SuperfluidDelegationAmountResponse, SuperfluidDelegationsByDelegatorRequest, SuperfluidDelegationsByDelegatorResponse, SuperfluidUndelegationsByDelegatorRequest, SuperfluidUndelegationsByDelegatorResponse, SuperfluidDelegationsByValidatorDenomRequest, SuperfluidDelegationsByValidatorDenomResponse, EstimateSuperfluidDelegatedAmountByValidatorDenomRequest, EstimateSuperfluidDelegatedAmountByValidatorDenomResponse, QueryTotalDelegationByDelegatorRequest, QueryTotalDelegationByDelegatorResponse, QueryUnpoolWhitelistRequest, QueryUnpoolWhitelistResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -8,10 +7,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetAssetType = (clientResolver?: RpcResolver) => buildQuery({ encode: AssetTypeRequest.encode, decode: AssetTypeResponse.decode, @@ -19,10 +14,6 @@ export const createGetAssetType = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetAssetType, - queryKeyPrefix: "AssetTypeQuery" -}); export const createGetAllAssets = (clientResolver?: RpcResolver) => buildQuery({ encode: AllAssetsRequest.encode, decode: AllAssetsResponse.decode, @@ -30,10 +21,6 @@ export const createGetAllAssets = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetAllAssets, - queryKeyPrefix: "AllAssetsQuery" -}); export const createGetAssetMultiplier = (clientResolver?: RpcResolver) => buildQuery({ encode: AssetMultiplierRequest.encode, decode: AssetMultiplierResponse.decode, @@ -41,10 +28,6 @@ export const createGetAssetMultiplier = (clientResolver?: RpcResolver) => buildQ method: "AssetMultiplier", clientResolver }); -export const useGetAssetMultiplier = buildUseQuery({ - builderQueryFn: createGetAssetMultiplier, - queryKeyPrefix: "AssetMultiplierQuery" -}); export const createGetAllIntermediaryAccounts = (clientResolver?: RpcResolver) => buildQuery({ encode: AllIntermediaryAccountsRequest.encode, decode: AllIntermediaryAccountsResponse.decode, @@ -52,10 +35,6 @@ export const createGetAllIntermediaryAccounts = (clientResolver?: RpcResolver) = method: "AllIntermediaryAccounts", clientResolver }); -export const useGetAllIntermediaryAccounts = buildUseQuery({ - builderQueryFn: createGetAllIntermediaryAccounts, - queryKeyPrefix: "AllIntermediaryAccountsQuery" -}); export const createGetConnectedIntermediaryAccount = (clientResolver?: RpcResolver) => buildQuery({ encode: ConnectedIntermediaryAccountRequest.encode, decode: ConnectedIntermediaryAccountResponse.decode, @@ -63,10 +42,6 @@ export const createGetConnectedIntermediaryAccount = (clientResolver?: RpcResolv method: "ConnectedIntermediaryAccount", clientResolver }); -export const useGetConnectedIntermediaryAccount = buildUseQuery({ - builderQueryFn: createGetConnectedIntermediaryAccount, - queryKeyPrefix: "ConnectedIntermediaryAccountQuery" -}); export const createGetTotalDelegationByValidatorForDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTotalDelegationByValidatorForDenomRequest.encode, decode: QueryTotalDelegationByValidatorForDenomResponse.decode, @@ -74,10 +49,6 @@ export const createGetTotalDelegationByValidatorForDenom = (clientResolver?: Rpc method: "TotalDelegationByValidatorForDenom", clientResolver }); -export const useGetTotalDelegationByValidatorForDenom = buildUseQuery({ - builderQueryFn: createGetTotalDelegationByValidatorForDenom, - queryKeyPrefix: "TotalDelegationByValidatorForDenomQuery" -}); export const createGetTotalSuperfluidDelegations = (clientResolver?: RpcResolver) => buildQuery({ encode: TotalSuperfluidDelegationsRequest.encode, decode: TotalSuperfluidDelegationsResponse.decode, @@ -85,10 +56,6 @@ export const createGetTotalSuperfluidDelegations = (clientResolver?: RpcResolver method: "TotalSuperfluidDelegations", clientResolver }); -export const useGetTotalSuperfluidDelegations = buildUseQuery({ - builderQueryFn: createGetTotalSuperfluidDelegations, - queryKeyPrefix: "TotalSuperfluidDelegationsQuery" -}); export const createGetSuperfluidDelegationAmount = (clientResolver?: RpcResolver) => buildQuery({ encode: SuperfluidDelegationAmountRequest.encode, decode: SuperfluidDelegationAmountResponse.decode, @@ -96,10 +63,6 @@ export const createGetSuperfluidDelegationAmount = (clientResolver?: RpcResolver method: "SuperfluidDelegationAmount", clientResolver }); -export const useGetSuperfluidDelegationAmount = buildUseQuery({ - builderQueryFn: createGetSuperfluidDelegationAmount, - queryKeyPrefix: "SuperfluidDelegationAmountQuery" -}); export const createGetSuperfluidDelegationsByDelegator = (clientResolver?: RpcResolver) => buildQuery({ encode: SuperfluidDelegationsByDelegatorRequest.encode, decode: SuperfluidDelegationsByDelegatorResponse.decode, @@ -107,10 +70,6 @@ export const createGetSuperfluidDelegationsByDelegator = (clientResolver?: RpcRe method: "SuperfluidDelegationsByDelegator", clientResolver }); -export const useGetSuperfluidDelegationsByDelegator = buildUseQuery({ - builderQueryFn: createGetSuperfluidDelegationsByDelegator, - queryKeyPrefix: "SuperfluidDelegationsByDelegatorQuery" -}); export const createGetSuperfluidUndelegationsByDelegator = (clientResolver?: RpcResolver) => buildQuery({ encode: SuperfluidUndelegationsByDelegatorRequest.encode, decode: SuperfluidUndelegationsByDelegatorResponse.decode, @@ -118,10 +77,6 @@ export const createGetSuperfluidUndelegationsByDelegator = (clientResolver?: Rpc method: "SuperfluidUndelegationsByDelegator", clientResolver }); -export const useGetSuperfluidUndelegationsByDelegator = buildUseQuery({ - builderQueryFn: createGetSuperfluidUndelegationsByDelegator, - queryKeyPrefix: "SuperfluidUndelegationsByDelegatorQuery" -}); export const createGetSuperfluidDelegationsByValidatorDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: SuperfluidDelegationsByValidatorDenomRequest.encode, decode: SuperfluidDelegationsByValidatorDenomResponse.decode, @@ -129,10 +84,6 @@ export const createGetSuperfluidDelegationsByValidatorDenom = (clientResolver?: method: "SuperfluidDelegationsByValidatorDenom", clientResolver }); -export const useGetSuperfluidDelegationsByValidatorDenom = buildUseQuery({ - builderQueryFn: createGetSuperfluidDelegationsByValidatorDenom, - queryKeyPrefix: "SuperfluidDelegationsByValidatorDenomQuery" -}); export const createGetEstimateSuperfluidDelegatedAmountByValidatorDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest.encode, decode: EstimateSuperfluidDelegatedAmountByValidatorDenomResponse.decode, @@ -140,10 +91,6 @@ export const createGetEstimateSuperfluidDelegatedAmountByValidatorDenom = (clien method: "EstimateSuperfluidDelegatedAmountByValidatorDenom", clientResolver }); -export const useGetEstimateSuperfluidDelegatedAmountByValidatorDenom = buildUseQuery({ - builderQueryFn: createGetEstimateSuperfluidDelegatedAmountByValidatorDenom, - queryKeyPrefix: "EstimateSuperfluidDelegatedAmountByValidatorDenomQuery" -}); export const createGetTotalDelegationByDelegator = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryTotalDelegationByDelegatorRequest.encode, decode: QueryTotalDelegationByDelegatorResponse.decode, @@ -151,18 +98,10 @@ export const createGetTotalDelegationByDelegator = (clientResolver?: RpcResolver method: "TotalDelegationByDelegator", clientResolver }); -export const useGetTotalDelegationByDelegator = buildUseQuery({ - builderQueryFn: createGetTotalDelegationByDelegator, - queryKeyPrefix: "TotalDelegationByDelegatorQuery" -}); export const createGetUnpoolWhitelist = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryUnpoolWhitelistRequest.encode, decode: QueryUnpoolWhitelistResponse.decode, service: "osmosis.superfluid.Query", method: "UnpoolWhitelist", clientResolver -}); -export const useGetUnpoolWhitelist = buildUseQuery({ - builderQueryFn: createGetUnpoolWhitelist, - queryKeyPrefix: "UnpoolWhitelistQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.react.ts new file mode 100644 index 0000000000..c089b14e1f --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.react.ts @@ -0,0 +1,63 @@ +import { buildUseQuery } from "../../react-query"; +import { QueryParamsRequest, QueryParamsResponse, AssetTypeRequest, AssetTypeResponse, AllAssetsRequest, AllAssetsResponse, AssetMultiplierRequest, AssetMultiplierResponse, AllIntermediaryAccountsRequest, AllIntermediaryAccountsResponse, ConnectedIntermediaryAccountRequest, ConnectedIntermediaryAccountResponse, QueryTotalDelegationByValidatorForDenomRequest, QueryTotalDelegationByValidatorForDenomResponse, TotalSuperfluidDelegationsRequest, TotalSuperfluidDelegationsResponse, SuperfluidDelegationAmountRequest, SuperfluidDelegationAmountResponse, SuperfluidDelegationsByDelegatorRequest, SuperfluidDelegationsByDelegatorResponse, SuperfluidUndelegationsByDelegatorRequest, SuperfluidUndelegationsByDelegatorResponse, SuperfluidDelegationsByValidatorDenomRequest, SuperfluidDelegationsByValidatorDenomResponse, EstimateSuperfluidDelegatedAmountByValidatorDenomRequest, EstimateSuperfluidDelegatedAmountByValidatorDenomResponse, QueryTotalDelegationByDelegatorRequest, QueryTotalDelegationByDelegatorResponse, QueryUnpoolWhitelistRequest, QueryUnpoolWhitelistResponse } from "./query"; +import { createGetParams, createGetAssetType, createGetAllAssets, createGetAssetMultiplier, createGetAllIntermediaryAccounts, createGetConnectedIntermediaryAccount, createGetTotalDelegationByValidatorForDenom, createGetTotalSuperfluidDelegations, createGetSuperfluidDelegationAmount, createGetSuperfluidDelegationsByDelegator, createGetSuperfluidUndelegationsByDelegator, createGetSuperfluidDelegationsByValidatorDenom, createGetEstimateSuperfluidDelegatedAmountByValidatorDenom, createGetTotalDelegationByDelegator, createGetUnpoolWhitelist } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetAssetType = buildUseQuery({ + builderQueryFn: createGetAssetType, + queryKeyPrefix: "AssetTypeQuery" +}); +export const useGetAllAssets = buildUseQuery({ + builderQueryFn: createGetAllAssets, + queryKeyPrefix: "AllAssetsQuery" +}); +export const useGetAssetMultiplier = buildUseQuery({ + builderQueryFn: createGetAssetMultiplier, + queryKeyPrefix: "AssetMultiplierQuery" +}); +export const useGetAllIntermediaryAccounts = buildUseQuery({ + builderQueryFn: createGetAllIntermediaryAccounts, + queryKeyPrefix: "AllIntermediaryAccountsQuery" +}); +export const useGetConnectedIntermediaryAccount = buildUseQuery({ + builderQueryFn: createGetConnectedIntermediaryAccount, + queryKeyPrefix: "ConnectedIntermediaryAccountQuery" +}); +export const useGetTotalDelegationByValidatorForDenom = buildUseQuery({ + builderQueryFn: createGetTotalDelegationByValidatorForDenom, + queryKeyPrefix: "TotalDelegationByValidatorForDenomQuery" +}); +export const useGetTotalSuperfluidDelegations = buildUseQuery({ + builderQueryFn: createGetTotalSuperfluidDelegations, + queryKeyPrefix: "TotalSuperfluidDelegationsQuery" +}); +export const useGetSuperfluidDelegationAmount = buildUseQuery({ + builderQueryFn: createGetSuperfluidDelegationAmount, + queryKeyPrefix: "SuperfluidDelegationAmountQuery" +}); +export const useGetSuperfluidDelegationsByDelegator = buildUseQuery({ + builderQueryFn: createGetSuperfluidDelegationsByDelegator, + queryKeyPrefix: "SuperfluidDelegationsByDelegatorQuery" +}); +export const useGetSuperfluidUndelegationsByDelegator = buildUseQuery({ + builderQueryFn: createGetSuperfluidUndelegationsByDelegator, + queryKeyPrefix: "SuperfluidUndelegationsByDelegatorQuery" +}); +export const useGetSuperfluidDelegationsByValidatorDenom = buildUseQuery({ + builderQueryFn: createGetSuperfluidDelegationsByValidatorDenom, + queryKeyPrefix: "SuperfluidDelegationsByValidatorDenomQuery" +}); +export const useGetEstimateSuperfluidDelegatedAmountByValidatorDenom = buildUseQuery({ + builderQueryFn: createGetEstimateSuperfluidDelegatedAmountByValidatorDenom, + queryKeyPrefix: "EstimateSuperfluidDelegatedAmountByValidatorDenomQuery" +}); +export const useGetTotalDelegationByDelegator = buildUseQuery({ + builderQueryFn: createGetTotalDelegationByDelegator, + queryKeyPrefix: "TotalDelegationByDelegatorQuery" +}); +export const useGetUnpoolWhitelist = buildUseQuery({ + builderQueryFn: createGetUnpoolWhitelist, + queryKeyPrefix: "UnpoolWhitelistQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.vue.ts new file mode 100644 index 0000000000..340845341f --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/superfluid/query.rpc.vue.ts @@ -0,0 +1,63 @@ +import { buildUseVueQuery } from "../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse, AssetTypeRequest, AssetTypeResponse, AllAssetsRequest, AllAssetsResponse, AssetMultiplierRequest, AssetMultiplierResponse, AllIntermediaryAccountsRequest, AllIntermediaryAccountsResponse, ConnectedIntermediaryAccountRequest, ConnectedIntermediaryAccountResponse, QueryTotalDelegationByValidatorForDenomRequest, QueryTotalDelegationByValidatorForDenomResponse, TotalSuperfluidDelegationsRequest, TotalSuperfluidDelegationsResponse, SuperfluidDelegationAmountRequest, SuperfluidDelegationAmountResponse, SuperfluidDelegationsByDelegatorRequest, SuperfluidDelegationsByDelegatorResponse, SuperfluidUndelegationsByDelegatorRequest, SuperfluidUndelegationsByDelegatorResponse, SuperfluidDelegationsByValidatorDenomRequest, SuperfluidDelegationsByValidatorDenomResponse, EstimateSuperfluidDelegatedAmountByValidatorDenomRequest, EstimateSuperfluidDelegatedAmountByValidatorDenomResponse, QueryTotalDelegationByDelegatorRequest, QueryTotalDelegationByDelegatorResponse, QueryUnpoolWhitelistRequest, QueryUnpoolWhitelistResponse } from "./query"; +import { createGetParams, createGetAssetType, createGetAllAssets, createGetAssetMultiplier, createGetAllIntermediaryAccounts, createGetConnectedIntermediaryAccount, createGetTotalDelegationByValidatorForDenom, createGetTotalSuperfluidDelegations, createGetSuperfluidDelegationAmount, createGetSuperfluidDelegationsByDelegator, createGetSuperfluidUndelegationsByDelegator, createGetSuperfluidDelegationsByValidatorDenom, createGetEstimateSuperfluidDelegatedAmountByValidatorDenom, createGetTotalDelegationByDelegator, createGetUnpoolWhitelist } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetAssetType = buildUseVueQuery({ + builderQueryFn: createGetAssetType, + queryKeyPrefix: "AssetTypeQuery" +}); +export const useGetAllAssets = buildUseVueQuery({ + builderQueryFn: createGetAllAssets, + queryKeyPrefix: "AllAssetsQuery" +}); +export const useGetAssetMultiplier = buildUseVueQuery({ + builderQueryFn: createGetAssetMultiplier, + queryKeyPrefix: "AssetMultiplierQuery" +}); +export const useGetAllIntermediaryAccounts = buildUseVueQuery({ + builderQueryFn: createGetAllIntermediaryAccounts, + queryKeyPrefix: "AllIntermediaryAccountsQuery" +}); +export const useGetConnectedIntermediaryAccount = buildUseVueQuery({ + builderQueryFn: createGetConnectedIntermediaryAccount, + queryKeyPrefix: "ConnectedIntermediaryAccountQuery" +}); +export const useGetTotalDelegationByValidatorForDenom = buildUseVueQuery({ + builderQueryFn: createGetTotalDelegationByValidatorForDenom, + queryKeyPrefix: "TotalDelegationByValidatorForDenomQuery" +}); +export const useGetTotalSuperfluidDelegations = buildUseVueQuery({ + builderQueryFn: createGetTotalSuperfluidDelegations, + queryKeyPrefix: "TotalSuperfluidDelegationsQuery" +}); +export const useGetSuperfluidDelegationAmount = buildUseVueQuery({ + builderQueryFn: createGetSuperfluidDelegationAmount, + queryKeyPrefix: "SuperfluidDelegationAmountQuery" +}); +export const useGetSuperfluidDelegationsByDelegator = buildUseVueQuery({ + builderQueryFn: createGetSuperfluidDelegationsByDelegator, + queryKeyPrefix: "SuperfluidDelegationsByDelegatorQuery" +}); +export const useGetSuperfluidUndelegationsByDelegator = buildUseVueQuery({ + builderQueryFn: createGetSuperfluidUndelegationsByDelegator, + queryKeyPrefix: "SuperfluidUndelegationsByDelegatorQuery" +}); +export const useGetSuperfluidDelegationsByValidatorDenom = buildUseVueQuery({ + builderQueryFn: createGetSuperfluidDelegationsByValidatorDenom, + queryKeyPrefix: "SuperfluidDelegationsByValidatorDenomQuery" +}); +export const useGetEstimateSuperfluidDelegatedAmountByValidatorDenom = buildUseVueQuery({ + builderQueryFn: createGetEstimateSuperfluidDelegatedAmountByValidatorDenom, + queryKeyPrefix: "EstimateSuperfluidDelegatedAmountByValidatorDenomQuery" +}); +export const useGetTotalDelegationByDelegator = buildUseVueQuery({ + builderQueryFn: createGetTotalDelegationByDelegator, + queryKeyPrefix: "TotalDelegationByDelegatorQuery" +}); +export const useGetUnpoolWhitelist = buildUseVueQuery({ + builderQueryFn: createGetUnpoolWhitelist, + queryKeyPrefix: "UnpoolWhitelistQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.func.ts index 39fa1a0dbb..8f1daa3d3c 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../react-query"; import { MsgSuperfluidDelegate, MsgSuperfluidUndelegate, MsgSuperfluidUnbondLock, MsgLockAndSuperfluidDelegate, MsgUnPoolWhitelistedPool } from "./tx"; export const createSuperfluidDelegate = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,42 +7,27 @@ export const createSuperfluidDelegate = (clientResolver?: SigningClientResolver) encoders: toEncoders(MsgSuperfluidDelegate), converters: toConverters(MsgSuperfluidDelegate) }); -export const useSuperfluidDelegate = buildUseMutation({ - builderMutationFn: createSuperfluidDelegate -}); export const createSuperfluidUndelegate = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSuperfluidUndelegate.typeUrl, encoders: toEncoders(MsgSuperfluidUndelegate), converters: toConverters(MsgSuperfluidUndelegate) }); -export const useSuperfluidUndelegate = buildUseMutation({ - builderMutationFn: createSuperfluidUndelegate -}); export const createSuperfluidUnbondLock = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSuperfluidUnbondLock.typeUrl, encoders: toEncoders(MsgSuperfluidUnbondLock), converters: toConverters(MsgSuperfluidUnbondLock) }); -export const useSuperfluidUnbondLock = buildUseMutation({ - builderMutationFn: createSuperfluidUnbondLock -}); export const createLockAndSuperfluidDelegate = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgLockAndSuperfluidDelegate.typeUrl, encoders: toEncoders(MsgLockAndSuperfluidDelegate), converters: toConverters(MsgLockAndSuperfluidDelegate) }); -export const useLockAndSuperfluidDelegate = buildUseMutation({ - builderMutationFn: createLockAndSuperfluidDelegate -}); export const createUnPoolWhitelistedPool = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgUnPoolWhitelistedPool.typeUrl, encoders: toEncoders(MsgUnPoolWhitelistedPool), converters: toConverters(MsgUnPoolWhitelistedPool) -}); -export const useUnPoolWhitelistedPool = buildUseMutation({ - builderMutationFn: createUnPoolWhitelistedPool }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.react.ts new file mode 100644 index 0000000000..7554d30479 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.react.ts @@ -0,0 +1,18 @@ +import { buildUseMutation } from "../../react-query"; +import { MsgSuperfluidDelegate, MsgSuperfluidUndelegate, MsgSuperfluidUnbondLock, MsgLockAndSuperfluidDelegate, MsgUnPoolWhitelistedPool } from "./tx"; +import { createSuperfluidDelegate, createSuperfluidUndelegate, createSuperfluidUnbondLock, createLockAndSuperfluidDelegate, createUnPoolWhitelistedPool } from "./tx.rpc.func.ts"; +export const useSuperfluidDelegate = buildUseMutation({ + builderMutationFn: createSuperfluidDelegate +}); +export const useSuperfluidUndelegate = buildUseMutation({ + builderMutationFn: createSuperfluidUndelegate +}); +export const useSuperfluidUnbondLock = buildUseMutation({ + builderMutationFn: createSuperfluidUnbondLock +}); +export const useLockAndSuperfluidDelegate = buildUseMutation({ + builderMutationFn: createLockAndSuperfluidDelegate +}); +export const useUnPoolWhitelistedPool = buildUseMutation({ + builderMutationFn: createUnPoolWhitelistedPool +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.vue.ts new file mode 100644 index 0000000000..c4d194a6c4 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/superfluid/tx.rpc.vue.ts @@ -0,0 +1,18 @@ +import { buildUseVueMutation } from "../../vue-query"; +import { MsgSuperfluidDelegate, MsgSuperfluidUndelegate, MsgSuperfluidUnbondLock, MsgLockAndSuperfluidDelegate, MsgUnPoolWhitelistedPool } from "./tx"; +import { createSuperfluidDelegate, createSuperfluidUndelegate, createSuperfluidUnbondLock, createLockAndSuperfluidDelegate, createUnPoolWhitelistedPool } from "./tx.rpc.func.ts"; +export const useSuperfluidDelegate = buildUseVueMutation({ + builderMutationFn: createSuperfluidDelegate +}); +export const useSuperfluidUndelegate = buildUseVueMutation({ + builderMutationFn: createSuperfluidUndelegate +}); +export const useSuperfluidUnbondLock = buildUseVueMutation({ + builderMutationFn: createSuperfluidUnbondLock +}); +export const useLockAndSuperfluidDelegate = buildUseVueMutation({ + builderMutationFn: createLockAndSuperfluidDelegate +}); +export const useUnPoolWhitelistedPool = buildUseVueMutation({ + builderMutationFn: createUnPoolWhitelistedPool +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.func.ts index 5b434bff0f..27bb9c892b 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryParamsRequest, QueryParamsResponse, QueryDenomAuthorityMetadataRequest, QueryDenomAuthorityMetadataResponse, QueryDenomsFromCreatorRequest, QueryDenomsFromCreatorResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryParamsRequest.encode, @@ -8,10 +7,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetDenomAuthorityMetadata = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomAuthorityMetadataRequest.encode, decode: QueryDenomAuthorityMetadataResponse.decode, @@ -19,18 +14,10 @@ export const createGetDenomAuthorityMetadata = (clientResolver?: RpcResolver) => method: "DenomAuthorityMetadata", clientResolver }); -export const useGetDenomAuthorityMetadata = buildUseQuery({ - builderQueryFn: createGetDenomAuthorityMetadata, - queryKeyPrefix: "DenomAuthorityMetadataQuery" -}); export const createGetDenomsFromCreator = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomsFromCreatorRequest.encode, decode: QueryDenomsFromCreatorResponse.decode, service: "osmosis.tokenfactory.v1beta1.Query", method: "DenomsFromCreator", clientResolver -}); -export const useGetDenomsFromCreator = buildUseQuery({ - builderQueryFn: createGetDenomsFromCreator, - queryKeyPrefix: "DenomsFromCreatorQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..fab29035c8 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryParamsRequest, QueryParamsResponse, QueryDenomAuthorityMetadataRequest, QueryDenomAuthorityMetadataResponse, QueryDenomsFromCreatorRequest, QueryDenomsFromCreatorResponse } from "./query"; +import { createGetParams, createGetDenomAuthorityMetadata, createGetDenomsFromCreator } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDenomAuthorityMetadata = buildUseQuery({ + builderQueryFn: createGetDenomAuthorityMetadata, + queryKeyPrefix: "DenomAuthorityMetadataQuery" +}); +export const useGetDenomsFromCreator = buildUseQuery({ + builderQueryFn: createGetDenomsFromCreator, + queryKeyPrefix: "DenomsFromCreatorQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..bb125e3998 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryParamsRequest, QueryParamsResponse, QueryDenomAuthorityMetadataRequest, QueryDenomAuthorityMetadataResponse, QueryDenomsFromCreatorRequest, QueryDenomsFromCreatorResponse } from "./query"; +import { createGetParams, createGetDenomAuthorityMetadata, createGetDenomsFromCreator } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetDenomAuthorityMetadata = buildUseVueQuery({ + builderQueryFn: createGetDenomAuthorityMetadata, + queryKeyPrefix: "DenomAuthorityMetadataQuery" +}); +export const useGetDenomsFromCreator = buildUseVueQuery({ + builderQueryFn: createGetDenomsFromCreator, + queryKeyPrefix: "DenomsFromCreatorQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.func.ts index f27325ed71..966fb49f7a 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.func.ts @@ -1,6 +1,5 @@ import { buildTx, SigningClientResolver } from "../../../helper-func-types"; import { toEncoders, toConverters } from "@interchainjs/cosmos/utils"; -import { buildUseMutation } from "../../../react-query"; import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata } from "./tx"; export const createCreateDenom = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, @@ -8,42 +7,27 @@ export const createCreateDenom = (clientResolver?: SigningClientResolver) => bui encoders: toEncoders(MsgCreateDenom), converters: toConverters(MsgCreateDenom) }); -export const useCreateDenom = buildUseMutation({ - builderMutationFn: createCreateDenom -}); export const createMint = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgMint.typeUrl, encoders: toEncoders(MsgMint), converters: toConverters(MsgMint) }); -export const useMint = buildUseMutation({ - builderMutationFn: createMint -}); export const createBurn = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgBurn.typeUrl, encoders: toEncoders(MsgBurn), converters: toConverters(MsgBurn) }); -export const useBurn = buildUseMutation({ - builderMutationFn: createBurn -}); export const createChangeAdmin = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgChangeAdmin.typeUrl, encoders: toEncoders(MsgChangeAdmin), converters: toConverters(MsgChangeAdmin) }); -export const useChangeAdmin = buildUseMutation({ - builderMutationFn: createChangeAdmin -}); export const createSetDenomMetadata = (clientResolver?: SigningClientResolver) => buildTx({ clientResolver, typeUrl: MsgSetDenomMetadata.typeUrl, encoders: toEncoders(MsgSetDenomMetadata), converters: toConverters(MsgSetDenomMetadata) -}); -export const useSetDenomMetadata = buildUseMutation({ - builderMutationFn: createSetDenomMetadata }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.react.ts new file mode 100644 index 0000000000..18ac017fe8 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.react.ts @@ -0,0 +1,18 @@ +import { buildUseMutation } from "../../../react-query"; +import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata } from "./tx"; +import { createCreateDenom, createMint, createBurn, createChangeAdmin, createSetDenomMetadata } from "./tx.rpc.func.ts"; +export const useCreateDenom = buildUseMutation({ + builderMutationFn: createCreateDenom +}); +export const useMint = buildUseMutation({ + builderMutationFn: createMint +}); +export const useBurn = buildUseMutation({ + builderMutationFn: createBurn +}); +export const useChangeAdmin = buildUseMutation({ + builderMutationFn: createChangeAdmin +}); +export const useSetDenomMetadata = buildUseMutation({ + builderMutationFn: createSetDenomMetadata +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.vue.ts new file mode 100644 index 0000000000..a455eb9c81 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/tokenfactory/v1beta1/tx.rpc.vue.ts @@ -0,0 +1,18 @@ +import { buildUseVueMutation } from "../../../vue-query"; +import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata } from "./tx"; +import { createCreateDenom, createMint, createBurn, createChangeAdmin, createSetDenomMetadata } from "./tx.rpc.func.ts"; +export const useCreateDenom = buildUseVueMutation({ + builderMutationFn: createCreateDenom +}); +export const useMint = buildUseVueMutation({ + builderMutationFn: createMint +}); +export const useBurn = buildUseVueMutation({ + builderMutationFn: createBurn +}); +export const useChangeAdmin = buildUseVueMutation({ + builderMutationFn: createChangeAdmin +}); +export const useSetDenomMetadata = buildUseVueMutation({ + builderMutationFn: createSetDenomMetadata +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.func.ts index 8242049c1a..ff7cccf905 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { ParamsRequest, ParamsResponse, ArithmeticTwapRequest, ArithmeticTwapResponse, ArithmeticTwapToNowRequest, ArithmeticTwapToNowResponse } from "./query"; export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ encode: ParamsRequest.encode, @@ -8,10 +7,6 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetParams, - queryKeyPrefix: "ParamsQuery" -}); export const createGetArithmeticTwap = (clientResolver?: RpcResolver) => buildQuery({ encode: ArithmeticTwapRequest.encode, decode: ArithmeticTwapResponse.decode, @@ -19,18 +14,10 @@ export const createGetArithmeticTwap = (clientResolver?: RpcResolver) => buildQu method: "ArithmeticTwap", clientResolver }); -export const useGetArithmeticTwap = buildUseQuery({ - builderQueryFn: createGetArithmeticTwap, - queryKeyPrefix: "ArithmeticTwapQuery" -}); export const createGetArithmeticTwapToNow = (clientResolver?: RpcResolver) => buildQuery({ encode: ArithmeticTwapToNowRequest.encode, decode: ArithmeticTwapToNowResponse.decode, service: "osmosis.twap.v1beta1.Query", method: "ArithmeticTwapToNow", clientResolver -}); -export const useGetArithmeticTwapToNow = buildUseQuery({ - builderQueryFn: createGetArithmeticTwapToNow, - queryKeyPrefix: "ArithmeticTwapToNowQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..c6a881ce1c --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.react.ts @@ -0,0 +1,15 @@ +import { buildUseQuery } from "../../../react-query"; +import { ParamsRequest, ParamsResponse, ArithmeticTwapRequest, ArithmeticTwapResponse, ArithmeticTwapToNowRequest, ArithmeticTwapToNowResponse } from "./query"; +import { createGetParams, createGetArithmeticTwap, createGetArithmeticTwapToNow } from "./query.rpc.func.ts"; +export const useGetParams = buildUseQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetArithmeticTwap = buildUseQuery({ + builderQueryFn: createGetArithmeticTwap, + queryKeyPrefix: "ArithmeticTwapQuery" +}); +export const useGetArithmeticTwapToNow = buildUseQuery({ + builderQueryFn: createGetArithmeticTwapToNow, + queryKeyPrefix: "ArithmeticTwapToNowQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..61c3380cd7 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/twap/v1beta1/query.rpc.vue.ts @@ -0,0 +1,15 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { ParamsRequest, ParamsResponse, ArithmeticTwapRequest, ArithmeticTwapResponse, ArithmeticTwapToNowRequest, ArithmeticTwapToNowResponse } from "./query"; +import { createGetParams, createGetArithmeticTwap, createGetArithmeticTwapToNow } from "./query.rpc.func.ts"; +export const useGetParams = buildUseVueQuery({ + builderQueryFn: createGetParams, + queryKeyPrefix: "ParamsQuery" +}); +export const useGetArithmeticTwap = buildUseVueQuery({ + builderQueryFn: createGetArithmeticTwap, + queryKeyPrefix: "ArithmeticTwapQuery" +}); +export const useGetArithmeticTwapToNow = buildUseVueQuery({ + builderQueryFn: createGetArithmeticTwapToNow, + queryKeyPrefix: "ArithmeticTwapToNowQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.func.ts b/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.func.ts index 6a2f289783..120216d1cf 100644 --- a/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../../helper-func-types"; -import { buildUseQuery } from "../../../react-query"; import { QueryFeeTokensRequest, QueryFeeTokensResponse, QueryDenomSpotPriceRequest, QueryDenomSpotPriceResponse, QueryDenomPoolIdRequest, QueryDenomPoolIdResponse, QueryBaseDenomRequest, QueryBaseDenomResponse } from "./query"; export const createGetFeeTokens = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryFeeTokensRequest.encode, @@ -8,10 +7,6 @@ export const createGetFeeTokens = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetFeeTokens, - queryKeyPrefix: "FeeTokensQuery" -}); export const createGetDenomSpotPrice = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomSpotPriceRequest.encode, decode: QueryDenomSpotPriceResponse.decode, @@ -19,10 +14,6 @@ export const createGetDenomSpotPrice = (clientResolver?: RpcResolver) => buildQu method: "DenomSpotPrice", clientResolver }); -export const useGetDenomSpotPrice = buildUseQuery({ - builderQueryFn: createGetDenomSpotPrice, - queryKeyPrefix: "DenomSpotPriceQuery" -}); export const createGetDenomPoolId = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryDenomPoolIdRequest.encode, decode: QueryDenomPoolIdResponse.decode, @@ -30,18 +21,10 @@ export const createGetDenomPoolId = (clientResolver?: RpcResolver) => buildQuery method: "DenomPoolId", clientResolver }); -export const useGetDenomPoolId = buildUseQuery({ - builderQueryFn: createGetDenomPoolId, - queryKeyPrefix: "DenomPoolIdQuery" -}); export const createGetBaseDenom = (clientResolver?: RpcResolver) => buildQuery({ encode: QueryBaseDenomRequest.encode, decode: QueryBaseDenomResponse.decode, service: "osmosis.txfees.v1beta1.Query", method: "BaseDenom", clientResolver -}); -export const useGetBaseDenom = buildUseQuery({ - builderQueryFn: createGetBaseDenom, - queryKeyPrefix: "BaseDenomQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.react.ts b/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.react.ts new file mode 100644 index 0000000000..ef6203eb83 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.react.ts @@ -0,0 +1,19 @@ +import { buildUseQuery } from "../../../react-query"; +import { QueryFeeTokensRequest, QueryFeeTokensResponse, QueryDenomSpotPriceRequest, QueryDenomSpotPriceResponse, QueryDenomPoolIdRequest, QueryDenomPoolIdResponse, QueryBaseDenomRequest, QueryBaseDenomResponse } from "./query"; +import { createGetFeeTokens, createGetDenomSpotPrice, createGetDenomPoolId, createGetBaseDenom } from "./query.rpc.func.ts"; +export const useGetFeeTokens = buildUseQuery({ + builderQueryFn: createGetFeeTokens, + queryKeyPrefix: "FeeTokensQuery" +}); +export const useGetDenomSpotPrice = buildUseQuery({ + builderQueryFn: createGetDenomSpotPrice, + queryKeyPrefix: "DenomSpotPriceQuery" +}); +export const useGetDenomPoolId = buildUseQuery({ + builderQueryFn: createGetDenomPoolId, + queryKeyPrefix: "DenomPoolIdQuery" +}); +export const useGetBaseDenom = buildUseQuery({ + builderQueryFn: createGetBaseDenom, + queryKeyPrefix: "BaseDenomQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.vue.ts b/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.vue.ts new file mode 100644 index 0000000000..0fe711c20c --- /dev/null +++ b/__fixtures__/v-next/outputicjs/osmosis/txfees/v1beta1/query.rpc.vue.ts @@ -0,0 +1,19 @@ +import { buildUseVueQuery } from "../../../vue-query"; +import { QueryFeeTokensRequest, QueryFeeTokensResponse, QueryDenomSpotPriceRequest, QueryDenomSpotPriceResponse, QueryDenomPoolIdRequest, QueryDenomPoolIdResponse, QueryBaseDenomRequest, QueryBaseDenomResponse } from "./query"; +import { createGetFeeTokens, createGetDenomSpotPrice, createGetDenomPoolId, createGetBaseDenom } from "./query.rpc.func.ts"; +export const useGetFeeTokens = buildUseVueQuery({ + builderQueryFn: createGetFeeTokens, + queryKeyPrefix: "FeeTokensQuery" +}); +export const useGetDenomSpotPrice = buildUseVueQuery({ + builderQueryFn: createGetDenomSpotPrice, + queryKeyPrefix: "DenomSpotPriceQuery" +}); +export const useGetDenomPoolId = buildUseVueQuery({ + builderQueryFn: createGetDenomPoolId, + queryKeyPrefix: "DenomPoolIdQuery" +}); +export const useGetBaseDenom = buildUseVueQuery({ + builderQueryFn: createGetBaseDenom, + queryKeyPrefix: "BaseDenomQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.func.ts b/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.func.ts index e3404061a7..9e49967db6 100644 --- a/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.func.ts +++ b/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.func.ts @@ -1,5 +1,4 @@ import { RpcResolver, buildQuery } from "../../helper-func-types"; -import { buildUseQuery } from "../../react-query"; import { RequestEcho, ResponseEcho, RequestFlush, ResponseFlush, RequestInfo, ResponseInfo, RequestSetOption, ResponseSetOption, RequestDeliverTx, ResponseDeliverTx, RequestCheckTx, ResponseCheckTx, RequestQuery, ResponseQuery, RequestCommit, ResponseCommit, RequestInitChain, ResponseInitChain, RequestBeginBlock, ResponseBeginBlock, RequestEndBlock, ResponseEndBlock, RequestListSnapshots, ResponseListSnapshots, RequestOfferSnapshot, ResponseOfferSnapshot, RequestLoadSnapshotChunk, ResponseLoadSnapshotChunk, RequestApplySnapshotChunk, ResponseApplySnapshotChunk } from "./types"; export const createGetEcho = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestEcho.encode, @@ -8,10 +7,6 @@ export const createGetEcho = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetEcho, - queryKeyPrefix: "EchoQuery" -}); export const createGetFlush = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestFlush.encode, decode: ResponseFlush.decode, @@ -19,10 +14,6 @@ export const createGetFlush = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetFlush, - queryKeyPrefix: "FlushQuery" -}); export const createGetInfo = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestInfo.encode, decode: ResponseInfo.decode, @@ -30,10 +21,6 @@ export const createGetInfo = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetInfo, - queryKeyPrefix: "InfoQuery" -}); export const createGetSetOption = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestSetOption.encode, decode: ResponseSetOption.decode, @@ -41,10 +28,6 @@ export const createGetSetOption = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetSetOption, - queryKeyPrefix: "SetOptionQuery" -}); export const createGetDeliverTx = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestDeliverTx.encode, decode: ResponseDeliverTx.decode, @@ -52,10 +35,6 @@ export const createGetDeliverTx = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetDeliverTx, - queryKeyPrefix: "DeliverTxQuery" -}); export const createGetCheckTx = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestCheckTx.encode, decode: ResponseCheckTx.decode, @@ -63,10 +42,6 @@ export const createGetCheckTx = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetCheckTx, - queryKeyPrefix: "CheckTxQuery" -}); export const createGetQuery = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestQuery.encode, decode: ResponseQuery.decode, @@ -74,10 +49,6 @@ export const createGetQuery = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetQuery, - queryKeyPrefix: "QueryQuery" -}); export const createGetCommit = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestCommit.encode, decode: ResponseCommit.decode, @@ -85,10 +56,6 @@ export const createGetCommit = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetCommit, - queryKeyPrefix: "CommitQuery" -}); export const createGetInitChain = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestInitChain.encode, decode: ResponseInitChain.decode, @@ -96,10 +63,6 @@ export const createGetInitChain = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetInitChain, - queryKeyPrefix: "InitChainQuery" -}); export const createGetBeginBlock = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestBeginBlock.encode, decode: ResponseBeginBlock.decode, @@ -107,10 +70,6 @@ export const createGetBeginBlock = (clientResolver?: RpcResolver) => buildQuery< method: "BeginBlock", clientResolver }); -export const useGetBeginBlock = buildUseQuery({ - builderQueryFn: createGetBeginBlock, - queryKeyPrefix: "BeginBlockQuery" -}); export const createGetEndBlock = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestEndBlock.encode, decode: ResponseEndBlock.decode, @@ -118,10 +77,6 @@ export const createGetEndBlock = (clientResolver?: RpcResolver) => buildQuery({ - builderQueryFn: createGetEndBlock, - queryKeyPrefix: "EndBlockQuery" -}); export const createGetListSnapshots = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestListSnapshots.encode, decode: ResponseListSnapshots.decode, @@ -129,10 +84,6 @@ export const createGetListSnapshots = (clientResolver?: RpcResolver) => buildQue method: "ListSnapshots", clientResolver }); -export const useGetListSnapshots = buildUseQuery({ - builderQueryFn: createGetListSnapshots, - queryKeyPrefix: "ListSnapshotsQuery" -}); export const createGetOfferSnapshot = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestOfferSnapshot.encode, decode: ResponseOfferSnapshot.decode, @@ -140,10 +91,6 @@ export const createGetOfferSnapshot = (clientResolver?: RpcResolver) => buildQue method: "OfferSnapshot", clientResolver }); -export const useGetOfferSnapshot = buildUseQuery({ - builderQueryFn: createGetOfferSnapshot, - queryKeyPrefix: "OfferSnapshotQuery" -}); export const createGetLoadSnapshotChunk = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestLoadSnapshotChunk.encode, decode: ResponseLoadSnapshotChunk.decode, @@ -151,18 +98,10 @@ export const createGetLoadSnapshotChunk = (clientResolver?: RpcResolver) => buil method: "LoadSnapshotChunk", clientResolver }); -export const useGetLoadSnapshotChunk = buildUseQuery({ - builderQueryFn: createGetLoadSnapshotChunk, - queryKeyPrefix: "LoadSnapshotChunkQuery" -}); export const createGetApplySnapshotChunk = (clientResolver?: RpcResolver) => buildQuery({ encode: RequestApplySnapshotChunk.encode, decode: ResponseApplySnapshotChunk.decode, service: "tendermint.abci.ABCIApplication", method: "ApplySnapshotChunk", clientResolver -}); -export const useGetApplySnapshotChunk = buildUseQuery({ - builderQueryFn: createGetApplySnapshotChunk, - queryKeyPrefix: "ApplySnapshotChunkQuery" }); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.react.ts b/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.react.ts new file mode 100644 index 0000000000..47665fd1ba --- /dev/null +++ b/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.react.ts @@ -0,0 +1,63 @@ +import { buildUseQuery } from "../../react-query"; +import { RequestEcho, ResponseEcho, RequestFlush, ResponseFlush, RequestInfo, ResponseInfo, RequestSetOption, ResponseSetOption, RequestDeliverTx, ResponseDeliverTx, RequestCheckTx, ResponseCheckTx, RequestQuery, ResponseQuery, RequestCommit, ResponseCommit, RequestInitChain, ResponseInitChain, RequestBeginBlock, ResponseBeginBlock, RequestEndBlock, ResponseEndBlock, RequestListSnapshots, ResponseListSnapshots, RequestOfferSnapshot, ResponseOfferSnapshot, RequestLoadSnapshotChunk, ResponseLoadSnapshotChunk, RequestApplySnapshotChunk, ResponseApplySnapshotChunk } from "./types"; +import { createGetEcho, createGetFlush, createGetInfo, createGetSetOption, createGetDeliverTx, createGetCheckTx, createGetQuery, createGetCommit, createGetInitChain, createGetBeginBlock, createGetEndBlock, createGetListSnapshots, createGetOfferSnapshot, createGetLoadSnapshotChunk, createGetApplySnapshotChunk } from "./types.rpc.func.ts"; +export const useGetEcho = buildUseQuery({ + builderQueryFn: createGetEcho, + queryKeyPrefix: "EchoQuery" +}); +export const useGetFlush = buildUseQuery({ + builderQueryFn: createGetFlush, + queryKeyPrefix: "FlushQuery" +}); +export const useGetInfo = buildUseQuery({ + builderQueryFn: createGetInfo, + queryKeyPrefix: "InfoQuery" +}); +export const useGetSetOption = buildUseQuery({ + builderQueryFn: createGetSetOption, + queryKeyPrefix: "SetOptionQuery" +}); +export const useGetDeliverTx = buildUseQuery({ + builderQueryFn: createGetDeliverTx, + queryKeyPrefix: "DeliverTxQuery" +}); +export const useGetCheckTx = buildUseQuery({ + builderQueryFn: createGetCheckTx, + queryKeyPrefix: "CheckTxQuery" +}); +export const useGetQuery = buildUseQuery({ + builderQueryFn: createGetQuery, + queryKeyPrefix: "QueryQuery" +}); +export const useGetCommit = buildUseQuery({ + builderQueryFn: createGetCommit, + queryKeyPrefix: "CommitQuery" +}); +export const useGetInitChain = buildUseQuery({ + builderQueryFn: createGetInitChain, + queryKeyPrefix: "InitChainQuery" +}); +export const useGetBeginBlock = buildUseQuery({ + builderQueryFn: createGetBeginBlock, + queryKeyPrefix: "BeginBlockQuery" +}); +export const useGetEndBlock = buildUseQuery({ + builderQueryFn: createGetEndBlock, + queryKeyPrefix: "EndBlockQuery" +}); +export const useGetListSnapshots = buildUseQuery({ + builderQueryFn: createGetListSnapshots, + queryKeyPrefix: "ListSnapshotsQuery" +}); +export const useGetOfferSnapshot = buildUseQuery({ + builderQueryFn: createGetOfferSnapshot, + queryKeyPrefix: "OfferSnapshotQuery" +}); +export const useGetLoadSnapshotChunk = buildUseQuery({ + builderQueryFn: createGetLoadSnapshotChunk, + queryKeyPrefix: "LoadSnapshotChunkQuery" +}); +export const useGetApplySnapshotChunk = buildUseQuery({ + builderQueryFn: createGetApplySnapshotChunk, + queryKeyPrefix: "ApplySnapshotChunkQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.vue.ts b/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.vue.ts new file mode 100644 index 0000000000..66e6ab96cf --- /dev/null +++ b/__fixtures__/v-next/outputicjs/tendermint/abci/types.rpc.vue.ts @@ -0,0 +1,63 @@ +import { buildUseVueQuery } from "../../vue-query"; +import { RequestEcho, ResponseEcho, RequestFlush, ResponseFlush, RequestInfo, ResponseInfo, RequestSetOption, ResponseSetOption, RequestDeliverTx, ResponseDeliverTx, RequestCheckTx, ResponseCheckTx, RequestQuery, ResponseQuery, RequestCommit, ResponseCommit, RequestInitChain, ResponseInitChain, RequestBeginBlock, ResponseBeginBlock, RequestEndBlock, ResponseEndBlock, RequestListSnapshots, ResponseListSnapshots, RequestOfferSnapshot, ResponseOfferSnapshot, RequestLoadSnapshotChunk, ResponseLoadSnapshotChunk, RequestApplySnapshotChunk, ResponseApplySnapshotChunk } from "./types"; +import { createGetEcho, createGetFlush, createGetInfo, createGetSetOption, createGetDeliverTx, createGetCheckTx, createGetQuery, createGetCommit, createGetInitChain, createGetBeginBlock, createGetEndBlock, createGetListSnapshots, createGetOfferSnapshot, createGetLoadSnapshotChunk, createGetApplySnapshotChunk } from "./types.rpc.func.ts"; +export const useGetEcho = buildUseVueQuery({ + builderQueryFn: createGetEcho, + queryKeyPrefix: "EchoQuery" +}); +export const useGetFlush = buildUseVueQuery({ + builderQueryFn: createGetFlush, + queryKeyPrefix: "FlushQuery" +}); +export const useGetInfo = buildUseVueQuery({ + builderQueryFn: createGetInfo, + queryKeyPrefix: "InfoQuery" +}); +export const useGetSetOption = buildUseVueQuery({ + builderQueryFn: createGetSetOption, + queryKeyPrefix: "SetOptionQuery" +}); +export const useGetDeliverTx = buildUseVueQuery({ + builderQueryFn: createGetDeliverTx, + queryKeyPrefix: "DeliverTxQuery" +}); +export const useGetCheckTx = buildUseVueQuery({ + builderQueryFn: createGetCheckTx, + queryKeyPrefix: "CheckTxQuery" +}); +export const useGetQuery = buildUseVueQuery({ + builderQueryFn: createGetQuery, + queryKeyPrefix: "QueryQuery" +}); +export const useGetCommit = buildUseVueQuery({ + builderQueryFn: createGetCommit, + queryKeyPrefix: "CommitQuery" +}); +export const useGetInitChain = buildUseVueQuery({ + builderQueryFn: createGetInitChain, + queryKeyPrefix: "InitChainQuery" +}); +export const useGetBeginBlock = buildUseVueQuery({ + builderQueryFn: createGetBeginBlock, + queryKeyPrefix: "BeginBlockQuery" +}); +export const useGetEndBlock = buildUseVueQuery({ + builderQueryFn: createGetEndBlock, + queryKeyPrefix: "EndBlockQuery" +}); +export const useGetListSnapshots = buildUseVueQuery({ + builderQueryFn: createGetListSnapshots, + queryKeyPrefix: "ListSnapshotsQuery" +}); +export const useGetOfferSnapshot = buildUseVueQuery({ + builderQueryFn: createGetOfferSnapshot, + queryKeyPrefix: "OfferSnapshotQuery" +}); +export const useGetLoadSnapshotChunk = buildUseVueQuery({ + builderQueryFn: createGetLoadSnapshotChunk, + queryKeyPrefix: "LoadSnapshotChunkQuery" +}); +export const useGetApplySnapshotChunk = buildUseVueQuery({ + builderQueryFn: createGetApplySnapshotChunk, + queryKeyPrefix: "ApplySnapshotChunkQuery" +}); \ No newline at end of file diff --git a/__fixtures__/v-next/outputicjs/vue-query.ts b/__fixtures__/v-next/outputicjs/vue-query.ts new file mode 100644 index 0000000000..279cca9598 --- /dev/null +++ b/__fixtures__/v-next/outputicjs/vue-query.ts @@ -0,0 +1,255 @@ +/** +* This file and any referenced files were automatically generated by @cosmology/telescope@latest +* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain +* and run the transpile command or npm scripts command that is used to regenerate this bundle. +*/ + + + + +import { getRpcClient } from './extern' +import { + isRpc, + Rpc, +} from './helpers' +import { + ITxArgs, + ISigningClient, + StdFee, + DeliverTxResponse, + SigningClientResolver, + RpcResolver, + isISigningClient +} from './helper-func-types' +import { + useQuery, + useQueryClient, + UseQueryOptions, + useMutation, + UseMutationOptions, + QueryKey, +} from '@tanstack/vue-query'; + +import { HttpEndpoint, ProtobufRpcClient } from '@cosmjs/stargate'; +import { Tendermint34Client } from '@cosmjs/tendermint-rpc'; +import {Ref} from 'vue' + +export const DEFAULT_RPC_CLIENT_QUERY_KEY = 'rpcClient'; +export const DEFAULT_RPC_ENDPOINT_QUERY_KEY = 'rpcEndPoint'; +export const DEFAULT_SIGNING_CLIENT_QUERY_KEY = 'signingClient'; + +export interface CacheResolver { + rpcEndpoint?: string | HttpEndpoint; + clientQueryKey?: string; +} + +export function isCacheResolver(resolver: unknown): resolver is CacheResolver { + return ( + resolver !== null && + resolver !== undefined && + (resolver as CacheResolver).rpcEndpoint !== undefined && + (resolver as CacheResolver).clientQueryKey !== undefined + ); +} + +export interface VueQueryParams { + options?: UseQueryOptions; +} + +export interface UseRpcClientQuery extends VueQueryParams { + clientResolver?: CacheResolver; +} + +export interface UseRpcEndpointQuery extends VueQueryParams { + getter: () => Promise; + rpcEndPointKey?: string; + extraKey?: string +} + +export function useRpcEndpoint({ + getter, + options, + rpcEndPointKey, + extraKey, +}: UseRpcEndpointQuery) { + const key = rpcEndPointKey || DEFAULT_RPC_ENDPOINT_QUERY_KEY; + return useQuery( + { + queryKey: [key, extraKey], + queryFn: async () => { + return await getter(); + }, ...options + } + ); +}; + +export function useRpcClient({ + options, + clientResolver, +}: UseRpcClientQuery) { + const queryClient = useQueryClient(); + + const key = clientResolver?.clientQueryKey || DEFAULT_RPC_CLIENT_QUERY_KEY; + return useQuery({ + queryKey: [key, clientResolver?.rpcEndpoint], + queryFn: async () => { + if (!clientResolver?.rpcEndpoint) { + throw new Error('rpcEndpoint is required'); + } + + const client = await getRpcClient(clientResolver.rpcEndpoint); + if (!client) { + throw new Error('Failed to connect to rpc client'); + } + + queryClient.setQueryData([key], client); + + return client; + }, + ...options + } + ); +} + +interface UseTendermintClient extends VueQueryParams { + rpcEndpoint: string | HttpEndpoint; +} + +/** + * Function that uses vue-query to cache a connected tendermint client. + */ +export function useTendermintClient = ({ + rpcEndpoint, + options, +}: UseTendermintClient) => { + const { data: client } = useQuery({ + queryKey: ['client', 'tendermint', rpcEndpoint], + queryFn: () => Tendermint34Client.connect(rpcEndpoint), + ...{ + // allow overriding + onError: (e: any) => { + throw new Error(`Failed to connect to ${rpcEndpoint}` + '\n' + e) + }, + ...options, + } + } + ); + return { client }; +}; + +export interface UseQueryBuilderOptions { + builderQueryFn: ( + clientResolver?: RpcResolver + ) => (request: TReq) => Promise; + queryKeyPrefix: string; +} + +export function buildUseVueQuery( + opts: UseQueryBuilderOptions +) { + return function useBuiltQuery({ + request, + options, + clientResolver, + customizedQueryKey, + }: UseQueryParams) { + const queryClient = useQueryClient(); + let rpcResolver: RpcResolver | undefined; + if (isRpc(clientResolver)) { + rpcResolver = clientResolver; + + } else if (isCacheResolver(clientResolver)) { + const key = clientResolver.clientQueryKey || DEFAULT_RPC_CLIENT_QUERY_KEY; + const queryKey = clientResolver.rpcEndpoint + ? [key, clientResolver.rpcEndpoint] + : [key]; + rpcResolver = queryClient.getQueryData(queryKey); + + if (!rpcResolver && clientResolver.rpcEndpoint) { + rpcResolver = clientResolver.rpcEndpoint; + } + } else { + rpcResolver = clientResolver; + + } + + const queryFn = opts.builderQueryFn(rpcResolver); + return useQuery({ + queryKey: customizedQueryKey || [opts.queryKeyPrefix, request], + queryFn: () => queryFn(request.value), + ...options + } + ); + }; +} + +export interface UseQueryParams + extends VueQueryParams { + request: Ref; + clientResolver?: CacheResolver | RpcResolver; + customizedQueryKey?: QueryKey; +} + +export interface VueMutationParams< + TData, + TError, + TVariables, + TContext = unknown +> { + options?: UseMutationOptions; + clientResolver?: CacheResolver | SigningClientResolver; +} + +export interface UseMutationBuilderOptions { + builderMutationFn: ( + clientResolver?: SigningClientResolver + ) => ( + signerAddress: string, + message: TMsg, + fee: StdFee | 'auto', + memo: string + ) => Promise; +} + +export function buildUseVueMutation( + opts: UseMutationBuilderOptions +) { + return function useBuiltMutation({ + options, + clientResolver, + }: VueMutationParams>) { + const queryClient = useQueryClient(); + + let signingClientResolver: SigningClientResolver | undefined; + + if (isISigningClient(clientResolver)) { + signingClientResolver = clientResolver; + } else if (isCacheResolver(clientResolver)) { + const key = + clientResolver.clientQueryKey || DEFAULT_SIGNING_CLIENT_QUERY_KEY; + const queryKey = clientResolver.rpcEndpoint + ? [key, clientResolver.rpcEndpoint] + : [key]; + signingClientResolver = queryClient.getQueryData( + queryKey + ); + } else { + clientResolver = clientResolver; + } + + const mutationFn = opts.builderMutationFn(signingClientResolver); + + return useMutation>( + { + mutationFn: (reqData: ITxArgs) => + mutationFn( + reqData.signerAddress, + reqData.message, + reqData.fee, + reqData.memo + ), + ...options + } + ); + }; +} diff --git a/docs/tree-shakable-hooks.md b/docs/tree-shakable-hooks.md new file mode 100644 index 0000000000..40ea7b07b4 --- /dev/null +++ b/docs/tree-shakable-hooks.md @@ -0,0 +1,103 @@ +# Guide to Generating Tree-Shakable Hooks + +We are planning to **deprecate the `reactQuery` option** in the Telescope options. Instead, we are introducing **tree-shakable hooks** to replace the functionality. This guide explains how to enable and use the new hooks. + +--- + +## Overview +Tree-shakable hooks are available for both **React** and **Vue**. These hooks are designed to improve modularity and optimize performance by allowing you to import only the functionality you need. + +--- + +## Enabling Tree-Shakable Hooks + +To enable the generation of tree-shakable hooks, configure the `TelescopeOptions` as follows: + +```typescript +TelescopeOptions: { + ..., + helperFunctions?: { + ..., + hooks?: { + react: boolean; + vue?: boolean; + }; + }; +} +``` + +### **React** +Set `TelescopeOptions.helperFunctions.hooks.react` to `true`. + +### **Vue** +Set `TelescopeOptions.helperFunctions.hooks.vue` to `true`. + +--- + +## Generated Files + +When enabled, the following files will be generated in the respective directories of each package: + +- **React Query File**: + `v-next/outputhelperfunc/cosmos/react-query` +- **Vue Query File**: + `v-next/outputhelperfunc/cosmos/vue-query` + +Additionally, subdirectory files will be generated for specific modules, such as: + +- `v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.func.ts` +- `v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.react.ts` +- `v-next/outputhelperfunc/cosmos/bank/v1beta1/query.rpc.vue.ts` + +--- + +## File Details + +### **1. `query.rpc.func.ts`** +This file contains shared functions that can be used by both React and Vue hooks. For example: + +```typescript +export const createGetBalance = (clientResolver?: RpcResolver) => + buildQuery({ + encode: QueryBalanceRequest.encode, + decode: QueryBalanceResponse.decode, + service: "cosmos.bank.v1beta1.Query", + method: "Balance", + clientResolver, + deps: [QueryBalanceRequest, QueryBalanceResponse], + }); +``` + +--- + +### **2. `query.rpc.react.ts`** +This file contains React-specific hooks. Example: + +```typescript +export const useGetBalance = buildUseQuery({ + builderQueryFn: createGetBalance, + queryKeyPrefix: "BalanceQuery", +}); +``` + +--- + +### **3. `query.rpc.vue.ts`** +This file contains Vue-specific hooks. Example: + +```typescript +export const useGetBalance = buildUseVueQuery({ + builderQueryFn: createGetBalance, + queryKeyPrefix: "BalanceQuery", +}); +``` + +--- + +## Advantages of Tree-Shakable Hooks + +1. **Modularity**: Single functionality can be invoked independently. +2. **Improved Performance**: Reduces the need for large, bloated objects with unwanted properties. +3. **Framework-Specific**: Provides optimized hooks tailored for React and Vue. + +By adopting this approach, you can ensure cleaner, more maintainable, and efficient code. diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000000..485e6fa6c0 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,19033 @@ +{ + "name": "telescope", + "version": "0.0.1", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "telescope", + "version": "0.0.1", + "workspaces": [ + "packages/*" + ], + "dependencies": { + "@jest/transform": "29.5.0" + }, + "devDependencies": { + "@cosmjs/amino": "^0.32.0", + "@cosmjs/proto-signing": "^0.32.0", + "@cosmjs/stargate": "^0.32.0", + "@cosmjs/tendermint-rpc": "^0.32.0", + "@interchainjs/cosmos": "0.0.1-beta.14", + "@keplr-wallet/unit": "^0.12.53", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "jest": "29.5.0", + "lerna": "7.0.2", + "prettier": "2.8.7" + } + }, + "node_modules/@adraffy/ens-normalize": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@ampproject/remapping": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", + "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", + "license": "MIT", + "dependencies": { + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/code-frame/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.3.tgz", + "integrity": "sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz", + "integrity": "sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw==", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.10", + "@babel/helper-compilation-targets": "^7.18.9", + "@babel/helper-module-transforms": "^7.18.9", + "@babel/helpers": "^7.18.9", + "@babel/parser": "^7.18.10", + "@babel/template": "^7.18.10", + "@babel/traverse": "^7.18.10", + "@babel/types": "^7.18.10", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.23.6", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", + "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.5.tgz", + "integrity": "sha512-m1EP3lVOPptR+2DwD125gziZNcmoNSHGmJROKoy87loWUQyJaVXDgpmruWqDARZSmtYQ+Dl25okU8+qhVzuykw==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", + "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "license": "ISC" + }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.5.tgz", + "integrity": "sha512-xkb58MyOYIslxu3gKmVXmjTtUPvBU4odYzbiIQbWwLKIHCsx6UGZGX6F1IznMFVnDdirseUZopzN+ZRt8Xb33Q==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.5", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.5.tgz", + "integrity": "sha512-1VpEFOIbMRaXyDeUwUfmTIxExLwQ+zkW+Bh5zXpApA3oQedBx9v/updixWxnx/bZpKw7u8VxWjb/qWpIcmPq8A==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "regexpu-core": "^5.3.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz", + "integrity": "sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==", + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.17.7", + "@babel/helper-plugin-utils": "^7.16.7", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0-0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.22.5.tgz", + "integrity": "sha512-aBiH1NKMG0H2cGZqspNvsaBe6wNGjbJjuLy29aU+eDZjSbbN53BaxlpB02xm9v34pLTZ1nIQPFYn2qMZoa5BQQ==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", + "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/helper-module-transforms/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz", + "integrity": "sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", + "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.5.tgz", + "integrity": "sha512-cU0Sq1Rf4Z55fgz7haOakIyM7+x/uCFwXpLPaeRzfoUtAEAuUZjZvFPjL/rk5rW693dIgn2hng1W7xbT7lWT4g==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-wrap-function": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.22.5.tgz", + "integrity": "sha512-aLdNM5I3kdI/V9xGNyKSF3X/gTyMUBohTZ+/3QdQKAA9vxIiy12E+8E2HoOP1/DjeqU+g6as35QHJNMDDYpuCg==", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", + "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz", + "integrity": "sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", + "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.22.5.tgz", + "integrity": "sha512-bYqLIBSEshYcYQyfks8ewYA8S30yaGSeRslcvKMvoUk6HHPySbxHq9YRi6ghhzEU+yhQv9bP/jXnygkStOcqZw==", + "license": "MIT", + "dependencies": { + "@babel/helper-function-name": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.2.tgz", + "integrity": "sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.2", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.5.tgz", + "integrity": "sha512-NP1M5Rf+u2Gw9qfSO4ihjcTGW5zXTi36ITLd4/EoAcEhIZ0yjMqmftDNl3QC19CX7olhrjpyU454g/2W7X0jvQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.22.5.tgz", + "integrity": "sha512-31Bb65aZaUwqCbWMnZPduIZxCBngHFlzyN6Dq6KAJjtx+lx6ohKHubc61OomYi7XwVD4Ol0XCVz4h+pYFR048g==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "node_modules/@babel/plugin-proposal-async-generator-functions": { + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz", + "integrity": "sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-remap-async-to-generator": "^7.18.9", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-class-properties": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz", + "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-class-static-block": { + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz", + "integrity": "sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.21.0", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "node_modules/@babel/plugin-proposal-dynamic-import": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz", + "integrity": "sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-export-default-from": { + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz", + "integrity": "sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.9", + "@babel/plugin-syntax-export-default-from": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-export-namespace-from": { + "version": "7.18.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz", + "integrity": "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.9", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-json-strings": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz", + "integrity": "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz", + "integrity": "sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz", + "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-numeric-separator": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz", + "integrity": "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-object-rest-spread": { + "version": "7.18.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz", + "integrity": "sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.18.8", + "@babel/helper-compilation-targets": "^7.18.9", + "@babel/helper-plugin-utils": "^7.18.9", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.18.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-optional-catch-binding": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz", + "integrity": "sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-optional-chaining": { + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz", + "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-methods": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz", + "integrity": "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.21.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.11.tgz", + "integrity": "sha512-0QZ8qP/3RLDVBwBFoWAwCtgcDZJVwA5LUJRZU8x2YFfKNuFq161wK3cuGrALu5yiPu+vzwTAg/sMWVNeWeNyaw==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.18.6", + "@babel/helper-create-class-features-plugin": "^7.21.0", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-unicode-property-regex": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz", + "integrity": "sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-async-generators/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-async-generators/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-class-properties/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-class-properties/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-export-default-from": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.22.5.tgz", + "integrity": "sha512-ODAqWWXB/yReh/jVQDag/3/tl6lgBueQkk/TcfW/59Oykm4c8a55XloX0CTk2k2VJiFWMgHby9xNX29IbCv9dQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.22.5.tgz", + "integrity": "sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-json-strings/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-json-strings/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz", + "integrity": "sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-jsx/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-jsx/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-jsx/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-numeric-separator/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-object-rest-spread/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-optional-chaining/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-top-level-await/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-syntax-typescript": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz", + "integrity": "sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-typescript/node_modules/@babel/core": { + "version": "7.23.3", + "license": "MIT", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/plugin-syntax-typescript/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT", + "peer": true + }, + "node_modules/@babel/plugin-syntax-typescript/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz", + "integrity": "sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.22.5.tgz", + "integrity": "sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.22.5.tgz", + "integrity": "sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.22.5.tgz", + "integrity": "sha512-EcACl1i5fSQ6bt+YGuU/XGCeZKStLmyVGytWkpyhCLeQVA0eu6Wtiw92V+I1T/hnezUv7j74dA/Ro69gWcU+hg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-classes": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.5.tgz", + "integrity": "sha512-2edQhLfibpWpsVBx2n/GKOz6JdGQvLruZQfGr9l1qes2KQaWswjBzhQF7UDUZMNaMMQeYnQzxwOMPsbYF7wqPQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.5", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz", + "integrity": "sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/template": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.5.tgz", + "integrity": "sha512-GfqcFuGW8vnEqTUBM7UtPd5A4q797LTvvwKxXTgRsFjoqaJiEg9deBG6kWeQYkVEL569NpnmpC0Pkr/8BLKGnQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.22.5.tgz", + "integrity": "sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.22.5.tgz", + "integrity": "sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.22.5.tgz", + "integrity": "sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==", + "license": "MIT", + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.5.tgz", + "integrity": "sha512-3kxQjX1dU9uudwSshyLeEipvrLjBCVthCgeTp6CzE/9JYrlAIaeekVxRpCWsDDfYTfRZRoCeZatCQvwo+wvK8A==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.22.5.tgz", + "integrity": "sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==", + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-literals": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz", + "integrity": "sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz", + "integrity": "sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.22.5.tgz", + "integrity": "sha512-R+PTfLTcYEmb1+kK7FNkhQ1gP4KgjpSO6HfH9+f8/yfp2Nt3ggBjiVpRwmwTlfqZLafYKJACy36yDXlEmI9HjQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.22.5.tgz", + "integrity": "sha512-B4pzOXj+ONRmuaQTg05b3y/4DuFz3WcCNAXPLb2Q0GT0TrGKGxNKV4jwsXts+StaM0LQczZbOpj8o1DLPDJIiA==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.22.5.tgz", + "integrity": "sha512-emtEpoaTMsOs6Tzz+nbmcePl6AKVtS1yC4YNAeMun9U8YCsgadPNxnOPQ8GhHFB2qdx+LZu9LgoC0Lthuu05DQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.22.5.tgz", + "integrity": "sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz", + "integrity": "sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-new-target": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.22.5.tgz", + "integrity": "sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-super": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz", + "integrity": "sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.22.5.tgz", + "integrity": "sha512-AconbMKOMkyG+xCng2JogMCDcqW8wedQAqpVIL4cOSescZ7+iW8utC6YDZLMCSUIReEA733gzRSaOSXMAt/4WQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.5.tgz", + "integrity": "sha512-AVkFUBurORBREOmHRKo06FjHYgjrabpdqRSwq6+C7R5iTCZOsM4QbcB27St0a4U6fffyAOqh3s/qEfybAhfivg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-property-literals": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz", + "integrity": "sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-regenerator": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.5.tgz", + "integrity": "sha512-rR7KePOE7gfEtNTh9Qw+iO3Q/e4DEsoQ+hdvM6QUDH7JRJ5qxq5AA52ZzBWbI5i9lfNuvySgOGP8ZN7LAmaiPw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "regenerator-transform": "^0.15.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.22.5.tgz", + "integrity": "sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz", + "integrity": "sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.9", + "babel-plugin-polyfill-corejs2": "^0.3.2", + "babel-plugin-polyfill-corejs3": "^0.5.3", + "babel-plugin-polyfill-regenerator": "^0.4.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.22.5.tgz", + "integrity": "sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-spread": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.22.5.tgz", + "integrity": "sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.22.5.tgz", + "integrity": "sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.22.5.tgz", + "integrity": "sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz", + "integrity": "sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typescript": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.22.5.tgz", + "integrity": "sha512-SMubA9S7Cb5sGSFFUlqxyClTA9zWJ8qGQrppNUm05LtFuN1ELRFNndkix4zUJrC9F+YivWwa1dHMSyo0e0N9dA==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-typescript": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.5.tgz", + "integrity": "sha512-biEmVg1IYB/raUO5wT1tgfacCef15Fbzhkx493D3urBI++6hpJ+RFG4SrWMn0NEZLfvilqKf3QDrRVZHo08FYg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz", + "integrity": "sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env": { + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz", + "integrity": "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.18.8", + "@babel/helper-compilation-targets": "^7.18.9", + "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-validator-option": "^7.18.6", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9", + "@babel/plugin-proposal-async-generator-functions": "^7.18.10", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-proposal-class-static-block": "^7.18.6", + "@babel/plugin-proposal-dynamic-import": "^7.18.6", + "@babel/plugin-proposal-export-namespace-from": "^7.18.9", + "@babel/plugin-proposal-json-strings": "^7.18.6", + "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", + "@babel/plugin-proposal-numeric-separator": "^7.18.6", + "@babel/plugin-proposal-object-rest-spread": "^7.18.9", + "@babel/plugin-proposal-optional-catch-binding": "^7.18.6", + "@babel/plugin-proposal-optional-chaining": "^7.18.9", + "@babel/plugin-proposal-private-methods": "^7.18.6", + "@babel/plugin-proposal-private-property-in-object": "^7.18.6", + "@babel/plugin-proposal-unicode-property-regex": "^7.18.6", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-import-assertions": "^7.18.6", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.18.6", + "@babel/plugin-transform-async-to-generator": "^7.18.6", + "@babel/plugin-transform-block-scoped-functions": "^7.18.6", + "@babel/plugin-transform-block-scoping": "^7.18.9", + "@babel/plugin-transform-classes": "^7.18.9", + "@babel/plugin-transform-computed-properties": "^7.18.9", + "@babel/plugin-transform-destructuring": "^7.18.9", + "@babel/plugin-transform-dotall-regex": "^7.18.6", + "@babel/plugin-transform-duplicate-keys": "^7.18.9", + "@babel/plugin-transform-exponentiation-operator": "^7.18.6", + "@babel/plugin-transform-for-of": "^7.18.8", + "@babel/plugin-transform-function-name": "^7.18.9", + "@babel/plugin-transform-literals": "^7.18.9", + "@babel/plugin-transform-member-expression-literals": "^7.18.6", + "@babel/plugin-transform-modules-amd": "^7.18.6", + "@babel/plugin-transform-modules-commonjs": "^7.18.6", + "@babel/plugin-transform-modules-systemjs": "^7.18.9", + "@babel/plugin-transform-modules-umd": "^7.18.6", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6", + "@babel/plugin-transform-new-target": "^7.18.6", + "@babel/plugin-transform-object-super": "^7.18.6", + "@babel/plugin-transform-parameters": "^7.18.8", + "@babel/plugin-transform-property-literals": "^7.18.6", + "@babel/plugin-transform-regenerator": "^7.18.6", + "@babel/plugin-transform-reserved-words": "^7.18.6", + "@babel/plugin-transform-shorthand-properties": "^7.18.6", + "@babel/plugin-transform-spread": "^7.18.9", + "@babel/plugin-transform-sticky-regex": "^7.18.6", + "@babel/plugin-transform-template-literals": "^7.18.9", + "@babel/plugin-transform-typeof-symbol": "^7.18.9", + "@babel/plugin-transform-unicode-escapes": "^7.18.10", + "@babel/plugin-transform-unicode-regex": "^7.18.6", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.18.10", + "babel-plugin-polyfill-corejs2": "^0.3.2", + "babel-plugin-polyfill-corejs3": "^0.5.3", + "babel-plugin-polyfill-regenerator": "^0.4.0", + "core-js-compat": "^3.22.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-object-rest-spread": { + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz", + "integrity": "sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.20.5", + "@babel/helper-compilation-targets": "^7.20.7", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.20.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-typescript": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.22.5.tgz", + "integrity": "sha512-YbPaal9LxztSGhmndR46FmAbkJ/1fAsw293tSU+I5E5h+cnJ3d4GTwyUgGYmOXJYdGA+uNePle4qbaRzj2NISQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-option": "^7.22.5", + "@babel/plugin-syntax-jsx": "^7.22.5", + "@babel/plugin-transform-modules-commonjs": "^7.22.5", + "@babel/plugin-transform-typescript": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", + "license": "MIT" + }, + "node_modules/@babel/runtime": { + "version": "7.26.0", + "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.26.0.tgz", + "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/runtime/node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "license": "MIT" + }, + "node_modules/@babel/template": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", + "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@chain-registry/client": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@chain-registry/client/-/client-1.11.0.tgz", + "integrity": "sha512-s4VTiWftt6wb5LKVF7ljRD22wR5tIKAjUxOde4JthT1+8aX0y4UMA3nDlXTO+U1/YyB+L5900k9rYxuxW2Os7A==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.21.0", + "@chain-registry/types": "^0.16.0", + "@chain-registry/utils": "^1.10.0", + "bfs-path": "^1.0.2", + "cross-fetch": "^3.1.5" + } + }, + "node_modules/@chain-registry/types": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.16.0.tgz", + "integrity": "sha512-4j6vq2Vqn/nF+UBjvRPUVs6eM3+5rJ+dPmEWpd/OoNH3wTy1k6aoilcSTZRR//vGcI5EOVGsxhhJxUzo2qqweA==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.21.0" + } + }, + "node_modules/@chain-registry/utils": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@chain-registry/utils/-/utils-1.13.2.tgz", + "integrity": "sha512-8s+XBdgdFrxwB0OaSvokLbCbtoG0sMscKZF1x0NLRBAJBX14S3PhyIcK3H6sAFe+EZKspErh6kMr8Tq+Ql/now==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.21.0", + "@chain-registry/types": "^0.16.0", + "bignumber.js": "9.1.1", + "sha.js": "^2.4.11" + } + }, + "node_modules/@chain-registry/utils/node_modules/bignumber.js": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz", + "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/@chain-registry/v2": { + "version": "1.71.7", + "resolved": "https://registry.npmjs.org/@chain-registry/v2/-/v2-1.71.7.tgz", + "integrity": "sha512-knxTY6bZM/sg5a8wYcv6bQyfkGHR3swqYo6ICvHA8zqV1SVLVO/w+ehx2L+oZcDSdhZsIJ5Z6f8iVWLr5Dic7Q==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@chain-registry/v2-types": "^0.53.0" + } + }, + "node_modules/@chain-registry/v2-types": { + "version": "0.49.86", + "resolved": "https://registry.npmjs.org/@chain-registry/v2-types/-/v2-types-0.49.86.tgz", + "integrity": "sha512-cF+hhEsbdO734/11aBctJ5ich1Y8ROLZ8kDr5eZr0gHUgVNj+msryxm4SEFThMnASDOAI6Otd/7wTXe5BRLhcQ==", + "dev": true, + "license": "SEE LICENSE IN LICENSE" + }, + "node_modules/@chain-registry/v2/node_modules/@chain-registry/v2-types": { + "version": "0.53.0", + "resolved": "https://registry.npmjs.org/@chain-registry/v2-types/-/v2-types-0.53.0.tgz", + "integrity": "sha512-dpB32GfF1oUO/idjcAB0UEzunIBJre9czJGGreTEOO4/hucbstJbqTVXCyy7TONV1fCoWCfJVT7pPBNS7MFhbg==", + "dev": true, + "license": "SEE LICENSE IN LICENSE" + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@confio/ics23": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz", + "integrity": "sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w==", + "license": "Apache-2.0", + "dependencies": { + "@noble/hashes": "^1.0.0", + "protobufjs": "^6.8.8" + } + }, + "node_modules/@confio/relayer": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@confio/relayer/-/relayer-0.7.0.tgz", + "integrity": "sha512-KhabtNcQlioS+EqhzoeCq76hf8nZJY+vq2i2/d/cE+QZEyTfhpsaSdVMf8CaDZ4Aw/eEGZyai3zkgURSBL5lEw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cosmjs/cosmwasm-stargate": "^0.29.2", + "@cosmjs/crypto": "^0.29.2", + "@cosmjs/encoding": "^0.29.2", + "@cosmjs/faucet-client": "^0.29.2", + "@cosmjs/math": "^0.29.2", + "@cosmjs/proto-signing": "^0.29.2", + "@cosmjs/stargate": "^0.29.2", + "@cosmjs/stream": "^0.29.2", + "@cosmjs/tendermint-rpc": "^0.29.2", + "@cosmjs/utils": "^0.29.2", + "ajv": "7.1.1", + "axios": "0.21.4", + "commander": "7.1.0", + "cosmjs-types": "^0.5.1", + "fast-safe-stringify": "2.0.4", + "js-yaml": "4.0.0", + "lodash": "4.17.21", + "prom-client": "13.1.0", + "protobufjs": "^6.10.3", + "table": "^6.7.1", + "triple-beam": "1.3.0", + "winston": "3.3.3" + }, + "bin": { + "ibc-relayer": "build/binary/ibc-relayer/index.js", + "ibc-setup": "build/binary/ibc-setup/index.js" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@confio/relayer/node_modules/@cosmjs/amino": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" + } + }, + "node_modules/@confio/relayer/node_modules/@cosmjs/cosmwasm-stargate": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.5.tgz", + "integrity": "sha512-TNdSvm2tEE3XMCuxHxquzls56t40hC8qnLeYJWHsY2ECZmRK3KrnpRReEr7N7bLtODToK7X/riYrV0JaYxjrYA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/proto-signing": "^0.29.5", + "@cosmjs/stargate": "^0.29.5", + "@cosmjs/tendermint-rpc": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0", + "pako": "^2.0.2" + } + }, + "node_modules/@confio/relayer/node_modules/@cosmjs/json-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz", + "integrity": "sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "xstream": "^11.14.0" + } + }, + "node_modules/@confio/relayer/node_modules/@cosmjs/proto-signing": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", + "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0" + } + }, + "node_modules/@confio/relayer/node_modules/@cosmjs/socket": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.5.tgz", + "integrity": "sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "isomorphic-ws": "^4.0.1", + "ws": "^7", + "xstream": "^11.14.0" + } + }, + "node_modules/@confio/relayer/node_modules/@cosmjs/stargate": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.5.tgz", + "integrity": "sha512-hjEv8UUlJruLrYGJcUZXM/CziaINOKwfVm2BoSdUnNTMxGvY/jC1ABHKeZUYt9oXHxEJ1n9+pDqzbKc8pT0nBw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@confio/ics23": "^0.6.8", + "@cosmjs/amino": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/proto-signing": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/tendermint-rpc": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0", + "protobufjs": "~6.11.3", + "xstream": "^11.14.0" + } + }, + "node_modules/@confio/relayer/node_modules/@cosmjs/tendermint-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz", + "integrity": "sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/json-rpc": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/socket": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "axios": "^0.21.2", + "readonly-date": "^1.0.0", + "xstream": "^11.14.0" + } + }, + "node_modules/@confio/relayer/node_modules/ajv": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-7.1.1.tgz", + "integrity": "sha512-ga/aqDYnUy/o7vbsRTFhhTsNeXiYb5JWDIcRIeZfwRNCefwjNTVYCGdGSUrEmiu3yDK3vFvNbgJxvrQW4JXrYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@confio/relayer/node_modules/js-yaml": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", + "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@confio/relayer/node_modules/triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@cosmjs/amino": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.32.2.tgz", + "integrity": "sha512-lcK5RCVm4OfdAooxKcF2+NwaDVVpghOq6o/A40c2mHXDUzUoRZ33VAHjVJ9Me6vOFxshrw/XEFn1f4KObntjYA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.32.2", + "@cosmjs/encoding": "^0.32.2", + "@cosmjs/math": "^0.32.2", + "@cosmjs/utils": "^0.32.2" + } + }, + "node_modules/@cosmjs/amino/node_modules/@cosmjs/crypto": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.2.tgz", + "integrity": "sha512-RuxrYKzhrPF9g6NmU7VEq++Hn1vZJjqqJpZ9Tmw9lOYOV8BUsv+j/0BE86kmWi7xVJ7EwxiuxYsKuM8IR18CIA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.32.2", + "@cosmjs/math": "^0.32.2", + "@cosmjs/utils": "^0.32.2", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers-sumo": "^0.7.11" + } + }, + "node_modules/@cosmjs/amino/node_modules/@cosmjs/encoding": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.2.tgz", + "integrity": "sha512-WX7m1wLpA9V/zH0zRcz4EmgZdAv1F44g4dbXOgNj1eXZw1PIGR12p58OEkLN51Ha3S4DKRtCv5CkhK1KHEvQtg==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@cosmjs/amino/node_modules/@cosmjs/math": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.2.tgz", + "integrity": "sha512-b8+ruAAY8aKtVKWSft2IvtCVCUH1LigIlf9ALIiY8n9jtM4kMASiaRbQ/27etnSAInV88IaezKK9rQZrtxTjcw==", + "license": "Apache-2.0", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@cosmjs/amino/node_modules/@cosmjs/utils": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.2.tgz", + "integrity": "sha512-Gg5t+eR7vPJMAmhkFt6CZrzPd0EKpAslWwk5rFVYZpJsM8JG5KT9XQ99hgNM3Ov6ScNoIWbXkpX27F6A9cXR4Q==", + "license": "Apache-2.0" + }, + "node_modules/@cosmjs/cosmwasm-stargate": { + "version": "0.29.4", + "resolved": "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.4.tgz", + "integrity": "sha512-/47QmB+fLuzhcoeTTwoGtyz73yH22txfj5r+iZmHbpQ2vwCoeyG1WVNuylDGOELOej74ngCC1LCPr2/6gGHIMQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.4", + "@cosmjs/crypto": "^0.29.4", + "@cosmjs/encoding": "^0.29.4", + "@cosmjs/math": "^0.29.4", + "@cosmjs/proto-signing": "^0.29.4", + "@cosmjs/stargate": "^0.29.4", + "@cosmjs/tendermint-rpc": "^0.29.4", + "@cosmjs/utils": "^0.29.4", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0", + "pako": "^2.0.2" + } + }, + "node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" + } + }, + "node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz", + "integrity": "sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", + "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0" + } + }, + "node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.5.tgz", + "integrity": "sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "isomorphic-ws": "^4.0.1", + "ws": "^7", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stargate": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.5.tgz", + "integrity": "sha512-hjEv8UUlJruLrYGJcUZXM/CziaINOKwfVm2BoSdUnNTMxGvY/jC1ABHKeZUYt9oXHxEJ1n9+pDqzbKc8pT0nBw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@confio/ics23": "^0.6.8", + "@cosmjs/amino": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/proto-signing": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/tendermint-rpc": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0", + "protobufjs": "~6.11.3", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz", + "integrity": "sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/json-rpc": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/socket": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "axios": "^0.21.2", + "readonly-date": "^1.0.0", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/crypto": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.5.tgz", + "integrity": "sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/@cosmjs/encoding": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.5.tgz", + "integrity": "sha512-G4rGl/Jg4dMCw5u6PEZHZcoHnUBlukZODHbm/wcL4Uu91fkn5jVo5cXXZcvs4VCkArVGrEj/52eUgTZCmOBGWQ==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@cosmjs/faucet-client": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/faucet-client/-/faucet-client-0.29.5.tgz", + "integrity": "sha512-9H/bp+oHYixVUFMf4+jdvuvYGoJN2R990LyXgi+qsxT3fRO6Z/8pnzkUW7dYXelqLVXAm6JSsj7UZ6yyk4p7GA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "axios": "^0.21.2" + } + }, + "node_modules/@cosmjs/json-rpc": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.32.2.tgz", + "integrity": "sha512-lan2lOgmz4yVE/HR8eCOSiII/1OudIulk8836koyIDCsPEpt6eKBuctnAD168vABGArKccLAo7Mr2gy9nrKrOQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.32.2", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/json-rpc/node_modules/@cosmjs/stream": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.32.2.tgz", + "integrity": "sha512-gpCufLfHAD8Zp1ZKge7AHbDf4RA0TZp66wZY6JaQR5bSiEF2Drjtp4mwXZPGejtaUMnaAgff3LrUzPJfKYdQwg==", + "license": "Apache-2.0", + "dependencies": { + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/launchpad": { + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.27.1.tgz", + "integrity": "sha512-DcFwGD/z5PK8CzO2sojDxa+Be9EIEtRZb2YawgVnw2Ht/p5FlNv+OVo8qlishpBdalXEN7FvQ1dVeDFEe9TuJw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "0.27.1", + "@cosmjs/crypto": "0.27.1", + "@cosmjs/encoding": "0.27.1", + "@cosmjs/math": "0.27.1", + "@cosmjs/utils": "0.27.1", + "axios": "^0.21.2", + "fast-deep-equal": "^3.1.3" + } + }, + "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/amino": { + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.27.1.tgz", + "integrity": "sha512-w56ar/nK9+qlvWDpBPRmD0Blk2wfkkLqRi1COs1x7Ll1LF0AtkIBUjbRKplENLbNovK0T3h+w8bHiFm+GBGQOA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "0.27.1", + "@cosmjs/encoding": "0.27.1", + "@cosmjs/math": "0.27.1", + "@cosmjs/utils": "0.27.1" + } + }, + "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/crypto": { + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.27.1.tgz", + "integrity": "sha512-vbcxwSt99tIYJg8Spp00wc3zx72qx+pY3ozGuBN8gAvySnagK9dQ/jHwtWQWdammmdD6oW+75WfIHZ+gNa+Ybg==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "0.27.1", + "@cosmjs/math": "0.27.1", + "@cosmjs/utils": "0.27.1", + "bip39": "^3.0.2", + "bn.js": "^5.2.0", + "elliptic": "^6.5.3", + "js-sha3": "^0.8.0", + "libsodium-wrappers": "^0.7.6", + "ripemd160": "^2.0.2", + "sha.js": "^2.4.11" + } + }, + "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/encoding": { + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.27.1.tgz", + "integrity": "sha512-rayLsA0ojHeniaRfWWcqSsrE/T1rl1gl0OXVNtXlPwLJifKBeLEefGbOUiAQaT0wgJ8VNGBazVtAZBpJidfDhw==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/math": { + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.27.1.tgz", + "integrity": "sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ==", + "license": "Apache-2.0", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/utils": { + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.27.1.tgz", + "integrity": "sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg==", + "license": "Apache-2.0" + }, + "node_modules/@cosmjs/math": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.5.tgz", + "integrity": "sha512-2GjKcv+A9f86MAWYLUkjhw1/WpRl2R1BTb3m9qPG7lzMA7ioYff9jY5SPCfafKdxM4TIQGxXQlYGewQL16O68Q==", + "license": "Apache-2.0", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@cosmjs/proto-signing": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.32.2.tgz", + "integrity": "sha512-UV4WwkE3W3G3s7wwU9rizNcUEz2g0W8jQZS5J6/3fiN0mRPwtPKQ6EinPN9ASqcAJ7/VQH4/9EPOw7d6XQGnqw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.32.2", + "@cosmjs/crypto": "^0.32.2", + "@cosmjs/encoding": "^0.32.2", + "@cosmjs/math": "^0.32.2", + "@cosmjs/utils": "^0.32.2", + "cosmjs-types": "^0.9.0" + } + }, + "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/crypto": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.2.tgz", + "integrity": "sha512-RuxrYKzhrPF9g6NmU7VEq++Hn1vZJjqqJpZ9Tmw9lOYOV8BUsv+j/0BE86kmWi7xVJ7EwxiuxYsKuM8IR18CIA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.32.2", + "@cosmjs/math": "^0.32.2", + "@cosmjs/utils": "^0.32.2", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers-sumo": "^0.7.11" + } + }, + "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/encoding": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.2.tgz", + "integrity": "sha512-WX7m1wLpA9V/zH0zRcz4EmgZdAv1F44g4dbXOgNj1eXZw1PIGR12p58OEkLN51Ha3S4DKRtCv5CkhK1KHEvQtg==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/math": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.2.tgz", + "integrity": "sha512-b8+ruAAY8aKtVKWSft2IvtCVCUH1LigIlf9ALIiY8n9jtM4kMASiaRbQ/27etnSAInV88IaezKK9rQZrtxTjcw==", + "license": "Apache-2.0", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/utils": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.2.tgz", + "integrity": "sha512-Gg5t+eR7vPJMAmhkFt6CZrzPd0EKpAslWwk5rFVYZpJsM8JG5KT9XQ99hgNM3Ov6ScNoIWbXkpX27F6A9cXR4Q==", + "license": "Apache-2.0" + }, + "node_modules/@cosmjs/proto-signing/node_modules/cosmjs-types": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.9.0.tgz", + "integrity": "sha512-MN/yUe6mkJwHnCFfsNPeCfXVhyxHYW6c/xDUzrSbBycYzw++XvWDMJArXp2pLdgD6FQ8DW79vkPjeNKVrXaHeQ==", + "license": "Apache-2.0" + }, + "node_modules/@cosmjs/socket": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.32.2.tgz", + "integrity": "sha512-Qc8jaw4uSBJm09UwPgkqe3g9TBFx4ZR9HkXpwT6Z9I+6kbLerXPR0Gy3NSJFSUgxIfTpO8O1yqoWAyf0Ay17Mw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.32.2", + "isomorphic-ws": "^4.0.1", + "ws": "^7", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/socket/node_modules/@cosmjs/stream": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.32.2.tgz", + "integrity": "sha512-gpCufLfHAD8Zp1ZKge7AHbDf4RA0TZp66wZY6JaQR5bSiEF2Drjtp4mwXZPGejtaUMnaAgff3LrUzPJfKYdQwg==", + "license": "Apache-2.0", + "dependencies": { + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/stargate": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.32.2.tgz", + "integrity": "sha512-AsJa29fT7Jd4xt9Ai+HMqhyj7UQu7fyYKdXj/8+/9PD74xe6lZSYhQPcitUmMLJ1ckKPgXSk5Dd2LbsQT0IhZg==", + "license": "Apache-2.0", + "dependencies": { + "@confio/ics23": "^0.6.8", + "@cosmjs/amino": "^0.32.2", + "@cosmjs/encoding": "^0.32.2", + "@cosmjs/math": "^0.32.2", + "@cosmjs/proto-signing": "^0.32.2", + "@cosmjs/stream": "^0.32.2", + "@cosmjs/tendermint-rpc": "^0.32.2", + "@cosmjs/utils": "^0.32.2", + "cosmjs-types": "^0.9.0", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.2.tgz", + "integrity": "sha512-WX7m1wLpA9V/zH0zRcz4EmgZdAv1F44g4dbXOgNj1eXZw1PIGR12p58OEkLN51Ha3S4DKRtCv5CkhK1KHEvQtg==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@cosmjs/stargate/node_modules/@cosmjs/math": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.2.tgz", + "integrity": "sha512-b8+ruAAY8aKtVKWSft2IvtCVCUH1LigIlf9ALIiY8n9jtM4kMASiaRbQ/27etnSAInV88IaezKK9rQZrtxTjcw==", + "license": "Apache-2.0", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.32.2.tgz", + "integrity": "sha512-gpCufLfHAD8Zp1ZKge7AHbDf4RA0TZp66wZY6JaQR5bSiEF2Drjtp4mwXZPGejtaUMnaAgff3LrUzPJfKYdQwg==", + "license": "Apache-2.0", + "dependencies": { + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.2.tgz", + "integrity": "sha512-Gg5t+eR7vPJMAmhkFt6CZrzPd0EKpAslWwk5rFVYZpJsM8JG5KT9XQ99hgNM3Ov6ScNoIWbXkpX27F6A9cXR4Q==", + "license": "Apache-2.0" + }, + "node_modules/@cosmjs/stargate/node_modules/cosmjs-types": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.9.0.tgz", + "integrity": "sha512-MN/yUe6mkJwHnCFfsNPeCfXVhyxHYW6c/xDUzrSbBycYzw++XvWDMJArXp2pLdgD6FQ8DW79vkPjeNKVrXaHeQ==", + "license": "Apache-2.0" + }, + "node_modules/@cosmjs/stream": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.5.tgz", + "integrity": "sha512-TToTDWyH1p05GBtF0Y8jFw2C+4783ueDCmDyxOMM6EU82IqpmIbfwcdMOCAm0JhnyMh+ocdebbFvnX/sGKzRAA==", + "license": "Apache-2.0", + "dependencies": { + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/tendermint-rpc": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.2.tgz", + "integrity": "sha512-DXyJHDmcAfCix4H/7/dKR0UMdshP01KxJOXHdHxBCbLIpck94BsWD3B2ZTXwfA6sv98so9wOzhp7qGQa5malxg==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.32.2", + "@cosmjs/encoding": "^0.32.2", + "@cosmjs/json-rpc": "^0.32.2", + "@cosmjs/math": "^0.32.2", + "@cosmjs/socket": "^0.32.2", + "@cosmjs/stream": "^0.32.2", + "@cosmjs/utils": "^0.32.2", + "axios": "^1.6.0", + "readonly-date": "^1.0.0", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/crypto": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.2.tgz", + "integrity": "sha512-RuxrYKzhrPF9g6NmU7VEq++Hn1vZJjqqJpZ9Tmw9lOYOV8BUsv+j/0BE86kmWi7xVJ7EwxiuxYsKuM8IR18CIA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.32.2", + "@cosmjs/math": "^0.32.2", + "@cosmjs/utils": "^0.32.2", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers-sumo": "^0.7.11" + } + }, + "node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/encoding": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.2.tgz", + "integrity": "sha512-WX7m1wLpA9V/zH0zRcz4EmgZdAv1F44g4dbXOgNj1eXZw1PIGR12p58OEkLN51Ha3S4DKRtCv5CkhK1KHEvQtg==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/math": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.2.tgz", + "integrity": "sha512-b8+ruAAY8aKtVKWSft2IvtCVCUH1LigIlf9ALIiY8n9jtM4kMASiaRbQ/27etnSAInV88IaezKK9rQZrtxTjcw==", + "license": "Apache-2.0", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/stream": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.32.2.tgz", + "integrity": "sha512-gpCufLfHAD8Zp1ZKge7AHbDf4RA0TZp66wZY6JaQR5bSiEF2Drjtp4mwXZPGejtaUMnaAgff3LrUzPJfKYdQwg==", + "license": "Apache-2.0", + "dependencies": { + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/utils": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.2.tgz", + "integrity": "sha512-Gg5t+eR7vPJMAmhkFt6CZrzPd0EKpAslWwk5rFVYZpJsM8JG5KT9XQ99hgNM3Ov6ScNoIWbXkpX27F6A9cXR4Q==", + "license": "Apache-2.0" + }, + "node_modules/@cosmjs/tendermint-rpc/node_modules/axios": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/@cosmjs/utils": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.5.tgz", + "integrity": "sha512-m7h+RXDUxOzEOGt4P+3OVPX7PuakZT3GBmaM/Y2u+abN3xZkziykD/NvedYFvvCCdQo714XcGl33bwifS9FZPQ==", + "license": "Apache-2.0" + }, + "node_modules/@cosmology/ast": { + "resolved": "packages/ast", + "link": true + }, + "node_modules/@cosmology/core": { + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@cosmology/core/-/core-1.23.0.tgz", + "integrity": "sha512-PGficNyKdxozky8p1eM/8RVLEZ4mlUjgw8TPoW1h2sMvU6V42c77bNAWNryvj3U6wvG+r7GncMCai9W79Pzd/g==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.18.9", + "@cosmjs/amino": "0.29.5", + "@cosmjs/launchpad": "0.27.1", + "@cosmjs/proto-signing": "0.29.5", + "@cosmjs/stargate": "0.29.5", + "@keplr-wallet/types": "0.11.22", + "@keplr-wallet/unit": "0.11.22", + "axios": "0.27.2", + "chain-registry": "1.10.0", + "class-autobind": "^0.1.4", + "cosmjs-types": "0.5.2", + "crypto-js": "4.1.1", + "long": "5.2.0", + "osmojs": "15.2.0", + "protobufjs": "6.11.3", + "retry": "0.13.1", + "secrets.js-grempe": "2.0.0", + "typescript": "^4.7.4" + } + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/amino": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" + } + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/json-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz", + "integrity": "sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/proto-signing": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", + "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0" + } + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/proto-signing/node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", + "license": "Apache-2.0" + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/socket": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.5.tgz", + "integrity": "sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "isomorphic-ws": "^4.0.1", + "ws": "^7", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/stargate": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.5.tgz", + "integrity": "sha512-hjEv8UUlJruLrYGJcUZXM/CziaINOKwfVm2BoSdUnNTMxGvY/jC1ABHKeZUYt9oXHxEJ1n9+pDqzbKc8pT0nBw==", + "license": "Apache-2.0", + "dependencies": { + "@confio/ics23": "^0.6.8", + "@cosmjs/amino": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/proto-signing": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/tendermint-rpc": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0", + "protobufjs": "~6.11.3", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/stargate/node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", + "license": "Apache-2.0" + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/tendermint-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz", + "integrity": "sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/json-rpc": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/socket": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "axios": "^0.21.2", + "readonly-date": "^1.0.0", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmology/core/node_modules/@cosmjs/tendermint-rpc/node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, + "node_modules/@cosmology/core/node_modules/@keplr-wallet/unit": { + "version": "0.11.22", + "resolved": "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.11.22.tgz", + "integrity": "sha512-cNV8HD+3HClk3rZaAPaOwfAXKCfWYP6mKaK5Nt2JOKw5WDFJIcuiVbw6Ns1cXMvKpwZHUygI6nr6Plpikr/h9g==", + "license": "Apache-2.0", + "dependencies": { + "@keplr-wallet/types": "0.11.22", + "big-integer": "^1.6.48", + "utility-types": "^3.10.0" + } + }, + "node_modules/@cosmology/core/node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, + "node_modules/@cosmology/core/node_modules/long": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.0.tgz", + "integrity": "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==", + "license": "Apache-2.0" + }, + "node_modules/@cosmology/core/node_modules/typescript": { + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/@cosmology/lcd": { + "resolved": "packages/lcd", + "link": true + }, + "node_modules/@cosmology/proto-parser": { + "resolved": "packages/parser", + "link": true + }, + "node_modules/@cosmology/protobufjs": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/@cosmology/protobufjs/-/protobufjs-7.3.2.tgz", + "integrity": "sha512-zHf/yqGQ7QSjIYvv7kvGKY9yXNjqj55kWdRyntrXwnte/tY8uMTuCFD/EWC48LGhGu3P7nbzTlhyCGMc3xm9bw==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^5.0.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@cosmology/protobufjs/node_modules/@types/long": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/long/-/long-5.0.0.tgz", + "integrity": "sha512-eQs9RsucA/LNjnMoJvWG/nXa7Pot/RbBzilF/QRIU/xRl+0ApxrSUFsV5lmf01SvSlqMzJ7Zwxe440wmz2SJGA==", + "deprecated": "This is a stub types definition. long provides its own type definitions, so you do not need this installed.", + "license": "MIT", + "dependencies": { + "long": "*" + } + }, + "node_modules/@cosmology/protobufjs/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "license": "Apache-2.0" + }, + "node_modules/@cosmology/starship-test": { + "resolved": "packages/starship", + "link": true + }, + "node_modules/@cosmology/telescope": { + "resolved": "packages/telescope", + "link": true + }, + "node_modules/@cosmology/types": { + "resolved": "packages/types", + "link": true + }, + "node_modules/@cosmology/utils": { + "resolved": "packages/utils", + "link": true + }, + "node_modules/@cosmwasm/ts-codegen": { + "version": "0.35.7", + "resolved": "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.35.7.tgz", + "integrity": "sha512-qbOAYJPe5O5AjoWytZcsVvM0SBA39sMpiqnVIIgjJiqp4G4D5GjR2/UV3ePpygnIxxKZWMnOpPPUvLMjflblCw==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/core": "7.18.10", + "@babel/generator": "7.18.12", + "@babel/parser": "7.18.11", + "@babel/plugin-proposal-class-properties": "7.18.6", + "@babel/plugin-proposal-export-default-from": "7.18.10", + "@babel/plugin-proposal-object-rest-spread": "7.18.9", + "@babel/plugin-transform-runtime": "7.18.10", + "@babel/preset-env": "7.18.10", + "@babel/preset-typescript": "^7.18.6", + "@babel/runtime": "^7.18.9", + "@babel/traverse": "7.18.11", + "@babel/types": "7.18.10", + "@pyramation/json-schema-to-typescript": " 11.0.4", + "case": "1.6.3", + "dargs": "7.0.0", + "deepmerge": "4.2.2", + "dotty": "0.1.2", + "fuzzy": "0.1.3", + "glob": "8.0.3", + "inquirerer": "0.1.3", + "long": "^5.2.0", + "minimist": "1.2.6", + "mkdirp": "1.0.4", + "parse-package-name": "1.0.0", + "rimraf": "3.0.2", + "shelljs": "0.8.5", + "wasm-ast-types": "^0.26.4" + }, + "bin": { + "cosmwasm-ts-codegen": "main/ts-codegen.js" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/generator": { + "version": "7.18.12", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz", + "integrity": "sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.18.10", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/generator/node_modules/@babel/types": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", + "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/parser": { + "version": "7.18.11", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz", + "integrity": "sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ==", + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/traverse": { + "version": "7.18.11", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz", + "integrity": "sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.10", + "@babel/helper-environment-visitor": "^7.18.9", + "@babel/helper-function-name": "^7.18.9", + "@babel/helper-hoist-variables": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/parser": "^7.18.11", + "@babel/types": "^7.18.10", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/traverse/node_modules/@babel/generator": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.5.tgz", + "integrity": "sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/traverse/node_modules/@babel/generator/node_modules/@babel/types": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/traverse/node_modules/@babel/parser": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz", + "integrity": "sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==", + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/traverse/node_modules/@babel/types": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", + "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/@babel/types": { + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz", + "integrity": "sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.18.10", + "@babel/helper-validator-identifier": "^7.18.6", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/glob": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "license": "Apache-2.0" + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "license": "MIT" + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/rimraf/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@cosmwasm/ts-codegen/node_modules/rimraf/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", + "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", + "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.5.2", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/eslintrc/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz", + "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", + "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@hutson/parse-repository-url": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", + "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@interchainjs/auth": { + "version": "0.0.1-beta.12", + "resolved": "https://registry.npmjs.org/@interchainjs/auth/-/auth-0.0.1-beta.12.tgz", + "integrity": "sha512-72W69qkWp9PqPObJ9FLu4+EPSY0XfSd+UNa0Vs+SkQyZ9Hvw/BbHLPo4G2N7bXeEinytMF3BUeEm4/QneupOhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@interchainjs/types": "^0.0.1-beta.11", + "@interchainjs/utils": "^0.0.1-beta.11", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "ethers": "^6.5.1" + } + }, + "node_modules/@interchainjs/auth/node_modules/@noble/hashes": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@interchainjs/cosmos": { + "version": "0.0.1-beta.14", + "resolved": "https://registry.npmjs.org/@interchainjs/cosmos/-/cosmos-0.0.1-beta.14.tgz", + "integrity": "sha512-GWz6+BYxv7cl3gfSRkpO5yF/xg+DeYrFz/XPI1RUxeGYl+qq4AzjVh3Z3A27Z9zhuMDDVVV9J4+8DJZYqkNawQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@chain-registry/v2": "^1.65.6", + "@chain-registry/v2-types": "^0.49.6", + "@interchainjs/auth": "^0.0.1-beta.12", + "@interchainjs/cosmos-types": "^0.0.1-beta.11", + "@interchainjs/types": "^0.0.1-beta.11", + "@interchainjs/utils": "^0.0.1-beta.11", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "decimal.js": "^10.4.3" + } + }, + "node_modules/@interchainjs/cosmos-types": { + "version": "0.0.1-beta.11", + "resolved": "https://registry.npmjs.org/@interchainjs/cosmos-types/-/cosmos-types-0.0.1-beta.11.tgz", + "integrity": "sha512-eeDQaLpE/CSOiYnBUTtnsWjwrr62SxnSzbTFxmV+jA1LsZ0r+h+ayqPOV0fYkNWNt3e97E4KiDXbs2qkB5NnDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@interchainjs/types": "^0.0.1-beta.11", + "@interchainjs/utils": "^0.0.1-beta.11" + } + }, + "node_modules/@interchainjs/cosmos/node_modules/@noble/hashes": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@interchainjs/types": { + "version": "0.0.1-beta.11", + "resolved": "https://registry.npmjs.org/@interchainjs/types/-/types-0.0.1-beta.11.tgz", + "integrity": "sha512-1fd40Z4Dv0hZvzDZYzGIAJRyURtIpJl+hjsA8qGFdGnUc1hwFAMX+VMQxyikhyt2o1R0YjNaootxL1Jx0th21A==", + "dev": true, + "license": "MIT", + "dependencies": { + "decimal.js": "^10.4.3" + } + }, + "node_modules/@interchainjs/utils": { + "version": "0.0.1-beta.11", + "resolved": "https://registry.npmjs.org/@interchainjs/utils/-/utils-0.0.1-beta.11.tgz", + "integrity": "sha512-T3BGZDGyblK3EAvKUdpTNS7RTd+rKGX3TkCbfgK1F+CiWF+qjDGqd71Ik/+9xSq0fH+IZeYjdkjZPhU1zEYuIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@interchainjs/types": "^0.0.1-beta.11", + "bech32": "^2.0.0" + } + }, + "node_modules/@interchainjs/utils/node_modules/bech32": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz", + "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@iov/crypto": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz", + "integrity": "sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q==", + "license": "Apache-2.0", + "dependencies": { + "@iov/encoding": "^2.1.0", + "bip39": "^3.0.2", + "bn.js": "^4.11.8", + "elliptic": "^6.4.0", + "js-sha3": "^0.8.0", + "libsodium-wrappers": "^0.7.6", + "pbkdf2": "^3.0.16", + "ripemd160": "^2.0.2", + "sha.js": "^2.4.11", + "type-tagger": "^1.0.0", + "unorm": "^1.5.0" + } + }, + "node_modules/@iov/crypto/node_modules/@cosmjs/encoding": { + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz", + "integrity": "sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@iov/crypto/node_modules/@cosmjs/math": { + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz", + "integrity": "sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw==", + "license": "Apache-2.0", + "dependencies": { + "bn.js": "^4.11.8" + } + }, + "node_modules/@iov/crypto/node_modules/@cosmjs/utils": { + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz", + "integrity": "sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA==", + "license": "Apache-2.0" + }, + "node_modules/@iov/crypto/node_modules/@iov/encoding": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz", + "integrity": "sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.20.0", + "@cosmjs/math": "^0.20.0", + "@cosmjs/utils": "^0.20.0", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@iov/crypto/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "license": "MIT" + }, + "node_modules/@iov/encoding": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz", + "integrity": "sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.3", + "bn.js": "^4.11.8", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@iov/encoding/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "license": "MIT" + }, + "node_modules/@iov/utils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz", + "integrity": "sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw==", + "license": "Apache-2.0" + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "license": "ISC", + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.5.0.tgz", + "integrity": "sha512-NEpkObxPwyw/XxZVLPmAGKE89IQRp4puc6IQRPru6JKd1M3fW9v1xM1AnzIJE65hbCkzQAdnL8P47e9hzhiYLQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.5.0", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^29.5.0", + "jest-util": "^29.5.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.5.0.tgz", + "integrity": "sha512-28UzQc7ulUrOQw1IsN/kv1QES3q2kkbl/wGslyhAclqZ/8cMdB5M68BffkIdSJgKBUt50d3hbwJ92XESlE7LiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.5.0", + "@jest/reporters": "^29.5.0", + "@jest/test-result": "^29.5.0", + "@jest/transform": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-changed-files": "^29.5.0", + "jest-config": "^29.5.0", + "jest-haste-map": "^29.5.0", + "jest-message-util": "^29.5.0", + "jest-regex-util": "^29.4.3", + "jest-resolve": "^29.5.0", + "jest-resolve-dependencies": "^29.5.0", + "jest-runner": "^29.5.0", + "jest-runtime": "^29.5.0", + "jest-snapshot": "^29.5.0", + "jest-util": "^29.5.0", + "jest-validate": "^29.5.0", + "jest-watcher": "^29.5.0", + "micromatch": "^4.0.4", + "pretty-format": "^29.5.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/environment": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.5.0.tgz", + "integrity": "sha512-5FXw2+wD29YU1d4I2htpRX7jYnAyTRjP2CsXQdo9SAM8g3ifxWPSV0HnClSn71xwctr0U3oZIIH+dtbfmnbXVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/fake-timers": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/node": "*", + "jest-mock": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.5.0.tgz", + "integrity": "sha512-PueDR2HGihN3ciUNGr4uelropW7rqUfTiOn+8u0leg/42UhblPxHkfoh0Ruu3I9Y1962P3u2DY4+h7GVTSVU6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^29.5.0", + "jest-snapshot": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect-utils": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.5.0.tgz", + "integrity": "sha512-fmKzsidoXQT2KwnrwE0SQq3uj8Z763vzR8LnLBwC2qYWEFpjX8daRsk6rHUM1QvNlEW/UJXNXm59ztmJJWs2Mg==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^29.4.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/fake-timers": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.5.0.tgz", + "integrity": "sha512-9ARvuAAQcBwDAqOnglWq2zwNIRUDtk/SCkp/ToGEhFv5r86K21l+VEs0qNTaXtyiY0lEePl3kylijSYJQqdbDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.5.0", + "@sinonjs/fake-timers": "^10.0.2", + "@types/node": "*", + "jest-message-util": "^29.5.0", + "jest-mock": "^29.5.0", + "jest-util": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/globals": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.5.0.tgz", + "integrity": "sha512-S02y0qMWGihdzNbUiqSAiKSpSozSuHX5UYc7QbnHP+D9Lyw8DgGGCinrN9uSuHPeKgSSzvPom2q1nAtBvUsvPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.5.0", + "@jest/expect": "^29.5.0", + "@jest/types": "^29.5.0", + "jest-mock": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/reporters": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.5.0.tgz", + "integrity": "sha512-D05STXqj/M8bP9hQNSICtPqz97u7ffGzZu+9XLucXhkOFBqKcXe04JLZOgIekOxdb73MAoBUFnqvf7MCpKk5OA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^29.5.0", + "@jest/test-result": "^29.5.0", + "@jest/transform": "^29.5.0", + "@jest/types": "^29.5.0", + "@jridgewell/trace-mapping": "^0.3.15", + "@types/node": "*", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.1.3", + "jest-message-util": "^29.5.0", + "jest-util": "^29.5.0", + "jest-worker": "^29.5.0", + "slash": "^3.0.0", + "string-length": "^4.0.1", + "strip-ansi": "^6.0.0", + "v8-to-istanbul": "^9.0.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/schemas": { + "version": "29.4.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.4.3.tgz", + "integrity": "sha512-VLYKXQmtmuEz6IxJsrZwzG9NvtkQsWNnWMsKxqWNu3+CnfzJQhp0WDDKWLVV9hLKr0l3SLLFRqcYHjhtyuDVxg==", + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.25.16" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/source-map": { + "version": "29.4.3", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.4.3.tgz", + "integrity": "sha512-qyt/mb6rLyd9j1jUts4EQncvS6Yy3PM9HghnNv86QBlV+zdL2inCdK1tuVlL+J+lpiw2BI67qXOrX3UurBqQ1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.15", + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-result": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.5.0.tgz", + "integrity": "sha512-fGl4rfitnbfLsrfx1uUpDEESS7zM8JdgZgOCQuxQvL1Sn/I6ijeAVQWGfXI9zb1i9Mzo495cIpVZhA0yr60PkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.5.0.tgz", + "integrity": "sha512-yPafQEcKjkSfDXyvtgiV4pevSeyuA6MQr6ZIdVkWJly9vkqjnFfcfhRQqpD5whjoU8EORki752xQmjaqoFjzMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^29.5.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.5.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/transform": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.5.0.tgz", + "integrity": "sha512-8vbeZWqLJOvHaDfeMuoHITGKSz5qWc9u04lnWrQE3VyuSw604PzQM824ZeX9XSjUCeDiE3GuxZe5UKa8J61NQw==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.5.0", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.5.0", + "jest-regex-util": "^29.4.3", + "jest-util": "^29.5.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/transform/node_modules/@babel/core": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@jest/transform/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT" + }, + "node_modules/@jest/transform/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@jest/types": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.5.0.tgz", + "integrity": "sha512-qbu7kN6czmVRc3xWFQcAN03RAUamgppVUdXrvl1Wr3jlNF93o9mJbGcDWrwGB6ht44u7efB1qCFgVQmca24Uog==", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.4.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", + "license": "MIT" + }, + "node_modules/@keplr-wallet/types": { + "version": "0.11.22", + "resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.22.tgz", + "integrity": "sha512-n89XRLMVQJqaET55JtEyjUKkRXOYQ1/2hNPkFioTsnpiBH/UBxHLefzwStecrc7fjpIExd/P5DNnNM9c0P84Eg==", + "license": "Apache-2.0", + "dependencies": { + "axios": "^0.27.2", + "long": "^4.0.0", + "secretjs": "0.17.7" + } + }, + "node_modules/@keplr-wallet/types/node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, + "node_modules/@keplr-wallet/unit": { + "version": "0.12.62", + "resolved": "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.12.62.tgz", + "integrity": "sha512-2cCFkilVREb86sr/EMqcLrv4JfxgEW0fpY+DqzGsIwzZ8f/lmOgMhLlUWkbBUqRLD43iZQFiOMpl1X9KgAwpjg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@keplr-wallet/types": "0.12.62", + "big-integer": "^1.6.48", + "utility-types": "^3.10.0" + } + }, + "node_modules/@keplr-wallet/unit/node_modules/@keplr-wallet/types": { + "version": "0.12.62", + "resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.12.62.tgz", + "integrity": "sha512-IM6Z5wxYyHUIOiFx3Jc48JmFfYMJTLvFqBpKlsYv+Zozpp99R+qSySzj3BOSi1wUmW3VoIKHLaGFGjIu4iDCzw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "long": "^4.0.0" + } + }, + "node_modules/@lerna/child-process": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.0.2.tgz", + "integrity": "sha512-15lMrNBL/pvREMJPSfIPieaBtyyapDco/TNjALLEL53JGzO9g8rj5PipfE9h5ILx8aq/GaP17XCh209aVCun/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "execa": "^5.0.0", + "strong-log-transformer": "^2.1.0" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + } + }, + "node_modules/@lerna/create": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@lerna/create/-/create-7.0.2.tgz", + "integrity": "sha512-1arGpEpWbWmci1MyaGKvP2SqCAPFWpLqZp0swckianX1kx1mso9B16BWFvcHhU57zCD0Co/z+jX+02UEzZGP7Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna/child-process": "7.0.2", + "dedent": "0.7.0", + "fs-extra": "^11.1.1", + "init-package-json": "5.0.0", + "npm-package-arg": "8.1.1", + "p-reduce": "^2.1.0", + "pacote": "^15.2.0", + "pify": "5.0.0", + "semver": "^7.3.4", + "slash": "^3.0.0", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "5.0.0", + "yargs-parser": "20.2.4" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + } + }, + "node_modules/@lerna/create/node_modules/builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@lerna/create/node_modules/hosted-git-info": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", + "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@lerna/create/node_modules/npm-package-arg": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", + "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^3.0.6", + "semver": "^7.0.0", + "validate-npm-package-name": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@lerna/create/node_modules/npm-package-arg/node_modules/validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "dev": true, + "license": "ISC", + "dependencies": { + "builtins": "^1.0.3" + } + }, + "node_modules/@lerna/create/node_modules/pify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", + "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna/create/node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/@noble/curves": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz", + "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.5.0" + }, + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/curves/node_modules/@noble/hashes": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/hashes": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==", + "license": "MIT", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@npmcli/fs": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", + "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", + "dev": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.1.0.tgz", + "integrity": "sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/promise-spawn": "^6.0.0", + "lru-cache": "^7.4.4", + "npm-pick-manifest": "^8.0.0", + "proc-log": "^3.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/@npmcli/installed-package-contents": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz", + "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-bundled": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "bin": { + "installed-package-contents": "lib/index.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/installed-package-contents/node_modules/npm-bundled": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz", + "integrity": "sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/node-gyp": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", + "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/promise-spawn": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz", + "integrity": "sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg==", + "dev": true, + "license": "ISC", + "dependencies": { + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.2.tgz", + "integrity": "sha512-NCcr1uQo1k5U+SYlnIrbAh3cxy+OQT1VtqiAbxdymSlptbzBb62AjH2xXgjNCoP073hoa1CfCAcwoZ8k96C4nA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^6.0.0", + "node-gyp": "^9.0.0", + "read-package-json-fast": "^3.0.0", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@nrwl/devkit": { + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.4.0.tgz", + "integrity": "sha512-KUu9oNrMB8DP78BAO8XWJC5HOSS6dO6ocMWj2DtuNVgMgABviy+ih/TmrGKxQQBH0Ib4cxTeMIQVRdAak5c1UA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nx/devkit": "16.4.0" + } + }, + "node_modules/@nrwl/tao": { + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-16.4.0.tgz", + "integrity": "sha512-6n4chOOv6jqact07NvIDRQfsnaiYYhi+mrqSuJKs6fL+c5kx/VCryndTP0MDTBbazfL6H7vwiQUkTja2sQDuwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "nx": "16.4.0" + }, + "bin": { + "tao": "index.js" + } + }, + "node_modules/@nx/devkit": { + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.4.0.tgz", + "integrity": "sha512-/Y+tC2IBxVEf3EKB80G9mF27ZBAFEBBmDMn1MPzfGX9AB2GGNCqgvSkSHT5DlkyxJOMqbE7DpMyHxubALyenEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nrwl/devkit": "16.4.0", + "ejs": "^3.1.7", + "ignore": "^5.0.4", + "semver": "7.5.3", + "tmp": "~0.2.1", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "nx": ">= 15 <= 17" + } + }, + "node_modules/@nx/devkit/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@nx/devkit/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@nx/devkit/node_modules/tmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "rimraf": "^3.0.0" + }, + "engines": { + "node": ">=8.17.0" + } + }, + "node_modules/@nx/nx-win32-x64-msvc": { + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.4.0.tgz", + "integrity": "sha512-ISL3c6i/v+JOsUHEbngDHaobmbgu6oSY0htKas1RjLWGkWXDLgEXMRjQ/xDbNVYH00Mto7mmq+nrjkNNbqOrfQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@octokit/auth-token": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.4.tgz", + "integrity": "sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/core": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.2.4.tgz", + "integrity": "sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/auth-token": "^3.0.0", + "@octokit/graphql": "^5.0.0", + "@octokit/request": "^6.0.0", + "@octokit/request-error": "^3.0.0", + "@octokit/types": "^9.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/endpoint": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.6.tgz", + "integrity": "sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^9.0.0", + "is-plain-object": "^5.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/graphql": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.6.tgz", + "integrity": "sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/request": "^6.0.0", + "@octokit/types": "^9.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-18.0.0.tgz", + "integrity": "sha512-V8GImKs3TeQRxRtXFpG2wl19V7444NIOTDF24AWuIbmNaNYOQMWRbjcGDXV5B+0n887fgDcuMNOmlul+k+oJtw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/plugin-enterprise-rest": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz", + "integrity": "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/plugin-paginate-rest": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz", + "integrity": "sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/tsconfig": "^1.0.2", + "@octokit/types": "^9.2.3" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "@octokit/core": ">=4" + } + }, + "node_modules/@octokit/plugin-request-log": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", + "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@octokit/core": ">=3" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.3.tgz", + "integrity": "sha512-I5Gml6kTAkzVlN7KCtjOM+Ruwe/rQppp0QU372K1GP7kNOYEKe8Xn5BW4sE62JAHdwpq95OQK/qGNyKQMUzVgA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^10.0.0" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "@octokit/core": ">=3" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-10.0.0.tgz", + "integrity": "sha512-Vm8IddVmhCgU1fxC1eyinpwqzXPEYu0NrYzD3YZjlGjyftdLBTeqNblRC0jmJmgxbJIsQlyogVeGnrNaaMVzIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^18.0.0" + } + }, + "node_modules/@octokit/request": { + "version": "6.2.8", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.8.tgz", + "integrity": "sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/endpoint": "^7.0.0", + "@octokit/request-error": "^3.0.0", + "@octokit/types": "^9.0.0", + "is-plain-object": "^5.0.0", + "node-fetch": "^2.6.7", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/request-error": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.3.tgz", + "integrity": "sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^9.0.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/rest": { + "version": "19.0.11", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-19.0.11.tgz", + "integrity": "sha512-m2a9VhaP5/tUw8FwfnW2ICXlXpLPIqxtg3XcAiGMLj/Xhw3RSBfZ8le/466ktO1Gcjr8oXudGnHhxV1TXJgFxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/core": "^4.2.1", + "@octokit/plugin-paginate-rest": "^6.1.2", + "@octokit/plugin-request-log": "^1.0.4", + "@octokit/plugin-rest-endpoint-methods": "^7.1.2" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/tsconfig": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz", + "integrity": "sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/types": { + "version": "9.3.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-9.3.2.tgz", + "integrity": "sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^18.0.0" + } + }, + "node_modules/@osmonauts/lcd": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.10.0.tgz", + "integrity": "sha512-PzmXk9x9MHyLn2fUztpAqWqvDmMiEJaQv/JcAoAOE8VdHrD9Hf/KWnE1RZtamuS2ngQRqvQPD0xotCGXW7eTxA==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.19.0", + "axios": "0.27.2" + } + }, + "node_modules/@osmonauts/lcd/node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz", + "integrity": "sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^3.2.1", + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufs/confio": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@protobufs/confio/-/confio-0.0.6.tgz", + "integrity": "sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA==", + "dev": true, + "license": "SEE LICENSE IN LICENSE" + }, + "node_modules/@protobufs/cosmos": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@protobufs/cosmos/-/cosmos-0.0.11.tgz", + "integrity": "sha512-r9XQikxQ3qaWVJ4EYePP7r/QL/lEEpgSeHiD0U5t4bOXux5gIWrz3AMLe5PIdFxBwkeqkF21Vz4JnVd3/XdC7Q==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@protobufs/cosmos_proto": "^0.0.10", + "@protobufs/gogoproto": "^0.0.10", + "@protobufs/google": "^0.0.10", + "@protobufs/tendermint": "^0.0.10" + } + }, + "node_modules/@protobufs/cosmos_proto": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz", + "integrity": "sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@protobufs/google": "^0.0.10" + } + }, + "node_modules/@protobufs/cosmwasm": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@protobufs/cosmwasm/-/cosmwasm-0.0.11.tgz", + "integrity": "sha512-SiPtJRLltQQ/+OEqBpxXbZt6PuXvfR82P/jh4Xt+KB18A2siaossYPU6I4HIBhpkWT6LIH4QoH5UsWlIzIxbRg==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@protobufs/cosmos": "^0.0.11", + "@protobufs/cosmos_proto": "^0.0.10", + "@protobufs/gogoproto": "^0.0.10", + "@protobufs/google": "^0.0.10" + } + }, + "node_modules/@protobufs/gogoproto": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz", + "integrity": "sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@protobufs/google": "^0.0.10" + } + }, + "node_modules/@protobufs/google": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/@protobufs/google/-/google-0.0.10.tgz", + "integrity": "sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw==", + "dev": true, + "license": "SEE LICENSE IN LICENSE" + }, + "node_modules/@protobufs/ibc": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@protobufs/ibc/-/ibc-0.0.11.tgz", + "integrity": "sha512-f6D7AGpbbHvm8Mwpc8wirm/bT4rumyz2HZMHeAt2U45cAgV7fELAqXH4UtcXxIfLl1J21BsagPtf/E9KLEdnXw==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@protobufs/confio": "^0.0.6", + "@protobufs/cosmos": "^0.0.11", + "@protobufs/gogoproto": "^0.0.10", + "@protobufs/google": "^0.0.10", + "@protobufs/tendermint": "^0.0.10" + } + }, + "node_modules/@protobufs/osmosis": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@protobufs/osmosis/-/osmosis-0.2.0.tgz", + "integrity": "sha512-v2Zht1tT20yGfrOeKYb0qI1DMHmZc4WhF0kj9aRK6GAoVWf04RT3IY9Rw3BQWQjtkJatK54xAXBVhpMvlL0dSw==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@protobufs/cosmos": "^0.0.11", + "@protobufs/gogoproto": "^0.0.10", + "@protobufs/google": "^0.0.10" + } + }, + "node_modules/@protobufs/tendermint": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/@protobufs/tendermint/-/tendermint-0.0.10.tgz", + "integrity": "sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg==", + "dev": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@protobufs/gogoproto": "^0.0.10", + "@protobufs/google": "^0.0.10" + } + }, + "node_modules/@pyramation/json-schema-ref-parser": { + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", + "integrity": "sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg==", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "call-me-maybe": "^1.0.1", + "js-yaml": "^3.13.1" + } + }, + "node_modules/@pyramation/json-schema-ref-parser/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@pyramation/json-schema-ref-parser/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@pyramation/json-schema-to-typescript": { + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz", + "integrity": "sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg==", + "license": "MIT", + "dependencies": { + "@pyramation/json-schema-ref-parser": "9.0.6", + "@types/json-schema": "^7.0.11", + "@types/lodash": "^4.14.182", + "@types/prettier": "^2.6.1", + "cli-color": "^2.0.2", + "get-stdin": "^8.0.0", + "glob": "^7.1.6", + "glob-promise": "^4.2.2", + "is-glob": "^4.0.3", + "lodash": "^4.17.21", + "minimist": "^1.2.6", + "mkdirp": "^1.0.4", + "mz": "^2.7.0", + "prettier": "^2.6.2" + }, + "bin": { + "json2ts": "dist/src/cli.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@pyramation/json-schema-to-typescript/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/@sigstore/protobuf-specs": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.1.0.tgz", + "integrity": "sha512-a31EnjuIDSX8IXBUib3cYLDRlPMU36AWX4xS8ysLaNu4ZzUesDiPt83pgrW2X1YLMe5L2HbDyaKK5BrL4cNKaQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/tuf": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-1.0.0.tgz", + "integrity": "sha512-bLzi9GeZgMCvjJeLUIfs8LJYCxrPRA8IXQkzUtaFKKVPTz0mucRyqFcV2U20yg9K+kYAD0YSitzGfRZCFLjdHQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.1.0", + "make-fetch-happen": "^11.0.1", + "tuf-js": "^1.1.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sinclair/typebox": { + "version": "0.25.24", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.25.24.tgz", + "integrity": "sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ==", + "license": "MIT" + }, + "node_modules/@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/@sinonjs/fake-timers": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.0" + } + }, + "node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/@sinonjs/samsam": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-7.0.1.tgz", + "integrity": "sha512-zsAk2Jkiq89mhZovB2LLOdTCxJF4hqqTToGP0ASWlhp4I1hqOjcfmZGafXntCN7MDC6yySH0mFHrYtHceOeLmw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^2.0.0", + "lodash.get": "^4.4.2", + "type-detect": "^4.0.8" + } + }, + "node_modules/@sinonjs/text-encoding": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz", + "integrity": "sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==", + "dev": true, + "license": "(Unlicense OR Apache-2.0)" + }, + "node_modules/@tanstack/query-core": { + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-4.29.1.tgz", + "integrity": "sha512-vkPewLEG8ua0efo3SsVT0BcBtkq5RZX8oPhDAyKL+k/rdOYSQTEocfGEXSaBwIwsXeOGBUpfKqI+UmHvNqdWXg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/react-query": { + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-4.29.1.tgz", + "integrity": "sha512-/crv1v+OeuGG6EOvaQmyeo9GCKtH4jbmuhZkvk9ulufRiHcTr/A9+YP9GevEAZzUTdzXMwenpTbyxBGvG2xXvw==", + "license": "MIT", + "dependencies": { + "@tanstack/query-core": "4.29.1", + "use-sync-external-store": "^1.2.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-native": "*" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + } + }, + "node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tufjs/canonical-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz", + "integrity": "sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-1.0.4.tgz", + "integrity": "sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "1.0.0", + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@types/babel__core": { + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.1.tgz", + "integrity": "sha512-aACu/U/omhdk15O4Nfb+fHgH/z3QsfQzpnvRZhYhThms83ZnAOZz7zZAWO7mn2yyNQaA4xTO8GLK3uqFU4bYYw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", + "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", + "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.1.tgz", + "integrity": "sha512-MitHFXnhtgwsGZWtT68URpOvLN4EREih1u3QtQiN4VdAxWKRVvGCSvw/Qth0M0Qq3pJpnGOu5JaM/ydK7OGbqg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "node_modules/@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "license": "MIT", + "dependencies": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "node_modules/@types/glob/node_modules/@types/minimatch": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", + "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", + "license": "MIT" + }, + "node_modules/@types/graceful-fs": { + "version": "4.1.6", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.6.tgz", + "integrity": "sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", + "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", + "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, + "node_modules/@types/jest": { + "version": "29.5.2", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.2.tgz", + "integrity": "sha512-mSoZVJF5YzGVCk+FsDxzDuH7s+SCkzrgKZzf0Z0T2WudhBUPoF6ktoTPC4R0ZoCPCV5xUvuU6ias5NvxcBcMMg==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", + "license": "MIT" + }, + "node_modules/@types/lodash": { + "version": "4.14.195", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", + "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==", + "license": "MIT" + }, + "node_modules/@types/long": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", + "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==", + "license": "MIT" + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/minimist": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "20.3.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.3.1.tgz", + "integrity": "sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==", + "license": "MIT" + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/parse-package-name": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz", + "integrity": "sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q==", + "license": "MIT" + }, + "node_modules/@types/prettier": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz", + "integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==", + "license": "MIT" + }, + "node_modules/@types/stack-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", + "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-xevGOReSYGM7g/kUBZzPqCrR/KYAo+F0yiPc85WFTJa0MSLtyFTVTU6cJu/aV4mid7IffDIWqo69THF2o4JiEQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/strip-json-comments": { + "version": "0.0.30", + "resolved": "https://registry.npmjs.org/@types/strip-json-comments/-/strip-json-comments-0.0.30.tgz", + "integrity": "sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/triple-beam": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.2.tgz", + "integrity": "sha512-txGIh+0eDFzKGC25zORnswy+br1Ha7hj5cMVwKIU7+s0U2AxxJru/jZSMU6OC9MJWP6+pc/hc6ZjyZShpsyY2g==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/yargs": { + "version": "17.0.24", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.24.tgz", + "integrity": "sha512-6i0aC7jV6QzQB8ne1joVZ0eSFIstHsCrobmOtghM11yGlH0j43FKL2UhWdELkyps0zuf7qVTUVCCR+tgSlyLLw==", + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", + "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "license": "MIT" + }, + "node_modules/@vue/compiler-sfc": { + "version": "2.7.16", + "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-2.7.16.tgz", + "integrity": "sha512-KWhJ9k5nXuNtygPU7+t1rX6baZeqOYLEforUPjgNDBnLicfHCoi48H87Q8XyLZOrNNsmhuwKqtpDQWjEFe6Ekg==", + "peer": true, + "dependencies": { + "@babel/parser": "^7.23.5", + "postcss": "^8.4.14", + "source-map": "^0.6.1" + }, + "optionalDependencies": { + "prettier": "^1.18.2 || ^2.0.0" + } + }, + "node_modules/@vue/devtools-api": { + "version": "6.6.4", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz", + "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", + "license": "MIT" + }, + "node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/@yarnpkg/parsers": { + "version": "3.0.0-rc.46", + "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz", + "integrity": "sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "js-yaml": "^3.10.0", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "node_modules/@yarnpkg/parsers/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@yarnpkg/parsers/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@zkochan/js-yaml": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz", + "integrity": "sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/acorn": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", + "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.0.tgz", + "integrity": "sha512-FS7hV565M5l1R08MXqo8odwMTB02C2UqzB17RVgu9EyuYFBqJZ3/ZY97sQD5FewVu1UyDFc1yztUDrAwT0EypA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/add-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", + "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/aes-js": { + "version": "4.0.0-beta.5", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/agentkeepalive": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", + "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "depd": "^2.0.0", + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "license": "MIT" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/aproba": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/are-we-there-yet": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", + "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", + "dev": true, + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/array-differ": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", + "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", + "dev": true, + "license": "MIT" + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ast-stringify": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/ast-stringify/-/ast-stringify-0.1.0.tgz", + "integrity": "sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.11.2" + } + }, + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/async": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", + "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-jest-hoist": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.5.0.tgz", + "integrity": "sha512-zSuuuAlTMT4mzLj2nPnUm6fsE6270vdOfnpbJ+RmruU75UhLFvL0N2NgI7xpeS7NaB6hGqmd5pVpGTDYvi4Q3w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz", + "integrity": "sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.17.7", + "@babel/helper-define-polyfill-provider": "^0.3.3", + "semver": "^6.1.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz", + "integrity": "sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw==", + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.3.2", + "core-js-compat": "^3.21.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz", + "integrity": "sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==", + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.3.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/bech32": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==", + "license": "MIT" + }, + "node_modules/before-after-hook": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/bfs-path": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bfs-path/-/bfs-path-1.0.2.tgz", + "integrity": "sha512-KTKx2JJtAAAT7C/rJYDXXWA2VLPycAS4kwFktKsxUo0hj4UTtw/Gm5PJuY7Uf3xSlIQNo7HRCSWei2ivncVwbQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/big-integer": { + "version": "1.6.51", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", + "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/bignumber.js": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz", + "integrity": "sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/bintrees": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", + "dev": true, + "license": "MIT" + }, + "node_modules/bip39": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz", + "integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==", + "license": "ISC", + "dependencies": { + "@noble/hashes": "^1.2.0" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/bn.js": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==", + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/broadcast-channel": { + "version": "3.7.0", + "resolved": "https://registry.npmmirror.com/broadcast-channel/-/broadcast-channel-3.7.0.tgz", + "integrity": "sha512-cIAKJXAxGJceNZGTZSBzMxzyOn72cVgPnKx4dc6LRjQgbaJUQqhy5rzL3zbMxkMWsGKkv2hSFkPRMEXfoMZ2Mg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.7.2", + "detect-node": "^2.1.0", + "js-sha3": "0.8.0", + "microseconds": "0.2.0", + "nano-time": "1.0.0", + "oblivious-set": "1.0.0", + "rimraf": "3.0.2", + "unload": "2.2.0" + } + }, + "node_modules/broadcast-channel/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==", + "license": "MIT" + }, + "node_modules/browserslist": { + "version": "4.21.9", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", + "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bs-logger": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", + "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-json-stable-stringify": "2.x" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "license": "Apache-2.0", + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/builtins": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.0.0" + } + }, + "node_modules/byte-size": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-8.1.1.tgz", + "integrity": "sha512-tUkzZWK0M/qdoLEqikxBWe4kumyuwjl3HO6zHTr4yEI23EojPtLYXdG1+AQY7MN0cGyNDvEaJ8wiYQm6P2bPxg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.17" + } + }, + "node_modules/cacache": { + "version": "17.1.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.3.tgz", + "integrity": "sha512-jAdjGxmPxZh0IipMdR7fK/4sDSrHMLUV0+GvVUsjwyGNKHsh79kW/otg+GkbXwl6Uzvy9wsvHOX4nUoWldeZMg==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/cacache/node_modules/fs-minipass": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.2.tgz", + "integrity": "sha512-2GAfyfoaCDRrM6jaOS3UsBts8yJ55VioXdWcOL7dK9zdAuKT71+WBA4ifnNYqVjYv+4SsPxjK0JT4yIIn4cA/g==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/cacache/node_modules/glob": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.0.tgz", + "integrity": "sha512-AQ1/SB9HH0yCx1jXAT4vmCbTOPe5RQ+kCurjbel5xSCGhebumUv+GJZfa1rEqor3XIViqwSEmlkZCQD43RWrBg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2", + "path-scurry": "^1.7.0" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/glob/node_modules/minipass": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", + "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/cacache/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/cacache/node_modules/minimatch": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/call-me-maybe": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", + "license": "MIT" + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-keys/node_modules/map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001507", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001507.tgz", + "integrity": "sha512-SFpUDoSLCaE5XYL2jfqe9ova/pbQHEmbheDf5r4diNwbAgR3qxM9NQtfsiSscjqoya5K7kFcHPUQ+VsUkIJR4A==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/case": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/case/-/case-1.6.3.tgz", + "integrity": "sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==", + "license": "(MIT OR GPL-3.0-or-later)", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/chain-registry": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/chain-registry/-/chain-registry-1.10.0.tgz", + "integrity": "sha512-JfdJufFq2F5tRpw1PMO32pv199xnZvwoSLKpW/wlbVOdpyLka7s4GwxgqYK+CPOdfCj5v6GiaGfWTq7slUemXg==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.19.4", + "@chain-registry/types": "^0.14.0" + } + }, + "node_modules/chain-registry/node_modules/@chain-registry/types": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.14.0.tgz", + "integrity": "sha512-TlIqc3CijT734no7RiYBfUvCG2fory0blwrBcK4XTYOCi2vANsxfDdiPLFQcaSETYDd14DdjhrdXwMocEeOnLQ==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.19.4" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "license": "MIT" + }, + "node_modules/charenc": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", + "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/ci-info": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.8.0.tgz", + "integrity": "sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/cjs-module-lexer": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", + "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/class-autobind": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/class-autobind/-/class-autobind-0.1.4.tgz", + "integrity": "sha512-Hd4wk0aVnIiMKCI/qA006/U+yOlbLV0BVAeaQqh9NyQZMPWfIOJh5fPZqN3T9Y9UydYdfIa27Hxp+dPh7jYT3w==", + "license": "ISC" + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/cli-color": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz", + "integrity": "sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.61", + "es6-iterator": "^2.0.3", + "memoizee": "^0.4.15", + "timers-ext": "^0.1.7" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", + "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-width": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", + "license": "ISC" + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/clone-deep/node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cmd-shim": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.1.tgz", + "integrity": "sha512-S9iI9y0nKR4hwEQsVWpyxld/6kRfGepGfzff83FcaiEBpmvlbA2nnGe7Cylgrx2f/p1P5S5wpRm9oL8z1PbS3Q==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/collect-v8-coverage": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", + "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-convert/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "license": "MIT" + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/color-string": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "dev": true, + "license": "ISC", + "bin": { + "color-support": "bin.js" + } + }, + "node_modules/colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "node_modules/columnify": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz", + "integrity": "sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "strip-ansi": "^6.0.1", + "wcwidth": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.1.0.tgz", + "integrity": "sha512-pRxBna3MJe6HKnBGsDyMv8ETbptw3axEdYHoqNh7gu5oDcew8fs0xnivZGm06Ogk8zGAJ9VX+OPEr2GXEQK4dg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" + }, + "node_modules/concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "dev": true, + "engines": [ + "node >= 6.0" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/conventional-changelog-angular": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz", + "integrity": "sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg==", + "dev": true, + "license": "ISC", + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-5.0.1.tgz", + "integrity": "sha512-Rvi5pH+LvgsqGwZPZ3Cq/tz4ty7mjijhr3qR4m9IBXNbxGGYgTVVO+duXzz9aArmHxFtwZ+LRkrNIMDQzgoY4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "add-stream": "^1.0.0", + "conventional-changelog-writer": "^6.0.0", + "conventional-commits-parser": "^4.0.0", + "dateformat": "^3.0.3", + "get-pkg-repo": "^4.2.1", + "git-raw-commits": "^3.0.0", + "git-remote-origin-url": "^2.0.0", + "git-semver-tags": "^5.0.0", + "normalize-package-data": "^3.0.3", + "read-pkg": "^3.0.0", + "read-pkg-up": "^3.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-core/node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-preset-loader": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-3.0.0.tgz", + "integrity": "sha512-qy9XbdSLmVnwnvzEisjxdDiLA4OmV3o8db+Zdg4WiFw14fP3B6XNz98X0swPPpkTd/pc1K7+adKgEDM1JCUMiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-writer": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.0.tgz", + "integrity": "sha512-8PyWTnn7zBIt9l4hj4UusFs1TyG+9Ulu1zlOAc72L7Sdv9Hsc8E86ot7htY3HXCVhXHB/NO0pVGvZpwsyJvFfw==", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-commits-filter": "^3.0.0", + "dateformat": "^3.0.3", + "handlebars": "^4.7.7", + "json-stringify-safe": "^5.0.1", + "meow": "^8.1.2", + "semver": "^6.3.0", + "split": "^1.0.1" + }, + "bin": { + "conventional-changelog-writer": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-writer/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/conventional-commits-filter": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz", + "integrity": "sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash.ismatch": "^4.4.0", + "modify-values": "^1.0.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-commits-parser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz", + "integrity": "sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-text-path": "^1.0.1", + "JSONStream": "^1.3.5", + "meow": "^8.1.2", + "split2": "^3.2.2" + }, + "bin": { + "conventional-commits-parser": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-recommended-bump": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-7.0.1.tgz", + "integrity": "sha512-Ft79FF4SlOFvX4PkwFDRnaNiIVX7YbmqGU0RwccUaiGvgp3S0a8ipR2/Qxk31vclDNM+GSdJOVs2KrsUCjblVA==", + "dev": true, + "license": "MIT", + "dependencies": { + "concat-stream": "^2.0.0", + "conventional-changelog-preset-loader": "^3.0.0", + "conventional-commits-filter": "^3.0.0", + "conventional-commits-parser": "^4.0.0", + "git-raw-commits": "^3.0.0", + "git-semver-tags": "^5.0.0", + "meow": "^8.1.2" + }, + "bin": { + "conventional-recommended-bump": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "license": "MIT" + }, + "node_modules/core-js-compat": { + "version": "3.31.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.31.0.tgz", + "integrity": "sha512-hM7YCu1cU6Opx7MXNu0NuumM0ezNeAeRKadixyiQELWY3vT3De9S4J5ZBMraWV2vZnrE1Cirl0GtFtDtMUXzPw==", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.5" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cosmiconfig": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", + "integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + } + }, + "node_modules/cosmjs-types": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz", + "integrity": "sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg==", + "license": "Apache-2.0", + "dependencies": { + "long": "^4.0.0", + "protobufjs": "~6.11.2" + } + }, + "node_modules/cosmjs-utils": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/cosmjs-utils/-/cosmjs-utils-0.1.0.tgz", + "integrity": "sha512-Ao2YhVXN+FqvbKqNeVN6I4njzRsCe3LVuPiLerMrAr6xr4MMABzvZbnY13AK/CYPrFJFJpmBCssocthAxOi59g==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.11.2", + "@cosmjs/amino": "0.29.0", + "@cosmjs/crypto": "0.29.0", + "@cosmjs/proto-signing": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "cosmjs-types": "0.5.1" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/amino": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz", + "integrity": "sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.0", + "@cosmjs/encoding": "^0.29.0", + "@cosmjs/math": "^0.29.0", + "@cosmjs/utils": "^0.29.0" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/amino/node_modules/@cosmjs/crypto": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.5.tgz", + "integrity": "sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/crypto": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz", + "integrity": "sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.29.0", + "@cosmjs/math": "^0.29.0", + "@cosmjs/utils": "^0.29.0", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.3", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/json-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz", + "integrity": "sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "xstream": "^11.14.0" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/proto-signing": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz", + "integrity": "sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.0", + "@cosmjs/crypto": "^0.29.0", + "@cosmjs/encoding": "^0.29.0", + "@cosmjs/math": "^0.29.0", + "@cosmjs/utils": "^0.29.0", + "cosmjs-types": "^0.5.0", + "long": "^4.0.0" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/amino": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/crypto": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.5.tgz", + "integrity": "sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/proto-signing/node_modules/cosmjs-types": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz", + "integrity": "sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg==", + "license": "Apache-2.0", + "dependencies": { + "long": "^4.0.0", + "protobufjs": "~6.11.2" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/socket": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.5.tgz", + "integrity": "sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "isomorphic-ws": "^4.0.1", + "ws": "^7", + "xstream": "^11.14.0" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/stargate": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz", + "integrity": "sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg==", + "license": "Apache-2.0", + "dependencies": { + "@confio/ics23": "^0.6.8", + "@cosmjs/amino": "^0.29.0", + "@cosmjs/encoding": "^0.29.0", + "@cosmjs/math": "^0.29.0", + "@cosmjs/proto-signing": "^0.29.0", + "@cosmjs/stream": "^0.29.0", + "@cosmjs/tendermint-rpc": "^0.29.0", + "@cosmjs/utils": "^0.29.0", + "cosmjs-types": "^0.5.0", + "long": "^4.0.0", + "protobufjs": "~6.11.3", + "xstream": "^11.14.0" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.5.tgz", + "integrity": "sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", + "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/stargate/node_modules/cosmjs-types": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz", + "integrity": "sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg==", + "license": "Apache-2.0", + "dependencies": { + "long": "^4.0.0", + "protobufjs": "~6.11.2" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/tendermint-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz", + "integrity": "sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/json-rpc": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/socket": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "axios": "^0.21.2", + "readonly-date": "^1.0.0", + "xstream": "^11.14.0" + } + }, + "node_modules/cosmjs-utils/node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/crypto": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.5.tgz", + "integrity": "sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/cosmjs-utils/node_modules/cosmjs-types": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz", + "integrity": "sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g==", + "license": "Apache-2.0", + "dependencies": { + "long": "^4.0.0", + "protobufjs": "~6.11.2" + } + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "license": "MIT", + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "license": "MIT", + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, + "node_modules/cross-fetch": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "dev": true, + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/crypt": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", + "integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "node_modules/crypto-js": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", + "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==", + "license": "MIT" + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "license": "MIT", + "peer": true + }, + "node_modules/curve25519-js": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz", + "integrity": "sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w==", + "license": "MIT" + }, + "node_modules/d": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", + "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "node_modules/d/node_modules/type": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", + "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==", + "license": "ISC" + }, + "node_modules/dargs": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", + "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/dateformat": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "license": "MIT" + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", + "dev": true, + "license": "MIT", + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decimal.js": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz", + "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==", + "dev": true, + "license": "MIT" + }, + "node_modules/dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", + "dev": true, + "license": "MIT" + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "license": "MIT", + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/detect-indent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", + "integrity": "sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-node": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/detect-node/-/detect-node-2.1.0.tgz", + "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", + "license": "MIT" + }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/diff-sequences": { + "version": "29.4.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.4.3.tgz", + "integrity": "sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dotenv": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", + "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=10" + } + }, + "node_modules/dotty": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz", + "integrity": "sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ==", + "license": "BSD-3-Clause" + }, + "node_modules/duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true, + "license": "MIT" + }, + "node_modules/dynamic-dedupe": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/dynamic-dedupe/-/dynamic-dedupe-0.3.0.tgz", + "integrity": "sha512-ssuANeD+z97meYOqd50e04Ze5qp4bPqo8cCkI4TRjZkzAUgIDTrXV1R8QCdINpiI+hw14+rYazvTRdQrz0/rFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "^4.0.0" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "license": "MIT" + }, + "node_modules/ejs": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", + "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "jake": "^10.8.5" + }, + "bin": { + "ejs": "bin/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.440", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.440.tgz", + "integrity": "sha512-r6dCgNpRhPwiWlxbHzZQ/d9swfPaEJGi8ekqRBwQYaR3WmA5VkqQfBWSDDjuJU1ntO+W9tHx8OHV/96Q8e0dVw==", + "license": "ISC" + }, + "node_modules/elliptic": { + "version": "6.5.7", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "license": "MIT" + }, + "node_modules/emittery": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/envinfo": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", + "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "dev": true, + "license": "MIT", + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/err-code": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", + "dev": true, + "license": "MIT" + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es5-ext": { + "version": "0.10.64", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", + "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", + "hasInstallScript": true, + "license": "ISC", + "dependencies": { + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", + "next-tick": "^1.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/es6-symbol": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", + "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "node_modules/es6-weak-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", + "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", + "license": "ISC", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.46", + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz", + "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.4.0", + "@eslint/eslintrc": "^2.0.2", + "@eslint/js": "8.38.0", + "@humanwhocodes/config-array": "^0.11.8", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.1", + "eslint-visitor-keys": "^3.4.0", + "espree": "^9.5.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "grapheme-splitter": "^1.0.4", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-sdsl": "^4.1.4", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", + "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "dev": true, + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", + "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prettier-linter-helpers": "^1.0.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "eslint": ">=7.28.0", + "prettier": ">=2.0.0" + }, + "peerDependenciesMeta": { + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/eslint/node_modules/globals": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/espree": { + "version": "9.5.2", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", + "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ethers": { + "version": "6.13.4", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.4.tgz", + "integrity": "sha512-21YtnZVg4/zKkCQPjrDj38B1r4nQvTZLopUGMLQ1ePU2zV/joCfDC3t3iKQjWRzjjjbzR+mdAIoikeBRNkdllA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/ethers-io/" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@adraffy/ens-normalize": "1.10.1", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", + "@types/node": "22.7.5", + "aes-js": "4.0.0-beta.5", + "tslib": "2.7.0", + "ws": "8.17.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/ethers/node_modules/@noble/curves": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethers/node_modules/@noble/hashes": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethers/node_modules/@types/node": { + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.19.2" + } + }, + "node_modules/ethers/node_modules/tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "dev": true, + "license": "0BSD" + }, + "node_modules/ethers/node_modules/ws": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true, + "license": "MIT" + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/expect": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.5.0.tgz", + "integrity": "sha512-yM7xqUrCO2JdpFo4XpM82t+PJBFybdqoQuJLDGeDX2ij8NZzqRHyu3Hp188/JX7SWqud+7t4MUdvcgGBICMHZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/expect-utils": "^29.5.0", + "jest-get-type": "^29.4.3", + "jest-matcher-utils": "^29.5.0", + "jest-message-util": "^29.5.0", + "jest-util": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/exponential-backoff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", + "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/ext": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", + "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", + "license": "ISC", + "dependencies": { + "type": "^2.7.2" + } + }, + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "license": "MIT", + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-glob": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", + "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/fast-json-patch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz", + "integrity": "sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==", + "license": "MIT" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-safe-stringify": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.4.tgz", + "integrity": "sha512-mNlGUdKOeGNleyrmgbKYtbnCr9KZkZXU7eM89JRo8vY10f7Ul1Fbj07hUBW3N4fC0xM+fmfFfa2zM7mIizhpNQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fb-watchman": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", + "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", + "license": "Apache-2.0", + "dependencies": { + "bser": "2.1.1" + } + }, + "node_modules/fecha": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", + "dev": true, + "license": "MIT" + }, + "node_modules/figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/filelist": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", + "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "minimatch": "^5.0.1" + } + }, + "node_modules/filelist/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flat-cache/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", + "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true, + "license": "MIT" + }, + "node_modules/fs-extra": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "license": "ISC" + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "license": "MIT" + }, + "node_modules/fuzzy": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/fuzzy/-/fuzzy-0.1.3.tgz", + "integrity": "sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w==", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/gauge": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", + "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-pkg-repo": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", + "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@hutson/parse-repository-url": "^3.0.0", + "hosted-git-info": "^4.0.0", + "through2": "^2.0.0", + "yargs": "^16.2.0" + }, + "bin": { + "get-pkg-repo": "src/cli.js" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-port": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz", + "integrity": "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-stdin": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", + "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-raw-commits": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-3.0.0.tgz", + "integrity": "sha512-b5OHmZ3vAgGrDn/X0kS+9qCfNKWe4K/jFnhwzVWWg0/k5eLa3060tZShrRg8Dja5kPc+YjS0Gc6y7cRr44Lpjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "dargs": "^7.0.0", + "meow": "^8.1.2", + "split2": "^3.2.2" + }, + "bin": { + "git-raw-commits": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/git-remote-origin-url": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", + "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "gitconfiglocal": "^1.0.0", + "pify": "^2.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/git-remote-origin-url/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/git-semver-tags": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-5.0.0.tgz", + "integrity": "sha512-fZ+tmZ1O5aXW/T5nLzZLbxWAHdQTLLXalOECMNAmhoEQSfqZjtaeMjpsXH4C5qVhrICTkVQeQFujB1lKzIHljA==", + "dev": true, + "license": "MIT", + "dependencies": { + "meow": "^8.1.2", + "semver": "^6.3.0" + }, + "bin": { + "git-semver-tags": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/git-semver-tags/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/git-up": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/git-up/-/git-up-7.0.0.tgz", + "integrity": "sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-ssh": "^1.4.0", + "parse-url": "^8.1.0" + } + }, + "node_modules/git-url-parse": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-13.1.0.tgz", + "integrity": "sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "git-up": "^7.0.0" + } + }, + "node_modules/gitconfiglocal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", + "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", + "dev": true, + "license": "BSD", + "dependencies": { + "ini": "^1.3.2" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/glob-promise": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz", + "integrity": "sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw==", + "license": "MIT", + "dependencies": { + "@types/glob": "^7.1.3" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/ahmadnassri" + }, + "peerDependencies": { + "glob": "^7.1.6" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "license": "MIT", + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" + }, + "node_modules/grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==", + "license": "MIT", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/http-cache-semantics": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.0.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-walk": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz", + "integrity": "sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minimatch": "^5.0.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/import-local": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", + "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "license": "ISC" + }, + "node_modules/init-package-json": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-5.0.0.tgz", + "integrity": "sha512-kBhlSheBfYmq3e0L1ii+VKe3zBTLL5lDCDWR+f9dLmEGSB3MqLlMlsolubSsyI88Bg6EA+BIMlomAnQ1SwgQBw==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-package-arg": "^10.0.0", + "promzard": "^1.0.0", + "read": "^2.0.0", + "read-package-json": "^6.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/inquirer": { + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", + "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/inquirer-autocomplete-prompt": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz", + "integrity": "sha512-VM4eNiyRD4CeUc2cyKni+F8qgHwL9WC4LdOr+mEC85qP/QNsDV+ysVqUrJYhw1TmDQu1QVhc8hbaL7wfk8SJxw==", + "license": "ISC", + "dependencies": { + "ansi-escapes": "^2.0.0", + "chalk": "^1.1.3", + "figures": "^2.0.0", + "inquirer": "3.1.1", + "lodash": "^4.17.4", + "run-async": "^2.3.0", + "util": "^0.10.3" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/ansi-escapes": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz", + "integrity": "sha512-tH/fSoQp4DrEodDK3QpdiWiZTSe7sBJ9eOqcQBZ0o9HTM+5M/viSEn+sPMoTuPjQQ8n++w3QJoPEjt8LVPcrCg==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/chardet": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", + "integrity": "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==", + "license": "MIT" + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", + "license": "MIT", + "dependencies": { + "restore-cursor": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/external-editor": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", + "license": "MIT", + "dependencies": { + "chardet": "^0.4.0", + "iconv-lite": "^0.4.17", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/inquirer": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.1.1.tgz", + "integrity": "sha512-H50sHQwgvvaTBd3HpKMVtL/u6LoHDvYym51gd7bGQe/+9HkCE+J0/3N5FJLfd6O6oz44hHewC2Pc2LodzWVafQ==", + "license": "MIT", + "dependencies": { + "ansi-escapes": "^2.0.0", + "chalk": "^1.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^2.0.4", + "figures": "^2.0.0", + "lodash": "^4.3.0", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rx-lite": "^4.0.8", + "rx-lite-aggregates": "^4.0.8", + "string-width": "^2.0.0", + "strip-ansi": "^3.0.0", + "through": "^2.3.6" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", + "license": "MIT", + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/string-width/node_modules/ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/string-width/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inquirer-autocomplete-prompt/node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/inquirer/node_modules/cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 10" + } + }, + "node_modules/inquirer/node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inquirer/node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true, + "license": "ISC" + }, + "node_modules/inquirerer": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/inquirerer/-/inquirerer-0.1.3.tgz", + "integrity": "sha512-yGgLUOqPxTsINBjZNZeLi3cv2zgxXtw9feaAOSJf2j6AqIT5Uxs5ZOqOrfAf+xP65Sicla1FD3iDxa3D6TsCAQ==", + "license": "MIT", + "dependencies": { + "colors": "^1.1.2", + "inquirer": "^6.0.0", + "inquirer-autocomplete-prompt": "^0.11.1" + } + }, + "node_modules/inquirerer/node_modules/ansi-escapes": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", + "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/inquirerer/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", + "license": "MIT", + "dependencies": { + "restore-cursor": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/inquirer": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz", + "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==", + "license": "MIT", + "dependencies": { + "ansi-escapes": "^3.2.0", + "chalk": "^2.4.2", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^3.0.3", + "figures": "^2.0.0", + "lodash": "^4.17.12", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rxjs": "^6.4.0", + "string-width": "^2.1.0", + "strip-ansi": "^5.1.0", + "through": "^2.3.6" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/inquirerer/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", + "license": "MIT", + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/rxjs": { + "version": "6.6.7", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", + "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^1.9.0" + }, + "engines": { + "npm": ">=2.0.0" + } + }, + "node_modules/inquirerer/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/string-width/node_modules/ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/string-width/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/inquirerer/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/inquirerer/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "license": "0BSD" + }, + "node_modules/interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/ip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz", + "integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "license": "MIT" + }, + "node_modules/is-ci": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz", + "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ci-info": "^3.2.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-core-module": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "license": "MIT", + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-lambda": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", + "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", + "license": "MIT" + }, + "node_modules/is-ssh": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz", + "integrity": "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "protocols": "^2.0.1" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-text-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", + "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "text-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isomorphic-ws": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", + "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", + "license": "MIT", + "peerDependencies": { + "ws": "*" + } + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", + "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/@babel/core": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT" + }, + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", + "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jackspeak": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz", + "integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jake": { + "version": "10.8.7", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz", + "integrity": "sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.4", + "minimatch": "^3.1.2" + }, + "bin": { + "jake": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest/-/jest-29.5.0.tgz", + "integrity": "sha512-juMg3he2uru1QoXX078zTa7pO85QyB9xajZc6bU+d9yEGwrKX6+vGmJQ3UdVZsvTEUARIdObzH68QItim6OSSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "^29.5.0", + "@jest/types": "^29.5.0", + "import-local": "^3.0.2", + "jest-cli": "^29.5.0" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-changed-files": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.5.0.tgz", + "integrity": "sha512-IFG34IUMUaNBIxjQXF/iu7g6EcdMrGRRxaUSw92I/2g2YC6vCdTltl4nHvt7Ci5nSJwXIkCu8Ka1DKF+X7Z1Ag==", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^5.0.0", + "p-limit": "^3.1.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.5.0.tgz", + "integrity": "sha512-gq/ongqeQKAplVxqJmbeUOJJKkW3dDNPY8PjhJ5G0lBRvu0e3EWGxGy5cI4LAGA7gV2UHCtWBI4EMXK8c9nQKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.5.0", + "@jest/expect": "^29.5.0", + "@jest/test-result": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^0.7.0", + "is-generator-fn": "^2.0.0", + "jest-each": "^29.5.0", + "jest-matcher-utils": "^29.5.0", + "jest-message-util": "^29.5.0", + "jest-runtime": "^29.5.0", + "jest-snapshot": "^29.5.0", + "jest-util": "^29.5.0", + "p-limit": "^3.1.0", + "pretty-format": "^29.5.0", + "pure-rand": "^6.0.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-cli": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.5.0.tgz", + "integrity": "sha512-L1KcP1l4HtfwdxXNFCL5bmUbLQiKrakMUriBEcc1Vfz6gx31ORKdreuWvmQVBit+1ss9NNR3yxjwfwzZNdQXJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "^29.5.0", + "@jest/test-result": "^29.5.0", + "@jest/types": "^29.5.0", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^29.5.0", + "jest-util": "^29.5.0", + "jest-validate": "^29.5.0", + "prompts": "^2.0.1", + "yargs": "^17.3.1" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-cli/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/jest-cli/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/jest-config": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.5.0.tgz", + "integrity": "sha512-kvDUKBnNJPNBmFFOhDbm59iu1Fii1Q6SxyhXfvylq3UTHbg6o7j/g8k2dZyXWLvfdKB1vAPxNZnMgtKJcmu3kA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^29.5.0", + "@jest/types": "^29.5.0", + "babel-jest": "^29.5.0", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-circus": "^29.5.0", + "jest-environment-node": "^29.5.0", + "jest-get-type": "^29.4.3", + "jest-regex-util": "^29.4.3", + "jest-resolve": "^29.5.0", + "jest-runner": "^29.5.0", + "jest-util": "^29.5.0", + "jest-validate": "^29.5.0", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^29.5.0", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/jest-config/node_modules/@babel/core": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/babel-jest": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.5.0.tgz", + "integrity": "sha512-mA4eCDh5mSo2EcA9xQjVTpmbbNk32Zb3Q3QFQsNhaK56Q+yoXowzFodLux30HRgyOho5rsQ6B0P9QpMkvvnJ0Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/transform": "^29.5.0", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^29.5.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" + } + }, + "node_modules/jest-config/node_modules/babel-preset-current-node-syntax": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-config/node_modules/babel-preset-jest": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.5.0.tgz", + "integrity": "sha512-JOMloxOqdiBSxMAzjRaH023/vvcaSaec49zvg+2LmNsktC7ei39LTJGw02J+9uUtTZUq6xbLyJ4dxe9sSmIuAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-jest-hoist": "^29.5.0", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-config/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-config/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/jest-diff": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.5.0.tgz", + "integrity": "sha512-LtxijLLZBduXnHSniy0WMdaHjmQnt3g5sa16W4p0HqukYTTsyTW3GD1q41TyGl5YFXj/5B2U6dlh5FM1LIMgxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.4.3", + "jest-get-type": "^29.4.3", + "pretty-format": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-docblock": { + "version": "29.4.3", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.4.3.tgz", + "integrity": "sha512-fzdTftThczeSD9nZ3fzA/4KkHtnmllawWrXO69vtI+L9WjEIuXWs4AmyME7lN5hU7dB0sHhuPfcKofRsUb/2Fg==", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-each": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.5.0.tgz", + "integrity": "sha512-HM5kIJ1BTnVt+DQZ2ALp3rzXEl+g726csObrW/jpEGl+CDSSQpOJJX2KE/vEg8cxcMXdyEPu6U4QX5eruQv5hA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.5.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.4.3", + "jest-util": "^29.5.0", + "pretty-format": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-environment-node": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.5.0.tgz", + "integrity": "sha512-ExxuIK/+yQ+6PRGaHkKewYtg6hto2uGCgvKdb2nfJfKXgZ17DfXjvbZ+jA1Qt9A8EQSfPnt5FKIfnOO3u1h9qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.5.0", + "@jest/fake-timers": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/node": "*", + "jest-mock": "^29.5.0", + "jest-util": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-get-type": { + "version": "29.4.3", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.4.3.tgz", + "integrity": "sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-haste-map": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.5.0.tgz", + "integrity": "sha512-IspOPnnBro8YfVYSw6yDRKh/TiCdRngjxeacCps1cQ9cgVN6+10JUcuJ1EabrgYLOATsIAigxA0rLR9x/YlrSA==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.5.0", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.4.3", + "jest-util": "^29.5.0", + "jest-worker": "^29.5.0", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/jest-in-case": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/jest-in-case/-/jest-in-case-1.0.2.tgz", + "integrity": "sha512-2DE6Gdwnh5jkCYTePWoQinF+zne3lCADibXoYJEt8PS84JaRug0CyAOrEgzMxbzln3YcSY2PBeru7ct4tbflYA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/jest-leak-detector": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.5.0.tgz", + "integrity": "sha512-u9YdeeVnghBUtpN5mVxjID7KbkKE1QU4f6uUwuxiY0vYRi9BUCLKlPEZfDGR67ofdFmDz9oPAy2G92Ujrntmow==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^29.4.3", + "pretty-format": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-matcher-utils": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.5.0.tgz", + "integrity": "sha512-lecRtgm/rjIK0CQ7LPQwzCs2VwW6WAahA55YBuI+xqmhm7LAaxokSB8C97yJeYyT+HvQkH741StzpU41wohhWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.5.0", + "jest-get-type": "^29.4.3", + "pretty-format": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-message-util": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.5.0.tgz", + "integrity": "sha512-Kijeg9Dag6CKtIDA7O21zNTACqD5MD/8HfIV8pdD94vFyFuer52SigdC3IQMhab3vACxXMiFk+yMHNdbqtyTGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.5.0", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.5.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-mock": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.5.0.tgz", + "integrity": "sha512-GqOzvdWDE4fAV2bWQLQCkujxYWL7RxjCnj71b5VhDAGOevB3qj3Ovg26A5NI84ZpODxyzaozXLOh2NCgkbvyaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.5.0", + "@types/node": "*", + "jest-util": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-pnp-resolver": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", + "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "jest-resolve": "*" + }, + "peerDependenciesMeta": { + "jest-resolve": { + "optional": true + } + } + }, + "node_modules/jest-regex-util": { + "version": "29.4.3", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.4.3.tgz", + "integrity": "sha512-O4FglZaMmWXbGHSQInfXewIsd1LMn9p3ZXB/6r4FOkyhX2/iP/soMG98jGvk/A3HAN78+5VWcBGO0BJAPRh4kg==", + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.5.0.tgz", + "integrity": "sha512-1TzxJ37FQq7J10jPtQjcc+MkCkE3GBpBecsSUWJ0qZNJpmg6m0D9/7II03yJulm3H/fvVjgqLh/k2eYg+ui52w==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.5.0", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.5.0", + "jest-validate": "^29.5.0", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve-dependencies": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.5.0.tgz", + "integrity": "sha512-sjV3GFr0hDJMBpYeUuGduP+YeCRbd7S/ck6IvL3kQ9cpySYKqcqhdLLC2rFwrcL7tz5vYibomBrsFYWkIGGjOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-regex-util": "^29.4.3", + "jest-snapshot": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.5.0.tgz", + "integrity": "sha512-m7b6ypERhFghJsslMLhydaXBiLf7+jXy8FwGRHO3BGV1mcQpPbwiqiKUR2zU2NJuNeMenJmlFZCsIqzJCTeGLQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.5.0", + "@jest/environment": "^29.5.0", + "@jest/test-result": "^29.5.0", + "@jest/transform": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^29.4.3", + "jest-environment-node": "^29.5.0", + "jest-haste-map": "^29.5.0", + "jest-leak-detector": "^29.5.0", + "jest-message-util": "^29.5.0", + "jest-resolve": "^29.5.0", + "jest-runtime": "^29.5.0", + "jest-util": "^29.5.0", + "jest-watcher": "^29.5.0", + "jest-worker": "^29.5.0", + "p-limit": "^3.1.0", + "source-map-support": "0.5.13" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner/node_modules/source-map-support": { + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", + "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/jest-runtime": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.5.0.tgz", + "integrity": "sha512-1Hr6Hh7bAgXQP+pln3homOiEZtCDZFqwmle7Ew2j8OlbkIu6uE3Y/etJQG8MLQs3Zy90xrp2C0BRrtPHG4zryw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.5.0", + "@jest/fake-timers": "^29.5.0", + "@jest/globals": "^29.5.0", + "@jest/source-map": "^29.4.3", + "@jest/test-result": "^29.5.0", + "@jest/transform": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/node": "*", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.5.0", + "jest-message-util": "^29.5.0", + "jest-mock": "^29.5.0", + "jest-regex-util": "^29.4.3", + "jest-resolve": "^29.5.0", + "jest-snapshot": "^29.5.0", + "jest-util": "^29.5.0", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runtime/node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-snapshot": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.5.0.tgz", + "integrity": "sha512-x7Wolra5V0tt3wRs3/ts3S6ciSQVypgGQlJpz2rsdQYoUKxMxPNaoHMGJN6qAuPJqS+2iQ1ZUn5kl7HCyls84g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-jsx": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.3.3", + "@jest/expect-utils": "^29.5.0", + "@jest/transform": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/babel__traverse": "^7.0.6", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^29.5.0", + "graceful-fs": "^4.2.9", + "jest-diff": "^29.5.0", + "jest-get-type": "^29.4.3", + "jest-matcher-utils": "^29.5.0", + "jest-message-util": "^29.5.0", + "jest-util": "^29.5.0", + "natural-compare": "^1.4.0", + "pretty-format": "^29.5.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/core": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/babel-preset-current-node-syntax": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-util": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.5.0.tgz", + "integrity": "sha512-RYMgG/MTadOr5t8KdhejfvUU82MxsCu5MF6KuDUHl+NuwzUt+Sm6jJWxTJVrDR1j5M/gJVCPKQEpWXY+yIQ6lQ==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.5.0", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-validate": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.5.0.tgz", + "integrity": "sha512-pC26etNIi+y3HV8A+tUGr/lph9B18GnzSRAkPaaZJIE1eFdiYm6/CewuiJQ8/RlfHd1u/8Ioi8/sJ+CmbA+zAQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.5.0", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.4.3", + "leven": "^3.1.0", + "pretty-format": "^29.5.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-validate/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-watcher": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.5.0.tgz", + "integrity": "sha512-KmTojKcapuqYrKDpRwfqcQ3zjMlwu27SYext9pt4GlF5FUgB+7XE1mcCnSm6a4uUpFyQIkb6ZhzZvHl+jiBCiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^29.5.0", + "@jest/types": "^29.5.0", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "jest-util": "^29.5.0", + "string-length": "^4.0.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-worker": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.5.0.tgz", + "integrity": "sha512-NcrQnevGoSp4b5kg+akIpthoAFHxPBcb5P6mYPY0fUNT+sSvmtu6jlkEle3anczUKIKEbMxFimk9oTP/tpIPgA==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.5.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/js-crypto-env": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz", + "integrity": "sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ==", + "license": "MIT" + }, + "node_modules/js-crypto-hash": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz", + "integrity": "sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA==", + "license": "MIT", + "dependencies": { + "buffer": "~5.4.3", + "hash.js": "~1.1.7", + "js-crypto-env": "^0.3.2", + "md5": "~2.2.1", + "sha3": "~2.1.0" + } + }, + "node_modules/js-crypto-hash/node_modules/buffer": { + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz", + "integrity": "sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A==", + "license": "MIT", + "dependencies": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, + "node_modules/js-crypto-hkdf": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz", + "integrity": "sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ==", + "license": "MIT", + "dependencies": { + "js-crypto-env": "^0.3.2", + "js-crypto-hmac": "^0.6.3", + "js-crypto-random": "^0.4.3", + "js-encoding-utils": "0.5.6" + } + }, + "node_modules/js-crypto-hmac": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz", + "integrity": "sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA==", + "license": "MIT", + "dependencies": { + "js-crypto-env": "^0.3.2", + "js-crypto-hash": "^0.6.3" + } + }, + "node_modules/js-crypto-random": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz", + "integrity": "sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ==", + "license": "MIT", + "dependencies": { + "js-crypto-env": "^0.3.2" + } + }, + "node_modules/js-encoding-utils": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz", + "integrity": "sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg==", + "license": "MIT" + }, + "node_modules/js-sdsl": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.4.1.tgz", + "integrity": "sha512-6Gsx8R0RucyePbWqPssR8DyfuXmLBooYN5cZFZKjHGnQuaf7pEzhtpceagJxVu4LqhYY5EYA7nko3FmeHZ1KbA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "node_modules/js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", + "license": "MIT" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz", + "integrity": "sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true, + "license": "ISC" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true, + "engines": [ + "node >= 0.2.0" + ], + "license": "MIT" + }, + "node_modules/JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "dependencies": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + }, + "bin": { + "JSONStream": "bin.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/just-extend": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", + "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", + "dev": true, + "license": "MIT" + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", + "dev": true, + "license": "MIT" + }, + "node_modules/lerna": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-7.0.2.tgz", + "integrity": "sha512-omFpf1pTiaObC2YOC7K+euaDwhQA9CyKN1kXxmlSwaSkh8b8QTs4SC8jp3oNeXfcHpVS1ttuuz98AvQvJD46wA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna/child-process": "7.0.2", + "@lerna/create": "7.0.2", + "@npmcli/run-script": "6.0.2", + "@nx/devkit": ">=16.1.3 < 17", + "@octokit/plugin-enterprise-rest": "6.0.1", + "@octokit/rest": "19.0.11", + "byte-size": "8.1.1", + "chalk": "4.1.0", + "clone-deep": "4.0.1", + "cmd-shim": "6.0.1", + "columnify": "1.6.0", + "conventional-changelog-angular": "6.0.0", + "conventional-changelog-core": "5.0.1", + "conventional-recommended-bump": "7.0.1", + "cosmiconfig": "^8.2.0", + "dedent": "0.7.0", + "envinfo": "7.8.1", + "execa": "5.0.0", + "fs-extra": "^11.1.1", + "get-port": "5.1.1", + "get-stream": "6.0.0", + "git-url-parse": "13.1.0", + "glob-parent": "5.1.2", + "globby": "11.1.0", + "graceful-fs": "4.2.11", + "has-unicode": "2.0.1", + "import-local": "3.1.0", + "ini": "^1.3.8", + "init-package-json": "5.0.0", + "inquirer": "^8.2.4", + "is-ci": "3.0.1", + "is-stream": "2.0.0", + "jest-diff": ">=29.4.3 < 30", + "js-yaml": "4.1.0", + "libnpmaccess": "7.0.2", + "libnpmpublish": "7.3.0", + "load-json-file": "6.2.0", + "make-dir": "3.1.0", + "minimatch": "3.0.5", + "multimatch": "5.0.0", + "node-fetch": "2.6.7", + "npm-package-arg": "8.1.1", + "npm-packlist": "5.1.1", + "npm-registry-fetch": "^14.0.5", + "npmlog": "^6.0.2", + "nx": ">=16.1.3 < 17", + "p-map": "4.0.0", + "p-map-series": "2.1.0", + "p-pipe": "3.1.0", + "p-queue": "6.6.2", + "p-reduce": "2.1.0", + "p-waterfall": "2.1.1", + "pacote": "^15.2.0", + "pify": "5.0.0", + "read-cmd-shim": "4.0.0", + "read-package-json": "6.0.4", + "resolve-from": "5.0.0", + "rimraf": "^4.4.1", + "semver": "^7.3.8", + "signal-exit": "3.0.7", + "slash": "3.0.0", + "ssri": "^9.0.1", + "strong-log-transformer": "2.1.0", + "tar": "6.1.11", + "temp-dir": "1.0.0", + "typescript": ">=3 < 6", + "upath": "2.0.1", + "uuid": "^9.0.0", + "validate-npm-package-license": "3.0.4", + "validate-npm-package-name": "5.0.0", + "write-file-atomic": "5.0.1", + "write-pkg": "4.0.0", + "yargs": "16.2.0", + "yargs-parser": "20.2.4" + }, + "bin": { + "lerna": "dist/cli.js" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + } + }, + "node_modules/lerna/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/lerna/node_modules/builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lerna/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/lerna/node_modules/execa": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.0.0.tgz", + "integrity": "sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/lerna/node_modules/execa/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lerna/node_modules/execa/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lerna/node_modules/get-stream": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.0.tgz", + "integrity": "sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lerna/node_modules/glob": { + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/lerna/node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/lerna/node_modules/glob/node_modules/minimatch": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/lerna/node_modules/glob/node_modules/minipass": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", + "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/lerna/node_modules/hosted-git-info": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", + "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/lerna/node_modules/is-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/lerna/node_modules/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/lerna/node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/lerna/node_modules/npm-package-arg": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", + "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^3.0.6", + "semver": "^7.0.0", + "validate-npm-package-name": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/lerna/node_modules/npm-package-arg/node_modules/validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "dev": true, + "license": "ISC", + "dependencies": { + "builtins": "^1.0.3" + } + }, + "node_modules/lerna/node_modules/pify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", + "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lerna/node_modules/rimraf": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.4.1.tgz", + "integrity": "sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^9.2.0" + }, + "bin": { + "rimraf": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/lerna/node_modules/ssri": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", + "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/lerna/node_modules/tar": { + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "dev": true, + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/lerna/node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/lerna/node_modules/write-file-atomic/node_modules/signal-exit": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", + "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/lerna/node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/libnpmaccess": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-7.0.2.tgz", + "integrity": "sha512-vHBVMw1JFMTgEk15zRsJuSAg7QtGGHpUSEfnbcRL1/gTBag9iEfJbyjpDmdJmwMhvpoLoNBtdAUCdGnaP32hhw==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-7.3.0.tgz", + "integrity": "sha512-fHUxw5VJhZCNSls0KLNEG0mCD2PN1i14gH5elGOgiVnU3VgTcRahagYP2LKI1m0tFCJ+XrAm0zVYyF5RCbXzcg==", + "dev": true, + "license": "ISC", + "dependencies": { + "ci-info": "^3.6.1", + "normalize-package-data": "^5.0.0", + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3", + "proc-log": "^3.0.0", + "semver": "^7.3.7", + "sigstore": "^1.4.0", + "ssri": "^10.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish/node_modules/hosted-git-info": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", + "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/libnpmpublish/node_modules/normalize-package-data": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", + "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libsodium": { + "version": "0.7.11", + "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.11.tgz", + "integrity": "sha512-WPfJ7sS53I2s4iM58QxY3Inb83/6mjlYgcmZs7DJsvDlnmVUwNinBCi5vBT43P6bHRy01O4zsMU2CoVR6xJ40A==", + "license": "ISC" + }, + "node_modules/libsodium-sumo": { + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/libsodium-sumo/-/libsodium-sumo-0.7.13.tgz", + "integrity": "sha512-zTGdLu4b9zSNLfovImpBCbdAA4xkpkZbMnSQjP8HShyOutnGjRHmSOKlsylh1okao6QhLiz7nG98EGn+04cZjQ==", + "license": "ISC" + }, + "node_modules/libsodium-wrappers": { + "version": "0.7.11", + "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.11.tgz", + "integrity": "sha512-SrcLtXj7BM19vUKtQuyQKiQCRJPgbpauzl3s0rSwD+60wtHqSUuqcoawlMDheCJga85nKOQwxNYQxf/CKAvs6Q==", + "license": "ISC", + "dependencies": { + "libsodium": "^0.7.11" + } + }, + "node_modules/libsodium-wrappers-sumo": { + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.13.tgz", + "integrity": "sha512-lz4YdplzDRh6AhnLGF2Dj2IUj94xRN6Bh8T0HLNwzYGwPehQJX6c7iYVrFUPZ3QqxE0bqC+K0IIqqZJYWumwSQ==", + "license": "ISC", + "dependencies": { + "libsodium-sumo": "^0.7.13" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/load-json-file": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz", + "integrity": "sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.15", + "parse-json": "^5.0.0", + "strip-bom": "^4.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/load-json-file/node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "license": "MIT" + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "license": "MIT" + }, + "node_modules/lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.ismatch": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", + "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.truncate": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", + "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/logform": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.5.1.tgz", + "integrity": "sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "@types/triple-beam": "^1.3.2", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", + "license": "Apache-2.0" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/lru-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz", + "integrity": "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==", + "license": "MIT", + "dependencies": { + "es5-ext": "~0.10.2" + } + }, + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, + "node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/make-fetch-happen/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/makeerror": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", + "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "license": "BSD-3-Clause", + "dependencies": { + "tmpl": "1.0.5" + } + }, + "node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/match-sorter": { + "version": "6.3.4", + "resolved": "https://registry.npmmirror.com/match-sorter/-/match-sorter-6.3.4.tgz", + "integrity": "sha512-jfZW7cWS5y/1xswZo8VBOdudUiSd9nifYRWphc9M5D/ee4w4AoXLgBEdRbgVaxbMuagBPeUC5y2Hi8DO6o9aDg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.8", + "remove-accents": "0.5.0" + } + }, + "node_modules/md5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz", + "integrity": "sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ==", + "license": "BSD-3-Clause", + "dependencies": { + "charenc": "~0.0.1", + "crypt": "~0.0.1", + "is-buffer": "~1.1.1" + } + }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "license": "MIT", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/memoizee": { + "version": "0.4.15", + "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz", + "integrity": "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.53", + "es6-weak-map": "^2.0.3", + "event-emitter": "^0.3.5", + "is-promise": "^2.2.2", + "lru-queue": "^0.1.0", + "next-tick": "^1.1.0", + "timers-ext": "^0.1.7" + } + }, + "node_modules/meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/meow/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/meow/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true, + "license": "ISC" + }, + "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/meow/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/microseconds": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/microseconds/-/microseconds-0.2.0.tgz", + "integrity": "sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA==", + "license": "MIT" + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "license": "ISC" + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==", + "license": "MIT" + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimatch/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/minimist-options/node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-collect": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", + "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-fetch": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^5.0.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/minipass-fetch/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-flush": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", + "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-json-stream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", + "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonparse": "^1.3.1", + "minipass": "^3.0.0" + } + }, + "node_modules/minipass-pipeline": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", + "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-sized": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", + "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/miscreant": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz", + "integrity": "sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA==", + "license": "MIT" + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mobx": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/mobx/-/mobx-6.9.0.tgz", + "integrity": "sha512-HdKewQEREEJgsWnErClfbFoVebze6rGazxFLU/XUyrII8dORfVszN1V0BMRnQSzcgsNNtkX8DHj3nC6cdWE9YQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mobx" + } + }, + "node_modules/modify-values": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", + "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/multimatch": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz", + "integrity": "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimatch": "^3.0.3", + "array-differ": "^3.0.0", + "array-union": "^2.1.0", + "arrify": "^2.0.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==", + "license": "ISC" + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nano-time": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/nano-time/-/nano-time-1.0.0.tgz", + "integrity": "sha512-flnngywOoQ0lLQOTRNexn2gGSNuM9bKj9RZAWSzhQ+UJYaAFG9bac4DW9VHjUAzrOaIcajHybCTHe/bkvozQqA==", + "license": "ISC", + "dependencies": { + "big-integer": "^1.6.16" + } + }, + "node_modules/nanoid": { + "version": "3.3.8", + "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "peer": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/next-tick": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", + "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==", + "license": "ISC" + }, + "node_modules/nise": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz", + "integrity": "sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^2.0.0", + "@sinonjs/fake-timers": "^10.0.2", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "path-to-regexp": "^1.7.0" + } + }, + "node_modules/node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-fetch": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", + "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-gyp": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz", + "integrity": "sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^11.0.3", + "nopt": "^6.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^12.13 || ^14.13 || >=16" + } + }, + "node_modules/node-gyp-build": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", + "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", + "dev": true, + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/node-gyp/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", + "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==", + "license": "MIT" + }, + "node_modules/nopt": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", + "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", + "dev": true, + "license": "ISC", + "dependencies": { + "abbrev": "^1.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true, + "license": "ISC" + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-bundled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", + "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^1.0.1" + } + }, + "node_modules/npm-bundled/node_modules/npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", + "dev": true, + "license": "ISC" + }, + "node_modules/npm-install-checks": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.1.1.tgz", + "integrity": "sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-normalize-package-bin": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-package-arg/node_modules/hosted-git-info": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", + "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-package-arg/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/npm-packlist": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.1.tgz", + "integrity": "sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^8.0.1", + "ignore-walk": "^5.0.1", + "npm-bundled": "^1.1.2", + "npm-normalize-package-bin": "^1.0.1" + }, + "bin": { + "npm-packlist": "bin/index.js" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/npm-packlist/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm-packlist/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-packlist/node_modules/npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", + "dev": true, + "license": "ISC" + }, + "node_modules/npm-pick-manifest": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-8.0.1.tgz", + "integrity": "sha512-mRtvlBjTsJvfCCdmPtiu2bdlx8d/KXtF7yNXNWe7G0Z36qWA9Ny5zXsI2PfBZEv7SXgoxTmNaTzGSbbzDZChoA==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^10.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch": { + "version": "14.0.5", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz", + "integrity": "sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA==", + "dev": true, + "license": "ISC", + "dependencies": { + "make-fetch-happen": "^11.0.0", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.1.2", + "npm-package-arg": "^10.0.0", + "proc-log": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npmlog": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", + "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", + "dev": true, + "license": "ISC", + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/nx": { + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/nx/-/nx-16.4.0.tgz", + "integrity": "sha512-HhJnOAm2wlaIVMmxK1HcdcKfX5DlnQc1RAHFf+QostvQQ/SmUg9f7LoStxpNm01JhQTehb01tH9zAsXKcKzO4A==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@nrwl/tao": "16.4.0", + "@parcel/watcher": "2.0.4", + "@yarnpkg/lockfile": "^1.1.0", + "@yarnpkg/parsers": "^3.0.0-rc.18", + "@zkochan/js-yaml": "0.0.6", + "axios": "^1.0.0", + "chalk": "^4.1.0", + "cli-cursor": "3.1.0", + "cli-spinners": "2.6.1", + "cliui": "^7.0.2", + "dotenv": "~10.0.0", + "enquirer": "~2.3.6", + "fast-glob": "3.2.7", + "figures": "3.2.0", + "flat": "^5.0.2", + "fs-extra": "^11.1.0", + "glob": "7.1.4", + "ignore": "^5.0.4", + "js-yaml": "4.1.0", + "jsonc-parser": "3.2.0", + "lines-and-columns": "~2.0.3", + "minimatch": "3.0.5", + "npm-run-path": "^4.0.1", + "open": "^8.4.0", + "semver": "7.5.3", + "string-width": "^4.2.3", + "strong-log-transformer": "^2.1.0", + "tar-stream": "~2.2.0", + "tmp": "~0.2.1", + "tsconfig-paths": "^4.1.2", + "tslib": "^2.3.0", + "v8-compile-cache": "2.3.0", + "yargs": "^17.6.2", + "yargs-parser": "21.1.1" + }, + "bin": { + "nx": "bin/nx.js" + }, + "optionalDependencies": { + "@nx/nx-darwin-arm64": "16.4.0", + "@nx/nx-darwin-x64": "16.4.0", + "@nx/nx-freebsd-x64": "16.4.0", + "@nx/nx-linux-arm-gnueabihf": "16.4.0", + "@nx/nx-linux-arm64-gnu": "16.4.0", + "@nx/nx-linux-arm64-musl": "16.4.0", + "@nx/nx-linux-x64-gnu": "16.4.0", + "@nx/nx-linux-x64-musl": "16.4.0", + "@nx/nx-win32-arm64-msvc": "16.4.0", + "@nx/nx-win32-x64-msvc": "16.4.0" + }, + "peerDependencies": { + "@swc-node/register": "^1.4.2", + "@swc/core": "^1.2.173" + }, + "peerDependenciesMeta": { + "@swc-node/register": { + "optional": true + }, + "@swc/core": { + "optional": true + } + } + }, + "node_modules/nx/node_modules/axios": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/nx/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/nx/node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nx/node_modules/glob": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/nx/node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/nx/node_modules/lines-and-columns": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", + "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/nx/node_modules/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/nx/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/nx/node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/nx/node_modules/rimraf/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/nx/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/nx/node_modules/tmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "rimraf": "^3.0.0" + }, + "engines": { + "node": ">=8.17.0" + } + }, + "node_modules/nx/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/nx/node_modules/yargs/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/oblivious-set": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/oblivious-set/-/oblivious-set-1.0.0.tgz", + "integrity": "sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw==", + "license": "MIT" + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/cli-spinners": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.0.tgz", + "integrity": "sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/osmojs": { + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/osmojs/-/osmojs-15.2.0.tgz", + "integrity": "sha512-W84t1AHCHtcPhRyn0xxagAC4HMdOan3CScJs8iPjwBDvUtuWtE0R7FsNdLIpy+GY9/qTtRF35xML5IXlGfA7sQ==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.19.0", + "@cosmjs/amino": "0.29.3", + "@cosmjs/proto-signing": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmjs/tendermint-rpc": "^0.29.3", + "@osmonauts/lcd": "^0.10.0", + "long": "^5.2.0", + "protobufjs": "^6.11.3" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/amino": { + "version": "0.29.3", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz", + "integrity": "sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.3", + "@cosmjs/encoding": "^0.29.3", + "@cosmjs/math": "^0.29.3", + "@cosmjs/utils": "^0.29.3" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/json-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz", + "integrity": "sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "xstream": "^11.14.0" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/proto-signing": { + "version": "0.29.3", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz", + "integrity": "sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.3", + "@cosmjs/crypto": "^0.29.3", + "@cosmjs/encoding": "^0.29.3", + "@cosmjs/math": "^0.29.3", + "@cosmjs/utils": "^0.29.3", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/amino": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/proto-signing/node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", + "license": "Apache-2.0" + }, + "node_modules/osmojs/node_modules/@cosmjs/socket": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.5.tgz", + "integrity": "sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/stream": "^0.29.5", + "isomorphic-ws": "^4.0.1", + "ws": "^7", + "xstream": "^11.14.0" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/stargate": { + "version": "0.29.3", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz", + "integrity": "sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA==", + "license": "Apache-2.0", + "dependencies": { + "@confio/ics23": "^0.6.8", + "@cosmjs/amino": "^0.29.3", + "@cosmjs/encoding": "^0.29.3", + "@cosmjs/math": "^0.29.3", + "@cosmjs/proto-signing": "^0.29.3", + "@cosmjs/stream": "^0.29.3", + "@cosmjs/tendermint-rpc": "^0.29.3", + "@cosmjs/utils": "^0.29.3", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0", + "protobufjs": "~6.11.3", + "xstream": "^11.14.0" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", + "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0" + } + }, + "node_modules/osmojs/node_modules/@cosmjs/stargate/node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", + "license": "Apache-2.0" + }, + "node_modules/osmojs/node_modules/@cosmjs/tendermint-rpc": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz", + "integrity": "sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==", + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/json-rpc": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/socket": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "axios": "^0.21.2", + "readonly-date": "^1.0.0", + "xstream": "^11.14.0" + } + }, + "node_modules/osmojs/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "license": "Apache-2.0" + }, + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-locate/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-map-series": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz", + "integrity": "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/p-pipe": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", + "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-queue": { + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", + "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.4", + "p-timeout": "^3.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-reduce": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", + "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/p-waterfall": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz", + "integrity": "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-reduce": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pacote": { + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.2.0.tgz", + "integrity": "sha512-rJVZeIwHTUta23sIZgEIM62WYwbmGbThdbnkt81ravBplQv+HjyroqnLRNH2+sLJHcGZmLRmhPwACqhfTcOmnA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^4.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/run-script": "^6.0.0", + "cacache": "^17.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^5.0.0", + "npm-package-arg": "^10.0.0", + "npm-packlist": "^7.0.0", + "npm-pick-manifest": "^8.0.0", + "npm-registry-fetch": "^14.0.0", + "proc-log": "^3.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^6.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^1.3.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/fs-minipass": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.2.tgz", + "integrity": "sha512-2GAfyfoaCDRrM6jaOS3UsBts8yJ55VioXdWcOL7dK9zdAuKT71+WBA4ifnNYqVjYv+4SsPxjK0JT4yIIn4cA/g==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/ignore-walk": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.3.tgz", + "integrity": "sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA==", + "dev": true, + "license": "ISC", + "dependencies": { + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/minimatch": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/pacote/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/pacote/node_modules/npm-packlist": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.4.tgz", + "integrity": "sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "ignore-walk": "^6.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pako": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==", + "dev": true, + "license": "(MIT AND Zlib)" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-json/node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/parse-package-name": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/parse-package-name/-/parse-package-name-1.0.0.tgz", + "integrity": "sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg==", + "license": "MIT" + }, + "node_modules/parse-path": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz", + "integrity": "sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==", + "dev": true, + "license": "MIT", + "dependencies": { + "protocols": "^2.0.0" + } + }, + "node_modules/parse-url": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-8.1.0.tgz", + "integrity": "sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse-path": "^7.0.0" + } + }, + "node_modules/path": { + "version": "0.12.7", + "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz", + "integrity": "sha512-aXXC6s+1w7otVF9UletFkFcDsJeO7lSZBPUQhtb5O0xJe8LtYhj/GxldoL09bBj9+ZmE2hNoHqQSFMN5fikh4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "process": "^0.11.1", + "util": "^0.10.3" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "license": "MIT" + }, + "node_modules/path-scurry": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.9.2.tgz", + "integrity": "sha512-qSDLy2aGFPm8i4rsbHd4MNyTcrzHFsLQykrtbuGRknZZCBBVXSv2tSCDN2Cg6Rt/GFRw8GoW9y9Ecw5rIPG1sg==", + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^9.1.1", + "minipass": "^5.0.0 || ^6.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.2.tgz", + "integrity": "sha512-ERJq3FOzJTxBbFjZ7iDs+NiK4VI9Wz+RdrrAB8dio1oV+YvdPzUEE4QNiT2VD51DkIbCYRUUzCRkssXCHqSnKQ==", + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/path-scurry/node_modules/minipass": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", + "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==", + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/path-to-regexp": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz", + "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "0.0.1" + } + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "license": "MIT", + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/postcss": { + "version": "8.4.49", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "peer": true, + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "2.8.7", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz", + "integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==", + "devOptional": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-format": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.5.0.tgz", + "integrity": "sha512-V2mGkI31qdttvTFX7Mt4efOqHXqJWMu4/r66Xh3Z3BwZaPfPJgp6/gbwoujRpPUtfEF6AUUWx3Jim3GCw5g/Qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.4.3", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/proc-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", + "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/prom-client": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-13.1.0.tgz", + "integrity": "sha512-jT9VccZCWrJWXdyEtQddCDszYsiuWj5T0ekrPszi/WEegj3IZy6Mm09iOOVM86A4IKMWq8hZkT2dD9MaSe+sng==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/promise-retry": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", + "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/promise-retry/node_modules/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/promzard": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/promzard/-/promzard-1.0.0.tgz", + "integrity": "sha512-KQVDEubSUHGSt5xLakaToDFrSoZhStB8dXLzk2xvwR67gJktrHFvpR63oZgHyK19WKbHFLXJqCPXdVR3aBP8Ig==", + "dev": true, + "license": "ISC", + "dependencies": { + "read": "^2.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/protobufjs": { + "version": "6.11.3", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz", + "integrity": "sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } + }, + "node_modules/protocols": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz", + "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/pure-rand": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.2.tgz", + "integrity": "sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/react": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + }, + "peerDependencies": { + "react": "^18.2.0" + } + }, + "node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "dev": true, + "license": "MIT" + }, + "node_modules/react-query": { + "version": "3.39.3", + "resolved": "https://registry.npmmirror.com/react-query/-/react-query-3.39.3.tgz", + "integrity": "sha512-nLfLz7GiohKTJDuT4us4X3h/8unOh+00MLb2yJoGTPjxKs2bc1iDhkNx2bd5MKklXnOD3NrVZ+J2UXujA5In4g==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.5.5", + "broadcast-channel": "^3.4.1", + "match-sorter": "^6.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + } + }, + "node_modules/read": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/read/-/read-2.1.0.tgz", + "integrity": "sha512-bvxi1QLJHcaywCAEsAk4DG3nVoqiY2Csps3qzWalhj5hFqRn1d/OixkFXtLO1PrgHUcAP0FNaSY/5GYNfENFFQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "mute-stream": "~1.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-cmd-shim": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz", + "integrity": "sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.4.tgz", + "integrity": "sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^10.2.2", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^5.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", + "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", + "dev": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/glob": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.0.tgz", + "integrity": "sha512-AQ1/SB9HH0yCx1jXAT4vmCbTOPe5RQ+kCurjbel5xSCGhebumUv+GJZfa1rEqor3XIViqwSEmlkZCQD43RWrBg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2", + "path-scurry": "^1.7.0" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/hosted-git-info": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", + "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/read-package-json/node_modules/minimatch": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/minipass": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", + "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/read-package-json/node_modules/normalize-package-data": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", + "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", + "dev": true, + "license": "MIT", + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read/node_modules/mute-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", + "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/readonly-date": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz", + "integrity": "sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ==", + "license": "Apache-2.0" + }, + "node_modules/rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "license": "MIT" + }, + "node_modules/regenerate-unicode-properties": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz", + "integrity": "sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ==", + "license": "MIT", + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", + "dev": true, + "license": "MIT" + }, + "node_modules/regenerator-transform": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.1.tgz", + "integrity": "sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "node_modules/regexpu-core": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", + "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", + "license": "MIT", + "dependencies": { + "@babel/regjsgen": "^0.8.0", + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.1.0", + "regjsparser": "^0.9.1", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsparser": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", + "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", + "license": "BSD-2-Clause", + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/remove-accents": { + "version": "0.5.0", + "resolved": "https://registry.npmmirror.com/remove-accents/-/remove-accents-0.5.0.tgz", + "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==", + "license": "MIT" + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "license": "MIT", + "dependencies": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve.exports": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", + "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.0.tgz", + "integrity": "sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g==", + "license": "ISC", + "dependencies": { + "glob": "^10.0.0" + }, + "bin": { + "rimraf": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.0.tgz", + "integrity": "sha512-AQ1/SB9HH0yCx1jXAT4vmCbTOPe5RQ+kCurjbel5xSCGhebumUv+GJZfa1rEqor3XIViqwSEmlkZCQD43RWrBg==", + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2", + "path-scurry": "^1.7.0" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minipass": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", + "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==", + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "license": "MIT", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rx-lite": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", + "integrity": "sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA==" + }, + "node_modules/rx-lite-aggregates": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", + "integrity": "sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg==", + "dependencies": { + "rx-lite": "*" + } + }, + "node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safe-stable-stringify": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", + "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/scheduler": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/secretjs": { + "version": "0.17.7", + "resolved": "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz", + "integrity": "sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg==", + "license": "Apache-2.0", + "dependencies": { + "@iov/crypto": "2.1.0", + "@iov/encoding": "2.1.0", + "@iov/utils": "2.0.2", + "axios": "0.21.1", + "curve25519-js": "0.0.4", + "fast-deep-equal": "3.1.1", + "js-crypto-hkdf": "0.7.3", + "miscreant": "0.3.2", + "pako": "1.0.11", + "protobufjs": "6.11.3", + "secure-random": "1.1.2" + } + }, + "node_modules/secretjs/node_modules/axios": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.10.0" + } + }, + "node_modules/secretjs/node_modules/fast-deep-equal": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", + "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==", + "license": "MIT" + }, + "node_modules/secretjs/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "license": "(MIT AND Zlib)" + }, + "node_modules/secrets.js-grempe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/secrets.js-grempe/-/secrets.js-grempe-2.0.0.tgz", + "integrity": "sha512-4xkOIaDAg998dTFXZUJTOoVbdLHfB818SMeLJ69ABccgGEKokxsoRFupAFfAImloUSKv4QUGNMgKVbKMf6z0Ug==", + "license": "MIT" + }, + "node_modules/secure-random": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz", + "integrity": "sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", + "dev": true, + "license": "ISC" + }, + "node_modules/sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "license": "(MIT AND BSD-3-Clause)", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, + "node_modules/sha3": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz", + "integrity": "sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg==", + "license": "MIT", + "dependencies": { + "buffer": "6.0.3" + } + }, + "node_modules/sha3/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/shelljs": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", + "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "license": "ISC" + }, + "node_modules/sigstore": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-1.6.0.tgz", + "integrity": "sha512-QODKff/qW/TXOZI6V/Clqu74xnInAS6it05mufj4/fSewexLtfEntgLZZcBtUK44CDQyUE5TUXYy1ARYzlfG9g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.1.0", + "@sigstore/tuf": "^1.0.0", + "make-fetch-happen": "^11.0.1", + "tuf-js": "^1.1.3" + }, + "bin": { + "sigstore": "bin/sigstore.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/sinon": { + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-14.0.2.tgz", + "integrity": "sha512-PDpV0ZI3ZCS3pEqx0vpNp6kzPhHrLx72wA0G+ZLaaJjLIYeE0n8INlgaohKuGy7hP0as5tbUd23QWu5U233t+w==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^2.0.0", + "@sinonjs/fake-timers": "^9.1.2", + "@sinonjs/samsam": "^7.0.1", + "diff": "^5.0.0", + "nise": "^5.1.2", + "supports-color": "^7.2.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/sinon" + } + }, + "node_modules/sinon/node_modules/@sinonjs/fake-timers": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", + "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, + "node_modules/sinon/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", + "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/sinon/node_modules/diff": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", + "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", + "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ip": "^2.0.0", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.13.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", + "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.3", + "socks": "^2.6.2" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/sort-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", + "integrity": "sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-obj": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "license": "BSD-3-Clause", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true, + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "through": "2" + }, + "engines": { + "node": "*" + } + }, + "node_modules/split2": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "dev": true, + "license": "ISC", + "dependencies": { + "readable-stream": "^3.0.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "license": "BSD-3-Clause" + }, + "node_modules/ssri": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", + "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ssri/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/stack-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-length": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strong-log-transformer": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", + "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "duplexer": "^0.1.1", + "minimist": "^1.2.0", + "through": "^2.3.4" + }, + "bin": { + "sl-log-transformer": "bin/sl-log-transformer.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/symbol-observable": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz", + "integrity": "sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA==", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/table": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz", + "integrity": "sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^8.0.1", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/table/node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/tar": { + "version": "6.1.15", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz", + "integrity": "sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A==", + "dev": true, + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tar/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/tdigest": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", + "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bintrees": "1.0.2" + } + }, + "node_modules/temp-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", + "integrity": "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-extensions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", + "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", + "dev": true, + "license": "MIT" + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true, + "license": "MIT" + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", + "license": "MIT" + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/through2/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/through2/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/through2/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/timers-ext": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz", + "integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==", + "license": "ISC", + "dependencies": { + "es5-ext": "~0.10.46", + "next-tick": "1" + } + }, + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "license": "MIT", + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/tmpl": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", + "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", + "license": "BSD-3-Clause" + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/triple-beam": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", + "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/ts-jest": { + "version": "29.1.0", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.0.tgz", + "integrity": "sha512-ZhNr7Z4PcYa+JjMl62ir+zPiNJfXJN6E8hSLnaUKhOgqcn8vb3e537cpkd0FuAfRK3sR1LSqM1MOhliXNgOFPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bs-logger": "0.x", + "fast-json-stable-stringify": "2.x", + "jest-util": "^29.0.0", + "json5": "^2.2.3", + "lodash.memoize": "4.x", + "make-error": "1.x", + "semver": "7.x", + "yargs-parser": "^21.0.1" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <8", + "@jest/types": "^29.0.0", + "babel-jest": "^29.0.0", + "jest": "^29.0.0", + "typescript": ">=4.3 <6" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@jest/types": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + } + } + }, + "node_modules/ts-node": { + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/ts-node-dev": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-node-dev/-/ts-node-dev-2.0.0.tgz", + "integrity": "sha512-ywMrhCfH6M75yftYvrvNarLEY+SUXtUvU8/0Z6llrHQVBx12GiFk5sStF8UdfE/yfzk9IAq7O5EEbTQsxlBI8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.1", + "dynamic-dedupe": "^0.3.0", + "minimist": "^1.2.6", + "mkdirp": "^1.0.4", + "resolve": "^1.0.0", + "rimraf": "^2.6.1", + "source-map-support": "^0.5.12", + "tree-kill": "^1.2.2", + "ts-node": "^10.4.0", + "tsconfig": "^7.0.0" + }, + "bin": { + "ts-node-dev": "lib/bin.js", + "tsnd": "lib/bin.js" + }, + "engines": { + "node": ">=0.8.0" + }, + "peerDependencies": { + "node-notifier": "*", + "typescript": "*" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/ts-node-dev/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/tsconfig": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tsconfig/-/tsconfig-7.0.0.tgz", + "integrity": "sha512-vZXmzPrL+EmC4T/4rVlT2jNVMWCi/O4DIiSj3UHg1OE5kCKbk4mfrXc6dZksLgRM/TZlKnousKH9bbTazUWRRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/strip-bom": "^3.0.0", + "@types/strip-json-comments": "0.0.30", + "strip-bom": "^3.0.0", + "strip-json-comments": "^2.0.0" + } + }, + "node_modules/tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tsconfig/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tslib": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", + "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/tuf-js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.7.tgz", + "integrity": "sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/models": "1.0.4", + "debug": "^4.3.4", + "make-fetch-happen": "^11.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/type": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==", + "license": "ISC" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/type-tagger": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz", + "integrity": "sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA==", + "license": "Apache-2.0" + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/typescript": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", + "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uglify-js": { + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "dev": true, + "license": "BSD-2-Clause", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true, + "license": "MIT" + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "license": "MIT", + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", + "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", + "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unique-filename": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/unique-slug": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/universal-user-agent": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dev": true, + "license": "ISC" + }, + "node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/unload": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/unload/-/unload-2.2.0.tgz", + "integrity": "sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA==", + "license": "Apache-2.0", + "dependencies": { + "@babel/runtime": "^7.6.2", + "detect-node": "^2.0.4" + } + }, + "node_modules/unorm": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", + "integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==", + "license": "MIT or GPL-2.0", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/upath": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", + "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4", + "yarn": "*" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "license": "MIT", + "dependencies": { + "inherits": "2.0.3" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/util/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "license": "ISC" + }, + "node_modules/utility-types": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz", + "integrity": "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", + "dev": true, + "license": "MIT" + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT" + }, + "node_modules/v8-to-istanbul": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", + "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/validate-npm-package-name": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", + "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "builtins": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/vue": { + "version": "2.7.16", + "resolved": "https://registry.npmmirror.com/vue/-/vue-2.7.16.tgz", + "integrity": "sha512-4gCtFXaAA3zYZdTp5s4Hl2sozuySsgz4jy1EnpBHNfpMa9dK1ZCG7viqBPCwXtmgc8nHqUsAu3G4gtmXkkY3Sw==", + "deprecated": "Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.", + "license": "MIT", + "peer": true, + "dependencies": { + "@vue/compiler-sfc": "2.7.16", + "csstype": "^3.1.0" + } + }, + "node_modules/vue-demi": { + "version": "0.10.1", + "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.10.1.tgz", + "integrity": "sha512-L6Oi+BvmMv6YXvqv5rJNCFHEKSVu7llpWWJczqmAQYOdmPPw5PNYoz1KKS//Fxhi+4QP64dsPjtmvnYGo1jemA==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^2.6.0 || >=3.0.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, + "node_modules/vue-query": { + "version": "1.26.0", + "resolved": "https://registry.npmmirror.com/vue-query/-/vue-query-1.26.0.tgz", + "integrity": "sha512-78JbnLX/3tDll5kDr6PUasRWn05BeWm7yJNeUezA9INrn3AgTCLbsEctnlw6/wM6HiRqFj9F+mf+ruZusyiVOg==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^6.1.4", + "match-sorter": "^6.3.1", + "react-query": "^3.39.0", + "vue-demi": "0.10.1" + }, + "peerDependencies": { + "@nuxtjs/composition-api": "^0.28.0", + "@vue/composition-api": "^1.1.2", + "vue": "^2.0.0 || >=3.0.0" + }, + "peerDependenciesMeta": { + "@nuxtjs/composition-api": { + "optional": true + }, + "@vue/composition-api": { + "optional": true + } + } + }, + "node_modules/walker": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", + "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "license": "Apache-2.0", + "dependencies": { + "makeerror": "1.0.12" + } + }, + "node_modules/wasm-ast-types": { + "version": "0.26.4", + "resolved": "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.26.4.tgz", + "integrity": "sha512-bMxkQzc/+e7s5W+EBfurl/Y7KnTm0YPeg/cXjyio3PHULKWQULMREgyuJXJWaIa+8sKI1+OI61YeFSJBilm9YQ==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/runtime": "^7.18.9", + "@babel/types": "7.18.10", + "@jest/transform": "28.1.3", + "ast-stringify": "0.1.0", + "case": "1.6.3", + "deepmerge": "4.2.2" + } + }, + "node_modules/wasm-ast-types/node_modules/@babel/core": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/wasm-ast-types/node_modules/@babel/core/node_modules/@babel/types": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/wasm-ast-types/node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT" + }, + "node_modules/wasm-ast-types/node_modules/@babel/types": { + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz", + "integrity": "sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.18.10", + "@babel/helper-validator-identifier": "^7.18.6", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/wasm-ast-types/node_modules/@jest/schemas": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz", + "integrity": "sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==", + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.24.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/wasm-ast-types/node_modules/@jest/transform": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-28.1.3.tgz", + "integrity": "sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^28.1.3", + "@jridgewell/trace-mapping": "^0.3.13", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^28.1.3", + "jest-regex-util": "^28.0.2", + "jest-util": "^28.1.3", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/wasm-ast-types/node_modules/@jest/types": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz", + "integrity": "sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^28.1.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/wasm-ast-types/node_modules/@sinclair/typebox": { + "version": "0.24.51", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.51.tgz", + "integrity": "sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==", + "license": "MIT" + }, + "node_modules/wasm-ast-types/node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wasm-ast-types/node_modules/jest-haste-map": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-28.1.3.tgz", + "integrity": "sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA==", + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^28.0.2", + "jest-util": "^28.1.3", + "jest-worker": "^28.1.3", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/wasm-ast-types/node_modules/jest-regex-util": { + "version": "28.0.2", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz", + "integrity": "sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==", + "license": "MIT", + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/wasm-ast-types/node_modules/jest-util": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz", + "integrity": "sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ==", + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/wasm-ast-types/node_modules/jest-worker": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz", + "integrity": "sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/wasm-ast-types/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/wasm-ast-types/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/wide-align": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, + "node_modules/winston": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", + "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.1.0", + "is-stream": "^2.0.0", + "logform": "^2.2.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.4.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "node_modules/winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, + "node_modules/write-file-atomic": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", + "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/write-json-file": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz", + "integrity": "sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-indent": "^5.0.0", + "graceful-fs": "^4.1.15", + "make-dir": "^2.1.0", + "pify": "^4.0.1", + "sort-keys": "^2.0.0", + "write-file-atomic": "^2.4.2" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/write-json-file/node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/write-json-file/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/write-json-file/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/write-json-file/node_modules/write-file-atomic": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", + "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, + "node_modules/write-pkg": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz", + "integrity": "sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==", + "dev": true, + "license": "MIT", + "dependencies": { + "sort-keys": "^2.0.0", + "type-fest": "^0.4.1", + "write-json-file": "^3.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/write-pkg/node_modules/type-fest": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", + "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=6" + } + }, + "node_modules/ws": { + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xstream": { + "version": "11.14.0", + "resolved": "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz", + "integrity": "sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw==", + "license": "MIT", + "dependencies": { + "globalthis": "^1.0.1", + "symbol-observable": "^2.0.3" + } + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/yaml": { + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", + "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ast": { + "name": "@cosmology/ast", + "version": "1.9.3", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/types": "7.23.6", + "@cosmology/types": "^1.11.2", + "@cosmology/utils": "^1.9.2", + "case": "1.6.3", + "dotty": "0.1.2" + }, + "devDependencies": { + "@babel/parser": "^7.23.6", + "@cosmology/proto-parser": "^1.9.2", + "@types/jest": "^29.5.0", + "ast-stringify": "0.1.0", + "cross-env": "^7.0.2", + "deepmerge": "4.3.1", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "glob": "8.0.3", + "jest": "^29.5.0", + "jest-in-case": "^1.0.2", + "mkdirp": "3.0.0", + "prettier": "^2.8.7", + "regenerator-runtime": "^0.13.11", + "rimraf": "5.0.0", + "ts-jest": "^29.1.0", + "typescript": "5.0.4" + } + }, + "packages/ast/node_modules/glob": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/ast/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/ast/node_modules/mkdirp": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.0.tgz", + "integrity": "sha512-7+JDnNsyCvZXoUJdkMR0oUE2AmAdsNXGTmRbiOjYIwQ6q+bL6NwrozGQdPcmYaNcrhH37F50HHBUzoaBV6FITQ==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/ast/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "packages/ast/node_modules/typescript": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=12.20" + } + }, + "packages/lcd": { + "name": "@cosmology/lcd", + "version": "0.14.0", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "axios": "1.7.4" + }, + "devDependencies": { + "@types/jest": "^29.5.0", + "cross-env": "^7.0.2", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "jest": "^29.5.0", + "jest-in-case": "^1.0.2", + "prettier": "^2.8.7", + "regenerator-runtime": "^0.13.11", + "rimraf": "5.0.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" + } + }, + "packages/lcd/node_modules/axios": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", + "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "packages/lcd/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "packages/parser": { + "name": "@cosmology/proto-parser", + "version": "1.9.2", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@cosmology/protobufjs": "7.3.2", + "@cosmology/types": "^1.11.2", + "@cosmology/utils": "^1.9.2", + "dotty": "0.1.2", + "fast-json-patch": "3.1.1", + "glob": "8.0.3", + "minimatch": "5.1.0", + "mkdirp": "3.0.0" + }, + "devDependencies": { + "@types/jest": "^29.5.0", + "cross-env": "^7.0.2", + "deepmerge": "4.3.1", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "jest": "^29.5.0", + "jest-in-case": "^1.0.2", + "long": "^5.2.1", + "prettier": "^2.8.7", + "regenerator-runtime": "^0.13.11", + "rimraf": "5.0.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" + } + }, + "packages/parser/node_modules/glob": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/parser/node_modules/glob/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/parser/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "dev": true, + "license": "Apache-2.0" + }, + "packages/parser/node_modules/minimatch": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/parser/node_modules/mkdirp": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.0.tgz", + "integrity": "sha512-7+JDnNsyCvZXoUJdkMR0oUE2AmAdsNXGTmRbiOjYIwQ6q+bL6NwrozGQdPcmYaNcrhH37F50HHBUzoaBV6FITQ==", + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/parser/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "packages/starship": { + "name": "@cosmology/starship-test", + "version": "1.9.7", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@cosmjs/amino": "^0.32.0", + "@cosmjs/proto-signing": "^0.32.0", + "@cosmjs/stargate": "^0.32.0", + "@cosmjs/tendermint-rpc": "^0.32.0", + "@cosmology/core": "1.23.0", + "@cosmology/lcd": "^0.14.0", + "@keplr-wallet/unit": "0.11.56", + "@tanstack/react-query": "4.29.1", + "cosmjs-utils": "0.1.0", + "long": "^5.2.1", + "protobufjs": "^6.11.3", + "react": "18.2.0", + "react-dom": "18.2.0" + }, + "devDependencies": { + "@chain-registry/client": "1.11.0", + "@confio/relayer": "0.7.0", + "@cosmjs/cosmwasm-stargate": "0.29.4", + "@cosmjs/crypto": "0.29.4", + "@cosmology/telescope": "^1.11.7", + "@protobufs/confio": "^0.0.6", + "@protobufs/cosmos": "^0.0.11", + "@protobufs/cosmos_proto": "^0.0.10", + "@protobufs/cosmwasm": "^0.0.11", + "@protobufs/gogoproto": "^0.0.10", + "@protobufs/google": "^0.0.10", + "@protobufs/ibc": "^0.0.11", + "@protobufs/osmosis": "^0.2.0", + "@protobufs/tendermint": "^0.0.10", + "@types/jest": "^29.5.0", + "ast-stringify": "0.1.0", + "axios": "^1.7.4", + "bignumber.js": "9.1.0", + "case": "1.6.3", + "cosmjs-types": "0.5.2", + "cross-env": "^7.0.2", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "glob": "8.0.3", + "jest": "^29.5.0", + "jest-in-case": "^1.0.2", + "js-yaml": "4.1.0", + "mkdirp": "3.0.0", + "mobx": "6.9.0", + "node-fetch": "^2.6.9", + "path": "^0.12.7", + "prettier": "^2.8.7", + "regenerator-runtime": "^0.13.11", + "rimraf": "5.0.0", + "sinon": "14.0.2", + "ts-jest": "^29.1.0", + "ts-node": "10.9.1", + "typescript": "^5.0.4" + } + }, + "packages/starship/node_modules/@cosmjs/crypto": { + "version": "0.29.4", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.4.tgz", + "integrity": "sha512-PmSxoFl/Won7kHZv3PQUUgdmEiAMqdY7XnEnVh9PbU7Hht6uo7PQ+M0eIGW3NIXYKmn6oVExER+xOfLfq4YNGw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@cosmjs/encoding": "^0.29.4", + "@cosmjs/math": "^0.29.4", + "@cosmjs/utils": "^0.29.4", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "packages/starship/node_modules/@keplr-wallet/types": { + "version": "0.11.56", + "resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.56.tgz", + "integrity": "sha512-NPqzuRLKQRXgCkA5pLi566wW54a/i1mqC23Dx9YQkBbY1EJW4rJlKzGXNnTqSwbJ4Gr1JDr6+rtkcyzoM5s2Uw==", + "license": "Apache-2.0", + "dependencies": { + "axios": "^0.27.2", + "long": "^4.0.0" + } + }, + "packages/starship/node_modules/@keplr-wallet/types/node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, + "packages/starship/node_modules/@keplr-wallet/types/node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", + "license": "Apache-2.0" + }, + "packages/starship/node_modules/@keplr-wallet/unit": { + "version": "0.11.56", + "resolved": "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.11.56.tgz", + "integrity": "sha512-eOK5UfhmTtRvdx6+umqnEROVubzfnfJg85NL00HQFrmxuhBbmqcddzPyXDCdffmCMWdv/bpocd+YfIYTuaY4EA==", + "license": "Apache-2.0", + "dependencies": { + "@keplr-wallet/types": "0.11.56", + "big-integer": "^1.6.48", + "utility-types": "^3.10.0" + } + }, + "packages/starship/node_modules/axios": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "packages/starship/node_modules/glob": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/starship/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "license": "Apache-2.0" + }, + "packages/starship/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/starship/node_modules/mkdirp": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.0.tgz", + "integrity": "sha512-7+JDnNsyCvZXoUJdkMR0oUE2AmAdsNXGTmRbiOjYIwQ6q+bL6NwrozGQdPcmYaNcrhH37F50HHBUzoaBV6FITQ==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/starship/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "packages/telescope": { + "name": "@cosmology/telescope", + "version": "1.11.7", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/generator": "^7.23.6", + "@babel/parser": "^7.23.6", + "@babel/traverse": "7.23.6", + "@babel/types": "7.23.6", + "@cosmology/ast": "^1.9.3", + "@cosmology/proto-parser": "^1.9.2", + "@cosmology/types": "^1.11.2", + "@cosmology/utils": "^1.9.2", + "@cosmwasm/ts-codegen": "0.35.7", + "@types/parse-package-name": "0.1.0", + "case": "1.6.3", + "dargs": "7.0.0", + "deepmerge": "4.3.1", + "dotty": "0.1.2", + "fuzzy": "0.1.3", + "glob": "8.0.3", + "inquirerer": "0.1.3", + "long": "^5.2.1", + "minimatch": "5.1.0", + "minimist": "1.2.8", + "mkdirp": "3.0.0", + "parse-package-name": "1.0.0", + "rimraf": "5.0.0", + "vue-query": "^1.26.0", + "yaml": "^2.3.4" + }, + "bin": { + "telescope": "main/telescope.js" + }, + "devDependencies": { + "@keplr-wallet/unit": "^0.12.53", + "@types/jest": "^29.5.0", + "ast-stringify": "0.1.0", + "cross-env": "^7.0.2", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "jest": "^29.5.0", + "jest-in-case": "^1.0.2", + "prettier": "^2.8.7", + "regenerator-runtime": "^0.13.11", + "ts-jest": "^29.1.0", + "ts-node": "10.9.1", + "ts-node-dev": "2.0.0", + "typescript": "^5.0.4" + } + }, + "packages/telescope/node_modules/glob": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/telescope/node_modules/glob/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/telescope/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "license": "Apache-2.0" + }, + "packages/telescope/node_modules/minimatch": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/telescope/node_modules/mkdirp": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.0.tgz", + "integrity": "sha512-7+JDnNsyCvZXoUJdkMR0oUE2AmAdsNXGTmRbiOjYIwQ6q+bL6NwrozGQdPcmYaNcrhH37F50HHBUzoaBV6FITQ==", + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/telescope/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "packages/types": { + "name": "@cosmology/types", + "version": "1.11.2", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "case": "1.6.3", + "fast-json-patch": "3.1.1" + }, + "devDependencies": { + "cross-env": "^7.0.2", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "jest": "^29.5.0", + "jest-in-case": "^1.0.2", + "prettier": "^2.8.7", + "regenerator-runtime": "^0.13.11", + "rimraf": "5.0.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" + } + }, + "packages/types/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "packages/utils": { + "name": "@cosmology/utils", + "version": "1.9.2", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@cosmology/types": "^1.11.2", + "dotty": "0.1.2" + }, + "devDependencies": { + "@types/jest": "^29.5.0", + "cross-env": "^7.0.2", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "jest": "^29.5.0", + "jest-in-case": "^1.0.2", + "prettier": "^2.8.7", + "regenerator-runtime": "^0.13.11", + "rimraf": "5.0.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" + } + }, + "packages/utils/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + } + } +} diff --git a/packages/ast/src/clients/helper-funcs/msg-funcs.ts b/packages/ast/src/clients/helper-funcs/msg-funcs.ts index a1de3d124f..33387e940e 100644 --- a/packages/ast/src/clients/helper-funcs/msg-funcs.ts +++ b/packages/ast/src/clients/helper-funcs/msg-funcs.ts @@ -24,8 +24,8 @@ export function createMsgHelperCreator( const useGlobalDecoderRegistry = context.pluginValue("interfaces.enabled") && context.pluginValue("interfaces.useGlobalDecoderRegistry") && - context.pluginValue("helperFuncCreators.enabled") && - context.pluginValue("helperFuncCreators.useGlobalDecoderRegistry"); + context.pluginValue("helperFunctions.enabled") && + context.pluginValue("helperFunctions.useGlobalDecoderRegistry"); const callExpression = ast.callExpression(ast.identifier("buildTx"), [ ast.objectExpression( @@ -123,3 +123,42 @@ export function createMsgHooks( ]) ); } + +/** + * + * @param context + * @param service + * @param methodKey e.g. "balance" + * @param helperCreatorName e.g. "createGetBalance" + * @param hookName e.g. "useGetBalance" + * @returns + */ +export function createVueMsgHooks( + context: GenericParseContext, + service: ProtoServiceMethod, + helperCreatorName?: string, + hookName?: string +) { + context.addUtil("buildUseVueMutation"); + + const callExpression = ast.callExpression( + ast.identifier("buildUseVueMutation"), + [ + ast.objectExpression([ + ast.objectProperty( + ast.identifier("builderMutationFn"), + ast.identifier(helperCreatorName) + ), + ]), + ] + ); + callExpression.typeParameters = ast.tsTypeParameterInstantiation([ + ast.tsTypeReference(ast.identifier(service.requestType)), + ast.tsTypeReference(ast.identifier(`Error`)), + ]); + return ast.exportNamedDeclaration( + ast.variableDeclaration("const", [ + ast.variableDeclarator(ast.identifier(hookName), callExpression), + ]) + ); +} \ No newline at end of file diff --git a/packages/ast/src/clients/helper-funcs/query-funcs.ts b/packages/ast/src/clients/helper-funcs/query-funcs.ts index 6b8bf73f0f..28a46baafb 100644 --- a/packages/ast/src/clients/helper-funcs/query-funcs.ts +++ b/packages/ast/src/clients/helper-funcs/query-funcs.ts @@ -25,8 +25,8 @@ export function createQueryHelperCreator( const useGlobalDecoderRegistry = context.pluginValue("interfaces.enabled") && context.pluginValue("interfaces.useGlobalDecoderRegistry") && - context.pluginValue("helperFuncCreators.enabled") && - context.pluginValue("helperFuncCreators.useGlobalDecoderRegistry"); + context.pluginValue("helperFunctions.enabled") && + context.pluginValue("helperFunctions.useGlobalDecoderRegistry"); const callExpression = ast.callExpression(ast.identifier("buildQuery"), [ ast.objectExpression( @@ -60,13 +60,13 @@ export function createQueryHelperCreator( true ), useGlobalDecoderRegistry && - ast.objectProperty( - ast.identifier("deps"), - ast.arrayExpression([ - ast.identifier(service.requestType), - ast.identifier(service.responseType), - ]) - ), + ast.objectProperty( + ast.identifier("deps"), + ast.arrayExpression([ + ast.identifier(service.requestType), + ast.identifier(service.responseType), + ]) + ), ].filter(Boolean) ), ]); @@ -133,3 +133,45 @@ export function createQueryHooks( ]) ); } + + +/** + * + * @param context + * @param service + * @param methodKey e.g. "balance" + * @param helperCreatorName e.g. "createGetBalance" + * @param hookName e.g. "useGetBalance" + * @returns + */ +export function createVueQueryHooks( + context: GenericParseContext, + service: ProtoServiceMethod, + methodKey?: string, + helperCreatorName?: string, + hookName?: string, +) { + context.addUtil("buildUseVueQuery"); + const callExpression = ast.callExpression(ast.identifier("buildUseVueQuery"), [ + ast.objectExpression([ + ast.objectProperty( + ast.identifier("builderQueryFn"), + ast.identifier(helperCreatorName) + ), + ast.objectProperty( + ast.identifier("queryKeyPrefix"), + ast.stringLiteral(`${methodKey}Query`) + ), + ]), + ]); + callExpression.typeParameters = ast.tsTypeParameterInstantiation([ + ast.tsTypeReference(ast.identifier(service.requestType)), + ast.tsTypeReference(ast.identifier(service.responseType)), + ]); + + return ast.exportNamedDeclaration( + ast.variableDeclaration("const", [ + ast.variableDeclarator(ast.identifier(hookName), callExpression), + ]) + ); +} \ No newline at end of file diff --git a/packages/ast/src/encoding/object.ts b/packages/ast/src/encoding/object.ts index e8f3079273..f9364aa1f8 100644 --- a/packages/ast/src/encoding/object.ts +++ b/packages/ast/src/encoding/object.ts @@ -41,7 +41,7 @@ export const createObjectWithMethods = ( (context.pluginValue('aminoEncoding.enabled') && !context.pluginValue('aminoEncoding.useLegacyInlineEncoding') || context.pluginValue('prototypes.methods.fromProto')) && fromProtoMsgMethod(context, name, proto), (context.pluginValue('aminoEncoding.enabled') && !context.pluginValue('aminoEncoding.useLegacyInlineEncoding') || context.pluginValue('prototypes.methods.toProto')) && toProtoMethod(context, name, proto), (context.pluginValue('aminoEncoding.enabled') && !context.pluginValue('aminoEncoding.useLegacyInlineEncoding') || context.pluginValue('prototypes.methods.toProto')) && toProtoMsgMethod(context, name, proto), - context.pluginValue('interfaces.enabled') && context.pluginValue('interfaces.useGlobalDecoderRegistry') && context.pluginValue('helperFuncCreators.enabled') && context.pluginValue('helperFuncCreators.useGlobalDecoderRegistry') && registerTypeUrlMethod({context, name, proto}), + context.pluginValue('interfaces.enabled') && context.pluginValue('interfaces.useGlobalDecoderRegistry') && context.pluginValue('helperFunctions.enabled') && context.pluginValue('helperFunctions.useGlobalDecoderRegistry') && registerTypeUrlMethod({context, name, proto}), ].filter(Boolean); return t.exportNamedDeclaration( diff --git a/packages/ast/src/encoding/proto/interface/proto.ts b/packages/ast/src/encoding/proto/interface/proto.ts index 27007f7955..4fa2ae49cd 100644 --- a/packages/ast/src/encoding/proto/interface/proto.ts +++ b/packages/ast/src/encoding/proto/interface/proto.ts @@ -213,50 +213,6 @@ export const createProtoType = ( return declaration; }; -export const cloneAndWrapFieldsWithComputedRef = ( - originalDeclaration: t.ExportNamedDeclaration - ): t.ExportNamedDeclaration => { - // Extract the interface declaration - const interfaceDeclaration = originalDeclaration.declaration as t.TSInterfaceDeclaration; - const originalFields = (interfaceDeclaration.body as t.TSInterfaceBody).body; - - // Clone and modify each field - const newFields = originalFields.map((field) => { - if (t.isTSPropertySignature(field) && field.typeAnnotation) { - // Get the original field type - const originalType = field.typeAnnotation.typeAnnotation; - - // Create the new type: ComputedRef - const computedRefType = t.tsTypeReference( - t.identifier('ComputedRef'), - t.tsTypeParameterInstantiation([originalType]) - ); - - // Clone the field and replace its type - return tsPropertySignature( - field.key, - t.tsTypeAnnotation(computedRefType), - field.optional - ); - } - // Keep the field unchanged if it's not a TSPropertySignature - return field; - }); - - const newInterfaceId = t.identifier(`Reactive${interfaceDeclaration.id.name}`); - // const newInterfaceId = t.identifier(`${interfaceDeclaration.id.name}`) - // Create a new interface declaration - const newInterfaceDeclaration = t.tsInterfaceDeclaration( - newInterfaceId, - interfaceDeclaration.typeParameters, - interfaceDeclaration.extends, - t.tsInterfaceBody(newFields) - ); - - // Wrap it as a new ExportNamedDeclaration - return t.exportNamedDeclaration(newInterfaceDeclaration); -} - export const createProtoTypeType = ( context: ProtoParseContext, name: string, diff --git a/packages/ast/src/state/index.ts b/packages/ast/src/state/index.ts index 9b67fd43d7..9d011fa7b4 100644 --- a/packages/ast/src/state/index.ts +++ b/packages/ast/src/state/index.ts @@ -1,5 +1,4 @@ export * from './react-query'; -export * from './vue-query'; export * from './pinia'; export * from './mobx'; diff --git a/packages/ast/src/state/vue-query/index.ts b/packages/ast/src/state/vue-query/index.ts deleted file mode 100644 index 6db0c1e158..0000000000 --- a/packages/ast/src/state/vue-query/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './vue-query'; \ No newline at end of file diff --git a/packages/ast/src/state/vue-query/vue-query.ts b/packages/ast/src/state/vue-query/vue-query.ts deleted file mode 100644 index d329e727e0..0000000000 --- a/packages/ast/src/state/vue-query/vue-query.ts +++ /dev/null @@ -1,398 +0,0 @@ - -import * as t from '@babel/types'; -import { arrowFunctionExpression, callExpression, identifier, makeCommentBlock, makeCommentLineWithBlocks, objectMethod, objectPattern, objectProperty, tsPropertySignature, tsTypeParameterDeclaration } from '../../utils'; -import { ProtoService, ProtoServiceMethod } from '@cosmology/types'; -import { GenericParseContext } from '../../encoding'; -import { camel, makeUseHookName, makeUseHookTypeName, makeHookKeyName } from '@cosmology/utils'; -import { createClientMap } from './weak-map'; - -const rpcHookMethod = ( - context: GenericParseContext, - name: string, - svc: ProtoServiceMethod -) => { - const requestType = svc.requestType; - const responseType = svc.responseType; - const fieldNames = Object.keys(svc.fields ?? {}) - const hasParams = fieldNames.length > 0; - - let optional = false; - // if no params, then let's default to empty object for cleaner API - if (!hasParams) { - optional = true; - } else if (hasParams && fieldNames.length === 1 && fieldNames.includes('pagination')) { - // if only argument "required" is pagination - // also default to empty - optional = true; - } - - // add import - context.addUtil('useVueQuery'); - - return t.variableDeclaration('const', [ - t.variableDeclarator( - t.identifier(makeUseHookName(name)), - arrowFunctionExpression([ - objectPattern([ - t.objectProperty( - t.identifier('request'), - t.identifier('request'), - false, - true - ), - t.objectProperty( - t.identifier('options'), - t.identifier('options'), - false, - true - ) - ], - t.tsTypeAnnotation( - t.tsTypeReference( - t.identifier(makeUseHookTypeName(name)), - t.tsTypeParameterInstantiation([ - t.tsTypeReference( - t.identifier('TData') - ) - ]) - ) - ) - ) - ], - t.blockStatement([ - t.variableDeclaration('const', [ - t.variableDeclarator( - t.identifier('queryKey'), - t.arrayExpression([ - t.stringLiteral(makeHookKeyName(name)), - t.identifier('queryService') - ]) - ) - ]), - t.ifStatement( - t.identifier('request'), - t.blockStatement([ - t.expressionStatement( - t.callExpression( - t.memberExpression( - t.callExpression( - t.memberExpression( - t.identifier('Object'), - t.identifier('values') - ), - [t.identifier('request')] - ), - t.identifier('forEach') - ), - [ - t.arrowFunctionExpression( - [identifier('val', t.tsTypeAnnotation(t.tsAnyKeyword()))], - t.blockStatement([ - t.expressionStatement( - t.callExpression( - t.memberExpression(t.identifier('queryKey'), t.identifier('push')), - [t.identifier('val')] - ) - ) - ]) - ) - ] - ) - ) - ]) - ), - t.returnStatement( - callExpression( - t.identifier('useQuery'), - [ - t.objectExpression([ - t.objectProperty( - t.identifier('queryKey'), - t.identifier('queryKey'), - false, - true - ), - t.objectProperty( - t.identifier('queryFn'), - t.arrowFunctionExpression( - [], - t.blockStatement([ - t.ifStatement( - t.unaryExpression('!', t.memberExpression(t.identifier('queryService'), t.identifier('value')), true), - t.throwStatement( - t.newExpression( - t.identifier('Error'), - [t.stringLiteral('Query Service not initialized')] - ) - ) - ), - t.variableDeclaration('let', [ - t.variableDeclarator( - t.identifier('params'), - t.tsAsExpression( - t.objectExpression([]), - t.tsAnyKeyword() - ) - ) - ]), - t.ifStatement( - t.identifier('request'), - t.blockStatement([ - t.expressionStatement( - t.callExpression( - t.memberExpression( - t.callExpression( - t.memberExpression( - t.identifier('Object'), - t.identifier('entries') - ), - [t.identifier('request')] - ), - t.identifier('forEach') - ), - [ - t.arrowFunctionExpression( - [ - t.arrayPattern([ - identifier('key', t.tsTypeAnnotation(t.tsStringKeyword())), - identifier('val', t.tsTypeAnnotation(t.tsAnyKeyword())), - ]) - ], - t.blockStatement([ - t.expressionStatement( - t.assignmentExpression( - '=', - t.memberExpression( - t.identifier('params'), - t.identifier('key'), - true - ), - t.memberExpression( - t.identifier('val'), - t.identifier('value') - ) - ) - ) - ]) - ) - ] - ) - ) - ]) - ) - , - t.returnStatement( - t.callExpression( - t.memberExpression( - t.memberExpression(t.identifier('queryService'), t.identifier('value')), - t.identifier(name) - ), - [t.identifier('params')] - ) - ) - ]) - ) - ), - t.spreadElement(t.identifier('options')) - ]), - ], - t.tsTypeParameterInstantiation([ - t.tsTypeReference(t.identifier(responseType)), - t.tsTypeReference(t.identifier('Error')), - t.tsTypeReference(t.identifier('TData')) - ]) - ) - ) - ]), - undefined, - false, - tsTypeParameterDeclaration([ - t.tsTypeParameter(null, t.tsTypeReference(t.identifier(responseType)), 'TData') - ]) - ) - ) - ]); - -} - -export const createRpcVueQueryHooks = ( - context: GenericParseContext, - service: ProtoService -) => { - - // add imports - context.addUtil('QueryClient'); - context.addUtil('createProtobufRpcClient'); - context.addUtil('ProtobufRpcClient'); - context.addUtil('ComputedRef') - context.addUtil('computed') - context.addUtil('Ref') - - const camelRpcMethods = context.pluginValue('rpcClients.camelCase'); - const methods = Object.keys(service.methods ?? {}) - .map(key => { - const method = service.methods[key]; - const name = camelRpcMethods ? camel(key) : key; - return rpcHookMethod( - context, - name, - method - ) - }); - - const methodNames = Object.keys(service.methods ?? {}) - .map(key => { - const name = camelRpcMethods ? camel(key) : key; - return { - name, - comment: service.methods[key].comment ?? "" - }; - }); - - return t.exportNamedDeclaration( - t.variableDeclaration('const', [ - t.variableDeclarator( - t.identifier('createRpcQueryHooks'), - t.arrowFunctionExpression([ - identifier('rpc', t.tsTypeAnnotation( - t.tsTypeReference( - t.identifier('Ref'), - t.tsTypeParameterInstantiation([ - t.tsUnionType([ - t.tsTypeReference(t.identifier('ProtobufRpcClient')), - t.tsUndefinedKeyword() - ]) - ]) - ) - ))], - - // body - t.blockStatement([ - // query service - t.variableDeclaration('const', [ - t.variableDeclarator( - t.identifier('queryService'), - t.callExpression( - t.identifier('useQueryService'), - [ - t.identifier('rpc') - ] - ) - ) - ]), - - - ...methods, - - // return the methods... - t.returnStatement( - t.objectExpression( - methodNames.map(({ name, comment }) => - objectProperty( - t.identifier(makeUseHookName(name)), - t.identifier(makeUseHookName(name)), - false, - true, - null, - makeCommentLineWithBlocks(comment) - ) - ) - ) - ) - ]) - // end body - - ) - ) - ]) - ); -}; - -const rpcVueHookMethodInterface = ( - context: GenericParseContext, - name: string, - svc: ProtoServiceMethod -) => { - const requestType = svc.requestType; - const responseType = svc.responseType; - const fieldNames = Object.keys(svc.fields ?? {}) - const hasParams = fieldNames.length > 0; - - let optional = false; - // if no params, then let's default to empty object for cleaner API - if (!hasParams) { - optional = true; - } else if (hasParams && fieldNames.length === 1 && fieldNames.includes('pagination')) { - // if only argument "required" is pagination - // also default to empty - optional = true; - } - - // import VueQueryParams in the generated file. - context.addUtil('VueQueryParams'); - - return t.exportNamedDeclaration(t.tsInterfaceDeclaration( - t.identifier(makeUseHookTypeName(name)), - t.tsTypeParameterDeclaration([ - t.tsTypeParameter(null, null, 'TData') - ]), - [ - t.tsExpressionWithTypeArguments( - t.identifier('VueQueryParams'), - t.tsTypeParameterInstantiation([ - t.tsTypeReference(t.identifier(responseType)), - t.tsTypeReference(t.identifier('TData')) - ]) - ) - ], - t.tsInterfaceBody([ - tsPropertySignature( - t.identifier('request'), - t.tsTypeAnnotation( - t.tsTypeReference( - t.identifier(`Reactive${requestType}`) - ) - ), - optional - ) - ]) - )); -} - -/** - * Create ASTs for all the methods of a proto service. - * @param {Object=} context - context of generating the file - * @param {Object=} service - service details - * @returns {ParseResult} created AST - */ -export const createRpcVueQueryHookInterfaces = ( - context: GenericParseContext, - service: ProtoService -) => { - - - const camelRpcMethods = context.pluginValue('rpcClients.camelCase'); - - const methods = Object.keys(service.methods ?? {}) - .map(key => { - const name = camelRpcMethods ? camel(key) : key; - const method = service.methods[key]; - return { - name, - method - }; - }); - - return methods.map(method => rpcVueHookMethodInterface(context, method.name, method.method)); -}; - - -export const createRpcVueQueryHookClientMap = ( - context: GenericParseContext, - service: ProtoService -) => { - const name = service.name + 'ClientImpl'; - - // get ast based on a template. - return createClientMap(name); -} \ No newline at end of file diff --git a/packages/ast/src/state/vue-query/weak-map.ts b/packages/ast/src/state/vue-query/weak-map.ts deleted file mode 100644 index 85b7fc629e..0000000000 --- a/packages/ast/src/state/vue-query/weak-map.ts +++ /dev/null @@ -1,311 +0,0 @@ -export const createClientMap = (QueryClientImpl: string) => [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "useQueryService" - }, - "init": { - "type": "ArrowFunctionExpression", - "returnType": { - "type": "TSTypeAnnotation", - "typeAnnotation": { - "type": "TSTypeReference", - "typeName": { - "type": "Identifier", - "name": "ComputedRef" - }, - "typeParameters": { - "type": "TSTypeParameterInstantiation", - "params": [ - { - "type": "TSUnionType", - "types": [ - { - "type": "TSTypeReference", - "typeName": { - "type": "Identifier", - "name": QueryClientImpl - } - }, - { - "type": "TSUndefinedKeyword" - } - ] - } - ] - } - } - }, - "id": null, - "generator": false, - "async": false, - "params": [ - { - "type": "Identifier", - "name": "rpc", - "typeAnnotation": { - "type": "TSTypeAnnotation", - "typeAnnotation": { - "type": "TSTypeReference", - "typeName": { - "type": "Identifier", - "name": "Ref" - }, - "typeParameters": { - "type": "TSTypeParameterInstantiation", - "params": [ - { - "type": "TSUnionType", - "types": [ - { - "type": "TSTypeReference", - "typeName": { - "type": "Identifier", - "name": "ProtobufRpcClient" - } - }, - { - "type": "TSUndefinedKeyword" - } - ] - } - ] - } - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_queryClients" - }, - "init": { - "type": "NewExpression", - "callee": { - "type": "Identifier", - "name": "WeakMap" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "computed" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "id": null, - "generator": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "MemberExpression", - "object": { - "type": "Identifier", - "name": "rpc" - }, - "computed": false, - "property": { - "type": "Identifier", - "name": "value" - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "object": { - "type": "Identifier", - "name": "_queryClients" - }, - "computed": false, - "property": { - "type": "Identifier", - "name": "has" - } - }, - "arguments": [ - { - "type": "MemberExpression", - "object": { - "type": "Identifier", - "name": "rpc" - }, - "computed": false, - "property": { - "type": "Identifier", - "name": "value" - } - } - ] - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "object": { - "type": "Identifier", - "name": "_queryClients" - }, - "computed": false, - "property": { - "type": "Identifier", - "name": "get" - } - }, - "arguments": [ - { - "type": "MemberExpression", - "object": { - "type": "Identifier", - "name": "rpc" - }, - "computed": false, - "property": { - "type": "Identifier", - "name": "value" - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "queryService" - }, - "init": { - "type": "NewExpression", - "callee": { - "type": "Identifier", - "name": QueryClientImpl - }, - "arguments": [ - { - "type": "MemberExpression", - "object": { - "type": "Identifier", - "name": "rpc" - }, - "computed": false, - "property": { - "type": "Identifier", - "name": "value" - } - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "object": { - "type": "Identifier", - "name": "_queryClients" - }, - "computed": false, - "property": { - "type": "Identifier", - "name": "set" - } - }, - "arguments": [ - { - "type": "MemberExpression", - "object": { - "type": "Identifier", - "name": "rpc" - }, - "computed": false, - "property": { - "type": "Identifier", - "name": "value" - } - }, - { - "type": "Identifier", - "name": "queryService" - } - ] - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "queryService" - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - } - ] - } - } - ] - } - } - } - ], - "kind": "const" - } - } -] diff --git a/packages/ast/types/clients/helper-funcs/msg-funcs.d.ts b/packages/ast/types/clients/helper-funcs/msg-funcs.d.ts index 85f00b263d..fe70397927 100644 --- a/packages/ast/types/clients/helper-funcs/msg-funcs.d.ts +++ b/packages/ast/types/clients/helper-funcs/msg-funcs.d.ts @@ -20,3 +20,13 @@ export declare function createMsgHelperCreator(context: GenericParseContext, ser * @returns */ export declare function createMsgHooks(context: GenericParseContext, service: ProtoServiceMethod, helperCreatorName?: string, hookName?: string): ast.ExportNamedDeclaration; +/** + * + * @param context + * @param service + * @param methodKey e.g. "balance" + * @param helperCreatorName e.g. "createGetBalance" + * @param hookName e.g. "useGetBalance" + * @returns + */ +export declare function createVueMsgHooks(context: GenericParseContext, service: ProtoServiceMethod, helperCreatorName?: string, hookName?: string): ast.ExportNamedDeclaration; diff --git a/packages/ast/types/clients/helper-funcs/query-funcs.d.ts b/packages/ast/types/clients/helper-funcs/query-funcs.d.ts index fc4fee6173..fbba75f848 100644 --- a/packages/ast/types/clients/helper-funcs/query-funcs.d.ts +++ b/packages/ast/types/clients/helper-funcs/query-funcs.d.ts @@ -20,3 +20,13 @@ export declare function createQueryHelperCreator(context: GenericParseContext, s * @returns */ export declare function createQueryHooks(context: GenericParseContext, service: ProtoServiceMethod, methodKey?: string, helperCreatorName?: string, hookName?: string): ast.ExportNamedDeclaration; +/** + * + * @param context + * @param service + * @param methodKey e.g. "balance" + * @param helperCreatorName e.g. "createGetBalance" + * @param hookName e.g. "useGetBalance" + * @returns + */ +export declare function createVueQueryHooks(context: GenericParseContext, service: ProtoServiceMethod, methodKey?: string, helperCreatorName?: string, hookName?: string): ast.ExportNamedDeclaration; diff --git a/packages/ast/types/encoding/proto/interface/proto.d.ts b/packages/ast/types/encoding/proto/interface/proto.d.ts index 15c7729ba6..974851b09c 100644 --- a/packages/ast/types/encoding/proto/interface/proto.d.ts +++ b/packages/ast/types/encoding/proto/interface/proto.d.ts @@ -3,7 +3,6 @@ import { ProtoType } from '@cosmology/types'; import { ProtoParseContext } from '../../context'; import { TelescopeBaseTypes } from '../../types'; export declare const createProtoType: (context: ProtoParseContext, name: string, proto: ProtoType, type?: TelescopeBaseTypes) => t.ExportNamedDeclaration; -export declare const cloneAndWrapFieldsWithComputedRef: (originalDeclaration: t.ExportNamedDeclaration) => t.ExportNamedDeclaration; export declare const createProtoTypeType: (context: ProtoParseContext, name: string, proto: ProtoType) => t.ExportNamedDeclaration; export declare const createProtoInterfaceEncodedType: (context: ProtoParseContext, name: string, proto: ProtoType) => t.ExportNamedDeclaration; export declare const createCreateProtoType: (context: ProtoParseContext, name: string, proto: ProtoType) => t.FunctionDeclaration; diff --git a/packages/ast/types/state/index.d.ts b/packages/ast/types/state/index.d.ts index ada81054cb..51f8b47e6e 100644 --- a/packages/ast/types/state/index.d.ts +++ b/packages/ast/types/state/index.d.ts @@ -1,4 +1,3 @@ export * from './react-query'; -export * from './vue-query'; export * from './pinia'; export * from './mobx'; diff --git a/packages/telescope/README.md b/packages/telescope/README.md index e863fbaeb5..ede31f8faf 100644 --- a/packages/telescope/README.md +++ b/packages/telescope/README.md @@ -457,20 +457,20 @@ See [RPC Clients](#rpc-clients) for more info. | Option | Description | Defaults | | --------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------- | -| `helperFuncCreators.enabled` | Enable the generation of helper function files `.func.ts` | `false` | -| `helperFuncCreators.genCustomHooks` | Generates React hooks alongside helper functions | `false` | -| `helperFuncCreators.include.serviceTypes`| Specifies which types of services to include (`Query`, `Msg`). `undefined` includes all types. | `undefined` | -| `helperFuncCreators.include.patterns` | Array of glob patterns patterns (e.g., `"**"`, `"cosmos.bank.v1beta1.bala*"`, etc.) to match specific proto services. | `undefined` | -| `helperFuncCreators.nameMappers` | Configuration object for customizing function names and prefixes | `{}` | -| `helperFuncCreators.nameMappers.All.funcBody` | Maps method names to a new name for all services. | `"unchanged"` | -| `helperFuncCreators.nameMappers.All.creatorPrefix` | Prefix for the function creator. | `"create"` | -| `helperFuncCreators.nameMappers.All.hookPrefix` | Prefix for the hooks. | `"use"` | -| `helperFuncCreators.nameMappers.Query.funcBody` | Maps method names to a new name for `Query` services. | `"get"` | -| `helperFuncCreators.nameMappers.Query.creatorPrefix`| Prefix for the function creator for `Query` services. | `"create"` | -| `helperFuncCreators.nameMappers.Query.hookPrefix` | Prefix for the hooks for `Query` services. | `"use"` | -| `helperFuncCreators.nameMappers.Msg.funcBody` | Maps method names to a new name for `Msg` services. | `"unchanged"` | -| `helperFuncCreators.nameMappers.Msg.creatorPrefix`| Prefix for the function creator for `Msg` services. | `"create"` | -| `helperFuncCreators.nameMappers.Msg.hookPrefix` | Prefix for the hooks for `Msg` services. | `"use"` | +| `helperFunctions.enabled` | Enable the generation of helper function files `.func.ts` | `false` | +| `helperFunctions.hooks` | Generates hooks selected alongside helper functions | `{ react: false, vue: false }` | +| `helperFunctions.include.serviceTypes`| Specifies which types of services to include (`Query`, `Msg`). `undefined` includes all types. | `undefined` | +| `helperFunctions.include.patterns` | Array of glob patterns patterns (e.g., `"**"`, `"cosmos.bank.v1beta1.bala*"`, etc.) to match specific proto services. | `undefined` | +| `helperFunctions.nameMappers` | Configuration object for customizing function names and prefixes | `{}` | +| `helperFunctions.nameMappers.All.funcBody` | Maps method names to a new name for all services. | `"unchanged"` | +| `helperFunctions.nameMappers.All.creatorPrefix` | Prefix for the function creator. | `"create"` | +| `helperFunctions.nameMappers.All.hookPrefix` | Prefix for the hooks. | `"use"` | +| `helperFunctions.nameMappers.Query.funcBody` | Maps method names to a new name for `Query` services. | `"get"` | +| `helperFunctions.nameMappers.Query.creatorPrefix`| Prefix for the function creator for `Query` services. | `"create"` | +| `helperFunctions.nameMappers.Query.hookPrefix` | Prefix for the hooks for `Query` services. | `"use"` | +| `helperFunctions.nameMappers.Msg.funcBody` | Maps method names to a new name for `Msg` services. | `"unchanged"` | +| `helperFunctions.nameMappers.Msg.creatorPrefix`| Prefix for the function creator for `Msg` services. | `"create"` | +| `helperFunctions.nameMappers.Msg.hookPrefix` | Prefix for the hooks for `Msg` services. | `"use"` | See [Helper Functions Configuration](#helper-functions-configuration) for more info. @@ -1258,9 +1258,12 @@ The nameMappers object supports three service types: All, Query, and Msg. Each p ```js const options: TelescopeOptions = { - helperFuncCreators: { + helperFunctions: { enabled: true, - genCustomHooks: true, + genCustomHooks: { + react: true, + vue: true + }, include: { patterns: ["cosmos.gov.v1beta1.**", "cosmos.bank.v1beta1.*Send*"], }, diff --git a/packages/telescope/__tests__/telescope-helper-func.test.ts b/packages/telescope/__tests__/telescope-helper-func.test.ts index fbe33ebc71..a2d972c8af 100644 --- a/packages/telescope/__tests__/telescope-helper-func.test.ts +++ b/packages/telescope/__tests__/telescope-helper-func.test.ts @@ -217,15 +217,19 @@ const options: TelescopeOptions = { ], }, - helperFuncCreators: { + helperFunctions: { enabled: true, useGlobalDecoderRegistry: true, - genCustomHooks: true, + hooks: { + react: true, + vue: true + }, include: { // pattern matching is case sensitive patterns: [ "cosmos.gov.v1beta1.**", - "cosmos.bank.v1beta1.*Send*" + "cosmos.bank.v1beta1.**", + "cosmos.staking.v1beta1.**" ], }, nameMappers: { @@ -279,7 +283,7 @@ const options: TelescopeOptions = { include: { patterns: ["osmosis/**/gamm/**/query.proto"], protos: ["akash/cert/v1beta2/query.proto"], - packages: ["cosmos.bank.v1beta1", "cosmos.auth.**", "cosmos.nft.**"], + packages: ["cosmos.bank.v1beta1", "cosmos.auth.**", "cosmos.nft.**", "cosmos.staking.**"], }, instantExport: { include: { diff --git a/packages/telescope/__tests__/telescope-icjs.test.ts b/packages/telescope/__tests__/telescope-icjs.test.ts index a6f4c2a2cb..6e7d43754b 100644 --- a/packages/telescope/__tests__/telescope-icjs.test.ts +++ b/packages/telescope/__tests__/telescope-icjs.test.ts @@ -67,9 +67,12 @@ const options: TelescopeOptions = { enabled: false, }, - helperFuncCreators: { + helperFunctions: { enabled: true, - genCustomHooks: true, + hooks: { + react: true, + vue: true + }, }, interfaces: { diff --git a/packages/telescope/__tests__/telescope-vuequery.test.ts b/packages/telescope/__tests__/telescope-vuequery.test.ts deleted file mode 100644 index 6de6659aaf..0000000000 --- a/packages/telescope/__tests__/telescope-vuequery.test.ts +++ /dev/null @@ -1,273 +0,0 @@ -import { TelescopeBuilder } from '../src/builder'; -import { TelescopeOptions } from '@cosmology/types'; -import { - bundleBaseRegistries, - bundleRegistries, - parseContextsForRegistry -} from '../src/bundle'; -import { TelescopeInput } from '../src'; -import { kebab } from 'case'; -import { join } from 'path'; -import { getTestProtoStore } from '../test-utils'; -import { TelescopeParseContext } from '../src/build'; - -const outPath = __dirname + '/../../../__fixtures__/v-next/outputv4'; -const store = getTestProtoStore(); -store.traverseAll(); - -const options: TelescopeOptions = { - - env: 'v-next', - removeUnusedImports: false, - classesUseArrowFunctions: false, - - tsDisable: { - disableAll: false, - patterns: ['osmosis/**/*amino.ts'], - files: ['akash/deployment/v1beta1/deployment.ts'] - }, - - eslintDisable: { - disableAll: false, - patterns: ['akash/**/*amino.ts'], - files: ['akash/deployment/v1beta1/deployment.ts'] - }, - - interfaces: { - enabled: false, - useUnionTypes: false - }, - - prototypes: { - enabled: true, - parser: { - keepCase: false - }, - methods: { - encode: true, - decode: true, - fromJSON: true, - toJSON: true, - fromPartial: true, - toSDK: true, - fromSDKJSON: true, - fromSDK: true - }, - includePackageVar: true, - fieldDefaultIsOptional: false, - useOptionalNullable: true, - allowUndefinedTypes: false, - excluded: { - packages: [ - // 'cosmos.gov.v1', - // 'cosmos.group.v1' - ], - protos: ['cosmos/authz/v1beta1/event.proto'] - }, - typingsFormat: { - customTypes: { - useCosmosSDKDec: true - }, - num64: 'bigint', - useDeepPartial: true, - useExact: false, - timestamp: 'date', - duration: 'duration' - } - }, - - bundle: { - enabled: true - }, - - stargateClients: { - enabled: true, - includeCosmosDefaultTypes: true - }, - - aggregatedLCD: { - dir: 'osmosis', - filename: 'agg-lcd.ts', - packages: ['cosmos.bank.v1beta1', 'osmosis.gamm.v1beta1'], - addToBundle: true - }, - - lcdClients: { - enabled: true, - scopedIsExclusive: false, - scoped: [ - { - dir: 'osmosis', - filename: 'custom-lcd-client.ts', - packages: [ - 'cosmos.bank.v1beta1', - 'cosmos.gov.v1beta1', - 'osmosis.gamm.v1beta1' - ], - addToBundle: true, - methodName: 'createCustomLCDClient' - }, - { - dir: 'evmos', - filename: 'custom-lcd-client.ts', - packages: [ - 'cosmos.bank.v1beta1', - 'cosmos.gov.v1beta1', - 'evmos.erc20.v1' - ], - addToBundle: true, - methodName: 'createEvmosLCDClient' - } - ] - }, - - rpcClients: { - enabled: true, - camelCase: true, - scopedIsExclusive: false, - scoped: [ - { - dir: 'cosmos', - filename: 'cosmos-rpc-client.ts', - packages: ['cosmos.bank.v1beta1', 'cosmos.gov.v1beta1'], - addToBundle: true, - methodNameQuery: 'createCosmicRPCQueryClient', - methodNameTx: 'createCosmicRPCTxClient' - }, - { - dir: 'evmos', - filename: 'evmos-rpc-client.ts', - packages: [ - 'cosmos.bank.v1beta1', - 'cosmos.gov.v1beta1', - 'evmos.erc20.v1' - ], - addToBundle: true, - methodNameQuery: 'createEvmosRPCQueryClient', - methodNameTx: 'createEvmosRPCTxClient' - } - ], - enabledServices: [ - 'Msg', - 'Query', - 'Service', - 'ReflectionService', - 'ABCIApplication' - ] - }, - - reactQuery: { - enabled: false, - include: { - patterns: ['osmosis/**/gamm/**/query.proto'], - protos: ['akash/cert/v1beta2/query.proto'], - packages: ['cosmos.bank.v1beta1'] - } - }, - - vueQuery: { - enabled: true, - include: { - patterns: ['osmosis/**/gamm/**/query.proto'], - protos: ['akash/cert/v1beta2/query.proto'], - packages: ['cosmos.bank.v1beta1', 'cosmos.staking.v1beta1', 'cosmos.gov.v1'] - } - }, - - mobx: { - enabled: false, - include: { - patterns: ['osmosis/**/gamm/**/query.proto'], - protos: ['akash/cert/v1beta2/query.proto'], - packages: ['cosmos.gov.v1beta1'] - } - }, - - pinia: { - enabled: false, - include: { - patterns: ['osmosis/**/gamm/**/query.proto'], - protos: ['akash/cert/v1beta2/query.proto'], - packages: ['evmos.erc20.v1'] - } - }, - - aminoEncoding: { - enabled: true, - exceptions: { - '/akash.audit.v1beta2.MsgSignProviderAttributes': { - aminoType: 'mymessage-testonly' - } - }, - typeUrlToAmino: (typeUrl: string) => { - const name = typeUrl.replace(/^\//, ''); - const elements = name.split('.'); - const pkg = elements[0]; - - switch (pkg) { - case 'akash': { - const n = elements.filter((a) => !a.match(/v1beta1/)); - n[n.length - 1] = kebab(n[n.length - 1]); - n[n.length - 1] = n[n.length - 1].replace(/^msg-/, 'testonly-'); - return n.join('/'); - } - } - }, - useLegacyInlineEncoding: true - }, - packages: { - akash: { - classesUseArrowFunctions: true, - deployment: { - v1beta1: { - prototypes: { - allowUndefinedTypes: true, - typingsFormat: { - useDeepPartial: false - } - }, - aminoEncoding: { - enabled: false - }, - rpcClients: { - inline: true - } - } - }, - prototypes: { - typingsFormat: { - useExact: true - } - } - } - } -}; - -const input: TelescopeInput = { - outPath, - protoDirs: [ - __dirname + '/../../../__fixtures__/chain1', - __dirname + '/../../../__fixtures__/osmojs/ics23/proto', - __dirname + '/../../../__fixtures__/osmojs/cosmos-sdk/proto', - __dirname + '/../../../__fixtures__/osmojs/ibc-go/proto', - __dirname + '/../../../__fixtures__/osmojs/wasmd/proto', - __dirname + '/../../../__fixtures__/osmojs/osmosis/proto', - ], - options -}; - -const telescope = new TelescopeBuilder(input); - -describe('bundle package registries and root file names', () => { - it('bundleRegistries', async () => { - // await telescope.build(); - // const registries = bundleRegistries(telescope); - // const result = registries.map((reg) => ({ - // ['package']: reg.package, - // contexts: parseContextsForRegistry( - // reg.contexts as TelescopeParseContext[] - // ) - // })); - // // console.log(JSON.stringify(result, null, 2)); - }); -}); diff --git a/packages/telescope/src/build.ts b/packages/telescope/src/build.ts index 73a70efc1a..1ae579630b 100644 --- a/packages/telescope/src/build.ts +++ b/packages/telescope/src/build.ts @@ -10,7 +10,6 @@ import { createProtoEnumToJSON, createProtoEnumFromJSON, createProtoType, - cloneAndWrapFieldsWithComputedRef, createProtoInterfaceEncodedType, createProtoTypeType, createSDKType, @@ -80,17 +79,7 @@ export const buildBaseTypeScriptInterface = ( obj: any ) => { - const protoType = createProtoType(context.proto, name, obj) - context.body.push(protoType); - - if (context.options.vueQuery?.enabled) { - // create interfaces with fields of ComputedRef - // eg: interface QueryBalanceRequest { - // address: ComputedRef; - // denom: ComputedRef; - // } - context.body.push(cloneAndWrapFieldsWithComputedRef(protoType)) - } + context.body.push(createProtoType(context.proto, name, obj)); if (context.options.aminoEncoding?.enabled && !context.options.aminoEncoding?.useLegacyInlineEncoding || context.options.prototypes?.methods?.fromProto || context.options.prototypes?.methods?.toProto) { context.body.push(createProtoTypeType(context.proto, name, obj)); diff --git a/packages/telescope/src/generators/create-helpers.ts b/packages/telescope/src/generators/create-helpers.ts index 9fa6e54615..1f9f227d7e 100644 --- a/packages/telescope/src/generators/create-helpers.ts +++ b/packages/telescope/src/generators/create-helpers.ts @@ -10,7 +10,7 @@ import { getHelper, getHelperForBigint, getReactQueryHelper, - getVueQueryHelper, + getVueQueryHelperHooks, mobx, grpcGateway, grpcWeb, @@ -65,13 +65,12 @@ export const plugin = (builder: TelescopeBuilder) => { builder.options.stargateClients.addGetTxRpc || builder.options.includeExternalHelpers || builder.options.reactQuery?.enabled || - builder.options.vueQuery?.enabled || - builder.options?.helperFuncCreators?.enabled + builder.options?.helperFunctions?.enabled ) { // also react-query needs these... builder.files.push("extern.ts"); - if (builder.options?.helperFuncCreators?.enabled) { + if (builder.options?.helperFunctions?.enabled) { write(builder, "extern.ts", externalIcJs); } else { write( @@ -82,9 +81,9 @@ export const plugin = (builder: TelescopeBuilder) => { } } - if (builder.options.helperFuncCreators?.enabled) { + if (builder.options.helperFunctions?.enabled) { builder.files.push("helper-func-types.ts"); - if(builder.options.interfaces?.enabled && builder.options.helperFuncCreators?.useGlobalDecoderRegistry) { + if (builder.options.interfaces?.enabled && builder.options.helperFunctions?.useGlobalDecoderRegistry) { write(builder, "helper-func-types.ts", getHelperFuncTypesForInterface(builder.options)); } else { write(builder, "helper-func-types.ts", getHelperFuncTypes(builder.options)); @@ -93,14 +92,14 @@ export const plugin = (builder: TelescopeBuilder) => { if ( builder.options.reactQuery?.enabled || - (builder.options?.helperFuncCreators?.enabled && - builder.options?.helperFuncCreators?.genCustomHooks) + (builder.options?.helperFunctions?.enabled && + builder.options?.helperFunctions?.hooks?.react) ) { builder.files.push("react-query.ts"); if ( - builder.options?.helperFuncCreators?.enabled && - builder.options?.helperFuncCreators?.genCustomHooks + builder.options?.helperFunctions?.enabled && + builder.options?.helperFunctions?.hooks?.react ) { if (builder.options?.useInterchainJs) { write( @@ -120,9 +119,17 @@ export const plugin = (builder: TelescopeBuilder) => { } } - if (builder.options.vueQuery?.enabled) { + if ( + builder.options?.helperFunctions?.enabled && + builder.options?.helperFunctions?.hooks?.vue + ) { builder.files.push("vue-query.ts"); - write(builder, "vue-query.ts", getVueQueryHelper(builder.options)); + + write( + builder, + "vue-query.ts", + getVueQueryHelperHooks(builder.options) + ); } if (builder.options.mobx?.enabled) { @@ -172,7 +179,7 @@ export const plugin = (builder: TelescopeBuilder) => { if ( builder.options.prototypes?.typingsFormat?.useTelescopeGeneratedType || (builder.options.interfaces?.enabled && - ( builder.options.interfaces?.useGlobalDecoderRegistry || builder.options.helperFuncCreators?.useGlobalDecoderRegistry )) + (builder.options.interfaces?.useGlobalDecoderRegistry || builder.options.helperFunctions?.useGlobalDecoderRegistry)) ) { builder.files.push("types.ts"); write(builder, "types.ts", getTypesHelper(builder.options)); @@ -180,7 +187,7 @@ export const plugin = (builder: TelescopeBuilder) => { if ( builder.options.interfaces?.enabled && - ( builder.options.interfaces?.useGlobalDecoderRegistry || builder.options.helperFuncCreators?.useGlobalDecoderRegistry ) + (builder.options.interfaces?.useGlobalDecoderRegistry || builder.options.helperFunctions?.useGlobalDecoderRegistry) ) { builder.files.push("registry.ts"); write(builder, "registry.ts", getRegistryHelper(builder.options)); diff --git a/packages/telescope/src/generators/create-msg-funcs.ts b/packages/telescope/src/generators/create-msg-funcs.ts index 7823930c72..5a3f3c60f3 100644 --- a/packages/telescope/src/generators/create-msg-funcs.ts +++ b/packages/telescope/src/generators/create-msg-funcs.ts @@ -1,6 +1,6 @@ import { buildAllImports, getDepsFromQueries } from "../imports"; import { Bundler } from "../bundler"; -import { createMsgHelperCreator, createMsgHooks } from "@cosmology/ast"; +import { createMsgHelperCreator, createMsgHooks, createVueMsgHooks } from "@cosmology/ast"; import { getNestedProto } from "@cosmology/proto-parser"; import { parse } from "../parse"; import { TelescopeBuilder } from "../builder"; @@ -20,11 +20,11 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { const clients = mutationContexts .map((c) => { - const enabled = c.proto.pluginValue("helperFuncCreators.enabled"); + const enabled = c.proto.pluginValue("helperFunctions.enabled"); if (!enabled) return; const serviceTypes = c.proto.pluginValue( - "helperFuncCreators.include.serviceTypes" + "helperFunctions.include.serviceTypes" ); if (serviceTypes && !serviceTypes.includes("Tx")) { @@ -34,9 +34,15 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { if (c.proto.isExcluded()) return; const localname = bundler.getLocalFilename(c.ref, "rpc.func"); + const localnameReact = bundler.getLocalFilename(c.ref, `rpc.react`); + const localnameVue = bundler.getLocalFilename(c.ref, `rpc.vue`); const filename = bundler.getFilename(localname); + const filenameReact = bundler.getFilename(localnameReact); + const filenameVue = bundler.getFilename(localnameVue); + const ctx = bundler.getFreshContext(c); + // get mutations, services parse(ctx); @@ -47,6 +53,10 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { } const asts = []; + const reactAsts = []; + const vueAsts = []; + const helperCreatorNameList = []; + const bundlerFile: BundlerFile = { proto: c.ref.filename, package: c.ref.proto.package, @@ -59,10 +69,10 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { if (proto[svcKey]) { const svc: ProtoService = proto[svcKey]; const patterns = c.proto.pluginValue( - "helperFuncCreators.include.patterns" + "helperFunctions.include.patterns" ); const nameMappers = c.proto.pluginValue( - "helperFuncCreators.nameMappers" + "helperFunctions.nameMappers" ); const methodKeys = getQueryMethodNames( @@ -89,6 +99,7 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { "unchanged" ); + helperCreatorNameList.push(helperCreatorName); // gen helper funcs asts.push( createMsgHelperCreator( @@ -99,12 +110,16 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { ); const genCustomHooks = c.proto.pluginValue( - "helperFuncCreators.genCustomHooks" + "helperFunctions.hooks.react" + ); + + const genCustomHooksVue = c.proto.pluginValue( + "helperFunctions.hooks.vue" ); if (genCustomHooks) { - // gen custom hooks - asts.push( + // gen custom react hooks + reactAsts.push( createMsgHooks( ctx.generic, svc.methods[methodKey], @@ -113,6 +128,19 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { ) ); } + + if (genCustomHooksVue) { + // gen custom vue hooks + vueAsts.push( + createVueMsgHooks( + ctx.generic, + svc.methods[methodKey], + helperCreatorName, + hookName + ) + ); + } + }); } }); @@ -122,11 +150,24 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { } const serviceImports = getDepsFromQueries(ctx.mutations, localname); + const serviceImportsReact = getDepsFromQueries(ctx.mutations, localnameReact); + const serviceImportsVue = getDepsFromQueries(ctx.mutations, localnameVue); + + const funcFileName = "./".concat(localname.substring(localname.lastIndexOf("/") + 1)) + serviceImportsReact[funcFileName] = helperCreatorNameList; + serviceImportsVue[funcFileName] = helperCreatorNameList; const imports = buildAllImports(ctx, serviceImports, localname); + const importsReact = buildAllImports(ctx, serviceImportsReact, localnameReact); + const importsVue = buildAllImports(ctx, serviceImportsVue, localnameReact); + const prog = [].concat(imports).concat(ctx.body).concat(asts); + const progReact = [].concat(importsReact).concat(reactAsts); + const progVue = [].concat(importsVue).concat(vueAsts); bundler.writeAst(prog, filename); + bundler.writeAst(progReact, filenameReact); + bundler.writeAst(progVue, filenameVue); bundler.addToBundle(c, localname); return { diff --git a/packages/telescope/src/generators/create-query-funcs.ts b/packages/telescope/src/generators/create-query-funcs.ts index abdd6a6100..85a6af77eb 100644 --- a/packages/telescope/src/generators/create-query-funcs.ts +++ b/packages/telescope/src/generators/create-query-funcs.ts @@ -1,6 +1,6 @@ import { buildAllImports, getDepsFromQueries } from "../imports"; import { Bundler } from "../bundler"; -import { createQueryHelperCreator, createQueryHooks } from "@cosmology/ast"; +import { createQueryHelperCreator, createQueryHooks, createVueQueryHooks } from "@cosmology/ast"; import { getNestedProto, isRefIncluded } from "@cosmology/proto-parser"; import { parse } from "../parse"; import { TelescopeBuilder } from "../builder"; @@ -16,11 +16,11 @@ import { BundlerFile } from "../types"; export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { const clients = bundler.contexts .map((c) => { - const enabled = c.proto.pluginValue("helperFuncCreators.enabled"); + const enabled = c.proto.pluginValue("helperFunctions.enabled"); if (!enabled) return; const serviceTypes = c.proto.pluginValue( - "helperFuncCreators.include.serviceTypes" + "helperFunctions.include.serviceTypes" ); if ( @@ -52,9 +52,12 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { } else { getImportsFrom = ctx.services; } - const localname = bundler.getLocalFilename(c.ref, `rpc.func`); + const localnameReact = bundler.getLocalFilename(c.ref, `rpc.react`); + const localnameVue = bundler.getLocalFilename(c.ref, `rpc.vue`); const filename = bundler.getFilename(localname); + const filenameReact = bundler.getFilename(localnameReact); + const filenameVue = bundler.getFilename(localnameVue); const bundlerFile: BundlerFile = { proto: c.ref.filename, @@ -64,15 +67,18 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { }; const asts = []; + const reactAsts = []; + const vueAsts = []; + const helperCreatorNameList = []; QUERY_SVC_TYPES.forEach((svcKey) => { if (proto[svcKey]) { const svc: ProtoService = proto[svcKey]; const patterns = c.proto.pluginValue( - "helperFuncCreators.include.patterns" + "helperFunctions.include.patterns" ); const nameMappers = c.proto.pluginValue( - "helperFuncCreators.nameMappers" + "helperFunctions.nameMappers" ); const methodKeys = getQueryMethodNames( @@ -98,7 +104,7 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { [nameMappers?.Query, nameMappers?.All], "get" ); - + helperCreatorNameList.push(helperCreatorName); // gen helper funcs asts.push( createQueryHelperCreator( @@ -110,13 +116,17 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { ) ); - const genCustomHooks = c.proto.pluginValue( - "helperFuncCreators.genCustomHooks" + const genCustomHooksReact = c.proto.pluginValue( + "helperFunctions.hooks.react" + ); + + const genCustomHooksVue = c.proto.pluginValue( + "helperFunctions.hooks.vue" ); - if (genCustomHooks) { - // gen custom hooks - asts.push( + if (genCustomHooksReact) { + // gen custom react hooks + reactAsts.push( createQueryHooks( ctx.generic, svc.methods[methodKey], @@ -126,6 +136,19 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { ) ); } + + if (genCustomHooksVue) { + // gen custom vue hooks + vueAsts.push( + createVueQueryHooks( + ctx.generic, + svc.methods[methodKey], + methodKey, + helperCreatorName, + hookName + ) + ); + } }); } }); @@ -135,12 +158,26 @@ export const plugin = (builder: TelescopeBuilder, bundler: Bundler) => { } const serviceImports = getDepsFromQueries(getImportsFrom, localname); + const serviceImportsReact = getDepsFromQueries(getImportsFrom, localnameReact); + const serviceImportsVue = getDepsFromQueries(getImportsFrom, localnameVue); + + // add imports from func file like query.rpc.func.ts + const funcFileName = "./".concat(localname.substring(localname.lastIndexOf("/") + 1)) + serviceImportsReact[funcFileName] = helperCreatorNameList; + serviceImportsVue[funcFileName] = helperCreatorNameList; // TODO we do NOT need all imports... const imports = buildAllImports(ctx, serviceImports, localname); + const importsReact = buildAllImports(ctx, serviceImportsReact, localnameReact); + const importsVue = buildAllImports(ctx, serviceImportsVue, localnameReact); + const prog = [].concat(imports).concat(ctx.body).concat(asts); + const progReact = [].concat(importsReact).concat(reactAsts); + const progVue = [].concat(importsVue).concat(vueAsts); bundler.writeAst(prog, filename); + bundler.writeAst(progReact, filenameReact); + bundler.writeAst(progVue, filenameVue); bundler.addToBundle(c, localname); return bundlerFile; diff --git a/packages/telescope/src/generators/create-rpc-query-clients.ts b/packages/telescope/src/generators/create-rpc-query-clients.ts index fc533bbc6f..ecf7d0eb2c 100644 --- a/packages/telescope/src/generators/create-rpc-query-clients.ts +++ b/packages/telescope/src/generators/create-rpc-query-clients.ts @@ -5,11 +5,8 @@ import { createRpcClientClass, createRpcClientInterface, createRpcQueryHookInterfaces, - createRpcVueQueryHookInterfaces, createRpcQueryHookClientMap, - createRpcVueQueryHookClientMap, createRpcQueryHooks, - createRpcVueQueryHooks, // grpc-gateway: createGRPCGatewayQueryClass, createGRPCGatewayWrapperClass, @@ -241,20 +238,6 @@ export const plugin = ( [].push.apply(asts, createRpcQueryHookClientMap(ctx.generic, svc)); } - // see if current file has been vueQuery enabled and included - const includeVueQueryHooks = c.proto.pluginValue('vueQuery.enabled') && isRefIncluded( - c.ref, - c.proto.pluginValue('vueQuery.include') - ) - - if (includeVueQueryHooks) { - [].push.apply(asts, createRpcVueQueryHookInterfaces(ctx.generic, svc)); - } - - if (includeVueQueryHooks) { - [].push.apply(asts, createRpcVueQueryHookClientMap(ctx.generic, svc)); - } - // react query // generate react query parts if included. // eg: __fixtures__/output1/akash/audit/v1beta2/query.rpc.Query.ts @@ -272,9 +255,6 @@ export const plugin = ( reactQueryBundlerFiles.push(bundlerFile); } - if (includeVueQueryHooks) { - asts.push(createRpcVueQueryHooks(ctx.generic, proto[svcKey])); - } // whether mobx plugin is enabled has been dealt with inside createMobxQueryStores const mobxQueryStoreAst = createMobxQueryStores( @@ -294,23 +274,11 @@ export const plugin = ( return; } - let serviceImports = getDepsFromQueries( + const serviceImports = getDepsFromQueries( getImportsFrom, localname ); - if (c.proto.pluginValue('vueQuery.enabled')) { - const reactiveRequests = [] - serviceImports['./query']?.forEach(servImp => { - if (/^Query.*Request$/.test(servImp)) { - reactiveRequests.push(`Reactive${servImp}`) - } - }) - if (reactiveRequests.length > 0) { - serviceImports['./query'] = serviceImports['./query'].concat(reactiveRequests) - } - } - // TODO we do NOT need all imports... const imports = buildAllImports(ctx, serviceImports, localname); const prog = [] diff --git a/packages/telescope/src/generators/create-types.ts b/packages/telescope/src/generators/create-types.ts index 6983e0a406..0dfbe7bd7f 100644 --- a/packages/telescope/src/generators/create-types.ts +++ b/packages/telescope/src/generators/create-types.ts @@ -173,17 +173,6 @@ export const plugin = ( .concat(importStmts) ; - if (context.proto.pluginValue('vueQuery.enabled')) { - // import { ComputedRef } from 'vue' - const importVueStatement = t.importDeclaration( - [ - t.importSpecifier(t.identifier('ComputedRef'), t.identifier('ComputedRef')), - ], - t.stringLiteral('vue') - ); - prog.push(importVueStatement) - } - // package var if (context.proto.pluginValue('prototypes.includePackageVar')) { prog.push(t.exportNamedDeclaration(t.variableDeclaration('const', [ diff --git a/packages/telescope/src/helpers/index.ts b/packages/telescope/src/helpers/index.ts index 9a6fe2c5c2..3c52c83983 100644 --- a/packages/telescope/src/helpers/index.ts +++ b/packages/telescope/src/helpers/index.ts @@ -6,7 +6,6 @@ export * from './internal-for-bigint'; export * from './react-query'; export * from './react-query-hooks'; export * from './react-query-hooks-icjs'; -export * from './vue-query'; export * from './mobx'; export * from './grpc-gateway'; export * from './grpc-web'; @@ -20,3 +19,4 @@ export * from './json-safe'; export * from './decimals'; export * from './helper-func-types'; export * from './helper-func-types-interface'; +export * from './vue-query-hooks'; diff --git a/packages/telescope/src/helpers/vue-query-hooks.ts b/packages/telescope/src/helpers/vue-query-hooks.ts new file mode 100644 index 0000000000..94bbdef503 --- /dev/null +++ b/packages/telescope/src/helpers/vue-query-hooks.ts @@ -0,0 +1,270 @@ +import { TelescopeOptions } from "@cosmology/types"; + +export const getVueQueryHelperHooks = (options: TelescopeOptions) => { + return ` + + +import { getRpcClient } from './extern${options.restoreImportExtension ?? ""}' +import { + isRpc, + Rpc, +} from './helpers${options.restoreImportExtension ?? ""}' +import { + ITxArgs, + ISigningClient, + StdFee, + DeliverTxResponse, + SigningClientResolver, + RpcResolver, + isISigningClient +} from './helper-func-types${options.restoreImportExtension ?? ""}' +import { + useQuery, + useQueryClient, + UseQueryOptions, + useMutation, + UseMutationOptions, + QueryKey, +} from '@tanstack/vue-query'; + +import { HttpEndpoint, ProtobufRpcClient } from '@cosmjs/stargate'; +${ + options.rpcClients.useConnectComet + ? "import { CometClient, connectComet, Tendermint34Client, Tendermint37Client } from '@cosmjs/tendermint-rpc';" + : "import { Tendermint34Client } from '@cosmjs/tendermint-rpc';" +} +import {Ref} from 'vue' + +export const DEFAULT_RPC_CLIENT_QUERY_KEY = 'rpcClient'; +export const DEFAULT_RPC_ENDPOINT_QUERY_KEY = 'rpcEndPoint'; +export const DEFAULT_SIGNING_CLIENT_QUERY_KEY = 'signingClient'; + +export interface CacheResolver { + rpcEndpoint?: string | HttpEndpoint; + clientQueryKey?: string; +} + +export function isCacheResolver(resolver: unknown): resolver is CacheResolver { + return ( + resolver !== null && + resolver !== undefined && + (resolver as CacheResolver).rpcEndpoint !== undefined && + (resolver as CacheResolver).clientQueryKey !== undefined + ); +} + +export interface VueQueryParams { + options?: UseQueryOptions; +} + +export interface UseRpcClientQuery extends VueQueryParams { + clientResolver?: CacheResolver; +} + +export interface UseRpcEndpointQuery extends VueQueryParams { + getter: () => Promise; + rpcEndPointKey?: string; + extraKey?: string +} + +export function useRpcEndpoint({ + getter, + options, + rpcEndPointKey, + extraKey, +}: UseRpcEndpointQuery) { + const key = rpcEndPointKey || DEFAULT_RPC_ENDPOINT_QUERY_KEY; + return useQuery( + { + queryKey: [key, extraKey], + queryFn: async () => { + return await getter(); + }, ...options + } + ); +}; + +export function useRpcClient({ + options, + clientResolver, +}: UseRpcClientQuery) { + const queryClient = useQueryClient(); + + const key = clientResolver?.clientQueryKey || DEFAULT_RPC_CLIENT_QUERY_KEY; + return useQuery({ + queryKey: [key, clientResolver?.rpcEndpoint], + queryFn: async () => { + if (!clientResolver?.rpcEndpoint) { + throw new Error('rpcEndpoint is required'); + } + + const client = await getRpcClient(clientResolver.rpcEndpoint); + if (!client) { + throw new Error('Failed to connect to rpc client'); + } + + queryClient.setQueryData([key], client); + + return client; + }, + ...options + } + ); +} + +${ + options.rpcClients.useConnectComet + ? "interface UseTendermintClient extends VueQueryParams {" + : "interface UseTendermintClient extends VueQueryParams {" +} + rpcEndpoint: string | HttpEndpoint; +} + +/** + * Function that uses vue-query to cache a connected tendermint client. + */ +export function useTendermintClient = ({ + rpcEndpoint, + options, +}: UseTendermintClient) => { +${ + options.rpcClients.useConnectComet + ? " const { data: client } = useQuery({" + : " const { data: client } = useQuery({" +} + queryKey: ['client', 'tendermint', rpcEndpoint], + queryFn: () => ${ + options.rpcClients.useConnectComet + ? "connectComet(rpcEndpoint)" + : "Tendermint34Client.connect(rpcEndpoint)" + }, + ...{ + // allow overriding + onError: (e: any) => { + throw new Error(\`Failed to connect to \${rpcEndpoint}\` + '\\n' + e) + }, + ...options, + } + } + ); + return { client }; +}; + +export interface UseQueryBuilderOptions { + builderQueryFn: ( + clientResolver?: RpcResolver + ) => (request: TReq) => Promise; + queryKeyPrefix: string; +} + +export function buildUseVueQuery( + opts: UseQueryBuilderOptions +) { + return function useBuiltQuery({ + request, + options, + clientResolver, + customizedQueryKey, + }: UseQueryParams) { + const queryClient = useQueryClient(); + let rpcResolver: RpcResolver | undefined; + if (isRpc(clientResolver)) { + rpcResolver = clientResolver; + + } else if (isCacheResolver(clientResolver)) { + const key = clientResolver.clientQueryKey || DEFAULT_RPC_CLIENT_QUERY_KEY; + const queryKey = clientResolver.rpcEndpoint + ? [key, clientResolver.rpcEndpoint] + : [key]; + rpcResolver = queryClient.getQueryData(queryKey); + + if (!rpcResolver && clientResolver.rpcEndpoint) { + rpcResolver = clientResolver.rpcEndpoint; + } + } else { + rpcResolver = clientResolver; + + } + + const queryFn = opts.builderQueryFn(rpcResolver); + return useQuery({ + queryKey: customizedQueryKey || [opts.queryKeyPrefix, request], + queryFn: () => queryFn(request.value), + ...options + } + ); + }; +} + +export interface UseQueryParams + extends VueQueryParams { + request: Ref; + clientResolver?: CacheResolver | RpcResolver; + customizedQueryKey?: QueryKey; +} + +export interface VueMutationParams< + TData, + TError, + TVariables, + TContext = unknown +> { + options?: UseMutationOptions; + clientResolver?: CacheResolver | SigningClientResolver; +} + +export interface UseMutationBuilderOptions { + builderMutationFn: ( + clientResolver?: SigningClientResolver + ) => ( + signerAddress: string, + message: TMsg, + fee: StdFee | 'auto', + memo: string + ) => Promise; +} + +export function buildUseVueMutation( + opts: UseMutationBuilderOptions +) { + return function useBuiltMutation({ + options, + clientResolver, + }: VueMutationParams>) { + const queryClient = useQueryClient(); + + let signingClientResolver: SigningClientResolver | undefined; + + if (isISigningClient(clientResolver)) { + signingClientResolver = clientResolver; + } else if (isCacheResolver(clientResolver)) { + const key = + clientResolver.clientQueryKey || DEFAULT_SIGNING_CLIENT_QUERY_KEY; + const queryKey = clientResolver.rpcEndpoint + ? [key, clientResolver.rpcEndpoint] + : [key]; + signingClientResolver = queryClient.getQueryData( + queryKey + ); + } else { + clientResolver = clientResolver; + } + + const mutationFn = opts.builderMutationFn(signingClientResolver); + + return useMutation>( + { + mutationFn: (reqData: ITxArgs) => + mutationFn( + reqData.signerAddress, + reqData.message, + reqData.fee, + reqData.memo + ), + ...options + } + ); + }; +} +`; +}; diff --git a/packages/telescope/src/helpers/vue-query.ts b/packages/telescope/src/helpers/vue-query.ts deleted file mode 100644 index 92378a0c6d..0000000000 --- a/packages/telescope/src/helpers/vue-query.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { TelescopeOptions } from "@cosmology/types"; - -export const getVueQueryHelper = (options: TelescopeOptions) => { - return `import { getRpcClient } from './extern${options.restoreImportExtension ?? ""}' -import { - useQuery, - UseQueryOptions, -} from '@tanstack/vue-query'; -import { Ref, isRef } from 'vue' - -import { HttpEndpoint, ProtobufRpcClient } from '@cosmjs/stargate'; -${ - options.rpcClients.useConnectComet - ? "import { CometClient, connectComet, Tendermint34Client, Tendermint37Client } from '@cosmjs/tendermint-rpc';" - : "import { Tendermint34Client } from '@cosmjs/tendermint-rpc';" -} - -export interface VueQueryParams { - options?: Omit, 'queryKey'>; -} - -export interface UseRpcClientQuery extends VueQueryParams { - rpcEndpoint: Ref; -} - -export interface UseRpcEndpointQuery extends VueQueryParams { - getter: () => Promise; -} - -export const useRpcEndpoint = ({ - getter, - options, -}: UseRpcEndpointQuery) => { - return useQuery({ - queryKey: ['rpcEndpoint', getter], - queryFn: async () => { - return await getter(); - }, - ...options - }) -}; - -export const useRpcClient = ({ - rpcEndpoint, - options, -}: UseRpcClientQuery) => { - let params = { - queryKey: ['rpcClient', rpcEndpoint], - queryFn: async () => { - return await getRpcClient(rpcEndpoint.value); - }, - }; - if (options && !isRef(options)) { - params = { - ...options, - ...params, - }; - } - return useQuery(params); -}; - -${ - options.rpcClients.useConnectComet - ? "interface UseTendermintClient extends VueQueryParams {" - : "interface UseTendermintClient extends VueQueryParams {" -} - rpcEndpoint: Ref; -} - -/** - * Hook that uses vue-query to cache a connected tendermint client. - */ -export const useTendermintClient = ({ - rpcEndpoint, - options, -}: UseTendermintClient) => { -${ - options.rpcClients.useConnectComet - ? " const { data: client } = useQuery(" - : " const { data: client } = useQuery({" -} - queryKey: ['client', 'tendermint', rpcEndpoint], - queryFn: () => ${ - options.rpcClients.useConnectComet - ? "connectComet(rpcEndpoint.value)," - : "Tendermint34Client.connect(rpcEndpoint.value)," - } - // allow overriding - throwOnError: (e) => { - throw new Error(\`Failed to connect to \${rpcEndpoint}\` + '\\n' + e) - }, - ...options, - }) - return { client } -}; -`; -}; diff --git a/packages/telescope/src/utils/index.ts b/packages/telescope/src/utils/index.ts index 4881b873bc..d312078b92 100644 --- a/packages/telescope/src/utils/index.ts +++ b/packages/telescope/src/utils/index.ts @@ -71,11 +71,6 @@ export const UTILS: { [key: string]: UtilValue } = { toTimestamp: '__helpers__', toUtf8: '@cosmjs/encoding', useQuery: '@tanstack/react-query', - useVueQuery: { - type: 'import', - name: 'useQuery', - path: '@tanstack/vue-query' - }, ComputedRef: 'vue', computed: 'vue', Ref: 'vue', @@ -83,15 +78,12 @@ export const UTILS: { [key: string]: UtilValue } = { useRpcClient: '__react-query__', useTendermintClient: '__react-query__', ReactQueryParams: '__react-query__', - VueQueryParams: { - type: 'import', - name: 'VueQueryParams', - path: '../../../vue-query' - }, buildUseMutation:'__react-query__', UseQueryParams:'__react-query__', buildUseQuery:'__react-query__', UseQueryOptions: '@tanstack/react-query', + buildUseVueMutation:'__vue-query__', + buildUseVueQuery:'__vue-query__', QueryStore: '__mobx__', MobxResponse: '__mobx__', useEndpoint: '__pinia-endpoint__', @@ -118,6 +110,7 @@ export const UTIL_HELPERS = [ '__helpers__', '__extern__', '__react-query__', + '__vue-query__', '__mobx__', '__binary__', '__pinia-endpoint__', diff --git a/packages/telescope/telescope-module-boilerplate b/packages/telescope/telescope-module-boilerplate new file mode 160000 index 0000000000..35d63d3ed3 --- /dev/null +++ b/packages/telescope/telescope-module-boilerplate @@ -0,0 +1 @@ +Subproject commit 35d63d3ed3da09e0dc55e4d4beb537bd4f59391a diff --git a/packages/telescope/types/helpers/index.d.ts b/packages/telescope/types/helpers/index.d.ts index 9a6fe2c5c2..3c52c83983 100644 --- a/packages/telescope/types/helpers/index.d.ts +++ b/packages/telescope/types/helpers/index.d.ts @@ -6,7 +6,6 @@ export * from './internal-for-bigint'; export * from './react-query'; export * from './react-query-hooks'; export * from './react-query-hooks-icjs'; -export * from './vue-query'; export * from './mobx'; export * from './grpc-gateway'; export * from './grpc-web'; @@ -20,3 +19,4 @@ export * from './json-safe'; export * from './decimals'; export * from './helper-func-types'; export * from './helper-func-types-interface'; +export * from './vue-query-hooks'; diff --git a/packages/telescope/types/helpers/vue-query-hooks.d.ts b/packages/telescope/types/helpers/vue-query-hooks.d.ts new file mode 100644 index 0000000000..eb3531ed2d --- /dev/null +++ b/packages/telescope/types/helpers/vue-query-hooks.d.ts @@ -0,0 +1,2 @@ +import { TelescopeOptions } from "@cosmology/types"; +export declare const getVueQueryHelperHooks: (options: TelescopeOptions) => string; diff --git a/packages/types/src/telescope.ts b/packages/types/src/telescope.ts index 39ac2b0888..c2ed0cbc23 100644 --- a/packages/types/src/telescope.ts +++ b/packages/types/src/telescope.ts @@ -292,10 +292,13 @@ export interface TelescopeOpts { }[]; useConnectComet?: boolean; }; - helperFuncCreators?: { + helperFunctions?: { enabled: boolean; useGlobalDecoderRegistry?: boolean; - genCustomHooks?: boolean; + hooks?: { + react: boolean; + vue?: boolean; + }; include?: { // a group of types of service to include, undefined for All. serviceTypes?: ("Query" | "Tx")[]; @@ -342,17 +345,6 @@ export interface TelescopeOpts { }; }; }; - vueQuery?: { - enabled: boolean; - include?: { - /** - * @deprecated in favor of packages and protos supporting minimatch - */ - patterns?: string[]; - packages?: string[]; - protos?: string[]; - }; - }, mobx?: { enabled: boolean; include?: { @@ -520,15 +512,6 @@ export const defaultTelescopeOptions: TelescopeOptions = { }, }, - vueQuery: { - enabled: false, - include: { - patterns: [], - packages: [], - protos: [], - }, - }, - mobx: { enabled: false, include: { diff --git a/packages/types/types/telescope.d.ts b/packages/types/types/telescope.d.ts index 84b9b73d94..96bdd6412a 100644 --- a/packages/types/types/telescope.d.ts +++ b/packages/types/types/telescope.d.ts @@ -239,10 +239,13 @@ export interface TelescopeOpts { }[]; useConnectComet?: boolean; }; - helperFuncCreators?: { + helperFunctions?: { enabled: boolean; useGlobalDecoderRegistry?: boolean; - genCustomHooks?: boolean; + hooks?: { + react: boolean; + vue?: boolean; + }; include?: { serviceTypes?: ("Query" | "Tx")[]; patterns?: string[]; @@ -287,17 +290,6 @@ export interface TelescopeOpts { }; }; }; - vueQuery?: { - enabled: boolean; - include?: { - /** - * @deprecated in favor of packages and protos supporting minimatch - */ - patterns?: string[]; - packages?: string[]; - protos?: string[]; - }; - }; mobx?: { enabled: boolean; include?: { diff --git a/yarn.lock b/yarn.lock index 1ed7af4b97..92c5c313ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4,7 +4,7 @@ "@adraffy/ens-normalize@1.10.1": version "1.10.1" - resolved "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz#63430d04bd8c5e74f8d7d049338f1cd9d4f02069" + resolved "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz" integrity sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw== "@ampproject/remapping@^2.1.0", "@ampproject/remapping@^2.2.0": @@ -15,7 +15,7 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.22.5", "@babel/code-frame@^7.23.5": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.23.5": version "7.23.5" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz" integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== @@ -79,17 +79,7 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/generator@^7.18.10", "@babel/generator@^7.22.5": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.22.5.tgz" - integrity sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA== - dependencies: - "@babel/types" "^7.22.5" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" - -"@babel/generator@^7.23.3", "@babel/generator@^7.23.6", "@babel/generator@^7.7.2": +"@babel/generator@^7.18.10", "@babel/generator@^7.23.3", "@babel/generator@^7.23.6", "@babel/generator@^7.7.2": version "7.23.6" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz" integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== @@ -260,7 +250,7 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-string-parser@^7.18.10", "@babel/helper-string-parser@^7.22.5", "@babel/helper-string-parser@^7.23.4": +"@babel/helper-string-parser@^7.18.10", "@babel/helper-string-parser@^7.23.4": version "7.23.4" resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz" integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== @@ -308,12 +298,12 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz" integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.3", "@babel/parser@^7.23.6": +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.3", "@babel/parser@^7.23.6": version "7.23.6" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz" integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ== -"@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.22.5": +"@babel/parser@^7.18.11": version "7.22.5" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz" integrity sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q== @@ -1013,11 +1003,11 @@ integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== "@babel/runtime@^7.11.2", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4", "@babel/runtime@^7.21.0", "@babel/runtime@^7.8.4": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.5.tgz" - integrity sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA== + version "7.26.0" + resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.26.0.tgz" + integrity sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw== dependencies: - regenerator-runtime "^0.13.11" + regenerator-runtime "^0.14.0" "@babel/template@^7.18.10", "@babel/template@^7.22.15", "@babel/template@^7.22.5", "@babel/template@^7.3.3": version "7.22.15" @@ -1044,7 +1034,7 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@7.23.6", "@babel/traverse@^7.22.5", "@babel/traverse@^7.23.2", "@babel/traverse@^7.23.3", "@babel/traverse@^7.7.2": +"@babel/traverse@7.23.6", "@babel/traverse@^7.18.10", "@babel/traverse@^7.22.5", "@babel/traverse@^7.23.2", "@babel/traverse@^7.23.3", "@babel/traverse@^7.7.2": version "7.23.6" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz" integrity sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ== @@ -1060,22 +1050,6 @@ debug "^4.3.1" globals "^11.1.0" -"@babel/traverse@^7.18.10": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.5.tgz" - integrity sha512-7DuIjPgERaNo6r+PZwItpjCZEa5vyw4eJGufeLxrPdBXBoLcCJCIasvK6pK/9DVNrLZTLFhUGqaC6X/PA007TQ== - dependencies: - "@babel/code-frame" "^7.22.5" - "@babel/generator" "^7.22.5" - "@babel/helper-environment-visitor" "^7.22.5" - "@babel/helper-function-name" "^7.22.5" - "@babel/helper-hoist-variables" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.5" - "@babel/parser" "^7.22.5" - "@babel/types" "^7.22.5" - debug "^4.1.0" - globals "^11.1.0" - "@babel/types@7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz" @@ -1085,7 +1059,7 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@babel/types@7.23.6", "@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.3", "@babel/types@^7.23.6", "@babel/types@^7.3.3", "@babel/types@^7.4.4": +"@babel/types@7.23.6", "@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.3", "@babel/types@^7.23.6", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.23.6" resolved "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz" integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg== @@ -1094,15 +1068,6 @@ "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" -"@babel/types@^7.18.10": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz" - integrity sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA== - dependencies: - "@babel/helper-string-parser" "^7.22.5" - "@babel/helper-validator-identifier" "^7.22.5" - to-fast-properties "^2.0.0" - "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" @@ -1145,17 +1110,17 @@ "@chain-registry/v2-types@^0.49.6": version "0.49.86" - resolved "https://registry.npmjs.org/@chain-registry/v2-types/-/v2-types-0.49.86.tgz#f4ee7c3f32d31cac9d483ed2f6898e6001998345" + resolved "https://registry.npmjs.org/@chain-registry/v2-types/-/v2-types-0.49.86.tgz" integrity sha512-cF+hhEsbdO734/11aBctJ5ich1Y8ROLZ8kDr5eZr0gHUgVNj+msryxm4SEFThMnASDOAI6Otd/7wTXe5BRLhcQ== "@chain-registry/v2-types@^0.53.0": version "0.53.0" - resolved "https://registry.npmjs.org/@chain-registry/v2-types/-/v2-types-0.53.0.tgz#df248cb42946ed82ea1a47ad9f58b384b620dbff" + resolved "https://registry.npmjs.org/@chain-registry/v2-types/-/v2-types-0.53.0.tgz" integrity sha512-dpB32GfF1oUO/idjcAB0UEzunIBJre9czJGGreTEOO4/hucbstJbqTVXCyy7TONV1fCoWCfJVT7pPBNS7MFhbg== "@chain-registry/v2@^1.65.6": version "1.71.7" - resolved "https://registry.npmjs.org/@chain-registry/v2/-/v2-1.71.7.tgz#54dcaeb31ce79af13c919b15f77258590e4b1985" + resolved "https://registry.npmjs.org/@chain-registry/v2/-/v2-1.71.7.tgz" integrity sha512-knxTY6bZM/sg5a8wYcv6bQyfkGHR3swqYo6ICvHA8zqV1SVLVO/w+ehx2L+oZcDSdhZsIJ5Z6f8iVWLr5Dic7Q== dependencies: "@chain-registry/v2-types" "^0.53.0" @@ -1810,7 +1775,7 @@ "@interchainjs/auth@^0.0.1-beta.12": version "0.0.1-beta.12" - resolved "https://registry.npmjs.org/@interchainjs/auth/-/auth-0.0.1-beta.12.tgz#03754d00befbfc22ed1ee57dd3ca46d33f293565" + resolved "https://registry.npmjs.org/@interchainjs/auth/-/auth-0.0.1-beta.12.tgz" integrity sha512-72W69qkWp9PqPObJ9FLu4+EPSY0XfSd+UNa0Vs+SkQyZ9Hvw/BbHLPo4G2N7bXeEinytMF3BUeEm4/QneupOhw== dependencies: "@interchainjs/types" "^0.0.1-beta.11" @@ -1821,7 +1786,7 @@ "@interchainjs/cosmos-types@^0.0.1-beta.11": version "0.0.1-beta.11" - resolved "https://registry.npmjs.org/@interchainjs/cosmos-types/-/cosmos-types-0.0.1-beta.11.tgz#6b91fd8b1e723deedd1503907802ca5cb8b3e88f" + resolved "https://registry.npmjs.org/@interchainjs/cosmos-types/-/cosmos-types-0.0.1-beta.11.tgz" integrity sha512-eeDQaLpE/CSOiYnBUTtnsWjwrr62SxnSzbTFxmV+jA1LsZ0r+h+ayqPOV0fYkNWNt3e97E4KiDXbs2qkB5NnDg== dependencies: "@interchainjs/types" "^0.0.1-beta.11" @@ -1829,7 +1794,7 @@ "@interchainjs/cosmos@0.0.1-beta.14": version "0.0.1-beta.14" - resolved "https://registry.npmjs.org/@interchainjs/cosmos/-/cosmos-0.0.1-beta.14.tgz#c35662e808c1a2803161ba40b9db47cf2f3fca4e" + resolved "https://registry.npmjs.org/@interchainjs/cosmos/-/cosmos-0.0.1-beta.14.tgz" integrity sha512-GWz6+BYxv7cl3gfSRkpO5yF/xg+DeYrFz/XPI1RUxeGYl+qq4AzjVh3Z3A27Z9zhuMDDVVV9J4+8DJZYqkNawQ== dependencies: "@chain-registry/v2" "^1.65.6" @@ -1844,14 +1809,14 @@ "@interchainjs/types@^0.0.1-beta.11": version "0.0.1-beta.11" - resolved "https://registry.npmjs.org/@interchainjs/types/-/types-0.0.1-beta.11.tgz#ab8fe0cf1e1427e995c2b83307b793b88a1ae6cb" + resolved "https://registry.npmjs.org/@interchainjs/types/-/types-0.0.1-beta.11.tgz" integrity sha512-1fd40Z4Dv0hZvzDZYzGIAJRyURtIpJl+hjsA8qGFdGnUc1hwFAMX+VMQxyikhyt2o1R0YjNaootxL1Jx0th21A== dependencies: decimal.js "^10.4.3" "@interchainjs/utils@^0.0.1-beta.11": version "0.0.1-beta.11" - resolved "https://registry.npmjs.org/@interchainjs/utils/-/utils-0.0.1-beta.11.tgz#73955dc15680e9d10d790ba496bb05f7edd68d8c" + resolved "https://registry.npmjs.org/@interchainjs/utils/-/utils-0.0.1-beta.11.tgz" integrity sha512-T3BGZDGyblK3EAvKUdpTNS7RTd+rKGX3TkCbfgK1F+CiWF+qjDGqd71Ik/+9xSq0fH+IZeYjdkjZPhU1zEYuIA== dependencies: "@interchainjs/types" "^0.0.1-beta.11" @@ -2285,26 +2250,26 @@ "@noble/curves@1.2.0": version "1.2.0" - resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" + resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz" integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== dependencies: "@noble/hashes" "1.3.2" "@noble/curves@^1.1.0": version "1.6.0" - resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz#be5296ebcd5a1730fccea4786d420f87abfeb40b" + resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz" integrity sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ== dependencies: "@noble/hashes" "1.5.0" "@noble/hashes@1.3.2": version "1.3.2" - resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz" integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== "@noble/hashes@1.5.0", "@noble/hashes@^1.3.1": version "1.5.0" - resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz" integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== "@noble/hashes@^1", "@noble/hashes@^1.0.0", "@noble/hashes@^1.2.0": @@ -2413,52 +2378,52 @@ "@nx/nx-darwin-arm64@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.4.0.tgz" + resolved "https://registry.npmmirror.com/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.4.0.tgz#72d5cbeb585aa05b4035f1de8f92ba562b180137" integrity sha512-/ZXuF8M3u8DSNmjYstQKorzo7uIETNhnFinwWlO8mzz+SyR+Xs5G6penJ4+cB1ju3Hf3lZkXd5U6pEiW4OAAkA== "@nx/nx-darwin-x64@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.4.0.tgz#24f8b9946c77ec1d66e42ffe2f84623e4072167c" + resolved "https://registry.npmmirror.com/@nx/nx-darwin-x64/-/nx-darwin-x64-16.4.0.tgz#24f8b9946c77ec1d66e42ffe2f84623e4072167c" integrity sha512-0Fo58qZzHgRs4SRVaAOBipdJQNew57YQbpFaLHKhCTyKc0Pe6THEYaaT/x9QVkcFO0x4AzNr9T7iJTrneNwcKg== "@nx/nx-freebsd-x64@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.4.0.tgz#a82954fe4bc6a74cd6b7e0cb89e1486ac4c06e27" + resolved "https://registry.npmmirror.com/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.4.0.tgz#a82954fe4bc6a74cd6b7e0cb89e1486ac4c06e27" integrity sha512-Qoes/NifE4zb5Gb6ZdC32HvxZBzO0xo74j7EozUV5rZEm3bCtKbKqThPV9Uuu+8S4j718r5vlob/IMXqRcWK4g== "@nx/nx-linux-arm-gnueabihf@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.4.0.tgz#77911992e38c1aee51d4a075545ea2828d074c45" + resolved "https://registry.npmmirror.com/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.4.0.tgz#77911992e38c1aee51d4a075545ea2828d074c45" integrity sha512-m8uklbettj8RnLtasjQPiYxqJotDSfO3LO1II8Bds53C7OT8TDnTkW68MEx+CxuSCQFy2Aa0Oih3jSvDzfnZzA== "@nx/nx-linux-arm64-gnu@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.4.0.tgz#ee2b7208083cf3fc63121ee079ab3e0c2bbe5fa4" + resolved "https://registry.npmmirror.com/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.4.0.tgz#ee2b7208083cf3fc63121ee079ab3e0c2bbe5fa4" integrity sha512-bAs2T/zZQDTCzzhciE8kCrkwgXbeX3K83cGRacB7PDZZl/O4jr5TRO4zYHi6doytyLONjqhvWNLbIo4cEEcfZA== "@nx/nx-linux-arm64-musl@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.4.0.tgz#afaf514d3df0bc31c4a6545d254502c661e3d347" + resolved "https://registry.npmmirror.com/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.4.0.tgz#afaf514d3df0bc31c4a6545d254502c661e3d347" integrity sha512-K1D8j4lRZDBVuW8iomeJjCznFz7rfP3qaB3RHjKZU5qrZBq1uYohhdfT7dzwWFNWEvt6WytfhGCl2S9PsQ37Wg== "@nx/nx-linux-x64-gnu@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.4.0.tgz#fba4991ac27f0c342157445259485c06fca686f2" + resolved "https://registry.npmmirror.com/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.4.0.tgz#fba4991ac27f0c342157445259485c06fca686f2" integrity sha512-v1NJ3ESaw5bdSeuh5Xslq1dXGWztf0mSLwZP510Rt9+ulr5LQ/X1Rri8zefU0gZNLcmJL0G2Qq7UTnppYGRTEg== "@nx/nx-linux-x64-musl@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.4.0.tgz#9bbdb590a49de9667e2e26dc173fe6d303e165be" + resolved "https://registry.npmmirror.com/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.4.0.tgz#9bbdb590a49de9667e2e26dc173fe6d303e165be" integrity sha512-+8YLVWZFq+k6YJ2ZDwR5sGaRnZhUVYtR8aPbGyonMnJ8VEQJNEqsm1KT6nt0gd3JJdxyphm3VsMQWBMo42jM+w== "@nx/nx-win32-arm64-msvc@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.4.0.tgz#a2e06890c70afdd339d0d95516ae8bbc222d9ce6" + resolved "https://registry.npmmirror.com/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.4.0.tgz#a2e06890c70afdd339d0d95516ae8bbc222d9ce6" integrity sha512-HwE6AxlrfWvODT49vVX6NGMYc3zdMVXETCdZb0jZ/oz28XXTAPvVb/8DJgKSyCs0DPirEeCHiPwbdcJA1Bqw8A== "@nx/nx-win32-x64-msvc@16.4.0": version "16.4.0" - resolved "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.4.0.tgz#d98b4087b696b524461fc142f656a337ed00a520" + resolved "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.4.0.tgz" integrity sha512-ISL3c6i/v+JOsUHEbngDHaobmbgu6oSY0htKas1RjLWGkWXDLgEXMRjQ/xDbNVYH00Mto7mmq+nrjkNNbqOrfQ== "@octokit/auth-token@^3.0.0": @@ -2995,7 +2960,7 @@ "@types/node@22.7.5": version "22.7.5" - resolved "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" + resolved "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz" integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== dependencies: undici-types "~6.19.2" @@ -3102,7 +3067,7 @@ add-stream@^1.0.0: aes-js@4.0.0-beta.5: version "4.0.0-beta.5" - resolved "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz#8d2452c52adedebc3a3e28465d858c11ca315873" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz" integrity sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q== agent-base@6, agent-base@^6.0.2: @@ -3327,21 +3292,21 @@ asynckit@^0.4.0: axios@0.21.1: version "0.21.1" - resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz" integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== dependencies: follow-redirects "^1.10.0" axios@0.21.4, axios@^0.21.2: version "0.21.4" - resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== dependencies: follow-redirects "^1.14.0" axios@0.27.2, axios@^0.27.2: version "0.27.2" - resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== dependencies: follow-redirects "^1.14.9" @@ -3349,7 +3314,7 @@ axios@0.27.2, axios@^0.27.2: axios@1.7.4: version "1.7.4" - resolved "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz#4c8ded1b43683c8dd362973c393f3ede24052aa2" + resolved "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz" integrity sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw== dependencies: follow-redirects "^1.15.6" @@ -3358,7 +3323,7 @@ axios@1.7.4: axios@^1.0.0, axios@^1.6.0: version "1.7.2" - resolved "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" + resolved "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz" integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== dependencies: follow-redirects "^1.15.6" @@ -3367,7 +3332,7 @@ axios@^1.0.0, axios@^1.6.0: axios@^1.7.4: version "1.7.7" - resolved "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" + resolved "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz" integrity sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q== dependencies: follow-redirects "^1.15.6" @@ -3475,7 +3440,7 @@ bech32@^1.1.3, bech32@^1.1.4: bech32@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz#078d3686535075c8c79709f054b1b226a133b355" + resolved "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz" integrity sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg== before-after-hook@^2.2.0: @@ -3556,7 +3521,7 @@ brace-expansion@^2.0.1: braces@^3.0.3, braces@~3.0.2: version "3.0.3" - resolved "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz" integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== dependencies: fill-range "^7.1.1" @@ -4185,7 +4150,7 @@ cross-fetch@^3.1.5: cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.6" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + resolved "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: path-key "^3.1.0" @@ -4247,7 +4212,7 @@ decamelize@^1.1.0: decimal.js@^10.4.3: version "10.4.3" - resolved "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" + resolved "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz" integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== dedent@0.7.0, dedent@^0.7.0: @@ -4396,9 +4361,9 @@ electron-to-chromium@^1.4.431: integrity sha512-r6dCgNpRhPwiWlxbHzZQ/d9swfPaEJGi8ekqRBwQYaR3WmA5VkqQfBWSDDjuJU1ntO+W9tHx8OHV/96Q8e0dVw== elliptic@^6.4.0, elliptic@^6.5.3, elliptic@^6.5.4: - version "6.6.0" - resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.6.0.tgz#5919ec723286c1edf28685aa89261d4761afa210" - integrity sha512-dpwoQcLc/2WLQvJvLRHKZ+f9FgOdjnq11rurqwekGQygGPsYSK29OMMD2WalatiqQ+XGFDglTNixpPfI+lpaAA== + version "6.6.1" + resolved "https://registry.npmmirror.com/elliptic/-/elliptic-6.6.1.tgz#3b8ffb02670bf69e382c7f65bf524c97c5405c06" + integrity sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g== dependencies: bn.js "^4.11.9" brorand "^1.1.0" @@ -4649,7 +4614,7 @@ esutils@^2.0.2: ethers@^6.5.1: version "6.13.4" - resolved "https://registry.npmjs.org/ethers/-/ethers-6.13.4.tgz#bd3e1c3dc1e7dc8ce10f9ffb4ee40967a651b53c" + resolved "https://registry.npmjs.org/ethers/-/ethers-6.13.4.tgz" integrity sha512-21YtnZVg4/zKkCQPjrDj38B1r4nQvTZLopUGMLQ1ePU2zV/joCfDC3t3iKQjWRzjjjbzR+mdAIoikeBRNkdllA== dependencies: "@adraffy/ens-normalize" "1.10.1" @@ -4788,7 +4753,7 @@ fast-glob@^3.2.9: fast-json-patch@3.1.1: version "3.1.1" - resolved "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz#85064ea1b1ebf97a3f7ad01e23f9337e72c66947" + resolved "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz" integrity sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ== fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: @@ -4855,7 +4820,7 @@ filelist@^1.0.4: fill-range@^7.1.1: version "7.1.1" - resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz" integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== dependencies: to-regex-range "^5.0.1" @@ -4908,7 +4873,7 @@ fn.name@1.x.x: follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9, follow-redirects@^1.15.6: version "1.15.6" - resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz" integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== foreground-child@^3.1.0: @@ -4962,9 +4927,9 @@ fs.realpath@^1.0.0: integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@^2.3.2, fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + version "2.3.3" + resolved "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== function-bind@^1.1.1: version "1.1.1" @@ -6805,7 +6770,7 @@ merge2@^1.3.0, merge2@^1.4.1: micromatch@^4.0.4: version "4.0.8" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz" integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== dependencies: braces "^3.0.3" @@ -7645,7 +7610,7 @@ path-scurry@^1.6.1, path-scurry@^1.7.0: path-to-regexp@^1.7.0: version "1.9.0" - resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz#5dc0753acbf8521ca2e0f137b4578b917b10cf24" + resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz" integrity sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g== dependencies: isarray "0.0.1" @@ -7682,9 +7647,9 @@ pbkdf2@^3.0.16: sha.js "^2.4.8" picocolors@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" - integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + version "1.1.1" + resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" @@ -8005,6 +7970,11 @@ regenerator-runtime@^0.13.11: resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz" integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + regenerator-transform@^0.15.1: version "0.15.1" resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.1.tgz" @@ -8490,16 +8460,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -8539,7 +8500,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -8567,13 +8528,6 @@ strip-ansi@^5.1.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz" @@ -8901,7 +8855,7 @@ tsconfig@^7.0.0: tslib@2.7.0: version "2.7.0" - resolved "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz" integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== tslib@^1.9.0: @@ -9007,7 +8961,7 @@ uglify-js@^3.1.4: undici-types@~6.19.2: version "6.19.8" - resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz" integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== unicode-canonical-property-names-ecmascript@^2.0.0: @@ -9244,16 +9198,7 @@ wordwrap@^1.0.0: resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -9324,12 +9269,12 @@ write-pkg@4.0.0: ws@8.17.1: version "8.17.1" - resolved "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" + resolved "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz" integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== ws@^7: version "7.5.10" - resolved "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz#58b5c20dc281633f6c19113f39b349bd8bd558d9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz" integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ== xstream@^11.14.0: From 1415fc37aa7b9176c4368ea177ce3818276d4f49 Mon Sep 17 00:00:00 2001 From: Zetazzz Date: Sun, 26 Jan 2025 11:00:17 +0800 Subject: [PATCH 2/3] fix typo --- __fixtures__/v-next/outputhelperfunc/vue-query.ts | 2 +- __fixtures__/v-next/outputicjs/vue-query.ts | 2 +- packages/telescope/src/helpers/vue-query-hooks.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__fixtures__/v-next/outputhelperfunc/vue-query.ts b/__fixtures__/v-next/outputhelperfunc/vue-query.ts index c5ceec6320..ab2c9e492a 100644 --- a/__fixtures__/v-next/outputhelperfunc/vue-query.ts +++ b/__fixtures__/v-next/outputhelperfunc/vue-query.ts @@ -118,7 +118,7 @@ interface UseTendermintClient extends VueQueryParams { diff --git a/__fixtures__/v-next/outputicjs/vue-query.ts b/__fixtures__/v-next/outputicjs/vue-query.ts index 279cca9598..9d90a1013d 100644 --- a/__fixtures__/v-next/outputicjs/vue-query.ts +++ b/__fixtures__/v-next/outputicjs/vue-query.ts @@ -118,7 +118,7 @@ interface UseTendermintClient extends VueQueryParams { /** * Function that uses vue-query to cache a connected tendermint client. */ -export function useTendermintClient = ({ +export const useTendermintClient = ({ rpcEndpoint, options, }: UseTendermintClient) => { diff --git a/packages/telescope/src/helpers/vue-query-hooks.ts b/packages/telescope/src/helpers/vue-query-hooks.ts index 94bbdef503..3bbd022d94 100644 --- a/packages/telescope/src/helpers/vue-query-hooks.ts +++ b/packages/telescope/src/helpers/vue-query-hooks.ts @@ -123,7 +123,7 @@ ${ /** * Function that uses vue-query to cache a connected tendermint client. */ -export function useTendermintClient = ({ +export const useTendermintClient = ({ rpcEndpoint, options, }: UseTendermintClient) => { From 966369408073163ae9bcf9e31e21722517110ade Mon Sep 17 00:00:00 2001 From: Gefei Hou Date: Sun, 26 Jan 2025 11:20:38 +0800 Subject: [PATCH 3/3] Added use example in docs --- docs/tree-shakable-hooks.md | 77 +++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/docs/tree-shakable-hooks.md b/docs/tree-shakable-hooks.md index 40ea7b07b4..a8739ca9a6 100644 --- a/docs/tree-shakable-hooks.md +++ b/docs/tree-shakable-hooks.md @@ -101,3 +101,80 @@ export const useGetBalance = buildUseVueQuery assetList.chainName === defaultChainName) +const defaultRpcEndpoint = 'https://rpc.testnet.osmosis.zone' // 'https://cosmos-rpc.publicnode.com' + +export const useBalanceVue = (address: Ref) => { + const coin = defaultAssetList?.assets[0]; + + const denom = coin!.base! + + const COIN_DISPLAY_EXPONENT = coin!.denomUnits.find( + (unit) => unit.denom === coin!.display + )?.exponent as number; + + const request = computed(() => ({ + address: address.value, + denom, + })); + + const { + data: balance, + isSuccess: isBalanceLoaded, + isLoading: isFetchingBalance, + refetch: refetchBalance + } = useGetBalance({ + request, + options: { + enabled: !!address, + //@ts-ignore + select: ({ balance }) => + new BigNumber(balance?.amount ?? 0).multipliedBy( + 10 ** -COIN_DISPLAY_EXPONENT + ), + }, + clientResolver: defaultRpcEndpoint, + }) + + return { + balance, + isBalanceLoaded, + isFetchingBalance, + refetchBalance, + }; +}; + +export default useBalanceVue; +``` +In this example, the `defaultChainName`, `defaultAssetList`, and `defaultRpcEndpoint` are hardcoded for demonstration purposes. Please modify them according to your specific requirements. \ No newline at end of file