@gnolang/tm2-js-client 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/index.cjs +4 -0
  2. package/dist/index.d.cts +2 -1
  3. package/dist/index.d.mts +2 -1
  4. package/dist/index.mjs +3 -1
  5. package/dist/proto/google/protobuf/any.cjs +2 -3
  6. package/dist/proto/google/protobuf/any.cjs.map +1 -1
  7. package/dist/proto/google/protobuf/any.d.cts +1 -0
  8. package/dist/proto/google/protobuf/any.d.cts.map +1 -1
  9. package/dist/proto/google/protobuf/any.d.mts +1 -0
  10. package/dist/proto/google/protobuf/any.d.mts.map +1 -1
  11. package/dist/proto/google/protobuf/any.mjs +2 -3
  12. package/dist/proto/google/protobuf/any.mjs.map +1 -1
  13. package/dist/proto/tm2/abci.cjs +8 -9
  14. package/dist/proto/tm2/abci.cjs.map +1 -1
  15. package/dist/proto/tm2/abci.d.cts +1 -0
  16. package/dist/proto/tm2/abci.d.cts.map +1 -1
  17. package/dist/proto/tm2/abci.d.mts +1 -0
  18. package/dist/proto/tm2/abci.d.mts.map +1 -1
  19. package/dist/proto/tm2/abci.mjs +8 -9
  20. package/dist/proto/tm2/abci.mjs.map +1 -1
  21. package/dist/proto/tm2/multisig.d.cts +37 -0
  22. package/dist/proto/tm2/multisig.d.cts.map +1 -0
  23. package/dist/proto/tm2/multisig.d.mts +37 -0
  24. package/dist/proto/tm2/multisig.d.mts.map +1 -0
  25. package/dist/proto/tm2/tx.cjs +6 -6
  26. package/dist/proto/tm2/tx.cjs.map +1 -1
  27. package/dist/proto/tm2/tx.d.cts.map +1 -1
  28. package/dist/proto/tm2/tx.d.mts.map +1 -1
  29. package/dist/proto/tm2/tx.mjs +6 -6
  30. package/dist/proto/tm2/tx.mjs.map +1 -1
  31. package/dist/provider/errors/index.cjs +1 -0
  32. package/dist/provider/errors/index.d.cts +1 -0
  33. package/dist/provider/errors/index.d.mts +1 -0
  34. package/dist/provider/errors/index.mjs +2 -0
  35. package/dist/provider/index.cjs +2 -0
  36. package/dist/provider/index.mjs +2 -0
  37. package/dist/provider/provider.cjs +37 -18
  38. package/dist/provider/provider.cjs.map +1 -1
  39. package/dist/provider/provider.d.cts.map +1 -1
  40. package/dist/provider/provider.d.mts.map +1 -1
  41. package/dist/provider/provider.mjs +1 -0
  42. package/dist/provider/provider.mjs.map +1 -1
  43. package/dist/provider/types/common.cjs +0 -0
  44. package/dist/provider/types/common.mjs +1 -0
  45. package/dist/provider/types/index.cjs +3 -0
  46. package/dist/provider/types/index.d.cts +3 -0
  47. package/dist/provider/types/index.d.mts +3 -0
  48. package/dist/provider/types/index.mjs +4 -0
  49. package/dist/provider/types/jsonrpc.cjs +0 -0
  50. package/dist/provider/types/jsonrpc.mjs +1 -0
  51. package/dist/provider/utility/errors.utility.cjs +1 -0
  52. package/dist/provider/utility/errors.utility.cjs.map +1 -1
  53. package/dist/provider/utility/errors.utility.mjs +1 -0
  54. package/dist/provider/utility/errors.utility.mjs.map +1 -1
  55. package/dist/provider/utility/provider.utility.cjs +3 -1
  56. package/dist/provider/utility/provider.utility.cjs.map +1 -1
  57. package/dist/provider/utility/provider.utility.d.cts.map +1 -1
  58. package/dist/provider/utility/provider.utility.d.mts.map +1 -1
  59. package/dist/provider/utility/provider.utility.mjs +1 -0
  60. package/dist/provider/utility/provider.utility.mjs.map +1 -1
  61. package/dist/provider/utility/requests.utility.d.cts.map +1 -1
  62. package/dist/provider/utility/requests.utility.d.mts.map +1 -1
  63. package/dist/services/index.cjs +1 -0
  64. package/dist/services/index.mjs +1 -0
  65. package/dist/services/rest/restService.types.cjs +0 -0
  66. package/dist/services/rest/restService.types.mjs +1 -0
  67. package/dist/utility/compact-bit-array.cjs +55 -0
  68. package/dist/utility/compact-bit-array.cjs.map +1 -0
  69. package/dist/utility/compact-bit-array.d.cts +26 -0
  70. package/dist/utility/compact-bit-array.d.cts.map +1 -0
  71. package/dist/utility/compact-bit-array.d.mts +26 -0
  72. package/dist/utility/compact-bit-array.d.mts.map +1 -0
  73. package/dist/utility/compact-bit-array.mjs +54 -0
  74. package/dist/utility/compact-bit-array.mjs.map +1 -0
  75. package/dist/utility/index.cjs +1 -0
  76. package/dist/utility/index.d.cts +1 -0
  77. package/dist/utility/index.d.mts +1 -0
  78. package/dist/utility/index.mjs +2 -0
  79. package/dist/wallet/index.cjs +2 -0
  80. package/dist/wallet/index.mjs +2 -0
  81. package/dist/wallet/key/index.d.cts +1 -0
  82. package/dist/wallet/key/index.d.mts +1 -0
  83. package/dist/wallet/ledger/ledger.cjs +2 -1
  84. package/dist/wallet/ledger/ledger.cjs.map +1 -1
  85. package/dist/wallet/signer.cjs +0 -0
  86. package/dist/wallet/signer.mjs +1 -0
  87. package/dist/wallet/types/index.cjs +2 -0
  88. package/dist/wallet/types/index.d.cts +2 -0
  89. package/dist/wallet/types/index.d.mts +2 -0
  90. package/dist/wallet/types/index.mjs +3 -0
  91. package/dist/wallet/types/wallet.cjs +0 -0
  92. package/dist/wallet/types/wallet.mjs +1 -0
  93. package/dist/wallet/wallet.cjs +4 -2
  94. package/dist/wallet/wallet.cjs.map +1 -1
  95. package/dist/wallet/wallet.d.cts.map +1 -1
  96. package/dist/wallet/wallet.d.mts.map +1 -1
  97. package/dist/wallet/wallet.mjs +1 -0
  98. package/dist/wallet/wallet.mjs.map +1 -1
  99. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -14,6 +14,8 @@ const require_ws = require("./provider/websocket/ws.cjs");
14
14
  require("./provider/index.cjs");
15
15
  const require_restService = require("./services/rest/restService.cjs");
16
16
  require("./services/index.cjs");
17
+ const require_compact_bit_array = require("./utility/compact-bit-array.cjs");
18
+ require("./utility/index.cjs");
17
19
  const require_utility = require("./wallet/utility/utility.cjs");
18
20
  const require_key = require("./wallet/key/key.cjs");
19
21
  const require_ledger = require("./wallet/ledger/ledger.cjs");
@@ -68,6 +70,8 @@ exports.adaptNetInfoResponse = require_adapters.adaptNetInfoResponse;
68
70
  exports.adaptStatusResponse = require_adapters.adaptStatusResponse;
69
71
  exports.adaptTxResponse = require_adapters.adaptTxResponse;
70
72
  exports.base64ToUint8Array = require_requests_utility.base64ToUint8Array;
73
+ exports.compactBitArrayFromAmino = require_compact_bit_array.compactBitArrayFromAmino;
74
+ exports.compactBitArrayToAmino = require_compact_bit_array.compactBitArrayToAmino;
71
75
  exports.defaultAddressPrefix = require_utility.defaultAddressPrefix;
72
76
  exports.encodeCharacterSet = require_utility.encodeCharacterSet;
73
77
  exports.extractAccountFromResponse = require_provider_utility.extractAccountFromResponse;
package/dist/index.d.cts CHANGED
@@ -13,6 +13,7 @@ import { base64ToUint8Array, newRequest, newResponse, parseABCI, parseProto, str
13
13
  import { WSProvider } from "./provider/websocket/ws.cjs";
14
14
  import { RequestParams } from "./services/rest/restService.types.cjs";
15
15
  import { RestService } from "./services/rest/restService.cjs";
16
+ import { compactBitArrayFromAmino, compactBitArrayToAmino } from "./utility/compact-bit-array.cjs";
16
17
  import { Signer } from "./wallet/signer.cjs";
17
18
  import { KeySigner } from "./wallet/key/key.cjs";
18
19
  import { LedgerSigner } from "./wallet/ledger/ledger.cjs";
@@ -20,4 +21,4 @@ import { Secp256k1PubKeyType, TxSignPayload } from "./wallet/types/sign.cjs";
20
21
  import { AccountWalletOption, CreateWalletOptions } from "./wallet/types/wallet.cjs";
21
22
  import { defaultAddressPrefix, encodeCharacterSet, generateEntropy, generateHDPath, generateKeyPair, sortedJsonStringify, stringToUTF8 } from "./wallet/utility/utility.cjs";
22
23
  import { SignTransactionOptions, Wallet } from "./wallet/wallet.cjs";
23
- export { ABCIAccount, ABCIEndpoint, ABCIErrorKey, ABCIResponse, ABCIResponseBase, AccountWalletOption, Any, BaseTm2Provider, BeginBlock, Block, BlockEndpoint, BlockHeader, BlockID, BlockInfo, BlockMeta, BlockResult, BroadcastAsGeneric, BroadcastTransactionCommit, BroadcastTransactionMap, BroadcastTransactionSync, BroadcastTxCommitResult, BroadcastTxSyncResult, BroadcastType, CommonEndpoint, ConsensusEndpoint, ConsensusParams, ConsensusState, CreateWalletOptions, DeepPartial, DeliverTx, EndBlock, Exact, GasOverflowError, InsufficientCoinsError, InsufficientFeeError, InsufficientFundsError, InternalError, InvalidAddressError, InvalidCoinsError, InvalidGasWantedError, InvalidPubKeyError, InvalidSequenceError, JSONRPCProvider, KeySigner, LedgerSigner, MemoTooLargeError, MessageFns, NetworkInfo, NoSignaturesError, OutOfGasError, PrecommitInfo, Provider, PubKeySecp256k1, RPCError, RPCRequest, RPCResponse, RequestParams, RestService, Secp256k1PubKeyType, SignTransactionOptions, Signer, Status, TM2Error, TooManySignaturesError, TransactionEndpoint, Tx, TxDecodeError, TxFee, TxResult, TxSignPayload, TxSignature, UnauthorizedError, UnknownAddressError, UnknownRequestError, WSProvider, Wallet, adaptAbciQueryResponse, adaptBlockResponse, adaptBlockResultsResponse, adaptBroadcastTxCommitResponse, adaptBroadcastTxSyncResponse, adaptConsensusParamsResponse, adaptNetInfoResponse, adaptStatusResponse, adaptTxResponse, base64ToUint8Array, defaultAddressPrefix, encodeCharacterSet, extractAccountFromResponse, extractAccountNumberFromResponse, extractBalanceFromResponse, extractSequenceFromResponse, extractSimulateFromResponse, generateEntropy, generateHDPath, generateKeyPair, newRequest, newResponse, parseABCI, parseProto, protobufPackage, sortedJsonStringify, stringToBase64, stringToUTF8, toBase64, toHexString, uint8ArrayToBase64, waitForTransaction };
24
+ export { ABCIAccount, ABCIEndpoint, ABCIErrorKey, ABCIResponse, ABCIResponseBase, AccountWalletOption, Any, BaseTm2Provider, BeginBlock, Block, BlockEndpoint, BlockHeader, BlockID, BlockInfo, BlockMeta, BlockResult, BroadcastAsGeneric, BroadcastTransactionCommit, BroadcastTransactionMap, BroadcastTransactionSync, BroadcastTxCommitResult, BroadcastTxSyncResult, BroadcastType, CommonEndpoint, ConsensusEndpoint, ConsensusParams, ConsensusState, CreateWalletOptions, DeepPartial, DeliverTx, EndBlock, Exact, GasOverflowError, InsufficientCoinsError, InsufficientFeeError, InsufficientFundsError, InternalError, InvalidAddressError, InvalidCoinsError, InvalidGasWantedError, InvalidPubKeyError, InvalidSequenceError, JSONRPCProvider, KeySigner, LedgerSigner, MemoTooLargeError, MessageFns, NetworkInfo, NoSignaturesError, OutOfGasError, PrecommitInfo, Provider, PubKeySecp256k1, RPCError, RPCRequest, RPCResponse, RequestParams, RestService, Secp256k1PubKeyType, SignTransactionOptions, Signer, Status, TM2Error, TooManySignaturesError, TransactionEndpoint, Tx, TxDecodeError, TxFee, TxResult, TxSignPayload, TxSignature, UnauthorizedError, UnknownAddressError, UnknownRequestError, WSProvider, Wallet, adaptAbciQueryResponse, adaptBlockResponse, adaptBlockResultsResponse, adaptBroadcastTxCommitResponse, adaptBroadcastTxSyncResponse, adaptConsensusParamsResponse, adaptNetInfoResponse, adaptStatusResponse, adaptTxResponse, base64ToUint8Array, compactBitArrayFromAmino, compactBitArrayToAmino, defaultAddressPrefix, encodeCharacterSet, extractAccountFromResponse, extractAccountNumberFromResponse, extractBalanceFromResponse, extractSequenceFromResponse, extractSimulateFromResponse, generateEntropy, generateHDPath, generateKeyPair, newRequest, newResponse, parseABCI, parseProto, protobufPackage, sortedJsonStringify, stringToBase64, stringToUTF8, toBase64, toHexString, uint8ArrayToBase64, waitForTransaction };
package/dist/index.d.mts CHANGED
@@ -13,6 +13,7 @@ import { base64ToUint8Array, newRequest, newResponse, parseABCI, parseProto, str
13
13
  import { WSProvider } from "./provider/websocket/ws.mjs";
14
14
  import { RequestParams } from "./services/rest/restService.types.mjs";
15
15
  import { RestService } from "./services/rest/restService.mjs";
16
+ import { compactBitArrayFromAmino, compactBitArrayToAmino } from "./utility/compact-bit-array.mjs";
16
17
  import { Signer } from "./wallet/signer.mjs";
17
18
  import { KeySigner } from "./wallet/key/key.mjs";
18
19
  import { LedgerSigner } from "./wallet/ledger/ledger.mjs";
@@ -20,4 +21,4 @@ import { Secp256k1PubKeyType, TxSignPayload } from "./wallet/types/sign.mjs";
20
21
  import { AccountWalletOption, CreateWalletOptions } from "./wallet/types/wallet.mjs";
21
22
  import { defaultAddressPrefix, encodeCharacterSet, generateEntropy, generateHDPath, generateKeyPair, sortedJsonStringify, stringToUTF8 } from "./wallet/utility/utility.mjs";
22
23
  import { SignTransactionOptions, Wallet } from "./wallet/wallet.mjs";
23
- export { ABCIAccount, ABCIEndpoint, ABCIErrorKey, ABCIResponse, ABCIResponseBase, AccountWalletOption, Any, BaseTm2Provider, BeginBlock, Block, BlockEndpoint, BlockHeader, BlockID, BlockInfo, BlockMeta, BlockResult, BroadcastAsGeneric, BroadcastTransactionCommit, BroadcastTransactionMap, BroadcastTransactionSync, BroadcastTxCommitResult, BroadcastTxSyncResult, BroadcastType, CommonEndpoint, ConsensusEndpoint, ConsensusParams, ConsensusState, CreateWalletOptions, DeepPartial, DeliverTx, EndBlock, Exact, GasOverflowError, InsufficientCoinsError, InsufficientFeeError, InsufficientFundsError, InternalError, InvalidAddressError, InvalidCoinsError, InvalidGasWantedError, InvalidPubKeyError, InvalidSequenceError, JSONRPCProvider, KeySigner, LedgerSigner, MemoTooLargeError, MessageFns, NetworkInfo, NoSignaturesError, OutOfGasError, PrecommitInfo, Provider, PubKeySecp256k1, RPCError, RPCRequest, RPCResponse, RequestParams, RestService, Secp256k1PubKeyType, SignTransactionOptions, Signer, Status, TM2Error, TooManySignaturesError, TransactionEndpoint, Tx, TxDecodeError, TxFee, TxResult, TxSignPayload, TxSignature, UnauthorizedError, UnknownAddressError, UnknownRequestError, WSProvider, Wallet, adaptAbciQueryResponse, adaptBlockResponse, adaptBlockResultsResponse, adaptBroadcastTxCommitResponse, adaptBroadcastTxSyncResponse, adaptConsensusParamsResponse, adaptNetInfoResponse, adaptStatusResponse, adaptTxResponse, base64ToUint8Array, defaultAddressPrefix, encodeCharacterSet, extractAccountFromResponse, extractAccountNumberFromResponse, extractBalanceFromResponse, extractSequenceFromResponse, extractSimulateFromResponse, generateEntropy, generateHDPath, generateKeyPair, newRequest, newResponse, parseABCI, parseProto, protobufPackage, sortedJsonStringify, stringToBase64, stringToUTF8, toBase64, toHexString, uint8ArrayToBase64, waitForTransaction };
24
+ export { ABCIAccount, ABCIEndpoint, ABCIErrorKey, ABCIResponse, ABCIResponseBase, AccountWalletOption, Any, BaseTm2Provider, BeginBlock, Block, BlockEndpoint, BlockHeader, BlockID, BlockInfo, BlockMeta, BlockResult, BroadcastAsGeneric, BroadcastTransactionCommit, BroadcastTransactionMap, BroadcastTransactionSync, BroadcastTxCommitResult, BroadcastTxSyncResult, BroadcastType, CommonEndpoint, ConsensusEndpoint, ConsensusParams, ConsensusState, CreateWalletOptions, DeepPartial, DeliverTx, EndBlock, Exact, GasOverflowError, InsufficientCoinsError, InsufficientFeeError, InsufficientFundsError, InternalError, InvalidAddressError, InvalidCoinsError, InvalidGasWantedError, InvalidPubKeyError, InvalidSequenceError, JSONRPCProvider, KeySigner, LedgerSigner, MemoTooLargeError, MessageFns, NetworkInfo, NoSignaturesError, OutOfGasError, PrecommitInfo, Provider, PubKeySecp256k1, RPCError, RPCRequest, RPCResponse, RequestParams, RestService, Secp256k1PubKeyType, SignTransactionOptions, Signer, Status, TM2Error, TooManySignaturesError, TransactionEndpoint, Tx, TxDecodeError, TxFee, TxResult, TxSignPayload, TxSignature, UnauthorizedError, UnknownAddressError, UnknownRequestError, WSProvider, Wallet, adaptAbciQueryResponse, adaptBlockResponse, adaptBlockResultsResponse, adaptBroadcastTxCommitResponse, adaptBroadcastTxSyncResponse, adaptConsensusParamsResponse, adaptNetInfoResponse, adaptStatusResponse, adaptTxResponse, base64ToUint8Array, compactBitArrayFromAmino, compactBitArrayToAmino, defaultAddressPrefix, encodeCharacterSet, extractAccountFromResponse, extractAccountNumberFromResponse, extractBalanceFromResponse, extractSequenceFromResponse, extractSimulateFromResponse, generateEntropy, generateHDPath, generateKeyPair, newRequest, newResponse, parseABCI, parseProto, protobufPackage, sortedJsonStringify, stringToBase64, stringToUTF8, toBase64, toHexString, uint8ArrayToBase64, waitForTransaction };
package/dist/index.mjs CHANGED
@@ -13,10 +13,12 @@ import { WSProvider } from "./provider/websocket/ws.mjs";
13
13
  import "./provider/index.mjs";
14
14
  import { RestService } from "./services/rest/restService.mjs";
15
15
  import "./services/index.mjs";
16
+ import { compactBitArrayFromAmino, compactBitArrayToAmino } from "./utility/compact-bit-array.mjs";
17
+ import "./utility/index.mjs";
16
18
  import { defaultAddressPrefix, encodeCharacterSet, generateEntropy, generateHDPath, generateKeyPair, sortedJsonStringify, stringToUTF8 } from "./wallet/utility/utility.mjs";
17
19
  import { KeySigner } from "./wallet/key/key.mjs";
18
20
  import { LedgerSigner } from "./wallet/ledger/ledger.mjs";
19
21
  import { Secp256k1PubKeyType } from "./wallet/types/sign.mjs";
20
22
  import { Wallet } from "./wallet/wallet.mjs";
21
23
  import "./wallet/index.mjs";
22
- export { ABCIEndpoint, ABCIErrorKey, Any, BaseTm2Provider, BlockEndpoint, CommonEndpoint, ConsensusEndpoint, GasOverflowError, InsufficientCoinsError, InsufficientFeeError, InsufficientFundsError, InternalError, InvalidAddressError, InvalidCoinsError, InvalidGasWantedError, InvalidPubKeyError, InvalidSequenceError, JSONRPCProvider, KeySigner, LedgerSigner, MemoTooLargeError, NoSignaturesError, OutOfGasError, PubKeySecp256k1, RestService, Secp256k1PubKeyType, TM2Error, TooManySignaturesError, TransactionEndpoint, Tx, TxDecodeError, TxFee, TxSignature, UnauthorizedError, UnknownAddressError, UnknownRequestError, WSProvider, Wallet, adaptAbciQueryResponse, adaptBlockResponse, adaptBlockResultsResponse, adaptBroadcastTxCommitResponse, adaptBroadcastTxSyncResponse, adaptConsensusParamsResponse, adaptNetInfoResponse, adaptStatusResponse, adaptTxResponse, base64ToUint8Array, defaultAddressPrefix, encodeCharacterSet, extractAccountFromResponse, extractAccountNumberFromResponse, extractBalanceFromResponse, extractSequenceFromResponse, extractSimulateFromResponse, generateEntropy, generateHDPath, generateKeyPair, newRequest, newResponse, parseABCI, parseProto, protobufPackage, sortedJsonStringify, stringToBase64, stringToUTF8, toBase64, toHexString, uint8ArrayToBase64, waitForTransaction };
24
+ export { ABCIEndpoint, ABCIErrorKey, Any, BaseTm2Provider, BlockEndpoint, CommonEndpoint, ConsensusEndpoint, GasOverflowError, InsufficientCoinsError, InsufficientFeeError, InsufficientFundsError, InternalError, InvalidAddressError, InvalidCoinsError, InvalidGasWantedError, InvalidPubKeyError, InvalidSequenceError, JSONRPCProvider, KeySigner, LedgerSigner, MemoTooLargeError, NoSignaturesError, OutOfGasError, PubKeySecp256k1, RestService, Secp256k1PubKeyType, TM2Error, TooManySignaturesError, TransactionEndpoint, Tx, TxDecodeError, TxFee, TxSignature, UnauthorizedError, UnknownAddressError, UnknownRequestError, WSProvider, Wallet, adaptAbciQueryResponse, adaptBlockResponse, adaptBlockResultsResponse, adaptBroadcastTxCommitResponse, adaptBroadcastTxSyncResponse, adaptConsensusParamsResponse, adaptNetInfoResponse, adaptStatusResponse, adaptTxResponse, base64ToUint8Array, compactBitArrayFromAmino, compactBitArrayToAmino, defaultAddressPrefix, encodeCharacterSet, extractAccountFromResponse, extractAccountNumberFromResponse, extractBalanceFromResponse, extractSequenceFromResponse, extractSimulateFromResponse, generateEntropy, generateHDPath, generateKeyPair, newRequest, newResponse, parseABCI, parseProto, protobufPackage, sortedJsonStringify, stringToBase64, stringToUTF8, toBase64, toHexString, uint8ArrayToBase64, waitForTransaction };
@@ -1,6 +1,5 @@
1
1
  require("../../../_virtual/_rolldown/runtime.cjs");
2
2
  let _bufbuild_protobuf_wire = require("@bufbuild/protobuf/wire");
3
- //#region src/proto/google/protobuf/any.ts
4
3
  function createBaseAny() {
5
4
  return {
6
5
  type_url: "",
@@ -36,13 +35,13 @@ const Any = {
36
35
  },
37
36
  fromJSON(object) {
38
37
  return {
39
- type_url: isSet(object.typeUrl) ? globalThis.String(object.typeUrl) : isSet(object.type_url) ? globalThis.String(object.type_url) : "",
38
+ type_url: isSet(object.type_url) ? globalThis.String(object.type_url) : "",
40
39
  value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0)
41
40
  };
42
41
  },
43
42
  toJSON(message) {
44
43
  const obj = {};
45
- if (message.type_url !== void 0) obj.typeUrl = message.type_url;
44
+ if (message.type_url !== void 0) obj.type_url = message.type_url;
46
45
  if (message.value !== void 0) obj.value = base64FromBytes(message.value);
47
46
  return obj;
48
47
  },
@@ -1 +1 @@
1
- {"version":3,"file":"any.cjs","names":["BinaryWriter","BinaryReader"],"sources":["../../../../src/proto/google/protobuf/any.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.6\n// protoc v6.33.4\n// source: google/protobuf/any.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\nexport const protobufPackage = \"google.protobuf\";\n\n/**\n * `Any` contains an arbitrary serialized protocol buffer message along with a\n * URL that describes the type of the serialized message.\n *\n * Protobuf library provides support to pack/unpack Any values in the form\n * of utility functions or additional generated methods of the Any type.\n *\n * Example 1: Pack and unpack a message in C++.\n *\n * Foo foo = ...;\n * Any any;\n * any.PackFrom(foo);\n * ...\n * if (any.UnpackTo(&foo)) {\n * ...\n * }\n *\n * Example 2: Pack and unpack a message in Java.\n *\n * Foo foo = ...;\n * Any any = Any.pack(foo);\n * ...\n * if (any.is(Foo.class)) {\n * foo = any.unpack(Foo.class);\n * }\n * // or ...\n * if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n * foo = any.unpack(Foo.getDefaultInstance());\n * }\n *\n * Example 3: Pack and unpack a message in Python.\n *\n * foo = Foo(...)\n * any = Any()\n * any.Pack(foo)\n * ...\n * if any.Is(Foo.DESCRIPTOR):\n * any.Unpack(foo)\n * ...\n *\n * Example 4: Pack and unpack a message in Go\n *\n * foo := &pb.Foo{...}\n * any, err := anypb.New(foo)\n * if err != nil {\n * ...\n * }\n * ...\n * foo := &pb.Foo{}\n * if err := any.UnmarshalTo(foo); err != nil {\n * ...\n * }\n *\n * The pack methods provided by protobuf library will by default use\n * 'type.googleapis.com/full.type.name' as the type URL and the unpack\n * methods only use the fully qualified type name after the last '/'\n * in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n * name \"y.z\".\n *\n * JSON\n * ====\n * The JSON representation of an `Any` value uses the regular\n * representation of the deserialized, embedded message, with an\n * additional field `@type` which contains the type URL. Example:\n *\n * package google.profile;\n * message Person {\n * string first_name = 1;\n * string last_name = 2;\n * }\n *\n * {\n * \"@type\": \"type.googleapis.com/google.profile.Person\",\n * \"firstName\": <string>,\n * \"lastName\": <string>\n * }\n *\n * If the embedded message type is well-known and has a custom JSON\n * representation, that representation will be embedded adding a field\n * `value` which holds the custom JSON in addition to the `@type`\n * field. Example (for message [google.protobuf.Duration][]):\n *\n * {\n * \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n * \"value\": \"1.212s\"\n * }\n */\nexport interface Any {\n /**\n * A URL/resource name that uniquely identifies the type of the serialized\n * protocol buffer message. This string must contain at least\n * one \"/\" character. The last segment of the URL's path must represent\n * the fully qualified name of the type (as in\n * `path/google.protobuf.Duration`). The name should be in a canonical form\n * (e.g., leading \".\" is not accepted).\n *\n * In practice, teams usually precompile into the binary all types that they\n * expect it to use in the context of Any. However, for URLs which use the\n * scheme `http`, `https`, or no scheme, one can optionally set up a type\n * server that maps type URLs to message definitions as follows:\n *\n * * If no scheme is provided, `https` is assumed.\n * * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n * value in binary format, or produce an error.\n * * Applications are allowed to cache lookup results based on the\n * URL, or have them precompiled into a binary to avoid any\n * lookup. Therefore, binary compatibility needs to be preserved\n * on changes to types. (Use versioned type names to manage\n * breaking changes.)\n *\n * Note: this functionality is not currently available in the official\n * protobuf release, and it is not used for type URLs beginning with\n * type.googleapis.com. As of May 2023, there are no widely used type server\n * implementations and no plans to implement one.\n *\n * Schemes other than `http`, `https` (or the empty scheme) might be\n * used with implementation specific semantics.\n */\n type_url: string;\n /** Must be a valid serialized protocol buffer of the above specified type. */\n value: Uint8Array;\n}\n\nfunction createBaseAny(): Any {\n return { type_url: \"\", value: new Uint8Array(0) };\n}\n\nexport const Any: MessageFns<Any> = {\n encode(message: Any, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.type_url !== \"\") {\n writer.uint32(10).string(message.type_url);\n }\n if (message.value.length !== 0) {\n writer.uint32(18).bytes(message.value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Any {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAny();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.type_url = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.value = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): Any {\n return {\n type_url: isSet(object.typeUrl)\n ? globalThis.String(object.typeUrl)\n : isSet(object.type_url)\n ? globalThis.String(object.type_url)\n : \"\",\n value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0),\n };\n },\n\n toJSON(message: Any): unknown {\n const obj: any = {};\n if (message.type_url !== undefined) {\n obj.typeUrl = message.type_url;\n }\n if (message.value !== undefined) {\n obj.value = base64FromBytes(message.value);\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<Any>, I>>(base?: I): Any {\n return Any.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<Any>, I>>(object: I): Any {\n const message = createBaseAny();\n message.type_url = object.type_url ?? \"\";\n message.value = object.value ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"],"mappings":";;;AAsIA,SAAS,gBAAqB;AAC5B,QAAO;EAAE,UAAU;EAAI,OAAO,IAAI,WAAW,EAAE;EAAE;;AAGnD,MAAa,MAAuB;CAClC,OAAO,SAAc,SAAuB,IAAIA,wBAAAA,cAAc,EAAgB;AAC5E,MAAI,QAAQ,aAAa,GACvB,QAAO,OAAO,GAAG,CAAC,OAAO,QAAQ,SAAS;AAE5C,MAAI,QAAQ,MAAM,WAAW,EAC3B,QAAO,OAAO,GAAG,CAAC,MAAM,QAA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,OACtB,QAAO,WAAW,KAAM,WAAmB,OAAO,KAAK,KAAK,SAAS,CAAC;MACjE;EACL,MAAM,MAAM,WAAW,KAAK,IAAI;EAChC,MAAM,MAAM,IAAI,WAAW,IAAI,OAAO;AACtC,OAAK,IAAI,IAAI,GAAG,IAAI,IAAI,QAAQ,EAAE,EAChC,KAAI,KAAK,IAAI,WAAW,EAAE;AAE5B,SAAO;;;AAIX,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAQ,WAAmB,OAAO,KAAK,IAAI,CAAC,SAAS,SAAS;MACzD;EACL,MAAM,MAAgB,EAAE;AACxB,MAAI,SAAS,SAAS;AACpB,OAAI,KAAK,WAAW,OAAO,aAAa,KAAK,CAAC;IAC9C;AACF,SAAO,WAAW,KAAK,IAAI,KAAK,GAAG,CAAC;;;AAgBxC,SAAS,MAAM,OAAqB;AAClC,QAAO,UAAU,QAAQ,UAAU,KAAA"}
1
+ {"version":3,"file":"any.cjs","names":["BinaryWriter","BinaryReader"],"sources":["../../../../src/proto/google/protobuf/any.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.6\n// protoc v6.33.4\n// source: google/protobuf/any.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\nexport const protobufPackage = \"google.protobuf\";\n\n/**\n * `Any` contains an arbitrary serialized protocol buffer message along with a\n * URL that describes the type of the serialized message.\n *\n * Protobuf library provides support to pack/unpack Any values in the form\n * of utility functions or additional generated methods of the Any type.\n *\n * Example 1: Pack and unpack a message in C++.\n *\n * Foo foo = ...;\n * Any any;\n * any.PackFrom(foo);\n * ...\n * if (any.UnpackTo(&foo)) {\n * ...\n * }\n *\n * Example 2: Pack and unpack a message in Java.\n *\n * Foo foo = ...;\n * Any any = Any.pack(foo);\n * ...\n * if (any.is(Foo.class)) {\n * foo = any.unpack(Foo.class);\n * }\n * // or ...\n * if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n * foo = any.unpack(Foo.getDefaultInstance());\n * }\n *\n * Example 3: Pack and unpack a message in Python.\n *\n * foo = Foo(...)\n * any = Any()\n * any.Pack(foo)\n * ...\n * if any.Is(Foo.DESCRIPTOR):\n * any.Unpack(foo)\n * ...\n *\n * Example 4: Pack and unpack a message in Go\n *\n * foo := &pb.Foo{...}\n * any, err := anypb.New(foo)\n * if err != nil {\n * ...\n * }\n * ...\n * foo := &pb.Foo{}\n * if err := any.UnmarshalTo(foo); err != nil {\n * ...\n * }\n *\n * The pack methods provided by protobuf library will by default use\n * 'type.googleapis.com/full.type.name' as the type URL and the unpack\n * methods only use the fully qualified type name after the last '/'\n * in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n * name \"y.z\".\n *\n * JSON\n * ====\n * The JSON representation of an `Any` value uses the regular\n * representation of the deserialized, embedded message, with an\n * additional field `@type` which contains the type URL. Example:\n *\n * package google.profile;\n * message Person {\n * string first_name = 1;\n * string last_name = 2;\n * }\n *\n * {\n * \"@type\": \"type.googleapis.com/google.profile.Person\",\n * \"firstName\": <string>,\n * \"lastName\": <string>\n * }\n *\n * If the embedded message type is well-known and has a custom JSON\n * representation, that representation will be embedded adding a field\n * `value` which holds the custom JSON in addition to the `@type`\n * field. Example (for message [google.protobuf.Duration][]):\n *\n * {\n * \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n * \"value\": \"1.212s\"\n * }\n */\nexport interface Any {\n /**\n * A URL/resource name that uniquely identifies the type of the serialized\n * protocol buffer message. This string must contain at least\n * one \"/\" character. The last segment of the URL's path must represent\n * the fully qualified name of the type (as in\n * `path/google.protobuf.Duration`). The name should be in a canonical form\n * (e.g., leading \".\" is not accepted).\n *\n * In practice, teams usually precompile into the binary all types that they\n * expect it to use in the context of Any. However, for URLs which use the\n * scheme `http`, `https`, or no scheme, one can optionally set up a type\n * server that maps type URLs to message definitions as follows:\n *\n * * If no scheme is provided, `https` is assumed.\n * * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n * value in binary format, or produce an error.\n * * Applications are allowed to cache lookup results based on the\n * URL, or have them precompiled into a binary to avoid any\n * lookup. Therefore, binary compatibility needs to be preserved\n * on changes to types. (Use versioned type names to manage\n * breaking changes.)\n *\n * Note: this functionality is not currently available in the official\n * protobuf release, and it is not used for type URLs beginning with\n * type.googleapis.com. As of May 2023, there are no widely used type server\n * implementations and no plans to implement one.\n *\n * Schemes other than `http`, `https` (or the empty scheme) might be\n * used with implementation specific semantics.\n */\n type_url: string;\n /** Must be a valid serialized protocol buffer of the above specified type. */\n value: Uint8Array;\n}\n\nfunction createBaseAny(): Any {\n return { type_url: \"\", value: new Uint8Array(0) };\n}\n\nexport const Any: MessageFns<Any> = {\n encode(message: Any, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.type_url !== \"\") {\n writer.uint32(10).string(message.type_url);\n }\n if (message.value.length !== 0) {\n writer.uint32(18).bytes(message.value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Any {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAny();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.type_url = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.value = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): Any {\n return {\n type_url: isSet(object.type_url) ? globalThis.String(object.type_url) : \"\",\n value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0),\n };\n },\n\n toJSON(message: Any): unknown {\n const obj: any = {};\n if (message.type_url !== undefined) {\n obj.type_url = message.type_url;\n }\n if (message.value !== undefined) {\n obj.value = base64FromBytes(message.value);\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<Any>, I>>(base?: I): Any {\n return Any.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<Any>, I>>(object: I): Any {\n const message = createBaseAny();\n message.type_url = object.type_url ?? \"\";\n message.value = object.value ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"],"mappings":";;AAsIA,SA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IAAI,YAAY,QAAS,EAAE,CAAS;;CAE7C,YAAkD,QAAgB;EAChE,MAAM,UAAU,eAAe;AAC/B,UAAQ,WAAW,OAAO,YAAY;AACtC,UAAQ,QAAQ,OAAO,SAAS,IAAI,WAAW,EAAE;AACjD,SAAO;;CAEV;AAED,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAO,WAAW,KAAM,WAAmB,OAAO,KAAK,KAAK,SAAS,CAAC;MACjE;EACL,MAAM,MAAM,WAAW,KAAK,IAAI;EAChC,MAAM,MAAM,IAAI,WAAW,IAAI,OAAO;AACtC,OAAK,IAAI,IAAI,GAAG,IAAI,IAAI,QAAQ,EAAE,EAChC,KAAI,KAAK,IAAI,WAAW,EAAE;AAE5B,SAAO;;;AAIX,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAQ,WAAmB,OAAO,KAAK,IAAI,CAAC,SAAS,SAAS;MACzD;EACL,MAAM,MAAgB,EAAE;AACxB,MAAI,SAAS,SAAS;AACpB,OAAI,KAAK,WAAW,OAAO,aAAa,KAAK,CAAC;IAC9C;AACF,SAAO,WAAW,KAAK,IAAI,KAAK,GAAG,CAAC;;;AAgBxC,SAAS,MAAM,OAAqB;AAClC,QAAO,UAAU,QAAQ,UAAU"}
@@ -1,6 +1,7 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
 
3
3
  //#region src/proto/google/protobuf/any.d.ts
4
+ declare const protobufPackage = "google.protobuf";
4
5
  /**
5
6
  * `Any` contains an arbitrary serialized protocol buffer message along with a
6
7
  * URL that describes the type of the serialized message.
@@ -1 +1 @@
1
- {"version":3,"file":"any.d.cts","names":[],"sources":["../../../../src/proto/google/protobuf/any.ts"],"mappings":";;;;AAkGA;;;;;;;;;AAwCA;;;;;AA0EE;;;;;;;;;;;;;AA6BF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIe;;;;;;UAnJ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AA,CAAY,CAAA,GAAI,CAAA,GAAI,IAAA,GAAO,CAAA,GAAI,CAAA;EACtD,WAAA,WAAsB,KAAA,CAAM,WAAA,CAAY,CAAA,GAAI,CAAA,GAAI,MAAA,EAAQ,CAAA,GAAI,CAAA;AAAA"}
@@ -1,6 +1,7 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
 
3
3
  //#region src/proto/google/protobuf/any.d.ts
4
+ declare const protobufPackage = "google.protobuf";
4
5
  /**
5
6
  * `Any` contains an arbitrary serialized protocol buffer message along with a
6
7
  * URL that describes the type of the serialized message.
@@ -1 +1 @@
1
- {"version":3,"file":"any.d.mts","names":[],"sources":["../../../../src/proto/google/protobuf/any.ts"],"mappings":";;;;AAkGA;;;;;;;;;AAwCA;;;;;AA0EE;;;;;;;;;;;;;AA6BF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIe;;;;;;UAnJE,GAAA;EAqJ0B;;;;;;;AAC3C;;;;;;;;;;;;;;;;;;;;;;;EAvHE,QAAA;EAuH4C;EArH5C,KAAA,EAAO,UAAA;AAAA;AAAA,cAOI,GAAA,EAAK,UAAA,CAAW,GAAA;AAAA,KAqGxB,OAAA,GAAU,IAAA,GAAO,QAAA,GAAW,UAAA;AAAA,KAErB,WAAA,MAAiB,CAAA,SAAU,OAAA,GAAU,CAAA,GAC7C,CAAA,SAAU,UAAA,CAAW,KAAA,YAAiB,UAAA,CAAW,KAAA,CAAM,WAAA,CAAY,CAAA,KACnE,CAAA,SAAU,aAAA,YAAyB,aAAA,CAAc,WAAA,CAAY,CAAA,KAC7D,CAAA,4BAA6B,CAAA,IAAK,WAAA,CAAY,CAAA,CAAE,CAAA,OAChD,OAAA,CAAQ,CAAA;AAAA,KAEP,WAAA,MAAiB,CAAA,SAAU,CAAA,SAAU,CAAA;AAAA,KAC9B,KAAA,cAAmB,CAAA,IAAK,CAAA,SAAU,OAAA,GAAU,CAAA,GAC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6B,CAAA,IAAK,WAAA,CAAY,CAAA,CAAE,CAAA,OAChD,OAAA,CAAQ,CAAA;AAAA,KAEP,WAAA,MAAiB,CAAA,SAAU,CAAA,SAAU,CAAA;AAAA,KAC9B,KAAA,cAAmB,CAAA,IAAK,CAAA,SAAU,OAAA,GAAU,CAAA,GACpD,CAAA,iBAAkB,CAAA,GAAI,KAAA,CAAM,CAAA,CAAE,CAAA,GAAI,CAAA,CAAE,CAAA,eAAgB,OAAA,OAAc,CAAA,EAAG,WAAA,CAAY,CAAA;AAAA,UAMpE,UAAA;EACf,MAAA,CAAO,OAAA,EAAS,CAAA,EAAG,MAAA,GAAS,YAAA,GAAe,YAAA;EAC3C,MAAA,CAAO,KAAA,EAAO,YAAA,GAAe,UAAA,EAAY,MAAA,YAAkB,CAAA;EAC3D,QAAA,CAAS,MAAA,QAAc,CAAA;EACvB,MAAA,CAAO,OAAA,EAAS,CAAA;EAChB,MAAA,WAAiB,KAAA,CAAM,WAAA,CAAY,CAAA,GAAI,CAAA,GAAI,IAAA,GAAO,CAAA,GAAI,CAAA;EACtD,WAAA,WAAsB,KAAA,CAAM,WAAA,CAAY,CAAA,GAAI,CAAA,GAAI,MAAA,EAAQ,CAAA,GAAI,CAAA;AAAA"}
@@ -1,5 +1,4 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- //#region src/proto/google/protobuf/any.ts
3
2
  function createBaseAny() {
4
3
  return {
5
4
  type_url: "",
@@ -35,13 +34,13 @@ const Any = {
35
34
  },
36
35
  fromJSON(object) {
37
36
  return {
38
- type_url: isSet(object.typeUrl) ? globalThis.String(object.typeUrl) : isSet(object.type_url) ? globalThis.String(object.type_url) : "",
37
+ type_url: isSet(object.type_url) ? globalThis.String(object.type_url) : "",
39
38
  value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0)
40
39
  };
41
40
  },
42
41
  toJSON(message) {
43
42
  const obj = {};
44
- if (message.type_url !== void 0) obj.typeUrl = message.type_url;
43
+ if (message.type_url !== void 0) obj.type_url = message.type_url;
45
44
  if (message.value !== void 0) obj.value = base64FromBytes(message.value);
46
45
  return obj;
47
46
  },
@@ -1 +1 @@
1
- {"version":3,"file":"any.mjs","names":[],"sources":["../../../../src/proto/google/protobuf/any.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.6\n// protoc v6.33.4\n// source: google/protobuf/any.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\nexport const protobufPackage = \"google.protobuf\";\n\n/**\n * `Any` contains an arbitrary serialized protocol buffer message along with a\n * URL that describes the type of the serialized message.\n *\n * Protobuf library provides support to pack/unpack Any values in the form\n * of utility functions or additional generated methods of the Any type.\n *\n * Example 1: Pack and unpack a message in C++.\n *\n * Foo foo = ...;\n * Any any;\n * any.PackFrom(foo);\n * ...\n * if (any.UnpackTo(&foo)) {\n * ...\n * }\n *\n * Example 2: Pack and unpack a message in Java.\n *\n * Foo foo = ...;\n * Any any = Any.pack(foo);\n * ...\n * if (any.is(Foo.class)) {\n * foo = any.unpack(Foo.class);\n * }\n * // or ...\n * if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n * foo = any.unpack(Foo.getDefaultInstance());\n * }\n *\n * Example 3: Pack and unpack a message in Python.\n *\n * foo = Foo(...)\n * any = Any()\n * any.Pack(foo)\n * ...\n * if any.Is(Foo.DESCRIPTOR):\n * any.Unpack(foo)\n * ...\n *\n * Example 4: Pack and unpack a message in Go\n *\n * foo := &pb.Foo{...}\n * any, err := anypb.New(foo)\n * if err != nil {\n * ...\n * }\n * ...\n * foo := &pb.Foo{}\n * if err := any.UnmarshalTo(foo); err != nil {\n * ...\n * }\n *\n * The pack methods provided by protobuf library will by default use\n * 'type.googleapis.com/full.type.name' as the type URL and the unpack\n * methods only use the fully qualified type name after the last '/'\n * in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n * name \"y.z\".\n *\n * JSON\n * ====\n * The JSON representation of an `Any` value uses the regular\n * representation of the deserialized, embedded message, with an\n * additional field `@type` which contains the type URL. Example:\n *\n * package google.profile;\n * message Person {\n * string first_name = 1;\n * string last_name = 2;\n * }\n *\n * {\n * \"@type\": \"type.googleapis.com/google.profile.Person\",\n * \"firstName\": <string>,\n * \"lastName\": <string>\n * }\n *\n * If the embedded message type is well-known and has a custom JSON\n * representation, that representation will be embedded adding a field\n * `value` which holds the custom JSON in addition to the `@type`\n * field. Example (for message [google.protobuf.Duration][]):\n *\n * {\n * \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n * \"value\": \"1.212s\"\n * }\n */\nexport interface Any {\n /**\n * A URL/resource name that uniquely identifies the type of the serialized\n * protocol buffer message. This string must contain at least\n * one \"/\" character. The last segment of the URL's path must represent\n * the fully qualified name of the type (as in\n * `path/google.protobuf.Duration`). The name should be in a canonical form\n * (e.g., leading \".\" is not accepted).\n *\n * In practice, teams usually precompile into the binary all types that they\n * expect it to use in the context of Any. However, for URLs which use the\n * scheme `http`, `https`, or no scheme, one can optionally set up a type\n * server that maps type URLs to message definitions as follows:\n *\n * * If no scheme is provided, `https` is assumed.\n * * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n * value in binary format, or produce an error.\n * * Applications are allowed to cache lookup results based on the\n * URL, or have them precompiled into a binary to avoid any\n * lookup. Therefore, binary compatibility needs to be preserved\n * on changes to types. (Use versioned type names to manage\n * breaking changes.)\n *\n * Note: this functionality is not currently available in the official\n * protobuf release, and it is not used for type URLs beginning with\n * type.googleapis.com. As of May 2023, there are no widely used type server\n * implementations and no plans to implement one.\n *\n * Schemes other than `http`, `https` (or the empty scheme) might be\n * used with implementation specific semantics.\n */\n type_url: string;\n /** Must be a valid serialized protocol buffer of the above specified type. */\n value: Uint8Array;\n}\n\nfunction createBaseAny(): Any {\n return { type_url: \"\", value: new Uint8Array(0) };\n}\n\nexport const Any: MessageFns<Any> = {\n encode(message: Any, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.type_url !== \"\") {\n writer.uint32(10).string(message.type_url);\n }\n if (message.value.length !== 0) {\n writer.uint32(18).bytes(message.value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Any {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAny();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.type_url = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.value = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): Any {\n return {\n type_url: isSet(object.typeUrl)\n ? globalThis.String(object.typeUrl)\n : isSet(object.type_url)\n ? globalThis.String(object.type_url)\n : \"\",\n value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0),\n };\n },\n\n toJSON(message: Any): unknown {\n const obj: any = {};\n if (message.type_url !== undefined) {\n obj.typeUrl = message.type_url;\n }\n if (message.value !== undefined) {\n obj.value = base64FromBytes(message.value);\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<Any>, I>>(base?: I): Any {\n return Any.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<Any>, I>>(object: I): Any {\n const message = createBaseAny();\n message.type_url = object.type_url ?? \"\";\n message.value = object.value ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"],"mappings":";;AAsIA,SAAS,gBAAqB;AAC5B,QAAO;EAAE,UAAU;EAAI,OAAO,IAAI,WAAW,EAAE;EAAE;;AAGnD,MAAa,MAAuB;CAClC,OAAO,SAAc,SAAuB,IAAI,cAAc,EAAgB;AAC5E,MAAI,QAAQ,aAAa,GACvB,QAAO,OAAO,GAAG,CAAC,OAAO,QAAQ,SAAS;AAE5C,MAAI,QAAQ,MAAM,WAAW,EAC3B,QAAO,OAAO,GAAG,CAAC,MAAM,QAAQ,MAAM;AAExC,SAAO;;CAGT,OAAO,OAAkC,QAAsB;EAC7D,MAAM,SAAS,iBAAiB,eAAe,QAAQ,IAAI,aAAa,MAAM;EAC9E,MAAM,MAAM,WAAW,KAAA,IAAY,OAA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,GAAG,IAAI,IAAI,QAAQ,EAAE,EAChC,KAAI,KAAK,IAAI,WAAW,EAAE;AAE5B,SAAO;;;AAIX,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAQ,WAAmB,OAAO,KAAK,IAAI,CAAC,SAAS,SAAS;MACzD;EACL,MAAM,MAAgB,EAAE;AACxB,MAAI,SAAS,SAAS;AACpB,OAAI,KAAK,WAAW,OAAO,aAAa,KAAK,CAAC;IAC9C;AACF,SAAO,WAAW,KAAK,IAAI,KAAK,GAAG,CAAC;;;AAgBxC,SAAS,MAAM,OAAqB;AAClC,QAAO,UAAU,QAAQ,UAAU,KAAA"}
1
+ {"version":3,"file":"any.mjs","names":[],"sources":["../../../../src/proto/google/protobuf/any.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.6\n// protoc v6.33.4\n// source: google/protobuf/any.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\nexport const protobufPackage = \"google.protobuf\";\n\n/**\n * `Any` contains an arbitrary serialized protocol buffer message along with a\n * URL that describes the type of the serialized message.\n *\n * Protobuf library provides support to pack/unpack Any values in the form\n * of utility functions or additional generated methods of the Any type.\n *\n * Example 1: Pack and unpack a message in C++.\n *\n * Foo foo = ...;\n * Any any;\n * any.PackFrom(foo);\n * ...\n * if (any.UnpackTo(&foo)) {\n * ...\n * }\n *\n * Example 2: Pack and unpack a message in Java.\n *\n * Foo foo = ...;\n * Any any = Any.pack(foo);\n * ...\n * if (any.is(Foo.class)) {\n * foo = any.unpack(Foo.class);\n * }\n * // or ...\n * if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n * foo = any.unpack(Foo.getDefaultInstance());\n * }\n *\n * Example 3: Pack and unpack a message in Python.\n *\n * foo = Foo(...)\n * any = Any()\n * any.Pack(foo)\n * ...\n * if any.Is(Foo.DESCRIPTOR):\n * any.Unpack(foo)\n * ...\n *\n * Example 4: Pack and unpack a message in Go\n *\n * foo := &pb.Foo{...}\n * any, err := anypb.New(foo)\n * if err != nil {\n * ...\n * }\n * ...\n * foo := &pb.Foo{}\n * if err := any.UnmarshalTo(foo); err != nil {\n * ...\n * }\n *\n * The pack methods provided by protobuf library will by default use\n * 'type.googleapis.com/full.type.name' as the type URL and the unpack\n * methods only use the fully qualified type name after the last '/'\n * in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n * name \"y.z\".\n *\n * JSON\n * ====\n * The JSON representation of an `Any` value uses the regular\n * representation of the deserialized, embedded message, with an\n * additional field `@type` which contains the type URL. Example:\n *\n * package google.profile;\n * message Person {\n * string first_name = 1;\n * string last_name = 2;\n * }\n *\n * {\n * \"@type\": \"type.googleapis.com/google.profile.Person\",\n * \"firstName\": <string>,\n * \"lastName\": <string>\n * }\n *\n * If the embedded message type is well-known and has a custom JSON\n * representation, that representation will be embedded adding a field\n * `value` which holds the custom JSON in addition to the `@type`\n * field. Example (for message [google.protobuf.Duration][]):\n *\n * {\n * \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n * \"value\": \"1.212s\"\n * }\n */\nexport interface Any {\n /**\n * A URL/resource name that uniquely identifies the type of the serialized\n * protocol buffer message. This string must contain at least\n * one \"/\" character. The last segment of the URL's path must represent\n * the fully qualified name of the type (as in\n * `path/google.protobuf.Duration`). The name should be in a canonical form\n * (e.g., leading \".\" is not accepted).\n *\n * In practice, teams usually precompile into the binary all types that they\n * expect it to use in the context of Any. However, for URLs which use the\n * scheme `http`, `https`, or no scheme, one can optionally set up a type\n * server that maps type URLs to message definitions as follows:\n *\n * * If no scheme is provided, `https` is assumed.\n * * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n * value in binary format, or produce an error.\n * * Applications are allowed to cache lookup results based on the\n * URL, or have them precompiled into a binary to avoid any\n * lookup. Therefore, binary compatibility needs to be preserved\n * on changes to types. (Use versioned type names to manage\n * breaking changes.)\n *\n * Note: this functionality is not currently available in the official\n * protobuf release, and it is not used for type URLs beginning with\n * type.googleapis.com. As of May 2023, there are no widely used type server\n * implementations and no plans to implement one.\n *\n * Schemes other than `http`, `https` (or the empty scheme) might be\n * used with implementation specific semantics.\n */\n type_url: string;\n /** Must be a valid serialized protocol buffer of the above specified type. */\n value: Uint8Array;\n}\n\nfunction createBaseAny(): Any {\n return { type_url: \"\", value: new Uint8Array(0) };\n}\n\nexport const Any: MessageFns<Any> = {\n encode(message: Any, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.type_url !== \"\") {\n writer.uint32(10).string(message.type_url);\n }\n if (message.value.length !== 0) {\n writer.uint32(18).bytes(message.value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Any {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAny();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.type_url = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.value = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): Any {\n return {\n type_url: isSet(object.type_url) ? globalThis.String(object.type_url) : \"\",\n value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0),\n };\n },\n\n toJSON(message: Any): unknown {\n const obj: any = {};\n if (message.type_url !== undefined) {\n obj.type_url = message.type_url;\n }\n if (message.value !== undefined) {\n obj.value = base64FromBytes(message.value);\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<Any>, I>>(base?: I): Any {\n return Any.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<Any>, I>>(object: I): Any {\n const message = createBaseAny();\n message.type_url = object.type_url ?? \"\";\n message.value = object.value ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"],"mappings":";AAsIA,SAAS,gBAAqB;AAC5B,QAAO;EAAE,UAAU;EAAI,OAAO,IAAI,WAAW,EAAE;EAAE;;AAGnD,MAAa,MAAuB;CAClC,OAAO,SAAc,SAAuB,IAAI,cAAc,EAAgB;AAC5E,MAAI,QAAQ,aAAa,GACvB,QAAO,OAAO,GAA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,WAAmB,OACtB,QAAO,WAAW,KAAM,WAAmB,OAAO,KAAK,KAAK,SAAS,CAAC;MACjE;EACL,MAAM,MAAM,WAAW,KAAK,IAAI;EAChC,MAAM,MAAM,IAAI,WAAW,IAAI,OAAO;AACtC,OAAK,IAAI,IAAI,GAAG,IAAI,IAAI,QAAQ,EAAE,EAChC,KAAI,KAAK,IAAI,WAAW,EAAE;AAE5B,SAAO;;;AAIX,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAQ,WAAmB,OAAO,KAAK,IAAI,CAAC,SAAS,SAAS;MACzD;EACL,MAAM,MAAgB,EAAE;AACxB,MAAI,SAAS,SAAS;AACpB,OAAI,KAAK,WAAW,OAAO,aAAa,KAAK,CAAC;IAC9C;AACF,SAAO,WAAW,KAAK,IAAI,KAAK,GAAG,CAAC;;;AAgBxC,SAAS,MAAM,OAAqB;AAClC,QAAO,UAAU,QAAQ,UAAU"}
@@ -1,7 +1,6 @@
1
1
  require("../../_virtual/_rolldown/runtime.cjs");
2
2
  const require_any = require("../google/protobuf/any.cjs");
3
3
  let _bufbuild_protobuf_wire = require("@bufbuild/protobuf/wire");
4
- //#region src/proto/tm2/abci.ts
5
4
  function createBaseResponseDeliverTx() {
6
5
  return {
7
6
  response_base: void 0,
@@ -49,9 +48,9 @@ const ResponseDeliverTx = {
49
48
  },
50
49
  fromJSON(object) {
51
50
  return {
52
- response_base: isSet(object.ResponseBase) ? ResponseBase.fromJSON(object.ResponseBase) : isSet(object.response_base) ? ResponseBase.fromJSON(object.response_base) : void 0,
53
- gas_wanted: isSet(object.GasWanted) ? BigInt(object.GasWanted) : isSet(object.gas_wanted) ? BigInt(object.gas_wanted) : 0n,
54
- gas_used: isSet(object.GasUsed) ? BigInt(object.GasUsed) : isSet(object.gas_used) ? BigInt(object.gas_used) : 0n
51
+ response_base: isSet(object.ResponseBase) ? ResponseBase.fromJSON(object.ResponseBase) : void 0,
52
+ gas_wanted: isSet(object.GasWanted) ? BigInt(object.GasWanted) : 0n,
53
+ gas_used: isSet(object.GasUsed) ? BigInt(object.GasUsed) : 0n
55
54
  };
56
55
  },
57
56
  toJSON(message) {
@@ -125,11 +124,11 @@ const ResponseBase = {
125
124
  },
126
125
  fromJSON(object) {
127
126
  return {
128
- error: isSet(object.Error) ? require_any.Any.fromJSON(object.Error) : isSet(object.error) ? require_any.Any.fromJSON(object.error) : void 0,
129
- data: isSet(object.Data) ? bytesFromBase64(object.Data) : isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(0),
130
- events: globalThis.Array.isArray(object?.Events) ? object.Events.map((e) => require_any.Any.fromJSON(e)) : globalThis.Array.isArray(object?.events) ? object.events.map((e) => require_any.Any.fromJSON(e)) : [],
131
- log: isSet(object.Log) ? globalThis.String(object.Log) : isSet(object.log) ? globalThis.String(object.log) : "",
132
- info: isSet(object.Info) ? globalThis.String(object.Info) : isSet(object.info) ? globalThis.String(object.info) : ""
127
+ error: isSet(object.Error) ? require_any.Any.fromJSON(object.Error) : void 0,
128
+ data: isSet(object.Data) ? bytesFromBase64(object.Data) : new Uint8Array(0),
129
+ events: globalThis.Array.isArray(object?.Events) ? object.Events.map((e) => require_any.Any.fromJSON(e)) : [],
130
+ log: isSet(object.Log) ? globalThis.String(object.Log) : "",
131
+ info: isSet(object.Info) ? globalThis.String(object.Info) : ""
133
132
  };
134
133
  },
135
134
  toJSON(message) {
@@ -1 +1 @@
1
- {"version":3,"file":"abci.cjs","names":["BinaryWriter","BinaryReader","Any"],"sources":["../../../src/proto/tm2/abci.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.6\n// protoc v6.33.4\n// source: tm2/abci.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Any } from \"../google/protobuf/any.js\";\n\nexport const protobufPackage = \"tm2.abci\";\n\nexport interface ResponseDeliverTx {\n response_base?: ResponseBase | undefined;\n gas_wanted: bigint;\n gas_used: bigint;\n}\n\nexport interface ResponseBase {\n error?: Any | undefined;\n data: Uint8Array;\n events: Any[];\n log: string;\n info: string;\n}\n\nfunction createBaseResponseDeliverTx(): ResponseDeliverTx {\n return { response_base: undefined, gas_wanted: 0n, gas_used: 0n };\n}\n\nexport const ResponseDeliverTx: MessageFns<ResponseDeliverTx> = {\n encode(message: ResponseDeliverTx, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.response_base !== undefined) {\n ResponseBase.encode(message.response_base, writer.uint32(10).fork()).join();\n }\n if (message.gas_wanted !== 0n) {\n if (BigInt.asIntN(64, message.gas_wanted) !== message.gas_wanted) {\n throw new globalThis.Error(\"value provided for field message.gas_wanted of type sint64 too large\");\n }\n writer.uint32(16).sint64(message.gas_wanted);\n }\n if (message.gas_used !== 0n) {\n if (BigInt.asIntN(64, message.gas_used) !== message.gas_used) {\n throw new globalThis.Error(\"value provided for field message.gas_used of type sint64 too large\");\n }\n writer.uint32(24).sint64(message.gas_used);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ResponseDeliverTx {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResponseDeliverTx();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.response_base = ResponseBase.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.gas_wanted = reader.sint64() as bigint;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.gas_used = reader.sint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ResponseDeliverTx {\n return {\n response_base: isSet(object.ResponseBase)\n ? ResponseBase.fromJSON(object.ResponseBase)\n : isSet(object.response_base)\n ? ResponseBase.fromJSON(object.response_base)\n : undefined,\n gas_wanted: isSet(object.GasWanted)\n ? BigInt(object.GasWanted)\n : isSet(object.gas_wanted)\n ? BigInt(object.gas_wanted)\n : 0n,\n gas_used: isSet(object.GasUsed) ? BigInt(object.GasUsed) : isSet(object.gas_used) ? BigInt(object.gas_used) : 0n,\n };\n },\n\n toJSON(message: ResponseDeliverTx): unknown {\n const obj: any = {};\n if (message.response_base !== undefined) {\n obj.ResponseBase = ResponseBase.toJSON(message.response_base);\n }\n if (message.gas_wanted !== undefined) {\n obj.GasWanted = message.gas_wanted.toString();\n }\n if (message.gas_used !== undefined) {\n obj.GasUsed = message.gas_used.toString();\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<ResponseDeliverTx>, I>>(base?: I): ResponseDeliverTx {\n return ResponseDeliverTx.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ResponseDeliverTx>, I>>(object: I): ResponseDeliverTx {\n const message = createBaseResponseDeliverTx();\n message.response_base = (object.response_base !== undefined && object.response_base !== null)\n ? ResponseBase.fromPartial(object.response_base)\n : undefined;\n message.gas_wanted = object.gas_wanted ?? 0n;\n message.gas_used = object.gas_used ?? 0n;\n return message;\n },\n};\n\nfunction createBaseResponseBase(): ResponseBase {\n return { error: undefined, data: new Uint8Array(0), events: [], log: \"\", info: \"\" };\n}\n\nexport const ResponseBase: MessageFns<ResponseBase> = {\n encode(message: ResponseBase, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.error !== undefined) {\n Any.encode(message.error, writer.uint32(10).fork()).join();\n }\n if (message.data.length !== 0) {\n writer.uint32(18).bytes(message.data);\n }\n for (const v of message.events) {\n Any.encode(v!, writer.uint32(26).fork()).join();\n }\n if (message.log !== \"\") {\n writer.uint32(34).string(message.log);\n }\n if (message.info !== \"\") {\n writer.uint32(42).string(message.info);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ResponseBase {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResponseBase();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.error = Any.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.data = reader.bytes();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.events.push(Any.decode(reader, reader.uint32()));\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.log = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.info = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ResponseBase {\n return {\n error: isSet(object.Error)\n ? Any.fromJSON(object.Error)\n : isSet(object.error)\n ? Any.fromJSON(object.error)\n : undefined,\n data: isSet(object.Data)\n ? bytesFromBase64(object.Data)\n : isSet(object.data)\n ? bytesFromBase64(object.data)\n : new Uint8Array(0),\n events: globalThis.Array.isArray(object?.Events)\n ? object.Events.map((e: any) => Any.fromJSON(e))\n : globalThis.Array.isArray(object?.events)\n ? object.events.map((e: any) => Any.fromJSON(e))\n : [],\n log: isSet(object.Log) ? globalThis.String(object.Log) : isSet(object.log) ? globalThis.String(object.log) : \"\",\n info: isSet(object.Info)\n ? globalThis.String(object.Info)\n : isSet(object.info)\n ? globalThis.String(object.info)\n : \"\",\n };\n },\n\n toJSON(message: ResponseBase): unknown {\n const obj: any = {};\n if (message.error !== undefined) {\n obj.Error = Any.toJSON(message.error);\n }\n if (message.data !== undefined) {\n obj.Data = base64FromBytes(message.data);\n }\n if (message.events?.length) {\n obj.Events = message.events.map((e) => Any.toJSON(e));\n }\n if (message.log !== undefined) {\n obj.Log = message.log;\n }\n if (message.info !== undefined) {\n obj.Info = message.info;\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<ResponseBase>, I>>(base?: I): ResponseBase {\n return ResponseBase.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ResponseBase>, I>>(object: I): ResponseBase {\n const message = createBaseResponseBase();\n message.error = (object.error !== undefined && object.error !== null) ? Any.fromPartial(object.error) : undefined;\n message.data = object.data ?? new Uint8Array(0);\n message.events = object.events?.map((e) => Any.fromPartial(e)) || [];\n message.log = object.log ?? \"\";\n message.info = object.info ?? \"\";\n return message;\n },\n};\n\nfunction bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any):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
+ {"version":3,"file":"abci.cjs","names":["BinaryWriter","BinaryReader","Any"],"sources":["../../../src/proto/tm2/abci.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.6\n// protoc v6.33.4\n// source: tm2/abci.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Any } from \"../google/protobuf/any.js\";\n\nexport const protobufPackage = \"tm2.abci\";\n\nexport interface ResponseDeliverTx {\n response_base?: ResponseBase | undefined;\n gas_wanted: bigint;\n gas_used: bigint;\n}\n\nexport interface ResponseBase {\n error?: Any | undefined;\n data: Uint8Array;\n events: Any[];\n log: string;\n info: string;\n}\n\nfunction createBaseResponseDeliverTx(): ResponseDeliverTx {\n return { response_base: undefined, gas_wanted: 0n, gas_used: 0n };\n}\n\nexport const ResponseDeliverTx: MessageFns<ResponseDeliverTx> = {\n encode(message: ResponseDeliverTx, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.response_base !== undefined) {\n ResponseBase.encode(message.response_base, writer.uint32(10).fork()).join();\n }\n if (message.gas_wanted !== 0n) {\n if (BigInt.asIntN(64, message.gas_wanted) !== message.gas_wanted) {\n throw new globalThis.Error(\"value provided for field message.gas_wanted of type sint64 too large\");\n }\n writer.uint32(16).sint64(message.gas_wanted);\n }\n if (message.gas_used !== 0n) {\n if (BigInt.asIntN(64, message.gas_used) !== message.gas_used) {\n throw new globalThis.Error(\"value provided for field message.gas_used of type sint64 too large\");\n }\n writer.uint32(24).sint64(message.gas_used);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ResponseDeliverTx {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResponseDeliverTx();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.response_base = ResponseBase.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.gas_wanted = reader.sint64() as bigint;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.gas_used = reader.sint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ResponseDeliverTx {\n return {\n response_base: isSet(object.ResponseBase) ? ResponseBase.fromJSON(object.ResponseBase) : undefined,\n gas_wanted: isSet(object.GasWanted) ? BigInt(object.GasWanted) : 0n,\n gas_used: isSet(object.GasUsed) ? BigInt(object.GasUsed) : 0n,\n };\n },\n\n toJSON(message: ResponseDeliverTx): unknown {\n const obj: any = {};\n if (message.response_base !== undefined) {\n obj.ResponseBase = ResponseBase.toJSON(message.response_base);\n }\n if (message.gas_wanted !== undefined) {\n obj.GasWanted = message.gas_wanted.toString();\n }\n if (message.gas_used !== undefined) {\n obj.GasUsed = message.gas_used.toString();\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<ResponseDeliverTx>, I>>(base?: I): ResponseDeliverTx {\n return ResponseDeliverTx.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ResponseDeliverTx>, I>>(object: I): ResponseDeliverTx {\n const message = createBaseResponseDeliverTx();\n message.response_base = (object.response_base !== undefined && object.response_base !== null)\n ? ResponseBase.fromPartial(object.response_base)\n : undefined;\n message.gas_wanted = object.gas_wanted ?? 0n;\n message.gas_used = object.gas_used ?? 0n;\n return message;\n },\n};\n\nfunction createBaseResponseBase(): ResponseBase {\n return { error: undefined, data: new Uint8Array(0), events: [], log: \"\", info: \"\" };\n}\n\nexport const ResponseBase: MessageFns<ResponseBase> = {\n encode(message: ResponseBase, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.error !== undefined) {\n Any.encode(message.error, writer.uint32(10).fork()).join();\n }\n if (message.data.length !== 0) {\n writer.uint32(18).bytes(message.data);\n }\n for (const v of message.events) {\n Any.encode(v!, writer.uint32(26).fork()).join();\n }\n if (message.log !== \"\") {\n writer.uint32(34).string(message.log);\n }\n if (message.info !== \"\") {\n writer.uint32(42).string(message.info);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ResponseBase {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResponseBase();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.error = Any.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.data = reader.bytes();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.events.push(Any.decode(reader, reader.uint32()));\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.log = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.info = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ResponseBase {\n return {\n error: isSet(object.Error) ? Any.fromJSON(object.Error) : undefined,\n data: isSet(object.Data) ? bytesFromBase64(object.Data) : new Uint8Array(0),\n events: globalThis.Array.isArray(object?.Events) ? object.Events.map((e: any) => Any.fromJSON(e)) : [],\n log: isSet(object.Log) ? globalThis.String(object.Log) : \"\",\n info: isSet(object.Info) ? globalThis.String(object.Info) : \"\",\n };\n },\n\n toJSON(message: ResponseBase): unknown {\n const obj: any = {};\n if (message.error !== undefined) {\n obj.Error = Any.toJSON(message.error);\n }\n if (message.data !== undefined) {\n obj.Data = base64FromBytes(message.data);\n }\n if (message.events?.length) {\n obj.Events = message.events.map((e) => Any.toJSON(e));\n }\n if (message.log !== undefined) {\n obj.Log = message.log;\n }\n if (message.info !== undefined) {\n obj.Info = message.info;\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<ResponseBase>, I>>(base?: I): ResponseBase {\n return ResponseBase.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ResponseBase>, I>>(object: I): ResponseBase {\n const message = createBaseResponseBase();\n message.error = (object.error !== undefined && object.error !== null) ? Any.fromPartial(object.error) : undefined;\n message.data = object.data ?? new Uint8Array(0);\n message.events = object.events?.map((e) => Any.fromPartial(e)) || [];\n message.log = object.log ?? \"\";\n message.info = object.info ?? \"\";\n return message;\n },\n};\n\nfunction bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"],"mappings":";;;AA0BA,SAAS,8BAAiD;AACxD,QAAO;EAAE,eAAe;EAAW,YAAY;EAAI,UAAU;EAAI;;AAGnE,MAAa,oBAAmD;CAC9D,OAAO,SAA4B,SAAuB,IAAIA,wBAAAA,cAAc,EAAgB;AAC1F,MAAI,QAAQ,kBAAkB,OAC5B,cAAa,OAAO,QAAQ,eAAe,OAAO,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM;AAE7E,MAAI,QAAQ,eAAe,IAAI;AAC7B,OAAI,OAAO,OAAO,IAAI,QAAQ,WAAW,KAAK,QAAQ,WACpD,OAAM,IAAI,WAAW,MAAM,uEAAuE;AAEpG,UAAO,OAAO,GAAG,CAAC,OAAO,QAAQ,WAAW;;AAE9C,MAAI,QAAQ,aAAa,IAAI;AAC3B,OAAI,OAAO,OAAO,IAAI,QAAQ,SAAS,KAAK,QAAQ,SAClD,OAAM,IAAI,WAAW,MAAM,qEAAqE;AAElG,UAAO,OAAO,GAAG,CAAC,OAAO,QAAQ,SAAS;;AAE5C,SAAO;;CAGT,OAAO,OAAkC,QAAoC;EAC3E,MAAM,SAAS,iBAAiBC,wBAAAA,eAAe,QAAQ,IAAIA,wBAAAA,aAAa,MAAM;EAC9E,MAAM,MAAM,WAAW,SAAY,OAAO,MAAM,OAAO,MAAM;EAC7D,MAAM,UAAU,6BAA6B;AAC7C,SAAO,OAAO,MAAM,KAAK;GACvB,MAAM,MAAM,OAAO,QAAQ;AAC3B,WAAQ,QAAQ,GAAhB;IACE,KAAK;AACH,SAAI,QAAQ,GACV;AAGF,aAAQ,gBAAgB,aAAa,OAAO,QAAQ,OAAO,QAAQ,CAAC;AACpE;IAEF,KAAK;AACH,SAAI,QAAQ,GACV;AAGF,aAAQ,aAAa,OAAO,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OAAO,OAAO,QAAQ;AAC9B,SAAO;;CAEV;AAED,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAO,WAAW,KAAM,WAAmB,OAAO,KAAK,KAAK,SAAS,CAAC;MACjE;EACL,MAAM,MAAM,WAAW,KAAK,IAAI;EAChC,MAAM,MAAM,IAAI,WAAW,IAAI,OAAO;AACtC,OAAK,IAAI,IAAI,GAAG,IAAI,IAAI,QAAQ,EAAE,EAChC,KAAI,KAAK,IAAI,WAAW,EAAE;AAE5B,SAAO;;;AAIX,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAQ,WAAmB,OAAO,KAAK,IAAI,CAAC,SAAS,SAAS;MACzD;EACL,MAAM,MAAgB,EAAE;AACxB,MAAI,SAAS,SAAS;AACpB,OAAI,KAAK,WAAW,OAAO,aAAa,KAAK,CAAC;IAC9C;AACF,SAAO,WAAW,KAAK,IAAI,KAAK,GAAG,CAAC;;;AAgBxC,SAAS,MAAM,OAAqB;AAClC,QAAO,UAAU,QAAQ,UAAU"}
@@ -2,6 +2,7 @@ import { Any } from "../google/protobuf/any.cjs";
2
2
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
3
3
 
4
4
  //#region src/proto/tm2/abci.d.ts
5
+ declare const protobufPackage = "tm2.abci";
5
6
  interface ResponseDeliverTx {
6
7
  response_base?: ResponseBase | undefined;
7
8
  gas_wanted: bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"abci.d.cts","names":[],"sources":["../../../src/proto/tm2/abci.ts"],"mappings":";;;;UAYiB,iBAAA;EACf,aAAA,GAAgB,YAAA;EAChB,UAAA;EACA,QAAA;AAAA;AAAA,UAGe,YAAA;EACf,KAAA,GAAQ,GAAA;EACR,IAAA,EAAM,UAAA;EACN,MAAA,EAAQ,GAAA;EACR,GAAA;EACA,IAAA;AAAA;AAAA,cAOW,iBAAA,EAAmB,UAAA,CAAW,iBAAA;AAAA,cA4G9B,YAAA,EAAc,UA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I,CAAA;AAAA"}
@@ -2,6 +2,7 @@ import { Any } from "../google/protobuf/any.mjs";
2
2
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
3
3
 
4
4
  //#region src/proto/tm2/abci.d.ts
5
+ declare const protobufPackage = "tm2.abci";
5
6
  interface ResponseDeliverTx {
6
7
  response_base?: ResponseBase | undefined;
7
8
  gas_wanted: bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"abci.d.mts","names":[],"sources":["../../../src/proto/tm2/abci.ts"],"mappings":";;;;UAYiB,iBAAA;EACf,aAAA,GAAgB,YAAA;EAChB,UAAA;EACA,QAAA;AAAA;AAAA,UAGe,YAAA;EACf,KAAA,GAAQ,GAAA;EACR,IAAA,EAAM,UAAA;EACN,MAAA,EAAQ,GAAA;EACR,GAAA;EACA,IAAA;AAAA;AAAA,cAOW,iBAAA,EAAmB,UAAA,CAAW,iBAAA;AAAA,cA4G9B,YAAA,EAAc,UAAA,CAAW,YAAA;AAAA,KAiKjC,OAAA,GAAU,IAAA,GAAO,QAAA,GAAW,UAAA;AAAA,KAErB,WAAA,MAAiB,CAAA,SAAU,OAAA,GAAU,CAAA,GAC7C,CAAA,SAAU,UAAA,CAAW,KAAA,YAAiB,UAAA,CAAW,KAAA,CAAM,WAAA,CAAY,CAAA,KACnE,CAAA,SAAU,aAAA,YAAyB,aAAA,CAAc,WAAA,CAAY,CAAA,KAC7D,CAAA,4BAA6B,CAAA,IAAK,WAAA,CAAY,CAAA,CAAE,CAAA,OAChD,OAAA,CAAQ,CAAA;AAAA,KAEP,WAAA,MAAiB,CAAA,SAAU,CAAA,SAAU,CAAA;AAAA,KAC9B,KAAA,cAAmB,CAAA,IAAK,CAAA,SAAU,OAAA,GAAU,CAAA,GACpD,CAAA,iBAAkB,CAAA,GAAI,KAAA,CAAM,CAAA,CAAE,CAAA,GAAI,CAAA,CAAE,CAAA,eAAgB,OAAA,OAAc,CAAA,EAAG,WAAA,CAAY,CAAA;AAAA,UAMpE,UAAA;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A,SAAU,OAAA,GAAU,CAAA,GACpD,CAAA,iBAAkB,CAAA,GAAI,KAAA,CAAM,CAAA,CAAE,CAAA,GAAI,CAAA,CAAE,CAAA,eAAgB,OAAA,OAAc,CAAA,EAAG,WAAA,CAAY,CAAA;AAAA,UAMpE,UAAA;EACf,MAAA,CAAO,OAAA,EAAS,CAAA,EAAG,MAAA,GAAS,YAAA,GAAe,YAAA;EAC3C,MAAA,CAAO,KAAA,EAAO,YAAA,GAAe,UAAA,EAAY,MAAA,YAAkB,CAAA;EAC3D,QAAA,CAAS,MAAA,QAAc,CAAA;EACvB,MAAA,CAAO,OAAA,EAAS,CAAA;EAChB,MAAA,WAAiB,KAAA,CAAM,WAAA,CAAY,CAAA,GAAI,CAAA,GAAI,IAAA,GAAO,CAAA,GAAI,CAAA;EACtD,WAAA,WAAsB,KAAA,CAAM,WAAA,CAAY,CAAA,GAAI,CAAA,GAAI,MAAA,EAAQ,CAAA,GAAI,CAAA;AAAA"}
@@ -1,6 +1,5 @@
1
1
  import { Any } from "../google/protobuf/any.mjs";
2
2
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
3
- //#region src/proto/tm2/abci.ts
4
3
  function createBaseResponseDeliverTx() {
5
4
  return {
6
5
  response_base: void 0,
@@ -48,9 +47,9 @@ const ResponseDeliverTx = {
48
47
  },
49
48
  fromJSON(object) {
50
49
  return {
51
- response_base: isSet(object.ResponseBase) ? ResponseBase.fromJSON(object.ResponseBase) : isSet(object.response_base) ? ResponseBase.fromJSON(object.response_base) : void 0,
52
- gas_wanted: isSet(object.GasWanted) ? BigInt(object.GasWanted) : isSet(object.gas_wanted) ? BigInt(object.gas_wanted) : 0n,
53
- gas_used: isSet(object.GasUsed) ? BigInt(object.GasUsed) : isSet(object.gas_used) ? BigInt(object.gas_used) : 0n
50
+ response_base: isSet(object.ResponseBase) ? ResponseBase.fromJSON(object.ResponseBase) : void 0,
51
+ gas_wanted: isSet(object.GasWanted) ? BigInt(object.GasWanted) : 0n,
52
+ gas_used: isSet(object.GasUsed) ? BigInt(object.GasUsed) : 0n
54
53
  };
55
54
  },
56
55
  toJSON(message) {
@@ -124,11 +123,11 @@ const ResponseBase = {
124
123
  },
125
124
  fromJSON(object) {
126
125
  return {
127
- error: isSet(object.Error) ? Any.fromJSON(object.Error) : isSet(object.error) ? Any.fromJSON(object.error) : void 0,
128
- data: isSet(object.Data) ? bytesFromBase64(object.Data) : isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(0),
129
- events: globalThis.Array.isArray(object?.Events) ? object.Events.map((e) => Any.fromJSON(e)) : globalThis.Array.isArray(object?.events) ? object.events.map((e) => Any.fromJSON(e)) : [],
130
- log: isSet(object.Log) ? globalThis.String(object.Log) : isSet(object.log) ? globalThis.String(object.log) : "",
131
- info: isSet(object.Info) ? globalThis.String(object.Info) : isSet(object.info) ? globalThis.String(object.info) : ""
126
+ error: isSet(object.Error) ? Any.fromJSON(object.Error) : void 0,
127
+ data: isSet(object.Data) ? bytesFromBase64(object.Data) : new Uint8Array(0),
128
+ events: globalThis.Array.isArray(object?.Events) ? object.Events.map((e) => Any.fromJSON(e)) : [],
129
+ log: isSet(object.Log) ? globalThis.String(object.Log) : "",
130
+ info: isSet(object.Info) ? globalThis.String(object.Info) : ""
132
131
  };
133
132
  },
134
133
  toJSON(message) {
@@ -1 +1 @@
1
- {"version":3,"file":"abci.mjs","names":[],"sources":["../../../src/proto/tm2/abci.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.6\n// protoc v6.33.4\n// source: tm2/abci.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Any } from \"../google/protobuf/any.js\";\n\nexport const protobufPackage = \"tm2.abci\";\n\nexport interface ResponseDeliverTx {\n response_base?: ResponseBase | undefined;\n gas_wanted: bigint;\n gas_used: bigint;\n}\n\nexport interface ResponseBase {\n error?: Any | undefined;\n data: Uint8Array;\n events: Any[];\n log: string;\n info: string;\n}\n\nfunction createBaseResponseDeliverTx(): ResponseDeliverTx {\n return { response_base: undefined, gas_wanted: 0n, gas_used: 0n };\n}\n\nexport const ResponseDeliverTx: MessageFns<ResponseDeliverTx> = {\n encode(message: ResponseDeliverTx, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.response_base !== undefined) {\n ResponseBase.encode(message.response_base, writer.uint32(10).fork()).join();\n }\n if (message.gas_wanted !== 0n) {\n if (BigInt.asIntN(64, message.gas_wanted) !== message.gas_wanted) {\n throw new globalThis.Error(\"value provided for field message.gas_wanted of type sint64 too large\");\n }\n writer.uint32(16).sint64(message.gas_wanted);\n }\n if (message.gas_used !== 0n) {\n if (BigInt.asIntN(64, message.gas_used) !== message.gas_used) {\n throw new globalThis.Error(\"value provided for field message.gas_used of type sint64 too large\");\n }\n writer.uint32(24).sint64(message.gas_used);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ResponseDeliverTx {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResponseDeliverTx();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.response_base = ResponseBase.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.gas_wanted = reader.sint64() as bigint;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.gas_used = reader.sint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ResponseDeliverTx {\n return {\n response_base: isSet(object.ResponseBase)\n ? ResponseBase.fromJSON(object.ResponseBase)\n : isSet(object.response_base)\n ? ResponseBase.fromJSON(object.response_base)\n : undefined,\n gas_wanted: isSet(object.GasWanted)\n ? BigInt(object.GasWanted)\n : isSet(object.gas_wanted)\n ? BigInt(object.gas_wanted)\n : 0n,\n gas_used: isSet(object.GasUsed) ? BigInt(object.GasUsed) : isSet(object.gas_used) ? BigInt(object.gas_used) : 0n,\n };\n },\n\n toJSON(message: ResponseDeliverTx): unknown {\n const obj: any = {};\n if (message.response_base !== undefined) {\n obj.ResponseBase = ResponseBase.toJSON(message.response_base);\n }\n if (message.gas_wanted !== undefined) {\n obj.GasWanted = message.gas_wanted.toString();\n }\n if (message.gas_used !== undefined) {\n obj.GasUsed = message.gas_used.toString();\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<ResponseDeliverTx>, I>>(base?: I): ResponseDeliverTx {\n return ResponseDeliverTx.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ResponseDeliverTx>, I>>(object: I): ResponseDeliverTx {\n const message = createBaseResponseDeliverTx();\n message.response_base = (object.response_base !== undefined && object.response_base !== null)\n ? ResponseBase.fromPartial(object.response_base)\n : undefined;\n message.gas_wanted = object.gas_wanted ?? 0n;\n message.gas_used = object.gas_used ?? 0n;\n return message;\n },\n};\n\nfunction createBaseResponseBase(): ResponseBase {\n return { error: undefined, data: new Uint8Array(0), events: [], log: \"\", info: \"\" };\n}\n\nexport const ResponseBase: MessageFns<ResponseBase> = {\n encode(message: ResponseBase, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.error !== undefined) {\n Any.encode(message.error, writer.uint32(10).fork()).join();\n }\n if (message.data.length !== 0) {\n writer.uint32(18).bytes(message.data);\n }\n for (const v of message.events) {\n Any.encode(v!, writer.uint32(26).fork()).join();\n }\n if (message.log !== \"\") {\n writer.uint32(34).string(message.log);\n }\n if (message.info !== \"\") {\n writer.uint32(42).string(message.info);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ResponseBase {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResponseBase();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.error = Any.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.data = reader.bytes();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.events.push(Any.decode(reader, reader.uint32()));\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.log = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.info = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ResponseBase {\n return {\n error: isSet(object.Error)\n ? Any.fromJSON(object.Error)\n : isSet(object.error)\n ? Any.fromJSON(object.error)\n : undefined,\n data: isSet(object.Data)\n ? bytesFromBase64(object.Data)\n : isSet(object.data)\n ? bytesFromBase64(object.data)\n : new Uint8Array(0),\n events: globalThis.Array.isArray(object?.Events)\n ? object.Events.map((e: any) => Any.fromJSON(e))\n : globalThis.Array.isArray(object?.events)\n ? object.events.map((e: any) => Any.fromJSON(e))\n : [],\n log: isSet(object.Log) ? globalThis.String(object.Log) : isSet(object.log) ? globalThis.String(object.log) : \"\",\n info: isSet(object.Info)\n ? globalThis.String(object.Info)\n : isSet(object.info)\n ? globalThis.String(object.info)\n : \"\",\n };\n },\n\n toJSON(message: ResponseBase): unknown {\n const obj: any = {};\n if (message.error !== undefined) {\n obj.Error = Any.toJSON(message.error);\n }\n if (message.data !== undefined) {\n obj.Data = base64FromBytes(message.data);\n }\n if (message.events?.length) {\n obj.Events = message.events.map((e) => Any.toJSON(e));\n }\n if (message.log !== undefined) {\n obj.Log = message.log;\n }\n if (message.info !== undefined) {\n obj.Info = message.info;\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<ResponseBase>, I>>(base?: I): ResponseBase {\n return ResponseBase.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ResponseBase>, I>>(object: I): ResponseBase {\n const message = createBaseResponseBase();\n message.error = (object.error !== undefined && object.error !== null) ? Any.fromPartial(object.error) : undefined;\n message.data = object.data ?? new Uint8Array(0);\n message.events = object.events?.map((e) => Any.fromPartial(e)) || [];\n message.log = object.log ?? \"\";\n message.info = object.info ?? \"\";\n return message;\n },\n};\n\nfunction bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n f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,YAAY,QAAS,EAAE,CAAS;;CAEtD,YAA2D,QAAyB;EAClF,MAAM,UAAU,wBAAwB;AACxC,UAAQ,QAAS,OAAO,UAAU,KAAA,KAAa,OAAO,UAAU,OAAQ,IAAI,YAAY,OAAO,MAAM,GAAG,KAAA;AACxG,UAAQ,OAAO,OAAO,QAAQ,IAAI,WAAW,EAAE;AAC/C,UAAQ,SAAS,OAAO,QAAQ,KAAK,MAAM,IAAI,YAAY,EAAE,CAAC,IAAI,EAAE;AACpE,UAAQ,MAAM,OAAO,OAAO;AAC5B,UAAQ,OAAO,OAAO,QAAQ;AAC9B,SAAO;;CAEV;AAED,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAO,WAAW,KAAM,WAAmB,OAAO,KAAK,KAAK,SAAS,CAAC;MACjE;EACL,MAAM,MAAM,WAAW,KAAK,IAAI;EAChC,MAAM,MAAM,IAAI,WAAW,IAAI,OAAO;AACtC,OAAK,IAAI,IAAI,GAAG,IAAI,IAAI,QAAQ,EAAE,EAChC,KAAI,KAAK,IAAI,WAAW,EAAE;AAE5B,SAAO;;;AAIX,SAAS,gBAAgB,KAAyB;AAChD,KAAK,WAAmB,OACtB,QAAQ,WAAmB,OAAO,KAAK,IAAI,CAAC,SAAS,SAAS;MACzD;EACL,MAAM,MAAgB,EAAE;AACxB,MAAI,SAAS,SAAS;AACpB,OAAI,KAAK,WAAW,OAAO,aAAa,KAAK,CAAC;IAC9C;AACF,SAAO,WAAW,KAAK,IAAI,KAAK,GAAG,CAAC;;;AAgBxC,SAAS,MAAM,OAAqB;AAClC,QAAO,UAAU,QAAQ,UAAU,KAAA"}
1
+ {"version":3,"file":"abci.mjs","names":[],"sources":["../../../src/proto/tm2/abci.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.6\n// protoc v6.33.4\n// source: tm2/abci.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Any } from \"../google/protobuf/any.js\";\n\nexport const protobufPackage = \"tm2.abci\";\n\nexport interface ResponseDeliverTx {\n response_base?: ResponseBase | undefined;\n gas_wanted: bigint;\n gas_used: bigint;\n}\n\nexport interface ResponseBase {\n error?: Any | undefined;\n data: Uint8Array;\n events: Any[];\n log: string;\n info: string;\n}\n\nfunction createBaseResponseDeliverTx(): ResponseDeliverTx {\n return { response_base: undefined, gas_wanted: 0n, gas_used: 0n };\n}\n\nexport const ResponseDeliverTx: MessageFns<ResponseDeliverTx> = {\n encode(message: ResponseDeliverTx, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.response_base !== undefined) {\n ResponseBase.encode(message.response_base, writer.uint32(10).fork()).join();\n }\n if (message.gas_wanted !== 0n) {\n if (BigInt.asIntN(64, message.gas_wanted) !== message.gas_wanted) {\n throw new globalThis.Error(\"value provided for field message.gas_wanted of type sint64 too large\");\n }\n writer.uint32(16).sint64(message.gas_wanted);\n }\n if (message.gas_used !== 0n) {\n if (BigInt.asIntN(64, message.gas_used) !== message.gas_used) {\n throw new globalThis.Error(\"value provided for field message.gas_used of type sint64 too large\");\n }\n writer.uint32(24).sint64(message.gas_used);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ResponseDeliverTx {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResponseDeliverTx();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.response_base = ResponseBase.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.gas_wanted = reader.sint64() as bigint;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.gas_used = reader.sint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ResponseDeliverTx {\n return {\n response_base: isSet(object.ResponseBase) ? ResponseBase.fromJSON(object.ResponseBase) : undefined,\n gas_wanted: isSet(object.GasWanted) ? BigInt(object.GasWanted) : 0n,\n gas_used: isSet(object.GasUsed) ? BigInt(object.GasUsed) : 0n,\n };\n },\n\n toJSON(message: ResponseDeliverTx): unknown {\n const obj: any = {};\n if (message.response_base !== undefined) {\n obj.ResponseBase = ResponseBase.toJSON(message.response_base);\n }\n if (message.gas_wanted !== undefined) {\n obj.GasWanted = message.gas_wanted.toString();\n }\n if (message.gas_used !== undefined) {\n obj.GasUsed = message.gas_used.toString();\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<ResponseDeliverTx>, I>>(base?: I): ResponseDeliverTx {\n return ResponseDeliverTx.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ResponseDeliverTx>, I>>(object: I): ResponseDeliverTx {\n const message = createBaseResponseDeliverTx();\n message.response_base = (object.response_base !== undefined && object.response_base !== null)\n ? ResponseBase.fromPartial(object.response_base)\n : undefined;\n message.gas_wanted = object.gas_wanted ?? 0n;\n message.gas_used = object.gas_used ?? 0n;\n return message;\n },\n};\n\nfunction createBaseResponseBase(): ResponseBase {\n return { error: undefined, data: new Uint8Array(0), events: [], log: \"\", info: \"\" };\n}\n\nexport const ResponseBase: MessageFns<ResponseBase> = {\n encode(message: ResponseBase, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.error !== undefined) {\n Any.encode(message.error, writer.uint32(10).fork()).join();\n }\n if (message.data.length !== 0) {\n writer.uint32(18).bytes(message.data);\n }\n for (const v of message.events) {\n Any.encode(v!, writer.uint32(26).fork()).join();\n }\n if (message.log !== \"\") {\n writer.uint32(34).string(message.log);\n }\n if (message.info !== \"\") {\n writer.uint32(42).string(message.info);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ResponseBase {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResponseBase();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.error = Any.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.data = reader.bytes();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.events.push(Any.decode(reader, reader.uint32()));\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.log = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.info = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ResponseBase {\n return {\n error: isSet(object.Error) ? Any.fromJSON(object.Error) : undefined,\n data: isSet(object.Data) ? bytesFromBase64(object.Data) : new Uint8Array(0),\n events: globalThis.Array.isArray(object?.Events) ? object.Events.map((e: any) => Any.fromJSON(e)) : [],\n log: isSet(object.Log) ? globalThis.String(object.Log) : \"\",\n info: isSet(object.Info) ? globalThis.String(object.Info) : \"\",\n };\n },\n\n toJSON(message: ResponseBase): unknown {\n const obj: any = {};\n if (message.error !== undefined) {\n obj.Error = Any.toJSON(message.error);\n }\n if (message.data !== undefined) {\n obj.Data = base64FromBytes(message.data);\n }\n if (message.events?.length) {\n obj.Events = message.events.map((e) => Any.toJSON(e));\n }\n if (message.log !== undefined) {\n obj.Log = message.log;\n }\n if (message.info !== undefined) {\n obj.Info = message.info;\n }\n return obj;\n },\n\n create<I extends Exact<DeepPartial<ResponseBase>, I>>(base?: I): ResponseBase {\n return ResponseBase.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ResponseBase>, I>>(object: I): ResponseBase {\n const message = createBaseResponseBase();\n message.error = (object.error !== undefined && object.error !== null) ? Any.fromPartial(object.error) : undefined;\n message.data = object.data ?? new Uint8Array(0);\n message.events = object.events?.map((e) => Any.fromPartial(e)) || [];\n message.log = object.log ?? \"\";\n message.info = object.info ?? \"\";\n return message;\n },\n};\n\nfunction bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"],"mappings":";;AA0BA,SAAS,8BAAiD;AACxD,QAAO;EAAE,eAAe;EAAW,YAAY;EAAI,UAAU;EAAI;;AAGn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D,KAAK,WAAmB,OACtB,QAAQ,WAAmB,OAAO,KAAK,IAAI,CAAC,SAAS,SAAS;MACzD;EACL,MAAM,MAAgB,EAAE;AACxB,MAAI,SAAS,SAAS;AACpB,OAAI,KAAK,WAAW,OAAO,aAAa,KAAK,CAAC;IAC9C;AACF,SAAO,WAAW,KAAK,IAAI,KAAK,GAAG,CAAC;;;AAgBxC,SAAS,MAAM,OAAqB;AAClC,QAAO,UAAU,QAAQ,UAAU"}
@@ -0,0 +1,37 @@
1
+ import { Any } from "../google/protobuf/any.cjs";
2
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
3
+
4
+ //#region src/proto/tm2/multisig.d.ts
5
+ declare const protobufPackage = "tm";
6
+ /** messages */
7
+ interface PubKeyMultisig {
8
+ k: bigint;
9
+ pub_keys: Any[];
10
+ }
11
+ interface Multisignature {
12
+ bit_array?: CompactBitArray | undefined;
13
+ sigs: Uint8Array[];
14
+ }
15
+ interface CompactBitArray {
16
+ /** The number of extra bits in elems. */
17
+ extra_bits_stored: number;
18
+ elems: Uint8Array;
19
+ }
20
+ declare const PubKeyMultisig: MessageFns<PubKeyMultisig>;
21
+ declare const Multisignature: MessageFns<Multisignature>;
22
+ declare const CompactBitArray: MessageFns<CompactBitArray>;
23
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
24
+ type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> } : Partial<T>;
25
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
26
+ type Exact<P, I extends P> = P extends Builtin ? P : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
27
+ interface MessageFns<T> {
28
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
29
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
30
+ fromJSON(object: any): T;
31
+ toJSON(message: T): unknown;
32
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
33
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
34
+ }
35
+ //#endregion
36
+ export { CompactBitArray };
37
+ //# sourceMappingURL=multisig.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multisig.d.cts","names":[],"sources":["../../../src/proto/tm2/multisig.ts"],"mappings":";;;;cAUa,eAAA;;UAGI,cAAA;EACf,CAAA;EACA,QAAA,EAAU,GAAA;AAAA;AAAA,UAGK,cAAA;EACf,SAAA,GAAY,eAAA;EACZ,IAAA,EAAM,UAAA;AAAA;AAAA,UAGS,eAAA;EATf;EAWA,iBAAA;EACA,KAAA,EAAO,UAAA;AAAA;AAAA,cAOI,cAAA,EAAgB,UAAA,CAAW,cAAA;AAAA,cA+E3B,cAAA,EAAgB,UAAA,CAAW,cAAA;AAAA,cA8E3B,eAAA,EAAiB,UAAA,CAAW,eAAA;AAAA,KAiGpC,OAAA,GAAU,IAAA,GAAO,QAAA,GAAW,UAAA;AAAA,KAErB,WAAA,MAAiB,CAAA,SAAU,OAAA,GAAU,CAAA,GAC7C,CAAA,SAAU,UAAA,CAAW,KAAA,YAAiB,UAAA,CAAW,KAAA,CAAM,WAAA,CAAY,CAAA,KACnE,CAAA,SAAU,aAAA,YAAyB,aAAA,CAAc,WAAA,CAAY,CAAA,KAC7D,CAAA,4BAA6B,CAAA,IAAK,WAAA,CAAY,CAAA,CAAE,CAAA,OAChD,OAAA,CAAQ,CAAA;AAAA,KAEP,WAAA,MAAiB,CAAA,SAAU,CAAA,SAAU,CAAA;AAAA,KAC9B,KAAA,cAAmB,CAAA,IAAK,CAAA,SAAU,OAAA,GAAU,CAAA,GACpD,CAAA,iBAAkB,CAAA,GAAI,KAAA,CAAM,CAAA,CAAE,CAAA,GAAI,CAAA,CAAE,CAAA,eAAgB,OAAA,OAAc,CAAA,EAAG,WAAA,CAA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