injectivejs 1.11.13 → 1.11.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/auth/v1beta1/auth.d.ts +70 -6
- package/cosmos/auth/v1beta1/auth.js +28 -0
- package/cosmos/auth/v1beta1/query.d.ts +362 -32
- package/cosmos/auth/v1beta1/query.js +148 -0
- package/cosmos/auth/v1beta1/query.rpc.func.d.ts +77 -0
- package/cosmos/auth/v1beta1/query.rpc.func.js +77 -27
- package/cosmos/authz/v1beta1/authz.d.ts +69 -6
- package/cosmos/authz/v1beta1/authz.js +27 -0
- package/cosmos/authz/v1beta1/tx.d.ts +94 -6
- package/cosmos/authz/v1beta1/tx.js +40 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +24 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.js +24 -9
- package/cosmos/bank/v1beta1/bank.d.ts +136 -18
- package/cosmos/bank/v1beta1/bank.js +48 -0
- package/cosmos/bank/v1beta1/query.d.ts +619 -86
- package/cosmos/bank/v1beta1/query.js +199 -0
- package/cosmos/bank/v1beta1/query.rpc.func.d.ts +115 -0
- package/cosmos/bank/v1beta1/query.rpc.func.js +115 -50
- package/cosmos/bank/v1beta1/tx.d.ts +151 -14
- package/cosmos/bank/v1beta1/tx.js +61 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +32 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.js +32 -12
- package/cosmos/base/abci/v1beta1/abci.d.ts +331 -68
- package/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/cosmos/base/query/v1beta1/pagination.d.ts +36 -0
- package/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/cosmos/base/v1beta1/coin.d.ts +56 -0
- package/cosmos/base/v1beta1/coin.js +32 -0
- package/cosmos/bundle.d.ts +8 -8
- package/cosmos/bundle.js +15 -15
- package/cosmos/crypto/ed25519/keys.d.ts +29 -0
- package/cosmos/crypto/ed25519/keys.js +17 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +29 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +34 -2
- package/cosmos/crypto/secp256k1/keys.js +16 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +42 -6
- package/cosmos/crypto/secp256r1/keys.js +12 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +201 -12
- package/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/cosmos/distribution/v1beta1/tx.d.ts +223 -10
- package/cosmos/distribution/v1beta1/tx.js +109 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +57 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.js +57 -22
- package/cosmos/feegrant/v1beta1/tx.d.ts +135 -19
- package/cosmos/feegrant/v1beta1/tx.js +41 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +22 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.js +22 -7
- package/cosmos/gov/v1/gov.d.ts +343 -80
- package/cosmos/gov/v1/gov.js +61 -0
- package/cosmos/gov/v1/tx.d.ts +376 -65
- package/cosmos/gov/v1/tx.js +96 -0
- package/cosmos/gov/v1/tx.rpc.func.d.ts +48 -0
- package/cosmos/gov/v1/tx.rpc.func.js +48 -13
- package/cosmos/gov/v1beta1/gov.d.ts +293 -61
- package/cosmos/gov/v1beta1/gov.js +59 -0
- package/cosmos/gov/v1beta1/query.d.ts +439 -82
- package/cosmos/gov/v1beta1/query.js +97 -0
- package/cosmos/gov/v1beta1/query.rpc.func.d.ts +48 -0
- package/cosmos/gov/v1beta1/query.rpc.func.js +48 -8
- package/cosmos/gov/v1beta1/tx.d.ts +213 -37
- package/cosmos/gov/v1beta1/tx.js +53 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +26 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.js +26 -6
- package/cosmos/group/v1/tx.d.ts +804 -155
- package/cosmos/group/v1/tx.js +168 -0
- package/cosmos/group/v1/tx.rpc.func.d.ts +84 -0
- package/cosmos/group/v1/tx.rpc.func.js +84 -14
- package/cosmos/group/v1/types.d.ts +398 -83
- package/cosmos/group/v1/types.js +82 -0
- package/cosmos/ics23/v1/proofs.d.ts +294 -22
- package/cosmos/ics23/v1/proofs.js +138 -0
- package/cosmos/staking/v1beta1/query.d.ts +660 -102
- package/cosmos/staking/v1beta1/query.js +186 -0
- package/cosmos/staking/v1beta1/query.rpc.func.d.ts +109 -0
- package/cosmos/staking/v1beta1/query.rpc.func.js +109 -39
- package/cosmos/staking/v1beta1/staking.d.ts +631 -117
- package/cosmos/staking/v1beta1/staking.js +153 -0
- package/cosmos/staking/v1beta1/tx.d.ts +242 -22
- package/cosmos/staking/v1beta1/tx.js +96 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +50 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.js +50 -15
- package/cosmos/tx/signing/v1beta1/signing.d.ts +135 -24
- package/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/cosmos/tx/v1beta1/service.d.ts +375 -46
- package/cosmos/tx/v1beta1/service.js +145 -0
- package/cosmos/tx/v1beta1/service.rpc.func.d.ts +64 -0
- package/cosmos/tx/v1beta1/service.rpc.func.js +64 -19
- package/cosmos/tx/v1beta1/tx.d.ts +303 -46
- package/cosmos/tx/v1beta1/tx.js +99 -0
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +120 -26
- package/cosmos/upgrade/v1beta1/upgrade.js +34 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +102 -6
- package/cosmos/vesting/v1beta1/tx.js +48 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +25 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.js +25 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +105 -8
- package/cosmos/vesting/v1beta1/vesting.js +45 -0
- package/cosmos_proto/cosmos.d.ts +31 -0
- package/cosmos_proto/cosmos.js +19 -0
- package/cosmwasm/bundle.d.ts +2 -2
- package/cosmwasm/bundle.js +3 -3
- package/cosmwasm/wasm/v1/proposal_legacy.d.ts +631 -158
- package/cosmwasm/wasm/v1/proposal_legacy.js +127 -0
- package/cosmwasm/wasm/v1/query.d.ts +615 -82
- package/cosmwasm/wasm/v1/query.js +195 -0
- package/cosmwasm/wasm/v1/query.rpc.func.d.ts +85 -0
- package/cosmwasm/wasm/v1/query.rpc.func.js +85 -15
- package/cosmwasm/wasm/v1/tx.d.ts +956 -170
- package/cosmwasm/wasm/v1/tx.js +242 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +128 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.js +128 -43
- package/cosmwasm/wasm/v1/types.d.ts +217 -40
- package/cosmwasm/wasm/v1/types.js +49 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/auth/v1beta1/auth.js +28 -0
- package/esm/cosmos/auth/v1beta1/query.js +148 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +77 -27
- package/esm/cosmos/authz/v1beta1/authz.js +27 -0
- package/esm/cosmos/authz/v1beta1/tx.js +40 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +24 -9
- package/esm/cosmos/bank/v1beta1/bank.js +48 -0
- package/esm/cosmos/bank/v1beta1/query.js +199 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +115 -50
- package/esm/cosmos/bank/v1beta1/tx.js +61 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +32 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/esm/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/esm/cosmos/base/v1beta1/coin.js +32 -0
- package/esm/cosmos/bundle.js +8 -8
- package/esm/cosmos/crypto/ed25519/keys.js +17 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +16 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +12 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/esm/cosmos/distribution/v1beta1/tx.js +109 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +57 -22
- package/esm/cosmos/feegrant/v1beta1/tx.js +41 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +22 -7
- package/esm/cosmos/gov/v1/gov.js +61 -0
- package/esm/cosmos/gov/v1/tx.js +96 -0
- package/esm/cosmos/gov/v1/tx.rpc.func.js +48 -13
- package/esm/cosmos/gov/v1beta1/gov.js +59 -0
- package/esm/cosmos/gov/v1beta1/query.js +97 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +48 -8
- package/esm/cosmos/gov/v1beta1/tx.js +53 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +26 -6
- package/esm/cosmos/group/v1/tx.js +168 -0
- package/esm/cosmos/group/v1/tx.rpc.func.js +84 -14
- package/esm/cosmos/group/v1/types.js +82 -0
- package/esm/cosmos/ics23/v1/proofs.js +138 -0
- package/esm/cosmos/staking/v1beta1/query.js +186 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +109 -39
- package/esm/cosmos/staking/v1beta1/staking.js +153 -0
- package/esm/cosmos/staking/v1beta1/tx.js +96 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +50 -15
- package/esm/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/esm/cosmos/tx/v1beta1/service.js +145 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +64 -19
- package/esm/cosmos/tx/v1beta1/tx.js +99 -0
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +34 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +48 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +25 -10
- package/esm/cosmos/vesting/v1beta1/vesting.js +45 -0
- package/esm/cosmos_proto/cosmos.js +19 -0
- package/esm/cosmwasm/bundle.js +2 -2
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +127 -0
- package/esm/cosmwasm/wasm/v1/query.js +195 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +85 -15
- package/esm/cosmwasm/wasm/v1/tx.js +242 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +128 -43
- package/esm/cosmwasm/wasm/v1/types.js +49 -0
- package/esm/extern.js +1 -1
- package/esm/google/api/http.js +283 -0
- package/esm/google/protobuf/any.js +90 -0
- package/esm/google/protobuf/descriptor.js +215 -0
- package/esm/google/protobuf/duration.js +63 -0
- package/esm/google/protobuf/timestamp.js +94 -0
- package/esm/helper-func-types.js +1 -1
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/transfer/v1/transfer.js +24 -0
- package/esm/ibc/applications/transfer/v1/tx.js +27 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +12 -2
- package/esm/ibc/bundle.js +1 -1
- package/esm/ibc/core/channel/v1/channel.js +70 -0
- package/esm/ibc/core/channel/v1/tx.js +242 -0
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +115 -20
- package/esm/ibc/core/channel/v1/upgrade.js +25 -0
- package/esm/ibc/core/client/v1/client.js +45 -0
- package/esm/ibc/core/client/v1/tx.js +90 -0
- package/esm/ibc/core/client/v1/tx.rpc.func.js +42 -7
- package/esm/ibc/core/commitment/v1/commitment.js +25 -0
- package/esm/ibc/core/connection/v1/connection.js +47 -0
- package/esm/ibc/core/connection/v1/tx.js +66 -0
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +32 -7
- package/esm/index.js +1 -1
- package/esm/injective/auction/v1beta1/auction.js +30 -0
- package/esm/injective/auction/v1beta1/genesis.js +6 -0
- package/esm/injective/auction/v1beta1/query.js +52 -0
- package/esm/injective/auction/v1beta1/query.rpc.func.js +23 -3
- package/esm/injective/auction/v1beta1/tx.js +21 -0
- package/esm/injective/auction/v1beta1/tx.rpc.func.js +11 -1
- package/esm/injective/bundle.js +14 -14
- package/esm/injective/crypto/v1beta1/ethsecp256k1/keys.js +15 -0
- package/esm/injective/exchange/v1beta1/authz.js +58 -0
- package/esm/injective/exchange/v1beta1/events.js +180 -0
- package/esm/injective/exchange/v1beta1/exchange.js +263 -0
- package/esm/injective/exchange/v1beta1/genesis.js +89 -0
- package/esm/injective/exchange/v1beta1/proposal.js +113 -0
- package/esm/injective/exchange/v1beta1/query.js +864 -0
- package/esm/injective/exchange/v1beta1/query.rpc.func.js +364 -64
- package/esm/injective/exchange/v1beta1/tx.js +487 -0
- package/esm/injective/exchange/v1beta1/tx.rpc.func.js +228 -53
- package/esm/injective/insurance/v1beta1/events.js +25 -0
- package/esm/injective/insurance/v1beta1/genesis.js +6 -0
- package/esm/injective/insurance/v1beta1/insurance.js +15 -0
- package/esm/injective/insurance/v1beta1/query.js +84 -0
- package/esm/injective/insurance/v1beta1/query.rpc.func.js +37 -7
- package/esm/injective/insurance/v1beta1/tx.js +46 -0
- package/esm/injective/insurance/v1beta1/tx.rpc.func.js +25 -5
- package/esm/injective/ocr/v1beta1/genesis.js +41 -0
- package/esm/injective/ocr/v1beta1/ocr.js +108 -0
- package/esm/injective/ocr/v1beta1/query.js +70 -0
- package/esm/injective/ocr/v1beta1/query.rpc.func.js +42 -7
- package/esm/injective/ocr/v1beta1/tx.js +90 -0
- package/esm/injective/ocr/v1beta1/tx.rpc.func.js +57 -12
- package/esm/injective/oracle/v1beta1/events.js +56 -0
- package/esm/injective/oracle/v1beta1/genesis.js +11 -0
- package/esm/injective/oracle/v1beta1/oracle.js +122 -0
- package/esm/injective/oracle/v1beta1/proposal.js +55 -0
- package/esm/injective/oracle/v1beta1/query.js +240 -0
- package/esm/injective/oracle/v1beta1/query.rpc.func.js +98 -13
- package/esm/injective/oracle/v1beta1/tx.js +93 -0
- package/esm/injective/oracle/v1beta1/tx.rpc.func.js +52 -12
- package/esm/injective/peggy/v1/attestation.js +31 -0
- package/esm/injective/peggy/v1/batch.js +12 -0
- package/esm/injective/peggy/v1/events.js +85 -0
- package/esm/injective/peggy/v1/genesis.js +6 -0
- package/esm/injective/peggy/v1/msgs.js +223 -0
- package/esm/injective/peggy/v1/msgs.rpc.func.js +73 -3
- package/esm/injective/peggy/v1/params.js +5 -0
- package/esm/injective/peggy/v1/pool.js +11 -0
- package/esm/injective/peggy/v1/proposal.js +10 -0
- package/esm/injective/peggy/v1/query.js +214 -0
- package/esm/injective/peggy/v1/query.rpc.func.js +110 -5
- package/esm/injective/peggy/v1/types.js +37 -0
- package/esm/injective/permissions/v1beta1/events.js +5 -0
- package/esm/injective/permissions/v1beta1/genesis.js +6 -0
- package/esm/injective/permissions/v1beta1/params.js +6 -0
- package/esm/injective/permissions/v1beta1/permissions.js +33 -0
- package/esm/injective/permissions/v1beta1/query.js +74 -0
- package/esm/injective/permissions/v1beta1/query.rpc.func.js +43 -13
- package/esm/injective/permissions/v1beta1/tx.js +90 -0
- package/esm/injective/permissions/v1beta1/tx.rpc.func.js +35 -0
- package/esm/injective/stream/v1beta1/query.js +110 -0
- package/esm/injective/tokenfactory/v1beta1/authorityMetadata.js +8 -0
- package/esm/injective/tokenfactory/v1beta1/events.js +25 -0
- package/esm/injective/tokenfactory/v1beta1/genesis.js +14 -0
- package/esm/injective/tokenfactory/v1beta1/params.js +6 -0
- package/esm/injective/tokenfactory/v1beta1/query.js +54 -0
- package/esm/injective/tokenfactory/v1beta1/query.rpc.func.js +27 -7
- package/esm/injective/tokenfactory/v1beta1/tx.js +83 -0
- package/esm/injective/tokenfactory/v1beta1/tx.rpc.func.js +30 -0
- package/esm/injective/types/v1beta1/account.js +7 -0
- package/esm/injective/types/v1beta1/tx_ext.js +5 -0
- package/esm/injective/types/v1beta1/tx_response.js +13 -0
- package/esm/injective/wasmx/v1/events.js +15 -0
- package/esm/injective/wasmx/v1/genesis.js +11 -0
- package/esm/injective/wasmx/v1/proposal.js +25 -0
- package/esm/injective/wasmx/v1/query.js +39 -0
- package/esm/injective/wasmx/v1/query.rpc.func.js +18 -3
- package/esm/injective/wasmx/v1/tx.js +63 -0
- package/esm/injective/wasmx/v1/tx.rpc.func.js +30 -0
- package/esm/injective/wasmx/v1/wasmx.js +10 -0
- package/esm/registry.js +1 -1
- package/esm/tendermint/abci/types.js +255 -0
- package/esm/tendermint/crypto/keys.js +6 -0
- package/esm/tendermint/crypto/proof.js +29 -0
- package/esm/tendermint/types/block.js +5 -0
- package/esm/tendermint/types/evidence.js +22 -0
- package/esm/tendermint/types/params.js +46 -0
- package/esm/tendermint/types/types.js +87 -0
- package/esm/tendermint/types/validator.js +15 -0
- package/esm/tendermint/version/types.js +16 -0
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/google/api/http.d.ts +343 -14
- package/google/api/http.js +283 -0
- package/google/protobuf/any.d.ts +102 -2
- package/google/protobuf/any.js +90 -0
- package/google/protobuf/descriptor.d.ts +715 -86
- package/google/protobuf/descriptor.js +215 -0
- package/google/protobuf/duration.d.ts +69 -0
- package/google/protobuf/duration.js +63 -0
- package/google/protobuf/timestamp.d.ts +100 -0
- package/google/protobuf/timestamp.js +94 -0
- package/helper-func-types.d.ts +1 -1
- package/helper-func-types.js +1 -1
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/transfer.d.ts +54 -4
- package/ibc/applications/transfer/v1/transfer.js +24 -0
- package/ibc/applications/transfer/v1/tx.d.ts +125 -26
- package/ibc/applications/transfer/v1/tx.js +27 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +12 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.js +12 -2
- package/ibc/bundle.d.ts +1 -1
- package/ibc/bundle.js +2 -2
- package/ibc/core/channel/v1/channel.d.ts +316 -64
- package/ibc/core/channel/v1/channel.js +70 -0
- package/ibc/core/channel/v1/tx.d.ts +676 -70
- package/ibc/core/channel/v1/tx.js +242 -0
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +115 -0
- package/ibc/core/channel/v1/tx.rpc.func.js +115 -20
- package/ibc/core/channel/v1/upgrade.d.ts +55 -4
- package/ibc/core/channel/v1/upgrade.js +25 -0
- package/ibc/core/client/v1/client.d.ts +129 -18
- package/ibc/core/client/v1/client.js +45 -0
- package/ibc/core/client/v1/tx.d.ts +338 -56
- package/ibc/core/client/v1/tx.js +90 -0
- package/ibc/core/client/v1/tx.rpc.func.d.ts +42 -0
- package/ibc/core/client/v1/tx.rpc.func.js +42 -7
- package/ibc/core/commitment/v1/commitment.d.ts +43 -0
- package/ibc/core/commitment/v1/commitment.js +25 -0
- package/ibc/core/connection/v1/connection.d.ts +197 -36
- package/ibc/core/connection/v1/connection.js +47 -0
- package/ibc/core/connection/v1/tx.d.ts +250 -56
- package/ibc/core/connection/v1/tx.js +66 -0
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +32 -0
- package/ibc/core/connection/v1/tx.rpc.func.js +32 -7
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/injective/auction/v1beta1/auction.d.ts +168 -26
- package/injective/auction/v1beta1/auction.js +30 -0
- package/injective/auction/v1beta1/genesis.d.ts +48 -12
- package/injective/auction/v1beta1/genesis.js +6 -0
- package/injective/auction/v1beta1/query.d.ts +138 -10
- package/injective/auction/v1beta1/query.js +52 -0
- package/injective/auction/v1beta1/query.rpc.func.d.ts +23 -0
- package/injective/auction/v1beta1/query.rpc.func.js +23 -3
- package/injective/auction/v1beta1/tx.d.ts +81 -8
- package/injective/auction/v1beta1/tx.js +21 -0
- package/injective/auction/v1beta1/tx.rpc.func.d.ts +11 -0
- package/injective/auction/v1beta1/tx.rpc.func.js +11 -1
- package/injective/bundle.d.ts +14 -14
- package/injective/bundle.js +18 -18
- package/injective/crypto/v1beta1/ethsecp256k1/keys.d.ts +27 -0
- package/injective/crypto/v1beta1/ethsecp256k1/keys.js +15 -0
- package/injective/exchange/v1beta1/authz.d.ts +174 -6
- package/injective/exchange/v1beta1/authz.js +58 -0
- package/injective/exchange/v1beta1/events.d.ts +546 -2
- package/injective/exchange/v1beta1/events.js +180 -0
- package/injective/exchange/v1beta1/exchange.d.ts +1305 -188
- package/injective/exchange/v1beta1/exchange.js +263 -0
- package/injective/exchange/v1beta1/genesis.d.ts +357 -38
- package/injective/exchange/v1beta1/genesis.js +89 -0
- package/injective/exchange/v1beta1/proposal.d.ts +589 -94
- package/injective/exchange/v1beta1/proposal.js +113 -0
- package/injective/exchange/v1beta1/query.d.ts +2162 -136
- package/injective/exchange/v1beta1/query.js +864 -0
- package/injective/exchange/v1beta1/query.rpc.func.d.ts +364 -0
- package/injective/exchange/v1beta1/query.rpc.func.js +364 -64
- package/injective/exchange/v1beta1/tx.d.ts +1503 -170
- package/injective/exchange/v1beta1/tx.js +487 -0
- package/injective/exchange/v1beta1/tx.rpc.func.d.ts +228 -0
- package/injective/exchange/v1beta1/tx.rpc.func.js +228 -53
- package/injective/insurance/v1beta1/events.d.ts +111 -12
- package/injective/insurance/v1beta1/events.js +25 -0
- package/injective/insurance/v1beta1/genesis.d.ts +30 -6
- package/injective/insurance/v1beta1/genesis.js +6 -0
- package/injective/insurance/v1beta1/insurance.d.ts +117 -24
- package/injective/insurance/v1beta1/insurance.js +15 -0
- package/injective/insurance/v1beta1/query.d.ts +162 -2
- package/injective/insurance/v1beta1/query.js +84 -0
- package/injective/insurance/v1beta1/query.rpc.func.d.ts +37 -0
- package/injective/insurance/v1beta1/query.rpc.func.js +37 -7
- package/injective/insurance/v1beta1/tx.d.ts +186 -24
- package/injective/insurance/v1beta1/tx.js +46 -0
- package/injective/insurance/v1beta1/tx.rpc.func.d.ts +25 -0
- package/injective/insurance/v1beta1/tx.rpc.func.js +25 -5
- package/injective/ocr/v1beta1/genesis.d.ts +171 -18
- package/injective/ocr/v1beta1/genesis.js +41 -0
- package/injective/ocr/v1beta1/ocr.d.ts +514 -68
- package/injective/ocr/v1beta1/ocr.js +108 -0
- package/injective/ocr/v1beta1/query.d.ts +210 -0
- package/injective/ocr/v1beta1/query.js +70 -0
- package/injective/ocr/v1beta1/query.rpc.func.d.ts +42 -0
- package/injective/ocr/v1beta1/query.rpc.func.js +42 -7
- package/injective/ocr/v1beta1/tx.d.ts +360 -30
- package/injective/ocr/v1beta1/tx.js +90 -0
- package/injective/ocr/v1beta1/tx.rpc.func.d.ts +57 -0
- package/injective/ocr/v1beta1/tx.rpc.func.js +57 -12
- package/injective/oracle/v1beta1/events.d.ts +174 -4
- package/injective/oracle/v1beta1/events.js +56 -0
- package/injective/oracle/v1beta1/genesis.d.ts +39 -4
- package/injective/oracle/v1beta1/genesis.js +11 -0
- package/injective/oracle/v1beta1/oracle.d.ts +514 -52
- package/injective/oracle/v1beta1/oracle.js +122 -0
- package/injective/oracle/v1beta1/proposal.d.ts +165 -0
- package/injective/oracle/v1beta1/proposal.js +55 -0
- package/injective/oracle/v1beta1/query.d.ts +502 -0
- package/injective/oracle/v1beta1/query.js +240 -0
- package/injective/oracle/v1beta1/query.rpc.func.d.ts +98 -0
- package/injective/oracle/v1beta1/query.rpc.func.js +98 -13
- package/injective/oracle/v1beta1/tx.d.ts +251 -10
- package/injective/oracle/v1beta1/tx.js +93 -0
- package/injective/oracle/v1beta1/tx.rpc.func.d.ts +52 -0
- package/injective/oracle/v1beta1/tx.rpc.func.js +52 -12
- package/injective/peggy/v1/attestation.d.ts +43 -0
- package/injective/peggy/v1/attestation.js +31 -0
- package/injective/peggy/v1/batch.d.ts +36 -4
- package/injective/peggy/v1/batch.js +12 -0
- package/injective/peggy/v1/events.d.ts +255 -0
- package/injective/peggy/v1/events.js +85 -0
- package/injective/peggy/v1/genesis.d.ts +18 -2
- package/injective/peggy/v1/genesis.js +6 -0
- package/injective/peggy/v1/msgs.d.ts +473 -10
- package/injective/peggy/v1/msgs.js +223 -0
- package/injective/peggy/v1/msgs.rpc.func.d.ts +73 -0
- package/injective/peggy/v1/msgs.rpc.func.js +73 -3
- package/injective/peggy/v1/params.d.ts +15 -0
- package/injective/peggy/v1/params.js +5 -0
- package/injective/peggy/v1/pool.d.ts +33 -2
- package/injective/peggy/v1/pool.js +11 -0
- package/injective/peggy/v1/proposal.d.ts +30 -0
- package/injective/peggy/v1/proposal.js +10 -0
- package/injective/peggy/v1/query.d.ts +626 -0
- package/injective/peggy/v1/query.js +214 -0
- package/injective/peggy/v1/query.rpc.func.d.ts +110 -0
- package/injective/peggy/v1/query.rpc.func.js +110 -5
- package/injective/peggy/v1/types.d.ts +85 -6
- package/injective/peggy/v1/types.js +37 -0
- package/injective/permissions/v1beta1/events.d.ts +15 -0
- package/injective/permissions/v1beta1/events.js +5 -0
- package/injective/permissions/v1beta1/genesis.d.ts +24 -4
- package/injective/permissions/v1beta1/genesis.js +6 -0
- package/injective/permissions/v1beta1/params.d.ts +18 -2
- package/injective/permissions/v1beta1/params.js +6 -0
- package/injective/permissions/v1beta1/permissions.d.ts +117 -12
- package/injective/permissions/v1beta1/permissions.js +33 -0
- package/injective/permissions/v1beta1/query.d.ts +180 -6
- package/injective/permissions/v1beta1/query.js +74 -0
- package/injective/permissions/v1beta1/query.rpc.func.d.ts +43 -0
- package/injective/permissions/v1beta1/query.rpc.func.js +43 -13
- package/injective/permissions/v1beta1/tx.d.ts +318 -16
- package/injective/permissions/v1beta1/tx.js +90 -0
- package/injective/permissions/v1beta1/tx.rpc.func.d.ts +35 -0
- package/injective/permissions/v1beta1/tx.rpc.func.js +35 -0
- package/injective/stream/v1beta1/query.d.ts +336 -2
- package/injective/stream/v1beta1/query.js +110 -0
- package/injective/tokenfactory/v1beta1/authorityMetadata.d.ts +20 -2
- package/injective/tokenfactory/v1beta1/authorityMetadata.js +8 -0
- package/injective/tokenfactory/v1beta1/events.d.ts +75 -0
- package/injective/tokenfactory/v1beta1/events.js +25 -0
- package/injective/tokenfactory/v1beta1/genesis.d.ts +38 -4
- package/injective/tokenfactory/v1beta1/genesis.js +14 -0
- package/injective/tokenfactory/v1beta1/params.d.ts +18 -2
- package/injective/tokenfactory/v1beta1/params.js +6 -0
- package/injective/tokenfactory/v1beta1/query.d.ts +120 -6
- package/injective/tokenfactory/v1beta1/query.js +54 -0
- package/injective/tokenfactory/v1beta1/query.rpc.func.d.ts +27 -0
- package/injective/tokenfactory/v1beta1/query.rpc.func.js +27 -7
- package/injective/tokenfactory/v1beta1/tx.d.ts +183 -4
- package/injective/tokenfactory/v1beta1/tx.js +83 -0
- package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +30 -0
- package/injective/tokenfactory/v1beta1/tx.rpc.func.js +30 -0
- package/injective/types/v1beta1/account.d.ts +13 -0
- package/injective/types/v1beta1/account.js +7 -0
- package/injective/types/v1beta1/tx_ext.d.ts +15 -0
- package/injective/types/v1beta1/tx_ext.js +5 -0
- package/injective/types/v1beta1/tx_response.d.ts +31 -2
- package/injective/types/v1beta1/tx_response.js +13 -0
- package/injective/wasmx/v1/events.d.ts +45 -0
- package/injective/wasmx/v1/events.js +15 -0
- package/injective/wasmx/v1/genesis.d.ts +39 -4
- package/injective/wasmx/v1/genesis.js +11 -0
- package/injective/wasmx/v1/proposal.d.ts +99 -8
- package/injective/wasmx/v1/proposal.js +25 -0
- package/injective/wasmx/v1/query.d.ts +85 -2
- package/injective/wasmx/v1/query.js +39 -0
- package/injective/wasmx/v1/query.rpc.func.d.ts +18 -0
- package/injective/wasmx/v1/query.rpc.func.js +18 -3
- package/injective/wasmx/v1/tx.d.ts +253 -26
- package/injective/wasmx/v1/tx.js +63 -0
- package/injective/wasmx/v1/tx.rpc.func.d.ts +30 -0
- package/injective/wasmx/v1/tx.rpc.func.js +30 -0
- package/injective/wasmx/v1/wasmx.d.ts +60 -10
- package/injective/wasmx/v1/wasmx.js +10 -0
- package/package.json +9 -9
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/tendermint/abci/types.d.ts +971 -98
- package/tendermint/abci/types.js +255 -0
- package/tendermint/crypto/keys.d.ts +18 -2
- package/tendermint/crypto/keys.js +6 -0
- package/tendermint/crypto/proof.d.ts +89 -6
- package/tendermint/crypto/proof.js +29 -0
- package/tendermint/types/block.d.ts +15 -0
- package/tendermint/types/block.js +5 -0
- package/tendermint/types/evidence.d.ts +66 -4
- package/tendermint/types/evidence.js +22 -0
- package/tendermint/types/params.d.ts +112 -8
- package/tendermint/types/params.js +46 -0
- package/tendermint/types/types.d.ts +327 -42
- package/tendermint/types/types.js +87 -0
- package/tendermint/types/validator.d.ts +45 -0
- package/tendermint/types/validator.js +15 -0
- package/tendermint/version/types.d.ts +28 -0
- package/tendermint/version/types.js +16 -0
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
|
@@ -5,6 +5,96 @@ function createBaseAny() {
|
|
|
5
5
|
value: new Uint8Array()
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
10
|
+
* URL that describes the type of the serialized message.
|
|
11
|
+
*
|
|
12
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
13
|
+
* of utility functions or additional generated methods of the Any type.
|
|
14
|
+
*
|
|
15
|
+
* Example 1: Pack and unpack a message in C++.
|
|
16
|
+
*
|
|
17
|
+
* Foo foo = ...;
|
|
18
|
+
* Any any;
|
|
19
|
+
* any.PackFrom(foo);
|
|
20
|
+
* ...
|
|
21
|
+
* if (any.UnpackTo(&foo)) {
|
|
22
|
+
* ...
|
|
23
|
+
* }
|
|
24
|
+
*
|
|
25
|
+
* Example 2: Pack and unpack a message in Java.
|
|
26
|
+
*
|
|
27
|
+
* Foo foo = ...;
|
|
28
|
+
* Any any = Any.pack(foo);
|
|
29
|
+
* ...
|
|
30
|
+
* if (any.is(Foo.class)) {
|
|
31
|
+
* foo = any.unpack(Foo.class);
|
|
32
|
+
* }
|
|
33
|
+
* // or ...
|
|
34
|
+
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
35
|
+
* foo = any.unpack(Foo.getDefaultInstance());
|
|
36
|
+
* }
|
|
37
|
+
*
|
|
38
|
+
* Example 3: Pack and unpack a message in Python.
|
|
39
|
+
*
|
|
40
|
+
* foo = Foo(...)
|
|
41
|
+
* any = Any()
|
|
42
|
+
* any.Pack(foo)
|
|
43
|
+
* ...
|
|
44
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
45
|
+
* any.Unpack(foo)
|
|
46
|
+
* ...
|
|
47
|
+
*
|
|
48
|
+
* Example 4: Pack and unpack a message in Go
|
|
49
|
+
*
|
|
50
|
+
* foo := &pb.Foo{...}
|
|
51
|
+
* any, err := anypb.New(foo)
|
|
52
|
+
* if err != nil {
|
|
53
|
+
* ...
|
|
54
|
+
* }
|
|
55
|
+
* ...
|
|
56
|
+
* foo := &pb.Foo{}
|
|
57
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
58
|
+
* ...
|
|
59
|
+
* }
|
|
60
|
+
*
|
|
61
|
+
* The pack methods provided by protobuf library will by default use
|
|
62
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
63
|
+
* methods only use the fully qualified type name after the last '/'
|
|
64
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
65
|
+
* name "y.z".
|
|
66
|
+
*
|
|
67
|
+
* JSON
|
|
68
|
+
* ====
|
|
69
|
+
* The JSON representation of an `Any` value uses the regular
|
|
70
|
+
* representation of the deserialized, embedded message, with an
|
|
71
|
+
* additional field `@type` which contains the type URL. Example:
|
|
72
|
+
*
|
|
73
|
+
* package google.profile;
|
|
74
|
+
* message Person {
|
|
75
|
+
* string first_name = 1;
|
|
76
|
+
* string last_name = 2;
|
|
77
|
+
* }
|
|
78
|
+
*
|
|
79
|
+
* {
|
|
80
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
81
|
+
* "firstName": <string>,
|
|
82
|
+
* "lastName": <string>
|
|
83
|
+
* }
|
|
84
|
+
*
|
|
85
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
86
|
+
* representation, that representation will be embedded adding a field
|
|
87
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
88
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
89
|
+
*
|
|
90
|
+
* {
|
|
91
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
92
|
+
* "value": "1.212s"
|
|
93
|
+
* }
|
|
94
|
+
* @name Any
|
|
95
|
+
* @package google.protobuf
|
|
96
|
+
* @see proto type: google.protobuf.Any
|
|
97
|
+
*/
|
|
8
98
|
export const Any = {
|
|
9
99
|
typeUrl: "/google.protobuf.Any",
|
|
10
100
|
is(o) {
|
|
@@ -931,6 +931,13 @@ function createBaseFileDescriptorSet() {
|
|
|
931
931
|
file: []
|
|
932
932
|
};
|
|
933
933
|
}
|
|
934
|
+
/**
|
|
935
|
+
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
936
|
+
* files it parses.
|
|
937
|
+
* @name FileDescriptorSet
|
|
938
|
+
* @package google.protobuf
|
|
939
|
+
* @see proto type: google.protobuf.FileDescriptorSet
|
|
940
|
+
*/
|
|
934
941
|
export const FileDescriptorSet = {
|
|
935
942
|
typeUrl: "/google.protobuf.FileDescriptorSet",
|
|
936
943
|
is(o) {
|
|
@@ -1021,6 +1028,12 @@ function createBaseFileDescriptorProto() {
|
|
|
1021
1028
|
edition: 1
|
|
1022
1029
|
};
|
|
1023
1030
|
}
|
|
1031
|
+
/**
|
|
1032
|
+
* Describes a complete .proto file.
|
|
1033
|
+
* @name FileDescriptorProto
|
|
1034
|
+
* @package google.protobuf
|
|
1035
|
+
* @see proto type: google.protobuf.FileDescriptorProto
|
|
1036
|
+
*/
|
|
1024
1037
|
export const FileDescriptorProto = {
|
|
1025
1038
|
typeUrl: "/google.protobuf.FileDescriptorProto",
|
|
1026
1039
|
is(o) {
|
|
@@ -1283,6 +1296,12 @@ function createBaseDescriptorProto() {
|
|
|
1283
1296
|
reservedName: []
|
|
1284
1297
|
};
|
|
1285
1298
|
}
|
|
1299
|
+
/**
|
|
1300
|
+
* Describes a message type.
|
|
1301
|
+
* @name DescriptorProto
|
|
1302
|
+
* @package google.protobuf
|
|
1303
|
+
* @see proto type: google.protobuf.DescriptorProto
|
|
1304
|
+
*/
|
|
1286
1305
|
export const DescriptorProto = {
|
|
1287
1306
|
typeUrl: "/google.protobuf.DescriptorProto",
|
|
1288
1307
|
is(o) {
|
|
@@ -1489,6 +1508,11 @@ function createBaseDescriptorProto_ExtensionRange() {
|
|
|
1489
1508
|
options: undefined
|
|
1490
1509
|
};
|
|
1491
1510
|
}
|
|
1511
|
+
/**
|
|
1512
|
+
* @name DescriptorProto_ExtensionRange
|
|
1513
|
+
* @package google.protobuf
|
|
1514
|
+
* @see proto type: google.protobuf.ExtensionRange
|
|
1515
|
+
*/
|
|
1492
1516
|
export const DescriptorProto_ExtensionRange = {
|
|
1493
1517
|
typeUrl: "/google.protobuf.ExtensionRange",
|
|
1494
1518
|
is(o) {
|
|
@@ -1587,6 +1611,14 @@ function createBaseDescriptorProto_ReservedRange() {
|
|
|
1587
1611
|
end: 0
|
|
1588
1612
|
};
|
|
1589
1613
|
}
|
|
1614
|
+
/**
|
|
1615
|
+
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
1616
|
+
* fields or extension ranges in the same message. Reserved ranges may
|
|
1617
|
+
* not overlap.
|
|
1618
|
+
* @name DescriptorProto_ReservedRange
|
|
1619
|
+
* @package google.protobuf
|
|
1620
|
+
* @see proto type: google.protobuf.ReservedRange
|
|
1621
|
+
*/
|
|
1590
1622
|
export const DescriptorProto_ReservedRange = {
|
|
1591
1623
|
typeUrl: "/google.protobuf.ReservedRange",
|
|
1592
1624
|
is(o) {
|
|
@@ -1671,6 +1703,11 @@ function createBaseExtensionRangeOptions() {
|
|
|
1671
1703
|
verification: 1
|
|
1672
1704
|
};
|
|
1673
1705
|
}
|
|
1706
|
+
/**
|
|
1707
|
+
* @name ExtensionRangeOptions
|
|
1708
|
+
* @package google.protobuf
|
|
1709
|
+
* @see proto type: google.protobuf.ExtensionRangeOptions
|
|
1710
|
+
*/
|
|
1674
1711
|
export const ExtensionRangeOptions = {
|
|
1675
1712
|
typeUrl: "/google.protobuf.ExtensionRangeOptions",
|
|
1676
1713
|
is(o) {
|
|
@@ -1791,6 +1828,11 @@ function createBaseExtensionRangeOptions_Declaration() {
|
|
|
1791
1828
|
repeated: false
|
|
1792
1829
|
};
|
|
1793
1830
|
}
|
|
1831
|
+
/**
|
|
1832
|
+
* @name ExtensionRangeOptions_Declaration
|
|
1833
|
+
* @package google.protobuf
|
|
1834
|
+
* @see proto type: google.protobuf.Declaration
|
|
1835
|
+
*/
|
|
1794
1836
|
export const ExtensionRangeOptions_Declaration = {
|
|
1795
1837
|
typeUrl: "/google.protobuf.Declaration",
|
|
1796
1838
|
is(o) {
|
|
@@ -1915,6 +1957,12 @@ function createBaseFieldDescriptorProto() {
|
|
|
1915
1957
|
proto3Optional: false
|
|
1916
1958
|
};
|
|
1917
1959
|
}
|
|
1960
|
+
/**
|
|
1961
|
+
* Describes a field within a message.
|
|
1962
|
+
* @name FieldDescriptorProto
|
|
1963
|
+
* @package google.protobuf
|
|
1964
|
+
* @see proto type: google.protobuf.FieldDescriptorProto
|
|
1965
|
+
*/
|
|
1918
1966
|
export const FieldDescriptorProto = {
|
|
1919
1967
|
typeUrl: "/google.protobuf.FieldDescriptorProto",
|
|
1920
1968
|
is(o) {
|
|
@@ -2101,6 +2149,12 @@ function createBaseOneofDescriptorProto() {
|
|
|
2101
2149
|
options: undefined
|
|
2102
2150
|
};
|
|
2103
2151
|
}
|
|
2152
|
+
/**
|
|
2153
|
+
* Describes a oneof.
|
|
2154
|
+
* @name OneofDescriptorProto
|
|
2155
|
+
* @package google.protobuf
|
|
2156
|
+
* @see proto type: google.protobuf.OneofDescriptorProto
|
|
2157
|
+
*/
|
|
2104
2158
|
export const OneofDescriptorProto = {
|
|
2105
2159
|
typeUrl: "/google.protobuf.OneofDescriptorProto",
|
|
2106
2160
|
is(o) {
|
|
@@ -2191,6 +2245,12 @@ function createBaseEnumDescriptorProto() {
|
|
|
2191
2245
|
reservedName: []
|
|
2192
2246
|
};
|
|
2193
2247
|
}
|
|
2248
|
+
/**
|
|
2249
|
+
* Describes an enum type.
|
|
2250
|
+
* @name EnumDescriptorProto
|
|
2251
|
+
* @package google.protobuf
|
|
2252
|
+
* @see proto type: google.protobuf.EnumDescriptorProto
|
|
2253
|
+
*/
|
|
2194
2254
|
export const EnumDescriptorProto = {
|
|
2195
2255
|
typeUrl: "/google.protobuf.EnumDescriptorProto",
|
|
2196
2256
|
is(o) {
|
|
@@ -2322,6 +2382,17 @@ function createBaseEnumDescriptorProto_EnumReservedRange() {
|
|
|
2322
2382
|
end: 0
|
|
2323
2383
|
};
|
|
2324
2384
|
}
|
|
2385
|
+
/**
|
|
2386
|
+
* Range of reserved numeric values. Reserved values may not be used by
|
|
2387
|
+
* entries in the same enum. Reserved ranges may not overlap.
|
|
2388
|
+
*
|
|
2389
|
+
* Note that this is distinct from DescriptorProto.ReservedRange in that it
|
|
2390
|
+
* is inclusive such that it can appropriately represent the entire int32
|
|
2391
|
+
* domain.
|
|
2392
|
+
* @name EnumDescriptorProto_EnumReservedRange
|
|
2393
|
+
* @package google.protobuf
|
|
2394
|
+
* @see proto type: google.protobuf.EnumReservedRange
|
|
2395
|
+
*/
|
|
2325
2396
|
export const EnumDescriptorProto_EnumReservedRange = {
|
|
2326
2397
|
typeUrl: "/google.protobuf.EnumReservedRange",
|
|
2327
2398
|
is(o) {
|
|
@@ -2405,6 +2476,12 @@ function createBaseEnumValueDescriptorProto() {
|
|
|
2405
2476
|
options: undefined
|
|
2406
2477
|
};
|
|
2407
2478
|
}
|
|
2479
|
+
/**
|
|
2480
|
+
* Describes a value within an enum.
|
|
2481
|
+
* @name EnumValueDescriptorProto
|
|
2482
|
+
* @package google.protobuf
|
|
2483
|
+
* @see proto type: google.protobuf.EnumValueDescriptorProto
|
|
2484
|
+
*/
|
|
2408
2485
|
export const EnumValueDescriptorProto = {
|
|
2409
2486
|
typeUrl: "/google.protobuf.EnumValueDescriptorProto",
|
|
2410
2487
|
is(o) {
|
|
@@ -2504,6 +2581,12 @@ function createBaseServiceDescriptorProto() {
|
|
|
2504
2581
|
options: undefined
|
|
2505
2582
|
};
|
|
2506
2583
|
}
|
|
2584
|
+
/**
|
|
2585
|
+
* Describes a service.
|
|
2586
|
+
* @name ServiceDescriptorProto
|
|
2587
|
+
* @package google.protobuf
|
|
2588
|
+
* @see proto type: google.protobuf.ServiceDescriptorProto
|
|
2589
|
+
*/
|
|
2507
2590
|
export const ServiceDescriptorProto = {
|
|
2508
2591
|
typeUrl: "/google.protobuf.ServiceDescriptorProto",
|
|
2509
2592
|
is(o) {
|
|
@@ -2610,6 +2693,12 @@ function createBaseMethodDescriptorProto() {
|
|
|
2610
2693
|
serverStreaming: false
|
|
2611
2694
|
};
|
|
2612
2695
|
}
|
|
2696
|
+
/**
|
|
2697
|
+
* Describes a method of a service.
|
|
2698
|
+
* @name MethodDescriptorProto
|
|
2699
|
+
* @package google.protobuf
|
|
2700
|
+
* @see proto type: google.protobuf.MethodDescriptorProto
|
|
2701
|
+
*/
|
|
2613
2702
|
export const MethodDescriptorProto = {
|
|
2614
2703
|
typeUrl: "/google.protobuf.MethodDescriptorProto",
|
|
2615
2704
|
is(o) {
|
|
@@ -2760,6 +2849,11 @@ function createBaseFileOptions() {
|
|
|
2760
2849
|
uninterpretedOption: []
|
|
2761
2850
|
};
|
|
2762
2851
|
}
|
|
2852
|
+
/**
|
|
2853
|
+
* @name FileOptions
|
|
2854
|
+
* @package google.protobuf
|
|
2855
|
+
* @see proto type: google.protobuf.FileOptions
|
|
2856
|
+
*/
|
|
2763
2857
|
export const FileOptions = {
|
|
2764
2858
|
typeUrl: "/google.protobuf.FileOptions",
|
|
2765
2859
|
is(o) {
|
|
@@ -3065,6 +3159,11 @@ function createBaseMessageOptions() {
|
|
|
3065
3159
|
uninterpretedOption: []
|
|
3066
3160
|
};
|
|
3067
3161
|
}
|
|
3162
|
+
/**
|
|
3163
|
+
* @name MessageOptions
|
|
3164
|
+
* @package google.protobuf
|
|
3165
|
+
* @see proto type: google.protobuf.MessageOptions
|
|
3166
|
+
*/
|
|
3068
3167
|
export const MessageOptions = {
|
|
3069
3168
|
typeUrl: "/google.protobuf.MessageOptions",
|
|
3070
3169
|
is(o) {
|
|
@@ -3223,6 +3322,11 @@ function createBaseFieldOptions() {
|
|
|
3223
3322
|
uninterpretedOption: []
|
|
3224
3323
|
};
|
|
3225
3324
|
}
|
|
3325
|
+
/**
|
|
3326
|
+
* @name FieldOptions
|
|
3327
|
+
* @package google.protobuf
|
|
3328
|
+
* @see proto type: google.protobuf.FieldOptions
|
|
3329
|
+
*/
|
|
3226
3330
|
export const FieldOptions = {
|
|
3227
3331
|
typeUrl: "/google.protobuf.FieldOptions",
|
|
3228
3332
|
is(o) {
|
|
@@ -3464,6 +3568,11 @@ function createBaseFieldOptions_EditionDefault() {
|
|
|
3464
3568
|
value: ""
|
|
3465
3569
|
};
|
|
3466
3570
|
}
|
|
3571
|
+
/**
|
|
3572
|
+
* @name FieldOptions_EditionDefault
|
|
3573
|
+
* @package google.protobuf
|
|
3574
|
+
* @see proto type: google.protobuf.EditionDefault
|
|
3575
|
+
*/
|
|
3467
3576
|
export const FieldOptions_EditionDefault = {
|
|
3468
3577
|
typeUrl: "/google.protobuf.EditionDefault",
|
|
3469
3578
|
is(o) {
|
|
@@ -3548,6 +3657,12 @@ function createBaseFieldOptions_FeatureSupport() {
|
|
|
3548
3657
|
editionRemoved: 1
|
|
3549
3658
|
};
|
|
3550
3659
|
}
|
|
3660
|
+
/**
|
|
3661
|
+
* Information about the support window of a feature.
|
|
3662
|
+
* @name FieldOptions_FeatureSupport
|
|
3663
|
+
* @package google.protobuf
|
|
3664
|
+
* @see proto type: google.protobuf.FeatureSupport
|
|
3665
|
+
*/
|
|
3551
3666
|
export const FieldOptions_FeatureSupport = {
|
|
3552
3667
|
typeUrl: "/google.protobuf.FeatureSupport",
|
|
3553
3668
|
is(o) {
|
|
@@ -3652,6 +3767,11 @@ function createBaseOneofOptions() {
|
|
|
3652
3767
|
uninterpretedOption: []
|
|
3653
3768
|
};
|
|
3654
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
* @name OneofOptions
|
|
3772
|
+
* @package google.protobuf
|
|
3773
|
+
* @see proto type: google.protobuf.OneofOptions
|
|
3774
|
+
*/
|
|
3655
3775
|
export const OneofOptions = {
|
|
3656
3776
|
typeUrl: "/google.protobuf.OneofOptions",
|
|
3657
3777
|
is(o) {
|
|
@@ -3746,6 +3866,11 @@ function createBaseEnumOptions() {
|
|
|
3746
3866
|
uninterpretedOption: []
|
|
3747
3867
|
};
|
|
3748
3868
|
}
|
|
3869
|
+
/**
|
|
3870
|
+
* @name EnumOptions
|
|
3871
|
+
* @package google.protobuf
|
|
3872
|
+
* @see proto type: google.protobuf.EnumOptions
|
|
3873
|
+
*/
|
|
3749
3874
|
export const EnumOptions = {
|
|
3750
3875
|
typeUrl: "/google.protobuf.EnumOptions",
|
|
3751
3876
|
is(o) {
|
|
@@ -3873,6 +3998,11 @@ function createBaseEnumValueOptions() {
|
|
|
3873
3998
|
uninterpretedOption: []
|
|
3874
3999
|
};
|
|
3875
4000
|
}
|
|
4001
|
+
/**
|
|
4002
|
+
* @name EnumValueOptions
|
|
4003
|
+
* @package google.protobuf
|
|
4004
|
+
* @see proto type: google.protobuf.EnumValueOptions
|
|
4005
|
+
*/
|
|
3876
4006
|
export const EnumValueOptions = {
|
|
3877
4007
|
typeUrl: "/google.protobuf.EnumValueOptions",
|
|
3878
4008
|
is(o) {
|
|
@@ -3999,6 +4129,11 @@ function createBaseServiceOptions() {
|
|
|
3999
4129
|
uninterpretedOption: []
|
|
4000
4130
|
};
|
|
4001
4131
|
}
|
|
4132
|
+
/**
|
|
4133
|
+
* @name ServiceOptions
|
|
4134
|
+
* @package google.protobuf
|
|
4135
|
+
* @see proto type: google.protobuf.ServiceOptions
|
|
4136
|
+
*/
|
|
4002
4137
|
export const ServiceOptions = {
|
|
4003
4138
|
typeUrl: "/google.protobuf.ServiceOptions",
|
|
4004
4139
|
is(o) {
|
|
@@ -4103,6 +4238,11 @@ function createBaseMethodOptions() {
|
|
|
4103
4238
|
uninterpretedOption: []
|
|
4104
4239
|
};
|
|
4105
4240
|
}
|
|
4241
|
+
/**
|
|
4242
|
+
* @name MethodOptions
|
|
4243
|
+
* @package google.protobuf
|
|
4244
|
+
* @see proto type: google.protobuf.MethodOptions
|
|
4245
|
+
*/
|
|
4106
4246
|
export const MethodOptions = {
|
|
4107
4247
|
typeUrl: "/google.protobuf.MethodOptions",
|
|
4108
4248
|
is(o) {
|
|
@@ -4221,6 +4361,17 @@ function createBaseUninterpretedOption() {
|
|
|
4221
4361
|
aggregateValue: ""
|
|
4222
4362
|
};
|
|
4223
4363
|
}
|
|
4364
|
+
/**
|
|
4365
|
+
* A message representing a option the parser does not recognize. This only
|
|
4366
|
+
* appears in options protos created by the compiler::Parser class.
|
|
4367
|
+
* DescriptorPool resolves these when building Descriptor objects. Therefore,
|
|
4368
|
+
* options protos in descriptor objects (e.g. returned by Descriptor::options(),
|
|
4369
|
+
* or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
|
|
4370
|
+
* in them.
|
|
4371
|
+
* @name UninterpretedOption
|
|
4372
|
+
* @package google.protobuf
|
|
4373
|
+
* @see proto type: google.protobuf.UninterpretedOption
|
|
4374
|
+
*/
|
|
4224
4375
|
export const UninterpretedOption = {
|
|
4225
4376
|
typeUrl: "/google.protobuf.UninterpretedOption",
|
|
4226
4377
|
is(o) {
|
|
@@ -4366,6 +4517,16 @@ function createBaseUninterpretedOption_NamePart() {
|
|
|
4366
4517
|
isExtension: false
|
|
4367
4518
|
};
|
|
4368
4519
|
}
|
|
4520
|
+
/**
|
|
4521
|
+
* The name of the uninterpreted option. Each string represents a segment in
|
|
4522
|
+
* a dot-separated name. is_extension is true iff a segment represents an
|
|
4523
|
+
* extension (denoted with parentheses in options specs in .proto files).
|
|
4524
|
+
* E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
|
4525
|
+
* "foo.(bar.baz).moo".
|
|
4526
|
+
* @name UninterpretedOption_NamePart
|
|
4527
|
+
* @package google.protobuf
|
|
4528
|
+
* @see proto type: google.protobuf.NamePart
|
|
4529
|
+
*/
|
|
4369
4530
|
export const UninterpretedOption_NamePart = {
|
|
4370
4531
|
typeUrl: "/google.protobuf.NamePart",
|
|
4371
4532
|
is(o) {
|
|
@@ -4452,6 +4613,17 @@ function createBaseFeatureSet() {
|
|
|
4452
4613
|
jsonFormat: 1
|
|
4453
4614
|
};
|
|
4454
4615
|
}
|
|
4616
|
+
/**
|
|
4617
|
+
* TODO Enums in C++ gencode (and potentially other languages) are
|
|
4618
|
+
* not well scoped. This means that each of the feature enums below can clash
|
|
4619
|
+
* with each other. The short names we've chosen maximize call-site
|
|
4620
|
+
* readability, but leave us very open to this scenario. A future feature will
|
|
4621
|
+
* be designed and implemented to handle this, hopefully before we ever hit a
|
|
4622
|
+
* conflict here.
|
|
4623
|
+
* @name FeatureSet
|
|
4624
|
+
* @package google.protobuf
|
|
4625
|
+
* @see proto type: google.protobuf.FeatureSet
|
|
4626
|
+
*/
|
|
4455
4627
|
export const FeatureSet = {
|
|
4456
4628
|
typeUrl: "/google.protobuf.FeatureSet",
|
|
4457
4629
|
is(o) {
|
|
@@ -4579,6 +4751,15 @@ function createBaseFeatureSetDefaults() {
|
|
|
4579
4751
|
maximumEdition: 1
|
|
4580
4752
|
};
|
|
4581
4753
|
}
|
|
4754
|
+
/**
|
|
4755
|
+
* A compiled specification for the defaults of a set of features. These
|
|
4756
|
+
* messages are generated from FeatureSet extensions and can be used to seed
|
|
4757
|
+
* feature resolution. The resolution with this object becomes a simple search
|
|
4758
|
+
* for the closest matching edition, followed by proto merges.
|
|
4759
|
+
* @name FeatureSetDefaults
|
|
4760
|
+
* @package google.protobuf
|
|
4761
|
+
* @see proto type: google.protobuf.FeatureSetDefaults
|
|
4762
|
+
*/
|
|
4582
4763
|
export const FeatureSetDefaults = {
|
|
4583
4764
|
typeUrl: "/google.protobuf.FeatureSetDefaults",
|
|
4584
4765
|
is(o) {
|
|
@@ -4681,6 +4862,15 @@ function createBaseFeatureSetDefaults_FeatureSetEditionDefault() {
|
|
|
4681
4862
|
fixedFeatures: undefined
|
|
4682
4863
|
};
|
|
4683
4864
|
}
|
|
4865
|
+
/**
|
|
4866
|
+
* A map from every known edition with a unique set of defaults to its
|
|
4867
|
+
* defaults. Not all editions may be contained here. For a given edition,
|
|
4868
|
+
* the defaults at the closest matching edition ordered at or before it should
|
|
4869
|
+
* be used. This field must be in strict ascending order by edition.
|
|
4870
|
+
* @name FeatureSetDefaults_FeatureSetEditionDefault
|
|
4871
|
+
* @package google.protobuf
|
|
4872
|
+
* @see proto type: google.protobuf.FeatureSetEditionDefault
|
|
4873
|
+
*/
|
|
4684
4874
|
export const FeatureSetDefaults_FeatureSetEditionDefault = {
|
|
4685
4875
|
typeUrl: "/google.protobuf.FeatureSetEditionDefault",
|
|
4686
4876
|
is(o) {
|
|
@@ -4778,6 +4968,13 @@ function createBaseSourceCodeInfo() {
|
|
|
4778
4968
|
location: []
|
|
4779
4969
|
};
|
|
4780
4970
|
}
|
|
4971
|
+
/**
|
|
4972
|
+
* Encapsulates information about the original source file from which a
|
|
4973
|
+
* FileDescriptorProto was generated.
|
|
4974
|
+
* @name SourceCodeInfo
|
|
4975
|
+
* @package google.protobuf
|
|
4976
|
+
* @see proto type: google.protobuf.SourceCodeInfo
|
|
4977
|
+
*/
|
|
4781
4978
|
export const SourceCodeInfo = {
|
|
4782
4979
|
typeUrl: "/google.protobuf.SourceCodeInfo",
|
|
4783
4980
|
is(o) {
|
|
@@ -4860,6 +5057,11 @@ function createBaseSourceCodeInfo_Location() {
|
|
|
4860
5057
|
leadingDetachedComments: []
|
|
4861
5058
|
};
|
|
4862
5059
|
}
|
|
5060
|
+
/**
|
|
5061
|
+
* @name SourceCodeInfo_Location
|
|
5062
|
+
* @package google.protobuf
|
|
5063
|
+
* @see proto type: google.protobuf.Location
|
|
5064
|
+
*/
|
|
4863
5065
|
export const SourceCodeInfo_Location = {
|
|
4864
5066
|
typeUrl: "/google.protobuf.Location",
|
|
4865
5067
|
is(o) {
|
|
@@ -5003,6 +5205,14 @@ function createBaseGeneratedCodeInfo() {
|
|
|
5003
5205
|
annotation: []
|
|
5004
5206
|
};
|
|
5005
5207
|
}
|
|
5208
|
+
/**
|
|
5209
|
+
* Describes the relationship between generated code and its original source
|
|
5210
|
+
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
5211
|
+
* source file, but may contain references to different source .proto files.
|
|
5212
|
+
* @name GeneratedCodeInfo
|
|
5213
|
+
* @package google.protobuf
|
|
5214
|
+
* @see proto type: google.protobuf.GeneratedCodeInfo
|
|
5215
|
+
*/
|
|
5006
5216
|
export const GeneratedCodeInfo = {
|
|
5007
5217
|
typeUrl: "/google.protobuf.GeneratedCodeInfo",
|
|
5008
5218
|
is(o) {
|
|
@@ -5085,6 +5295,11 @@ function createBaseGeneratedCodeInfo_Annotation() {
|
|
|
5085
5295
|
semantic: 1
|
|
5086
5296
|
};
|
|
5087
5297
|
}
|
|
5298
|
+
/**
|
|
5299
|
+
* @name GeneratedCodeInfo_Annotation
|
|
5300
|
+
* @package google.protobuf
|
|
5301
|
+
* @see proto type: google.protobuf.Annotation
|
|
5302
|
+
*/
|
|
5088
5303
|
export const GeneratedCodeInfo_Annotation = {
|
|
5089
5304
|
typeUrl: "/google.protobuf.Annotation",
|
|
5090
5305
|
is(o) {
|
|
@@ -5,6 +5,69 @@ function createBaseDuration() {
|
|
|
5
5
|
nanos: 0
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* A Duration represents a signed, fixed-length span of time represented
|
|
10
|
+
* as a count of seconds and fractions of seconds at nanosecond
|
|
11
|
+
* resolution. It is independent of any calendar and concepts like "day"
|
|
12
|
+
* or "month". It is related to Timestamp in that the difference between
|
|
13
|
+
* two Timestamp values is a Duration and it can be added or subtracted
|
|
14
|
+
* from a Timestamp. Range is approximately +-10,000 years.
|
|
15
|
+
*
|
|
16
|
+
* # Examples
|
|
17
|
+
*
|
|
18
|
+
* Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
19
|
+
*
|
|
20
|
+
* Timestamp start = ...;
|
|
21
|
+
* Timestamp end = ...;
|
|
22
|
+
* Duration duration = ...;
|
|
23
|
+
*
|
|
24
|
+
* duration.seconds = end.seconds - start.seconds;
|
|
25
|
+
* duration.nanos = end.nanos - start.nanos;
|
|
26
|
+
*
|
|
27
|
+
* if (duration.seconds < 0 && duration.nanos > 0) {
|
|
28
|
+
* duration.seconds += 1;
|
|
29
|
+
* duration.nanos -= 1000000000;
|
|
30
|
+
* } else if (duration.seconds > 0 && duration.nanos < 0) {
|
|
31
|
+
* duration.seconds -= 1;
|
|
32
|
+
* duration.nanos += 1000000000;
|
|
33
|
+
* }
|
|
34
|
+
*
|
|
35
|
+
* Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
36
|
+
*
|
|
37
|
+
* Timestamp start = ...;
|
|
38
|
+
* Duration duration = ...;
|
|
39
|
+
* Timestamp end = ...;
|
|
40
|
+
*
|
|
41
|
+
* end.seconds = start.seconds + duration.seconds;
|
|
42
|
+
* end.nanos = start.nanos + duration.nanos;
|
|
43
|
+
*
|
|
44
|
+
* if (end.nanos < 0) {
|
|
45
|
+
* end.seconds -= 1;
|
|
46
|
+
* end.nanos += 1000000000;
|
|
47
|
+
* } else if (end.nanos >= 1000000000) {
|
|
48
|
+
* end.seconds += 1;
|
|
49
|
+
* end.nanos -= 1000000000;
|
|
50
|
+
* }
|
|
51
|
+
*
|
|
52
|
+
* Example 3: Compute Duration from datetime.timedelta in Python.
|
|
53
|
+
*
|
|
54
|
+
* td = datetime.timedelta(days=3, minutes=10)
|
|
55
|
+
* duration = Duration()
|
|
56
|
+
* duration.FromTimedelta(td)
|
|
57
|
+
*
|
|
58
|
+
* # JSON Mapping
|
|
59
|
+
*
|
|
60
|
+
* In JSON format, the Duration type is encoded as a string rather than an
|
|
61
|
+
* object, where the string ends in the suffix "s" (indicating seconds) and
|
|
62
|
+
* is preceded by the number of seconds, with nanoseconds expressed as
|
|
63
|
+
* fractional seconds. For example, 3 seconds with 0 nanoseconds should be
|
|
64
|
+
* encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
|
|
65
|
+
* be expressed in JSON format as "3.000000001s", and 3 seconds and 1
|
|
66
|
+
* microsecond should be expressed in JSON format as "3.000001s".
|
|
67
|
+
* @name Duration
|
|
68
|
+
* @package google.protobuf
|
|
69
|
+
* @see proto type: google.protobuf.Duration
|
|
70
|
+
*/
|
|
8
71
|
export const Duration = {
|
|
9
72
|
typeUrl: "/google.protobuf.Duration",
|
|
10
73
|
is(o) {
|
|
@@ -6,6 +6,100 @@ function createBaseTimestamp() {
|
|
|
6
6
|
nanos: 0
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* A Timestamp represents a point in time independent of any time zone or local
|
|
11
|
+
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
12
|
+
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
13
|
+
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
14
|
+
* Gregorian calendar backwards to year one.
|
|
15
|
+
*
|
|
16
|
+
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
17
|
+
* second table is needed for interpretation, using a [24-hour linear
|
|
18
|
+
* smear](https://developers.google.com/time/smear).
|
|
19
|
+
*
|
|
20
|
+
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
21
|
+
* restricting to that range, we ensure that we can convert to and from [RFC
|
|
22
|
+
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
23
|
+
*
|
|
24
|
+
* # Examples
|
|
25
|
+
*
|
|
26
|
+
* Example 1: Compute Timestamp from POSIX `time()`.
|
|
27
|
+
*
|
|
28
|
+
* Timestamp timestamp;
|
|
29
|
+
* timestamp.set_seconds(time(NULL));
|
|
30
|
+
* timestamp.set_nanos(0);
|
|
31
|
+
*
|
|
32
|
+
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
33
|
+
*
|
|
34
|
+
* struct timeval tv;
|
|
35
|
+
* gettimeofday(&tv, NULL);
|
|
36
|
+
*
|
|
37
|
+
* Timestamp timestamp;
|
|
38
|
+
* timestamp.set_seconds(tv.tv_sec);
|
|
39
|
+
* timestamp.set_nanos(tv.tv_usec * 1000);
|
|
40
|
+
*
|
|
41
|
+
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
42
|
+
*
|
|
43
|
+
* FILETIME ft;
|
|
44
|
+
* GetSystemTimeAsFileTime(&ft);
|
|
45
|
+
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
46
|
+
*
|
|
47
|
+
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
|
48
|
+
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
|
49
|
+
* Timestamp timestamp;
|
|
50
|
+
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
51
|
+
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
52
|
+
*
|
|
53
|
+
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
54
|
+
*
|
|
55
|
+
* long millis = System.currentTimeMillis();
|
|
56
|
+
*
|
|
57
|
+
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
58
|
+
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
59
|
+
*
|
|
60
|
+
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
61
|
+
*
|
|
62
|
+
* Instant now = Instant.now();
|
|
63
|
+
*
|
|
64
|
+
* Timestamp timestamp =
|
|
65
|
+
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
66
|
+
* .setNanos(now.getNano()).build();
|
|
67
|
+
*
|
|
68
|
+
* Example 6: Compute Timestamp from current time in Python.
|
|
69
|
+
*
|
|
70
|
+
* timestamp = Timestamp()
|
|
71
|
+
* timestamp.GetCurrentTime()
|
|
72
|
+
*
|
|
73
|
+
* # JSON Mapping
|
|
74
|
+
*
|
|
75
|
+
* In JSON format, the Timestamp type is encoded as a string in the
|
|
76
|
+
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
|
77
|
+
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
|
78
|
+
* where {year} is always expressed using four digits while {month}, {day},
|
|
79
|
+
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
|
80
|
+
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
|
81
|
+
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
|
82
|
+
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
|
83
|
+
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
|
84
|
+
* able to accept both UTC and other timezones (as indicated by an offset).
|
|
85
|
+
*
|
|
86
|
+
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
|
87
|
+
* 01:30 UTC on January 15, 2017.
|
|
88
|
+
*
|
|
89
|
+
* In JavaScript, one can convert a Date object to this format using the
|
|
90
|
+
* standard
|
|
91
|
+
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
|
92
|
+
* method. In Python, a standard `datetime.datetime` object can be converted
|
|
93
|
+
* to this format using
|
|
94
|
+
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
95
|
+
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
96
|
+
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
97
|
+
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
|
98
|
+
* ) to obtain a formatter capable of generating timestamps in this format.
|
|
99
|
+
* @name Timestamp
|
|
100
|
+
* @package google.protobuf
|
|
101
|
+
* @see proto type: google.protobuf.Timestamp
|
|
102
|
+
*/
|
|
9
103
|
export const Timestamp = {
|
|
10
104
|
typeUrl: "/google.protobuf.Timestamp",
|
|
11
105
|
is(o) {
|
package/esm/helper-func-types.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.19
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|