From a3b29d404895108ec460e6316de5ba9dde970cb3 Mon Sep 17 00:00:00 2001 From: Zetazzz Date: Wed, 15 Jan 2025 12:29:39 +0800 Subject: [PATCH] upgrade telescope and regen --- libs/injective-react/src/binary.ts | 2 +- libs/injective-react/src/extern.ts | 2 +- libs/injective-react/src/helper-func-types.ts | 6 +-- libs/injective-react/src/helpers.ts | 2 +- libs/injective-react/src/react-query.ts | 4 +- libs/injective-react/src/registry.ts | 2 +- libs/injective-react/src/types.ts | 2 +- libs/injective-react/src/utf8.ts | 2 +- libs/injective-react/src/varint.ts | 2 +- libs/injective-vue/src/binary.ts | 2 +- libs/injective-vue/src/extern.ts | 2 +- libs/injective-vue/src/helpers.ts | 2 +- libs/injective-vue/src/registry.ts | 2 +- libs/injective-vue/src/types.ts | 2 +- libs/injective-vue/src/utf8.ts | 2 +- libs/injective-vue/src/varint.ts | 2 +- libs/injective-vue/src/vue-query.ts | 2 +- libs/injectivejs/src/binary.ts | 2 +- libs/injectivejs/src/extern.ts | 2 +- libs/injectivejs/src/helper-func-types.ts | 6 +-- libs/injectivejs/src/helpers.ts | 2 +- libs/injectivejs/src/registry.ts | 2 +- libs/injectivejs/src/types.ts | 2 +- libs/injectivejs/src/utf8.ts | 2 +- libs/injectivejs/src/varint.ts | 2 +- libs/interchain-react/src/binary.ts | 2 +- libs/interchain-react/src/extern.ts | 2 +- .../interchain-react/src/helper-func-types.ts | 53 ++++++++----------- libs/interchain-react/src/helpers.ts | 2 +- libs/interchain-react/src/react-query.ts | 2 +- libs/interchain-react/src/registry.ts | 2 +- libs/interchain-react/src/types.ts | 2 +- libs/interchain-react/src/utf8.ts | 2 +- libs/interchain-react/src/varint.ts | 2 +- libs/interchain-vue/src/binary.ts | 2 +- libs/interchain-vue/src/extern.ts | 2 +- libs/interchain-vue/src/helpers.ts | 2 +- libs/interchain-vue/src/registry.ts | 2 +- libs/interchain-vue/src/types.ts | 2 +- libs/interchain-vue/src/utf8.ts | 2 +- libs/interchain-vue/src/varint.ts | 2 +- libs/interchain-vue/src/vue-query.ts | 2 +- libs/interchainjs/src/binary.ts | 2 +- libs/interchainjs/src/extern.ts | 2 +- libs/interchainjs/src/helper-func-types.ts | 6 +-- libs/interchainjs/src/helpers.ts | 2 +- libs/interchainjs/src/registry.ts | 2 +- libs/interchainjs/src/types.ts | 2 +- libs/interchainjs/src/utf8.ts | 2 +- libs/interchainjs/src/varint.ts | 2 +- package.json | 2 +- yarn.lock | 8 +-- 52 files changed, 83 insertions(+), 92 deletions(-) diff --git a/libs/injective-react/src/binary.ts b/libs/injective-react/src/binary.ts index c43d43dd..2eaa6cb6 100644 --- a/libs/injective-react/src/binary.ts +++ b/libs/injective-react/src/binary.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-react/src/extern.ts b/libs/injective-react/src/extern.ts index 7c302393..86edda83 100644 --- a/libs/injective-react/src/extern.ts +++ b/libs/injective-react/src/extern.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-react/src/helper-func-types.ts b/libs/injective-react/src/helper-func-types.ts index ece526a8..7abfde29 100644 --- a/libs/injective-react/src/helper-func-types.ts +++ b/libs/injective-react/src/helper-func-types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ @@ -43,7 +43,7 @@ export function buildQuery(opts: QueryBuilderOptions) { export interface ITxArgs { signerAddress: string; - message: TMsg; + message: TMsg | TMsg[]; fee: StdFee | 'auto'; memo: string; } @@ -86,7 +86,7 @@ export function buildTx(opts: TxBuilderOptions) { return async ( signerAddress: string, - message: TMsg, + message: TMsg | TMsg[], fee: StdFee | 'auto', memo: string ): Promise => { diff --git a/libs/injective-react/src/helpers.ts b/libs/injective-react/src/helpers.ts index 56de9bdf..64d3444c 100644 --- a/libs/injective-react/src/helpers.ts +++ b/libs/injective-react/src/helpers.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-react/src/react-query.ts b/libs/injective-react/src/react-query.ts index 42a92f1e..587070c6 100644 --- a/libs/injective-react/src/react-query.ts +++ b/libs/injective-react/src/react-query.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ @@ -147,7 +147,7 @@ export interface ReactMutationParams { builderMutationFn: (clientResolver?: SigningClientResolver) => ( signerAddress: string, - message: TMsg, + message: TMsg | TMsg[], fee: StdFee | 'auto', memo: string ) => Promise, diff --git a/libs/injective-react/src/registry.ts b/libs/injective-react/src/registry.ts index 1c617f4e..7356722f 100644 --- a/libs/injective-react/src/registry.ts +++ b/libs/injective-react/src/registry.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-react/src/types.ts b/libs/injective-react/src/types.ts index 5e2aedd4..2bace856 100644 --- a/libs/injective-react/src/types.ts +++ b/libs/injective-react/src/types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-react/src/utf8.ts b/libs/injective-react/src/utf8.ts index 6daf748d..c5dba8d6 100644 --- a/libs/injective-react/src/utf8.ts +++ b/libs/injective-react/src/utf8.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-react/src/varint.ts b/libs/injective-react/src/varint.ts index 0dd27345..95ef3b55 100644 --- a/libs/injective-react/src/varint.ts +++ b/libs/injective-react/src/varint.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-vue/src/binary.ts b/libs/injective-vue/src/binary.ts index c43d43dd..2eaa6cb6 100644 --- a/libs/injective-vue/src/binary.ts +++ b/libs/injective-vue/src/binary.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-vue/src/extern.ts b/libs/injective-vue/src/extern.ts index bdeb765e..5127cb14 100644 --- a/libs/injective-vue/src/extern.ts +++ b/libs/injective-vue/src/extern.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-vue/src/helpers.ts b/libs/injective-vue/src/helpers.ts index 56de9bdf..64d3444c 100644 --- a/libs/injective-vue/src/helpers.ts +++ b/libs/injective-vue/src/helpers.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-vue/src/registry.ts b/libs/injective-vue/src/registry.ts index 1c617f4e..7356722f 100644 --- a/libs/injective-vue/src/registry.ts +++ b/libs/injective-vue/src/registry.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-vue/src/types.ts b/libs/injective-vue/src/types.ts index 5e2aedd4..2bace856 100644 --- a/libs/injective-vue/src/types.ts +++ b/libs/injective-vue/src/types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-vue/src/utf8.ts b/libs/injective-vue/src/utf8.ts index 6daf748d..c5dba8d6 100644 --- a/libs/injective-vue/src/utf8.ts +++ b/libs/injective-vue/src/utf8.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-vue/src/varint.ts b/libs/injective-vue/src/varint.ts index 0dd27345..95ef3b55 100644 --- a/libs/injective-vue/src/varint.ts +++ b/libs/injective-vue/src/varint.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injective-vue/src/vue-query.ts b/libs/injective-vue/src/vue-query.ts index 45f87848..d37888af 100644 --- a/libs/injective-vue/src/vue-query.ts +++ b/libs/injective-vue/src/vue-query.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injectivejs/src/binary.ts b/libs/injectivejs/src/binary.ts index c43d43dd..2eaa6cb6 100644 --- a/libs/injectivejs/src/binary.ts +++ b/libs/injectivejs/src/binary.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injectivejs/src/extern.ts b/libs/injectivejs/src/extern.ts index 7c302393..86edda83 100644 --- a/libs/injectivejs/src/extern.ts +++ b/libs/injectivejs/src/extern.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injectivejs/src/helper-func-types.ts b/libs/injectivejs/src/helper-func-types.ts index ece526a8..7abfde29 100644 --- a/libs/injectivejs/src/helper-func-types.ts +++ b/libs/injectivejs/src/helper-func-types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ @@ -43,7 +43,7 @@ export function buildQuery(opts: QueryBuilderOptions) { export interface ITxArgs { signerAddress: string; - message: TMsg; + message: TMsg | TMsg[]; fee: StdFee | 'auto'; memo: string; } @@ -86,7 +86,7 @@ export function buildTx(opts: TxBuilderOptions) { return async ( signerAddress: string, - message: TMsg, + message: TMsg | TMsg[], fee: StdFee | 'auto', memo: string ): Promise => { diff --git a/libs/injectivejs/src/helpers.ts b/libs/injectivejs/src/helpers.ts index 56de9bdf..64d3444c 100644 --- a/libs/injectivejs/src/helpers.ts +++ b/libs/injectivejs/src/helpers.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injectivejs/src/registry.ts b/libs/injectivejs/src/registry.ts index 1c617f4e..7356722f 100644 --- a/libs/injectivejs/src/registry.ts +++ b/libs/injectivejs/src/registry.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injectivejs/src/types.ts b/libs/injectivejs/src/types.ts index 5e2aedd4..2bace856 100644 --- a/libs/injectivejs/src/types.ts +++ b/libs/injectivejs/src/types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injectivejs/src/utf8.ts b/libs/injectivejs/src/utf8.ts index 6daf748d..c5dba8d6 100644 --- a/libs/injectivejs/src/utf8.ts +++ b/libs/injectivejs/src/utf8.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/injectivejs/src/varint.ts b/libs/injectivejs/src/varint.ts index 0dd27345..95ef3b55 100644 --- a/libs/injectivejs/src/varint.ts +++ b/libs/injectivejs/src/varint.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-react/src/binary.ts b/libs/interchain-react/src/binary.ts index c43d43dd..2eaa6cb6 100644 --- a/libs/interchain-react/src/binary.ts +++ b/libs/interchain-react/src/binary.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-react/src/extern.ts b/libs/interchain-react/src/extern.ts index 7c302393..86edda83 100644 --- a/libs/interchain-react/src/extern.ts +++ b/libs/interchain-react/src/extern.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-react/src/helper-func-types.ts b/libs/interchain-react/src/helper-func-types.ts index 237f1fd9..7abfde29 100644 --- a/libs/interchain-react/src/helper-func-types.ts +++ b/libs/interchain-react/src/helper-func-types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ @@ -22,23 +22,23 @@ export interface QueryBuilderOptions { } export function buildQuery(opts: QueryBuilderOptions) { - registerDependencies(opts.deps ?? []); + registerDependencies(opts.deps ?? []); - return async (request: TReq) => { - let rpc: Rpc | undefined; + return async (request: TReq) => { + let rpc: Rpc | undefined; - if (isRpc(opts.clientResolver)) { - rpc = opts.clientResolver; - } else { - rpc = opts.clientResolver ? await getRpcClient(opts.clientResolver) : undefined; - } + if(isRpc(opts.clientResolver)) { + rpc = opts.clientResolver; + } else { + rpc = opts.clientResolver ? await getRpcClient(opts.clientResolver) : undefined; + } - if (!rpc) throw new Error("Query Rpc is not initialized"); + if (!rpc) throw new Error("Query Rpc is not initialized"); - const data = opts.encode(request).finish(); - const response = await rpc.request(opts.service, opts.method, data); - return opts.decode(response); - }; + const data = opts.encode(request).finish(); + const response = await rpc.request(opts.service, opts.method, data); + return opts.decode(response); + }; } export interface ITxArgs { @@ -93,7 +93,7 @@ export function buildTx(opts: TxBuilderOptions) { let client: ISigningClient | undefined; // if opts.getSigningClient is a function, call it to get the SigningClient instance - if (isISigningClient(opts.clientResolver)) { + if(isISigningClient(opts.clientResolver)) { client = opts.clientResolver; } @@ -103,21 +103,12 @@ export function buildTx(opts: TxBuilderOptions) { client.addEncoders(opts.encoders ?? []); client.addConverters(opts.converters ?? []); - const data = Array.isArray(message) ? - message.map(msg => { - return { - typeUrl: opts.typeUrl, - value: msg, - } - }) : - [ - { - typeUrl: opts.typeUrl, - value: message, - }, - ]; - - + const data = [ + { + typeUrl: opts.typeUrl, + value: message, + }, + ]; return client.signAndBroadcast!(signerAddress, data, fee, memo); }; } @@ -205,7 +196,7 @@ export interface AminoConverter { } export type SigningClientResolver = string | HttpEndpoint | ISigningClient; -export type RpcResolver = string | HttpEndpoint | Rpc; +export type RpcResolver = string | HttpEndpoint | Rpc ; function registerDependencies(deps: TelescopeGeneratedCodec[]) { for (const dep of deps) { diff --git a/libs/interchain-react/src/helpers.ts b/libs/interchain-react/src/helpers.ts index 56de9bdf..64d3444c 100644 --- a/libs/interchain-react/src/helpers.ts +++ b/libs/interchain-react/src/helpers.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-react/src/react-query.ts b/libs/interchain-react/src/react-query.ts index 98bd85d6..587070c6 100644 --- a/libs/interchain-react/src/react-query.ts +++ b/libs/interchain-react/src/react-query.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-react/src/registry.ts b/libs/interchain-react/src/registry.ts index 1c617f4e..7356722f 100644 --- a/libs/interchain-react/src/registry.ts +++ b/libs/interchain-react/src/registry.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-react/src/types.ts b/libs/interchain-react/src/types.ts index 5e2aedd4..2bace856 100644 --- a/libs/interchain-react/src/types.ts +++ b/libs/interchain-react/src/types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-react/src/utf8.ts b/libs/interchain-react/src/utf8.ts index 6daf748d..c5dba8d6 100644 --- a/libs/interchain-react/src/utf8.ts +++ b/libs/interchain-react/src/utf8.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-react/src/varint.ts b/libs/interchain-react/src/varint.ts index 0dd27345..95ef3b55 100644 --- a/libs/interchain-react/src/varint.ts +++ b/libs/interchain-react/src/varint.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-vue/src/binary.ts b/libs/interchain-vue/src/binary.ts index c43d43dd..2eaa6cb6 100644 --- a/libs/interchain-vue/src/binary.ts +++ b/libs/interchain-vue/src/binary.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-vue/src/extern.ts b/libs/interchain-vue/src/extern.ts index bdeb765e..5127cb14 100644 --- a/libs/interchain-vue/src/extern.ts +++ b/libs/interchain-vue/src/extern.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-vue/src/helpers.ts b/libs/interchain-vue/src/helpers.ts index 56de9bdf..64d3444c 100644 --- a/libs/interchain-vue/src/helpers.ts +++ b/libs/interchain-vue/src/helpers.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-vue/src/registry.ts b/libs/interchain-vue/src/registry.ts index 1c617f4e..7356722f 100644 --- a/libs/interchain-vue/src/registry.ts +++ b/libs/interchain-vue/src/registry.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-vue/src/types.ts b/libs/interchain-vue/src/types.ts index 5e2aedd4..2bace856 100644 --- a/libs/interchain-vue/src/types.ts +++ b/libs/interchain-vue/src/types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-vue/src/utf8.ts b/libs/interchain-vue/src/utf8.ts index 6daf748d..c5dba8d6 100644 --- a/libs/interchain-vue/src/utf8.ts +++ b/libs/interchain-vue/src/utf8.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-vue/src/varint.ts b/libs/interchain-vue/src/varint.ts index 0dd27345..95ef3b55 100644 --- a/libs/interchain-vue/src/varint.ts +++ b/libs/interchain-vue/src/varint.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchain-vue/src/vue-query.ts b/libs/interchain-vue/src/vue-query.ts index 45f87848..d37888af 100644 --- a/libs/interchain-vue/src/vue-query.ts +++ b/libs/interchain-vue/src/vue-query.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchainjs/src/binary.ts b/libs/interchainjs/src/binary.ts index c43d43dd..2eaa6cb6 100644 --- a/libs/interchainjs/src/binary.ts +++ b/libs/interchainjs/src/binary.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchainjs/src/extern.ts b/libs/interchainjs/src/extern.ts index 7c302393..86edda83 100644 --- a/libs/interchainjs/src/extern.ts +++ b/libs/interchainjs/src/extern.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchainjs/src/helper-func-types.ts b/libs/interchainjs/src/helper-func-types.ts index ece526a8..7abfde29 100644 --- a/libs/interchainjs/src/helper-func-types.ts +++ b/libs/interchainjs/src/helper-func-types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ @@ -43,7 +43,7 @@ export function buildQuery(opts: QueryBuilderOptions) { export interface ITxArgs { signerAddress: string; - message: TMsg; + message: TMsg | TMsg[]; fee: StdFee | 'auto'; memo: string; } @@ -86,7 +86,7 @@ export function buildTx(opts: TxBuilderOptions) { return async ( signerAddress: string, - message: TMsg, + message: TMsg | TMsg[], fee: StdFee | 'auto', memo: string ): Promise => { diff --git a/libs/interchainjs/src/helpers.ts b/libs/interchainjs/src/helpers.ts index 56de9bdf..64d3444c 100644 --- a/libs/interchainjs/src/helpers.ts +++ b/libs/interchainjs/src/helpers.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchainjs/src/registry.ts b/libs/interchainjs/src/registry.ts index 1c617f4e..7356722f 100644 --- a/libs/interchainjs/src/registry.ts +++ b/libs/interchainjs/src/registry.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchainjs/src/types.ts b/libs/interchainjs/src/types.ts index 5e2aedd4..2bace856 100644 --- a/libs/interchainjs/src/types.ts +++ b/libs/interchainjs/src/types.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchainjs/src/utf8.ts b/libs/interchainjs/src/utf8.ts index 6daf748d..c5dba8d6 100644 --- a/libs/interchainjs/src/utf8.ts +++ b/libs/interchainjs/src/utf8.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/libs/interchainjs/src/varint.ts b/libs/interchainjs/src/varint.ts index 0dd27345..95ef3b55 100644 --- a/libs/interchainjs/src/varint.ts +++ b/libs/interchainjs/src/varint.ts @@ -1,5 +1,5 @@ /** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.7 +* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8 * 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. */ diff --git a/package.json b/package.json index ad51f253..755b08be 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@chain-registry/client": "1.18.1", "@confio/relayer": "^0.12.0", "@cosmjs/crypto": "^0.32.2", - "@cosmology/telescope": "^1.11.7", + "@cosmology/telescope": "^1.11.8", "@injectivelabs/networks": "^1.14.13", "@injectivelabs/sdk-ts": "^1.14.13", "@injectivelabs/wallet-ts": "^1.14.13", diff --git a/yarn.lock b/yarn.lock index 951e85b9..78fcde42 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1763,10 +1763,10 @@ "@types/node" ">=13.7.0" long "^5.0.0" -"@cosmology/telescope@^1.11.7": - version "1.11.7" - resolved "https://registry.yarnpkg.com/@cosmology/telescope/-/telescope-1.11.7.tgz#66db4fc7b1bff7811c1620a76ad5d4c874ceb2be" - integrity sha512-wBTTypagr2Lgh4onOIWIiQ96iLfL6Qe8uIS0yGosp2r2XPjT3AWCOu5s/9C5X2dzhD1a1Vl6wxTMdyzPF+1hng== +"@cosmology/telescope@^1.11.8": + version "1.11.8" + resolved "https://registry.yarnpkg.com/@cosmology/telescope/-/telescope-1.11.8.tgz#f69a399d10a7b1bedfc12d3abc201ffe24cfbbd6" + integrity sha512-Q2bgSVkqTf9X9obRsmL3wreQ7f79iDGb6EUPjv3AJNe+3XmNLAsOUnNMb/gDB8FZHLdznYEfkmXLlfs8Z1l14A== dependencies: "@babel/generator" "^7.23.6" "@babel/parser" "^7.23.6"