@xpla/xplajs 1.9.2 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  import { QueryAllBalancesRequest, QueryAllBalancesResponse, QueryBalanceRequest, QueryBalanceResponse, QueryDenomMetadataByQueryStringRequest, QueryDenomMetadataByQueryStringResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomOwnersByQueryRequest, QueryDenomOwnersByQueryResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryParamsRequest, QueryParamsResponse, QuerySendEnabledRequest, QuerySendEnabledResponse, QuerySpendableBalanceByDenomRequest, QuerySpendableBalanceByDenomResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse } from "./query.js";
2
2
  import { EndpointOrRpc } from "../../../helper-func-types.js";
3
+ import "../../../index.js";
3
4
 
4
5
  //#region src/cosmos/bank/v1beta1/query.rpc.func.d.ts
5
6
  /**
@@ -1,7 +1,8 @@
1
1
  import { StdFee } from "../../../types.js";
2
2
  import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "./tx.js";
3
- import * as _interchainjs_types0 from "@interchainjs/types";
3
+ import "../../../index.js";
4
4
  import * as _interchainjs_cosmos0 from "@interchainjs/cosmos";
5
+ import * as _interchainjs_types0 from "@interchainjs/types";
5
6
 
6
7
  //#region src/cosmos/bank/v1beta1/tx.rpc.func.d.ts
7
8
  /**
@@ -1,5 +1,6 @@
1
1
  import { ConfigRequest, ConfigResponse, StatusRequest, StatusResponse } from "./query.js";
2
2
  import { EndpointOrRpc } from "../../../../helper-func-types.js";
3
+ import "../../../../index.js";
3
4
 
4
5
  //#region src/cosmos/base/node/v1beta1/query.rpc.func.d.ts
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  import { ListAllInterfacesRequest, ListAllInterfacesResponse, ListImplementationsRequest, ListImplementationsResponse } from "./reflection.js";
2
2
  import { EndpointOrRpc } from "../../../../helper-func-types.js";
3
+ import "../../../../index.js";
3
4
 
4
5
  //#region src/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  import { GetAuthnDescriptorRequest, GetAuthnDescriptorResponse, GetChainDescriptorRequest, GetChainDescriptorResponse, GetCodecDescriptorRequest, GetCodecDescriptorResponse, GetConfigurationDescriptorRequest, GetConfigurationDescriptorResponse, GetQueryServicesDescriptorRequest, GetQueryServicesDescriptorResponse, GetTxDescriptorRequest, GetTxDescriptorResponse } from "./reflection.js";
2
2
  import { EndpointOrRpc } from "../../../../helper-func-types.js";
3
+ import "../../../../index.js";
3
4
 
4
5
  //#region src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  import { ABCIQueryRequest, ABCIQueryResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query.js";
2
2
  import { EndpointOrRpc } from "../../../../helper-func-types.js";
3
+ import "../../../../index.js";
3
4
 
4
5
  //#region src/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts
5
6
  /**
@@ -18,7 +18,7 @@ declare class GlobalDecoderRegistry {
18
18
  static getDecoderByInstance<T, SDK, Amino>(obj: unknown): TelescopeGeneratedCodec<T, SDK, Amino> | null;
19
19
  static getDecoderByAminoType<T, SDK, Amino>(type: string): TelescopeGeneratedCodec<T, SDK, Amino> | null;
20
20
  static wrapAny(obj: unknown): Any;
21
- static unwrapAny<T, SDK, Amino>(input: BinaryReader | Uint8Array | Any): T | Any;
21
+ static unwrapAny<T, SDK, Amino>(input: BinaryReader | Uint8Array | Any): Any | T;
22
22
  static fromJSON<T>(object: any): T;
23
23
  static toJSON<T>(message: T): any;
24
24
  static fromPartial<T>(object: unknown): T;
package/dist/varint.d.ts CHANGED
@@ -100,7 +100,7 @@ declare function writeVarint64(val: {
100
100
  lo: number;
101
101
  hi: number;
102
102
  }, buf: Uint8Array | number[], pos: number): void;
103
- declare function int64Length(lo: number, hi: number): 6 | 7 | 10 | 1 | 8 | 2 | 3 | 4 | 5 | 9;
103
+ declare function int64Length(lo: number, hi: number): 1 | 8 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10;
104
104
  declare function writeFixed32(val: number, buf: Uint8Array | number[], pos: number): void;
105
105
  declare function writeByte(val: number, buf: Uint8Array | number[], pos: number): void;
106
106
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpla/xplajs",
3
- "version": "1.9.2",
3
+ "version": "1.10.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",