@inco/js 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/advancedacl/session-key.d.ts +29 -0
- package/dist/cjs/advancedacl/session-key.js +167 -27
- package/dist/cjs/attestedcompute/attested-compute.d.ts +2 -0
- package/dist/cjs/attestedcompute/attested-compute.js +17 -9
- package/dist/cjs/attestedcompute/types.d.ts +3 -2
- package/dist/cjs/attesteddecrypt/attested-decrypt.d.ts +2 -0
- package/dist/cjs/attesteddecrypt/attested-decrypt.js +27 -11
- package/dist/cjs/attesteddecrypt/types.d.ts +3 -2
- package/dist/cjs/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/cjs/attestedreveal/attested-reveal.js +66 -0
- package/dist/cjs/attestedreveal/index.d.ts +1 -0
- package/dist/cjs/{fhevm → attestedreveal}/index.js +2 -2
- package/dist/cjs/attestedreveal/types.d.ts +7 -0
- package/dist/cjs/attestedreveal/types.js +16 -0
- package/dist/cjs/generated/abis/addTwo.d.ts +18 -0
- package/dist/cjs/generated/abis/addTwo.js +9 -1
- package/dist/cjs/generated/abis/lightning-preview.d.ts +48 -0
- package/dist/cjs/generated/abis/lightning-preview.js +29 -1
- package/dist/cjs/generated/abis/lightning.d.ts +34 -0
- package/dist/cjs/generated/abis/lightning.js +22 -1
- package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
- package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +17 -7
- package/dist/cjs/generated/lightning.d.ts +31 -10
- package/dist/cjs/generated/lightning.js +33 -11
- package/dist/cjs/lite/attested-compute.d.ts +5 -3
- package/dist/cjs/lite/attested-compute.js +5 -1
- package/dist/cjs/lite/attested-decrypt.d.ts +2 -0
- package/dist/cjs/lite/attested-decrypt.js +5 -1
- package/dist/cjs/lite/index.d.ts +4 -1
- package/dist/cjs/lite/index.js +3 -1
- package/dist/cjs/lite/lightning.d.ts +32 -0
- package/dist/cjs/lite/lightning.js +52 -44
- package/dist/cjs/lite/reencrypt.d.ts +0 -1
- package/dist/cjs/lite/reencrypt.js +8 -20
- package/dist/cjs/local/local-node.js +35 -3
- package/dist/cjs/reencryption/types.d.ts +1 -2
- package/dist/esm/advancedacl/session-key.d.ts +29 -0
- package/dist/esm/advancedacl/session-key.js +160 -22
- package/dist/esm/attestedcompute/attested-compute.d.ts +2 -0
- package/dist/esm/attestedcompute/attested-compute.js +14 -7
- package/dist/esm/attestedcompute/types.d.ts +3 -2
- package/dist/esm/attesteddecrypt/attested-decrypt.d.ts +2 -0
- package/dist/esm/attesteddecrypt/attested-decrypt.js +24 -9
- package/dist/esm/attesteddecrypt/types.d.ts +3 -2
- package/dist/esm/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/esm/attestedreveal/attested-reveal.js +63 -0
- package/dist/esm/attestedreveal/index.d.ts +1 -0
- package/dist/esm/attestedreveal/index.js +2 -0
- package/dist/esm/attestedreveal/types.d.ts +7 -0
- package/dist/esm/attestedreveal/types.js +12 -0
- package/dist/esm/generated/abis/addTwo.d.ts +18 -0
- package/dist/esm/generated/abis/addTwo.js +9 -1
- package/dist/esm/generated/abis/lightning-preview.d.ts +48 -0
- package/dist/esm/generated/abis/lightning-preview.js +29 -1
- package/dist/esm/generated/abis/lightning.d.ts +34 -0
- package/dist/esm/generated/abis/lightning.js +22 -1
- package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
- package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +16 -6
- package/dist/esm/generated/lightning.d.ts +31 -10
- package/dist/esm/generated/lightning.js +33 -11
- package/dist/esm/lite/attested-compute.d.ts +5 -3
- package/dist/esm/lite/attested-compute.js +3 -2
- package/dist/esm/lite/attested-decrypt.d.ts +2 -0
- package/dist/esm/lite/attested-decrypt.js +3 -2
- package/dist/esm/lite/index.d.ts +4 -1
- package/dist/esm/lite/index.js +3 -1
- package/dist/esm/lite/lightning.d.ts +32 -0
- package/dist/esm/lite/lightning.js +53 -45
- package/dist/esm/lite/reencrypt.d.ts +0 -1
- package/dist/esm/lite/reencrypt.js +9 -20
- package/dist/esm/local/local-node.js +35 -3
- package/dist/esm/reencryption/types.d.ts +1 -2
- package/dist/types/advancedacl/session-key.d.ts +29 -0
- package/dist/types/attestedcompute/attested-compute.d.ts +2 -0
- package/dist/types/attestedcompute/types.d.ts +3 -2
- package/dist/types/attesteddecrypt/attested-decrypt.d.ts +2 -0
- package/dist/types/attesteddecrypt/types.d.ts +3 -2
- package/dist/types/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/types/attestedreveal/index.d.ts +1 -0
- package/dist/types/attestedreveal/types.d.ts +7 -0
- package/dist/types/generated/abis/addTwo.d.ts +18 -0
- package/dist/types/generated/abis/lightning-preview.d.ts +48 -0
- package/dist/types/generated/abis/lightning.d.ts +34 -0
- package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
- package/dist/types/generated/lightning.d.ts +31 -10
- package/dist/types/lite/attested-compute.d.ts +5 -3
- package/dist/types/lite/attested-decrypt.d.ts +2 -0
- package/dist/types/lite/index.d.ts +4 -1
- package/dist/types/lite/lightning.d.ts +32 -0
- package/dist/types/lite/reencrypt.d.ts +0 -1
- package/dist/types/reencryption/types.d.ts +1 -2
- package/package.json +28 -17
- package/dist/cjs/fhevm/fhe-environment.d.ts +0 -9
- package/dist/cjs/fhevm/fhe-environment.js +0 -11
- package/dist/cjs/fhevm/fhevm.d.ts +0 -41
- package/dist/cjs/fhevm/fhevm.js +0 -145
- package/dist/cjs/fhevm/index.d.ts +0 -1
- package/dist/cjs/fhevm/reencrypt.d.ts +0 -20
- package/dist/cjs/fhevm/reencrypt.js +0 -127
- package/dist/cjs/fhevm/tfhe.d.ts +0 -74
- package/dist/cjs/fhevm/tfhe.js +0 -336
- package/dist/cjs/fhevm/types.d.ts +0 -3
- package/dist/cjs/fhevm/types.js +0 -29
- package/dist/cjs/generated/abis/inco-fhevm.d.ts +0 -874
- package/dist/cjs/generated/abis/inco-fhevm.js +0 -681
- package/dist/cjs/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
- package/dist/cjs/generated/es/cosmos/msg/v1/msg_pb.js +0 -36
- package/dist/cjs/generated/es/google/api/annotations_pb.d.ts +0 -13
- package/dist/cjs/generated/es/google/api/annotations_pb.js +0 -30
- package/dist/cjs/generated/es/google/api/http_pb.d.ts +0 -440
- package/dist/cjs/generated/es/google/api/http_pb.js +0 -37
- package/dist/cjs/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
- package/dist/cjs/generated/es/inco/fhe/v1/events_pb.js +0 -24
- package/dist/cjs/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
- package/dist/cjs/generated/es/inco/fhe/v1/genesis_pb.js +0 -49
- package/dist/cjs/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
- package/dist/cjs/generated/es/inco/fhe/v1/query_pb.js +0 -111
- package/dist/cjs/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
- package/dist/cjs/generated/es/inco/fhe/v1/tx_pb.js +0 -111
- package/dist/cjs/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
- package/dist/cjs/generated/es/inco/preflight/v1/genesis_pb.js +0 -23
- package/dist/cjs/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
- package/dist/cjs/generated/es/inco/preflight/v1/query_pb.js +0 -41
- package/dist/cjs/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
- package/dist/cjs/generated/es/inco/preflight/v1/tx_pb.js +0 -51
- package/dist/cjs/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
- package/dist/cjs/generated/es/inco/preflight/v1/types_pb.js +0 -37
- package/dist/cjs/generated/fhe-environments.d.ts +0 -14
- package/dist/cjs/generated/fhe-environments.js +0 -18
- package/dist/cjs/generated/ts/amino/amino.d.ts +0 -1
- package/dist/cjs/generated/ts/amino/amino.js +0 -11
- package/dist/cjs/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
- package/dist/cjs/generated/ts/cometbft/abci/v1/types.js +0 -5079
- package/dist/cjs/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
- package/dist/cjs/generated/ts/cometbft/crypto/v1/keys.js +0 -108
- package/dist/cjs/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
- package/dist/cjs/generated/ts/cometbft/crypto/v1/proof.js +0 -433
- package/dist/cjs/generated/ts/cometbft/types/v1/params.d.ts +0 -179
- package/dist/cjs/generated/ts/cometbft/types/v1/params.js +0 -716
- package/dist/cjs/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
- package/dist/cjs/generated/ts/cometbft/types/v1/validator.js +0 -358
- package/dist/cjs/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
- package/dist/cjs/generated/ts/cosmos/app/v1alpha1/module.js +0 -221
- package/dist/cjs/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/cjs/generated/ts/cosmos/msg/v1/msg.js +0 -11
- package/dist/cjs/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
- package/dist/cjs/generated/ts/cosmos_proto/cosmos.js +0 -216
- package/dist/cjs/generated/ts/gogoproto/gogo.d.ts +0 -1
- package/dist/cjs/generated/ts/gogoproto/gogo.js +0 -11
- package/dist/cjs/generated/ts/google/api/annotations.d.ts +0 -1
- package/dist/cjs/generated/ts/google/api/annotations.js +0 -11
- package/dist/cjs/generated/ts/google/api/http.d.ts +0 -371
- package/dist/cjs/generated/ts/google/api/http.js +0 -356
- package/dist/cjs/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
- package/dist/cjs/generated/ts/google/protobuf/descriptor.js +0 -5108
- package/dist/cjs/generated/ts/google/protobuf/duration.d.ts +0 -99
- package/dist/cjs/generated/ts/google/protobuf/duration.js +0 -93
- package/dist/cjs/generated/ts/google/protobuf/timestamp.d.ts +0 -128
- package/dist/cjs/generated/ts/google/protobuf/timestamp.js +0 -93
- package/dist/cjs/generated/ts/google/protobuf/wrappers.d.ts +0 -111
- package/dist/cjs/generated/ts/google/protobuf/wrappers.js +0 -509
- package/dist/cjs/generated/ts/inco/abci/v1/types.d.ts +0 -35
- package/dist/cjs/generated/ts/inco/abci/v1/types.js +0 -73
- package/dist/cjs/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
- package/dist/cjs/generated/ts/inco/fhe/module/v1/module.js +0 -66
- package/dist/cjs/generated/ts/inco/fhe/v1/events.d.ts +0 -66
- package/dist/cjs/generated/ts/inco/fhe/v1/events.js +0 -190
- package/dist/cjs/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
- package/dist/cjs/generated/ts/inco/fhe/v1/genesis.js +0 -714
- package/dist/cjs/generated/ts/inco/fhe/v1/query.d.ts +0 -366
- package/dist/cjs/generated/ts/inco/fhe/v1/query.js +0 -1394
- package/dist/cjs/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
- package/dist/cjs/generated/ts/inco/fhe/v1/tx.js +0 -1236
- package/dist/cjs/generated/ts/inco/fhe/v1/types.d.ts +0 -225
- package/dist/cjs/generated/ts/inco/fhe/v1/types.js +0 -990
- package/dist/cjs/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
- package/dist/cjs/generated/ts/inco/originchain/module/v1/module.js +0 -66
- package/dist/cjs/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
- package/dist/cjs/generated/ts/inco/originchain/v1/abci.js +0 -331
- package/dist/cjs/generated/ts/inco/originchain/v1/events.d.ts +0 -60
- package/dist/cjs/generated/ts/inco/originchain/v1/events.js +0 -216
- package/dist/cjs/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
- package/dist/cjs/generated/ts/inco/originchain/v1/genesis.js +0 -69
- package/dist/cjs/generated/ts/inco/originchain/v1/query.d.ts +0 -116
- package/dist/cjs/generated/ts/inco/originchain/v1/query.js +0 -280
- package/dist/cjs/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
- package/dist/cjs/generated/ts/inco/originchain/v1/tx.js +0 -140
- package/dist/cjs/generated/ts/inco/originchain/v1/types.d.ts +0 -58
- package/dist/cjs/generated/ts/inco/originchain/v1/types.js +0 -203
- package/dist/cjs/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
- package/dist/cjs/generated/ts/inco/preflight/module/v1/module.js +0 -66
- package/dist/cjs/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
- package/dist/cjs/generated/ts/inco/preflight/v1/genesis.js +0 -185
- package/dist/cjs/generated/ts/inco/preflight/v1/query.d.ts +0 -93
- package/dist/cjs/generated/ts/inco/preflight/v1/query.js +0 -259
- package/dist/cjs/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
- package/dist/cjs/generated/ts/inco/preflight/v1/tx.js +0 -448
- package/dist/cjs/generated/ts/inco/preflight/v1/types.d.ts +0 -84
- package/dist/cjs/generated/ts/inco/preflight/v1/types.js +0 -398
- package/dist/cjs/l1/client.d.ts +0 -35
- package/dist/cjs/l1/client.js +0 -97
- package/dist/cjs/l1/index.d.ts +0 -2
- package/dist/cjs/l1/index.js +0 -19
- package/dist/cjs/l1/preflight.d.ts +0 -20
- package/dist/cjs/l1/preflight.js +0 -42
- package/dist/esm/fhevm/fhe-environment.d.ts +0 -9
- package/dist/esm/fhevm/fhe-environment.js +0 -8
- package/dist/esm/fhevm/fhevm.d.ts +0 -41
- package/dist/esm/fhevm/fhevm.js +0 -139
- package/dist/esm/fhevm/index.d.ts +0 -1
- package/dist/esm/fhevm/index.js +0 -2
- package/dist/esm/fhevm/reencrypt.d.ts +0 -20
- package/dist/esm/fhevm/reencrypt.js +0 -123
- package/dist/esm/fhevm/tfhe.d.ts +0 -74
- package/dist/esm/fhevm/tfhe.js +0 -328
- package/dist/esm/fhevm/types.d.ts +0 -3
- package/dist/esm/fhevm/types.js +0 -26
- package/dist/esm/generated/abis/inco-fhevm.d.ts +0 -874
- package/dist/esm/generated/abis/inco-fhevm.js +0 -678
- package/dist/esm/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
- package/dist/esm/generated/es/cosmos/msg/v1/msg_pb.js +0 -33
- package/dist/esm/generated/es/google/api/annotations_pb.d.ts +0 -13
- package/dist/esm/generated/es/google/api/annotations_pb.js +0 -27
- package/dist/esm/generated/es/google/api/http_pb.d.ts +0 -440
- package/dist/esm/generated/es/google/api/http_pb.js +0 -34
- package/dist/esm/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
- package/dist/esm/generated/es/inco/fhe/v1/events_pb.js +0 -21
- package/dist/esm/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
- package/dist/esm/generated/es/inco/fhe/v1/genesis_pb.js +0 -46
- package/dist/esm/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
- package/dist/esm/generated/es/inco/fhe/v1/query_pb.js +0 -108
- package/dist/esm/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
- package/dist/esm/generated/es/inco/fhe/v1/tx_pb.js +0 -108
- package/dist/esm/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
- package/dist/esm/generated/es/inco/preflight/v1/genesis_pb.js +0 -20
- package/dist/esm/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
- package/dist/esm/generated/es/inco/preflight/v1/query_pb.js +0 -38
- package/dist/esm/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
- package/dist/esm/generated/es/inco/preflight/v1/tx_pb.js +0 -48
- package/dist/esm/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
- package/dist/esm/generated/es/inco/preflight/v1/types_pb.js +0 -34
- package/dist/esm/generated/fhe-environments.d.ts +0 -14
- package/dist/esm/generated/fhe-environments.js +0 -15
- package/dist/esm/generated/ts/amino/amino.d.ts +0 -1
- package/dist/esm/generated/ts/amino/amino.js +0 -8
- package/dist/esm/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
- package/dist/esm/generated/ts/cometbft/abci/v1/types.js +0 -5063
- package/dist/esm/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
- package/dist/esm/generated/ts/cometbft/crypto/v1/keys.js +0 -105
- package/dist/esm/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
- package/dist/esm/generated/ts/cometbft/crypto/v1/proof.js +0 -430
- package/dist/esm/generated/ts/cometbft/types/v1/params.d.ts +0 -179
- package/dist/esm/generated/ts/cometbft/types/v1/params.js +0 -713
- package/dist/esm/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
- package/dist/esm/generated/ts/cometbft/types/v1/validator.js +0 -353
- package/dist/esm/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
- package/dist/esm/generated/ts/cosmos/app/v1alpha1/module.js +0 -218
- package/dist/esm/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/esm/generated/ts/cosmos/msg/v1/msg.js +0 -8
- package/dist/esm/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
- package/dist/esm/generated/ts/cosmos_proto/cosmos.js +0 -211
- package/dist/esm/generated/ts/gogoproto/gogo.d.ts +0 -1
- package/dist/esm/generated/ts/gogoproto/gogo.js +0 -8
- package/dist/esm/generated/ts/google/api/annotations.d.ts +0 -1
- package/dist/esm/generated/ts/google/api/annotations.js +0 -8
- package/dist/esm/generated/ts/google/api/http.d.ts +0 -371
- package/dist/esm/generated/ts/google/api/http.js +0 -353
- package/dist/esm/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
- package/dist/esm/generated/ts/google/protobuf/descriptor.js +0 -5070
- package/dist/esm/generated/ts/google/protobuf/duration.d.ts +0 -99
- package/dist/esm/generated/ts/google/protobuf/duration.js +0 -90
- package/dist/esm/generated/ts/google/protobuf/timestamp.d.ts +0 -128
- package/dist/esm/generated/ts/google/protobuf/timestamp.js +0 -90
- package/dist/esm/generated/ts/google/protobuf/wrappers.d.ts +0 -111
- package/dist/esm/generated/ts/google/protobuf/wrappers.js +0 -506
- package/dist/esm/generated/ts/inco/abci/v1/types.d.ts +0 -35
- package/dist/esm/generated/ts/inco/abci/v1/types.js +0 -70
- package/dist/esm/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
- package/dist/esm/generated/ts/inco/fhe/module/v1/module.js +0 -63
- package/dist/esm/generated/ts/inco/fhe/v1/events.d.ts +0 -66
- package/dist/esm/generated/ts/inco/fhe/v1/events.js +0 -187
- package/dist/esm/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
- package/dist/esm/generated/ts/inco/fhe/v1/genesis.js +0 -711
- package/dist/esm/generated/ts/inco/fhe/v1/query.d.ts +0 -366
- package/dist/esm/generated/ts/inco/fhe/v1/query.js +0 -1391
- package/dist/esm/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
- package/dist/esm/generated/ts/inco/fhe/v1/tx.js +0 -1233
- package/dist/esm/generated/ts/inco/fhe/v1/types.d.ts +0 -225
- package/dist/esm/generated/ts/inco/fhe/v1/types.js +0 -985
- package/dist/esm/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
- package/dist/esm/generated/ts/inco/originchain/module/v1/module.js +0 -63
- package/dist/esm/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
- package/dist/esm/generated/ts/inco/originchain/v1/abci.js +0 -328
- package/dist/esm/generated/ts/inco/originchain/v1/events.d.ts +0 -60
- package/dist/esm/generated/ts/inco/originchain/v1/events.js +0 -213
- package/dist/esm/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
- package/dist/esm/generated/ts/inco/originchain/v1/genesis.js +0 -66
- package/dist/esm/generated/ts/inco/originchain/v1/query.d.ts +0 -116
- package/dist/esm/generated/ts/inco/originchain/v1/query.js +0 -277
- package/dist/esm/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
- package/dist/esm/generated/ts/inco/originchain/v1/tx.js +0 -137
- package/dist/esm/generated/ts/inco/originchain/v1/types.d.ts +0 -58
- package/dist/esm/generated/ts/inco/originchain/v1/types.js +0 -200
- package/dist/esm/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
- package/dist/esm/generated/ts/inco/preflight/module/v1/module.js +0 -63
- package/dist/esm/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
- package/dist/esm/generated/ts/inco/preflight/v1/genesis.js +0 -182
- package/dist/esm/generated/ts/inco/preflight/v1/query.d.ts +0 -93
- package/dist/esm/generated/ts/inco/preflight/v1/query.js +0 -256
- package/dist/esm/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
- package/dist/esm/generated/ts/inco/preflight/v1/tx.js +0 -445
- package/dist/esm/generated/ts/inco/preflight/v1/types.d.ts +0 -84
- package/dist/esm/generated/ts/inco/preflight/v1/types.js +0 -395
- package/dist/esm/l1/client.d.ts +0 -35
- package/dist/esm/l1/client.js +0 -93
- package/dist/esm/l1/index.d.ts +0 -2
- package/dist/esm/l1/index.js +0 -3
- package/dist/esm/l1/preflight.d.ts +0 -20
- package/dist/esm/l1/preflight.js +0 -39
- package/dist/types/fhevm/fhe-environment.d.ts +0 -9
- package/dist/types/fhevm/fhevm.d.ts +0 -41
- package/dist/types/fhevm/index.d.ts +0 -1
- package/dist/types/fhevm/reencrypt.d.ts +0 -20
- package/dist/types/fhevm/tfhe.d.ts +0 -74
- package/dist/types/fhevm/types.d.ts +0 -3
- package/dist/types/generated/abis/inco-fhevm.d.ts +0 -874
- package/dist/types/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
- package/dist/types/generated/es/google/api/annotations_pb.d.ts +0 -13
- package/dist/types/generated/es/google/api/http_pb.d.ts +0 -440
- package/dist/types/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
- package/dist/types/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
- package/dist/types/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
- package/dist/types/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
- package/dist/types/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
- package/dist/types/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
- package/dist/types/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
- package/dist/types/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
- package/dist/types/generated/fhe-environments.d.ts +0 -14
- package/dist/types/generated/ts/amino/amino.d.ts +0 -1
- package/dist/types/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
- package/dist/types/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
- package/dist/types/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
- package/dist/types/generated/ts/cometbft/types/v1/params.d.ts +0 -179
- package/dist/types/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
- package/dist/types/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
- package/dist/types/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/types/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
- package/dist/types/generated/ts/gogoproto/gogo.d.ts +0 -1
- package/dist/types/generated/ts/google/api/annotations.d.ts +0 -1
- package/dist/types/generated/ts/google/api/http.d.ts +0 -371
- package/dist/types/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
- package/dist/types/generated/ts/google/protobuf/duration.d.ts +0 -99
- package/dist/types/generated/ts/google/protobuf/timestamp.d.ts +0 -128
- package/dist/types/generated/ts/google/protobuf/wrappers.d.ts +0 -111
- package/dist/types/generated/ts/inco/abci/v1/types.d.ts +0 -35
- package/dist/types/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
- package/dist/types/generated/ts/inco/fhe/v1/events.d.ts +0 -66
- package/dist/types/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
- package/dist/types/generated/ts/inco/fhe/v1/query.d.ts +0 -366
- package/dist/types/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
- package/dist/types/generated/ts/inco/fhe/v1/types.d.ts +0 -225
- package/dist/types/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
- package/dist/types/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
- package/dist/types/generated/ts/inco/originchain/v1/events.d.ts +0 -60
- package/dist/types/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
- package/dist/types/generated/ts/inco/originchain/v1/query.d.ts +0 -116
- package/dist/types/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
- package/dist/types/generated/ts/inco/originchain/v1/types.d.ts +0 -58
- package/dist/types/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
- package/dist/types/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
- package/dist/types/generated/ts/inco/preflight/v1/query.d.ts +0 -93
- package/dist/types/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
- package/dist/types/generated/ts/inco/preflight/v1/types.d.ts +0 -84
- package/dist/types/l1/client.d.ts +0 -35
- package/dist/types/l1/index.d.ts +0 -2
- package/dist/types/l1/preflight.d.ts +0 -20
@@ -1,29 +0,0 @@
|
|
1
|
-
import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
|
2
|
-
import type { MessageOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
|
3
|
-
/**
|
4
|
-
* Describes the file cosmos/msg/v1/msg.proto.
|
5
|
-
*/
|
6
|
-
export declare const file_cosmos_msg_v1_msg: GenFile;
|
7
|
-
/**
|
8
|
-
* service indicates that the service is a Msg service and that requests
|
9
|
-
* must be transported via blockchain transactions rather than gRPC.
|
10
|
-
* Tooling can use this annotation to distinguish between Msg services and
|
11
|
-
* other types of services via reflection.
|
12
|
-
*
|
13
|
-
* @generated from extension: bool service = 11110000;
|
14
|
-
*/
|
15
|
-
export declare const service: GenExtension<ServiceOptions, boolean>;
|
16
|
-
/**
|
17
|
-
* signer must be used in cosmos messages in order
|
18
|
-
* to signal to external clients which fields in a
|
19
|
-
* given cosmos message must be filled with signer
|
20
|
-
* information (address).
|
21
|
-
* The field must be the protobuf name of the message
|
22
|
-
* field extended with this MessageOption.
|
23
|
-
* The field must either be of string kind, or of message
|
24
|
-
* kind in case the signer information is contained within
|
25
|
-
* a message inside the cosmos message.
|
26
|
-
*
|
27
|
-
* @generated from extension: repeated string signer = 11110000;
|
28
|
-
*/
|
29
|
-
export declare const signer: GenExtension<MessageOptions, string[]>;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
|
2
|
-
import type { HttpRule } from "./http_pb";
|
3
|
-
import type { MethodOptions } from "@bufbuild/protobuf/wkt";
|
4
|
-
/**
|
5
|
-
* Describes the file google/api/annotations.proto.
|
6
|
-
*/
|
7
|
-
export declare const file_google_api_annotations: GenFile;
|
8
|
-
/**
|
9
|
-
* See `HttpRule`.
|
10
|
-
*
|
11
|
-
* @generated from extension: google.api.HttpRule http = 72295728;
|
12
|
-
*/
|
13
|
-
export declare const http: GenExtension<MethodOptions, HttpRule>;
|
@@ -1,440 +0,0 @@
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
2
|
-
import type { Message } from "@bufbuild/protobuf";
|
3
|
-
/**
|
4
|
-
* Describes the file google/api/http.proto.
|
5
|
-
*/
|
6
|
-
export declare const file_google_api_http: GenFile;
|
7
|
-
/**
|
8
|
-
* Defines the HTTP configuration for an API service. It contains a list of
|
9
|
-
* [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
|
10
|
-
* to one or more HTTP REST API methods.
|
11
|
-
*
|
12
|
-
* @generated from message google.api.Http
|
13
|
-
*/
|
14
|
-
export type Http = Message<"google.api.Http"> & {
|
15
|
-
/**
|
16
|
-
* A list of HTTP configuration rules that apply to individual API methods.
|
17
|
-
*
|
18
|
-
* **NOTE:** All service configuration rules follow "last one wins" order.
|
19
|
-
*
|
20
|
-
* @generated from field: repeated google.api.HttpRule rules = 1;
|
21
|
-
*/
|
22
|
-
rules: HttpRule[];
|
23
|
-
/**
|
24
|
-
* When set to true, URL path parameters will be fully URI-decoded except in
|
25
|
-
* cases of single segment matches in reserved expansion, where "%2F" will be
|
26
|
-
* left encoded.
|
27
|
-
*
|
28
|
-
* The default behavior is to not decode RFC 6570 reserved characters in multi
|
29
|
-
* segment matches.
|
30
|
-
*
|
31
|
-
* @generated from field: bool fully_decode_reserved_expansion = 2;
|
32
|
-
*/
|
33
|
-
fullyDecodeReservedExpansion: boolean;
|
34
|
-
};
|
35
|
-
/**
|
36
|
-
* Describes the message google.api.Http.
|
37
|
-
* Use `create(HttpSchema)` to create a new message.
|
38
|
-
*/
|
39
|
-
export declare const HttpSchema: GenMessage<Http>;
|
40
|
-
/**
|
41
|
-
* gRPC Transcoding
|
42
|
-
*
|
43
|
-
* gRPC Transcoding is a feature for mapping between a gRPC method and one or
|
44
|
-
* more HTTP REST endpoints. It allows developers to build a single API service
|
45
|
-
* that supports both gRPC APIs and REST APIs. Many systems, including [Google
|
46
|
-
* APIs](https://github.com/googleapis/googleapis),
|
47
|
-
* [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
|
48
|
-
* Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
|
49
|
-
* and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
|
50
|
-
* and use it for large scale production services.
|
51
|
-
*
|
52
|
-
* `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
|
53
|
-
* how different portions of the gRPC request message are mapped to the URL
|
54
|
-
* path, URL query parameters, and HTTP request body. It also controls how the
|
55
|
-
* gRPC response message is mapped to the HTTP response body. `HttpRule` is
|
56
|
-
* typically specified as an `google.api.http` annotation on the gRPC method.
|
57
|
-
*
|
58
|
-
* Each mapping specifies a URL path template and an HTTP method. The path
|
59
|
-
* template may refer to one or more fields in the gRPC request message, as long
|
60
|
-
* as each field is a non-repeated field with a primitive (non-message) type.
|
61
|
-
* The path template controls how fields of the request message are mapped to
|
62
|
-
* the URL path.
|
63
|
-
*
|
64
|
-
* Example:
|
65
|
-
*
|
66
|
-
* service Messaging {
|
67
|
-
* rpc GetMessage(GetMessageRequest) returns (Message) {
|
68
|
-
* option (google.api.http) = {
|
69
|
-
* get: "/v1/{name=messages/*}"
|
70
|
-
* };
|
71
|
-
* }
|
72
|
-
* }
|
73
|
-
* message GetMessageRequest {
|
74
|
-
* string name = 1; // Mapped to URL path.
|
75
|
-
* }
|
76
|
-
* message Message {
|
77
|
-
* string text = 1; // The resource content.
|
78
|
-
* }
|
79
|
-
*
|
80
|
-
* This enables an HTTP REST to gRPC mapping as below:
|
81
|
-
*
|
82
|
-
* - HTTP: `GET /v1/messages/123456`
|
83
|
-
* - gRPC: `GetMessage(name: "messages/123456")`
|
84
|
-
*
|
85
|
-
* Any fields in the request message which are not bound by the path template
|
86
|
-
* automatically become HTTP query parameters if there is no HTTP request body.
|
87
|
-
* For example:
|
88
|
-
*
|
89
|
-
* service Messaging {
|
90
|
-
* rpc GetMessage(GetMessageRequest) returns (Message) {
|
91
|
-
* option (google.api.http) = {
|
92
|
-
* get:"/v1/messages/{message_id}"
|
93
|
-
* };
|
94
|
-
* }
|
95
|
-
* }
|
96
|
-
* message GetMessageRequest {
|
97
|
-
* message SubMessage {
|
98
|
-
* string subfield = 1;
|
99
|
-
* }
|
100
|
-
* string message_id = 1; // Mapped to URL path.
|
101
|
-
* int64 revision = 2; // Mapped to URL query parameter `revision`.
|
102
|
-
* SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
|
103
|
-
* }
|
104
|
-
*
|
105
|
-
* This enables a HTTP JSON to RPC mapping as below:
|
106
|
-
*
|
107
|
-
* - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
|
108
|
-
* - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
|
109
|
-
* SubMessage(subfield: "foo"))`
|
110
|
-
*
|
111
|
-
* Note that fields which are mapped to URL query parameters must have a
|
112
|
-
* primitive type or a repeated primitive type or a non-repeated message type.
|
113
|
-
* In the case of a repeated type, the parameter can be repeated in the URL
|
114
|
-
* as `...?param=A¶m=B`. In the case of a message type, each field of the
|
115
|
-
* message is mapped to a separate parameter, such as
|
116
|
-
* `...?foo.a=A&foo.b=B&foo.c=C`.
|
117
|
-
*
|
118
|
-
* For HTTP methods that allow a request body, the `body` field
|
119
|
-
* specifies the mapping. Consider a REST update method on the
|
120
|
-
* message resource collection:
|
121
|
-
*
|
122
|
-
* service Messaging {
|
123
|
-
* rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
|
124
|
-
* option (google.api.http) = {
|
125
|
-
* patch: "/v1/messages/{message_id}"
|
126
|
-
* body: "message"
|
127
|
-
* };
|
128
|
-
* }
|
129
|
-
* }
|
130
|
-
* message UpdateMessageRequest {
|
131
|
-
* string message_id = 1; // mapped to the URL
|
132
|
-
* Message message = 2; // mapped to the body
|
133
|
-
* }
|
134
|
-
*
|
135
|
-
* The following HTTP JSON to RPC mapping is enabled, where the
|
136
|
-
* representation of the JSON in the request body is determined by
|
137
|
-
* protos JSON encoding:
|
138
|
-
*
|
139
|
-
* - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
|
140
|
-
* - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
|
141
|
-
*
|
142
|
-
* The special name `*` can be used in the body mapping to define that
|
143
|
-
* every field not bound by the path template should be mapped to the
|
144
|
-
* request body. This enables the following alternative definition of
|
145
|
-
* the update method:
|
146
|
-
*
|
147
|
-
* service Messaging {
|
148
|
-
* rpc UpdateMessage(Message) returns (Message) {
|
149
|
-
* option (google.api.http) = {
|
150
|
-
* patch: "/v1/messages/{message_id}"
|
151
|
-
* body: "*"
|
152
|
-
* };
|
153
|
-
* }
|
154
|
-
* }
|
155
|
-
* message Message {
|
156
|
-
* string message_id = 1;
|
157
|
-
* string text = 2;
|
158
|
-
* }
|
159
|
-
*
|
160
|
-
*
|
161
|
-
* The following HTTP JSON to RPC mapping is enabled:
|
162
|
-
*
|
163
|
-
* - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
|
164
|
-
* - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
|
165
|
-
*
|
166
|
-
* Note that when using `*` in the body mapping, it is not possible to
|
167
|
-
* have HTTP parameters, as all fields not bound by the path end in
|
168
|
-
* the body. This makes this option more rarely used in practice when
|
169
|
-
* defining REST APIs. The common usage of `*` is in custom methods
|
170
|
-
* which don't use the URL at all for transferring data.
|
171
|
-
*
|
172
|
-
* It is possible to define multiple HTTP methods for one RPC by using
|
173
|
-
* the `additional_bindings` option. Example:
|
174
|
-
*
|
175
|
-
* service Messaging {
|
176
|
-
* rpc GetMessage(GetMessageRequest) returns (Message) {
|
177
|
-
* option (google.api.http) = {
|
178
|
-
* get: "/v1/messages/{message_id}"
|
179
|
-
* additional_bindings {
|
180
|
-
* get: "/v1/users/{user_id}/messages/{message_id}"
|
181
|
-
* }
|
182
|
-
* };
|
183
|
-
* }
|
184
|
-
* }
|
185
|
-
* message GetMessageRequest {
|
186
|
-
* string message_id = 1;
|
187
|
-
* string user_id = 2;
|
188
|
-
* }
|
189
|
-
*
|
190
|
-
* This enables the following two alternative HTTP JSON to RPC mappings:
|
191
|
-
*
|
192
|
-
* - HTTP: `GET /v1/messages/123456`
|
193
|
-
* - gRPC: `GetMessage(message_id: "123456")`
|
194
|
-
*
|
195
|
-
* - HTTP: `GET /v1/users/me/messages/123456`
|
196
|
-
* - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
|
197
|
-
*
|
198
|
-
* Rules for HTTP mapping
|
199
|
-
*
|
200
|
-
* 1. Leaf request fields (recursive expansion nested messages in the request
|
201
|
-
* message) are classified into three categories:
|
202
|
-
* - Fields referred by the path template. They are passed via the URL path.
|
203
|
-
* - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
|
204
|
-
* are passed via the HTTP
|
205
|
-
* request body.
|
206
|
-
* - All other fields are passed via the URL query parameters, and the
|
207
|
-
* parameter name is the field path in the request message. A repeated
|
208
|
-
* field can be represented as multiple query parameters under the same
|
209
|
-
* name.
|
210
|
-
* 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
|
211
|
-
* query parameter, all fields
|
212
|
-
* are passed via URL path and HTTP request body.
|
213
|
-
* 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
|
214
|
-
* request body, all
|
215
|
-
* fields are passed via URL path and URL query parameters.
|
216
|
-
*
|
217
|
-
* Path template syntax
|
218
|
-
*
|
219
|
-
* Template = "/" Segments [ Verb ] ;
|
220
|
-
* Segments = Segment { "/" Segment } ;
|
221
|
-
* Segment = "*" | "**" | LITERAL | Variable ;
|
222
|
-
* Variable = "{" FieldPath [ "=" Segments ] "}" ;
|
223
|
-
* FieldPath = IDENT { "." IDENT } ;
|
224
|
-
* Verb = ":" LITERAL ;
|
225
|
-
*
|
226
|
-
* The syntax `*` matches a single URL path segment. The syntax `**` matches
|
227
|
-
* zero or more URL path segments, which must be the last part of the URL path
|
228
|
-
* except the `Verb`.
|
229
|
-
*
|
230
|
-
* The syntax `Variable` matches part of the URL path as specified by its
|
231
|
-
* template. A variable template must not contain other variables. If a variable
|
232
|
-
* matches a single path segment, its template may be omitted, e.g. `{var}`
|
233
|
-
* is equivalent to `{var=*}`.
|
234
|
-
*
|
235
|
-
* The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
|
236
|
-
* contains any reserved character, such characters should be percent-encoded
|
237
|
-
* before the matching.
|
238
|
-
*
|
239
|
-
* If a variable contains exactly one path segment, such as `"{var}"` or
|
240
|
-
* `"{var=*}"`, when such a variable is expanded into a URL path on the client
|
241
|
-
* side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
|
242
|
-
* server side does the reverse decoding. Such variables show up in the
|
243
|
-
* [Discovery
|
244
|
-
* Document](https://developers.google.com/discovery/v1/reference/apis) as
|
245
|
-
* `{var}`.
|
246
|
-
*
|
247
|
-
* If a variable contains multiple path segments, such as `"{var=foo/*}"`
|
248
|
-
* or `"{var=**}"`, when such a variable is expanded into a URL path on the
|
249
|
-
* client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
|
250
|
-
* The server side does the reverse decoding, except "%2F" and "%2f" are left
|
251
|
-
* unchanged. Such variables show up in the
|
252
|
-
* [Discovery
|
253
|
-
* Document](https://developers.google.com/discovery/v1/reference/apis) as
|
254
|
-
* `{+var}`.
|
255
|
-
*
|
256
|
-
* Using gRPC API Service Configuration
|
257
|
-
*
|
258
|
-
* gRPC API Service Configuration (service config) is a configuration language
|
259
|
-
* for configuring a gRPC service to become a user-facing product. The
|
260
|
-
* service config is simply the YAML representation of the `google.api.Service`
|
261
|
-
* proto message.
|
262
|
-
*
|
263
|
-
* As an alternative to annotating your proto file, you can configure gRPC
|
264
|
-
* transcoding in your service config YAML files. You do this by specifying a
|
265
|
-
* `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
|
266
|
-
* effect as the proto annotation. This can be particularly useful if you
|
267
|
-
* have a proto that is reused in multiple services. Note that any transcoding
|
268
|
-
* specified in the service config will override any matching transcoding
|
269
|
-
* configuration in the proto.
|
270
|
-
*
|
271
|
-
* The following example selects a gRPC method and applies an `HttpRule` to it:
|
272
|
-
*
|
273
|
-
* http:
|
274
|
-
* rules:
|
275
|
-
* - selector: example.v1.Messaging.GetMessage
|
276
|
-
* get: /v1/messages/{message_id}/{sub.subfield}
|
277
|
-
*
|
278
|
-
* Special notes
|
279
|
-
*
|
280
|
-
* When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
|
281
|
-
* proto to JSON conversion must follow the [proto3
|
282
|
-
* specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
|
283
|
-
*
|
284
|
-
* While the single segment variable follows the semantics of
|
285
|
-
* [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
|
286
|
-
* Expansion, the multi segment variable **does not** follow RFC 6570 Section
|
287
|
-
* 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
|
288
|
-
* does not expand special characters like `?` and `#`, which would lead
|
289
|
-
* to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
|
290
|
-
* for multi segment variables.
|
291
|
-
*
|
292
|
-
* The path variables **must not** refer to any repeated or mapped field,
|
293
|
-
* because client libraries are not capable of handling such variable expansion.
|
294
|
-
*
|
295
|
-
* The path variables **must not** capture the leading "/" character. The reason
|
296
|
-
* is that the most common use case "{var}" does not capture the leading "/"
|
297
|
-
* character. For consistency, all path variables must share the same behavior.
|
298
|
-
*
|
299
|
-
* Repeated message fields must not be mapped to URL query parameters, because
|
300
|
-
* no client library can support such complicated mapping.
|
301
|
-
*
|
302
|
-
* If an API needs to use a JSON array for request or response body, it can map
|
303
|
-
* the request or response body to a repeated field. However, some gRPC
|
304
|
-
* Transcoding implementations may not support this feature.
|
305
|
-
*
|
306
|
-
* @generated from message google.api.HttpRule
|
307
|
-
*/
|
308
|
-
export type HttpRule = Message<"google.api.HttpRule"> & {
|
309
|
-
/**
|
310
|
-
* Selects a method to which this rule applies.
|
311
|
-
*
|
312
|
-
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
313
|
-
* details.
|
314
|
-
*
|
315
|
-
* @generated from field: string selector = 1;
|
316
|
-
*/
|
317
|
-
selector: string;
|
318
|
-
/**
|
319
|
-
* Determines the URL pattern is matched by this rules. This pattern can be
|
320
|
-
* used with any of the {get|put|post|delete|patch} methods. A custom method
|
321
|
-
* can be defined using the 'custom' field.
|
322
|
-
*
|
323
|
-
* @generated from oneof google.api.HttpRule.pattern
|
324
|
-
*/
|
325
|
-
pattern: {
|
326
|
-
/**
|
327
|
-
* Maps to HTTP GET. Used for listing and getting information about
|
328
|
-
* resources.
|
329
|
-
*
|
330
|
-
* @generated from field: string get = 2;
|
331
|
-
*/
|
332
|
-
value: string;
|
333
|
-
case: "get";
|
334
|
-
} | {
|
335
|
-
/**
|
336
|
-
* Maps to HTTP PUT. Used for replacing a resource.
|
337
|
-
*
|
338
|
-
* @generated from field: string put = 3;
|
339
|
-
*/
|
340
|
-
value: string;
|
341
|
-
case: "put";
|
342
|
-
} | {
|
343
|
-
/**
|
344
|
-
* Maps to HTTP POST. Used for creating a resource or performing an action.
|
345
|
-
*
|
346
|
-
* @generated from field: string post = 4;
|
347
|
-
*/
|
348
|
-
value: string;
|
349
|
-
case: "post";
|
350
|
-
} | {
|
351
|
-
/**
|
352
|
-
* Maps to HTTP DELETE. Used for deleting a resource.
|
353
|
-
*
|
354
|
-
* @generated from field: string delete = 5;
|
355
|
-
*/
|
356
|
-
value: string;
|
357
|
-
case: "delete";
|
358
|
-
} | {
|
359
|
-
/**
|
360
|
-
* Maps to HTTP PATCH. Used for updating a resource.
|
361
|
-
*
|
362
|
-
* @generated from field: string patch = 6;
|
363
|
-
*/
|
364
|
-
value: string;
|
365
|
-
case: "patch";
|
366
|
-
} | {
|
367
|
-
/**
|
368
|
-
* The custom pattern is used for specifying an HTTP method that is not
|
369
|
-
* included in the `pattern` field, such as HEAD, or "*" to leave the
|
370
|
-
* HTTP method unspecified for this rule. The wild-card rule is useful
|
371
|
-
* for services that provide content to Web (HTML) clients.
|
372
|
-
*
|
373
|
-
* @generated from field: google.api.CustomHttpPattern custom = 8;
|
374
|
-
*/
|
375
|
-
value: CustomHttpPattern;
|
376
|
-
case: "custom";
|
377
|
-
} | {
|
378
|
-
case: undefined;
|
379
|
-
value?: undefined;
|
380
|
-
};
|
381
|
-
/**
|
382
|
-
* The name of the request field whose value is mapped to the HTTP request
|
383
|
-
* body, or `*` for mapping all request fields not captured by the path
|
384
|
-
* pattern to the HTTP body, or omitted for not having any HTTP request body.
|
385
|
-
*
|
386
|
-
* NOTE: the referred field must be present at the top-level of the request
|
387
|
-
* message type.
|
388
|
-
*
|
389
|
-
* @generated from field: string body = 7;
|
390
|
-
*/
|
391
|
-
body: string;
|
392
|
-
/**
|
393
|
-
* Optional. The name of the response field whose value is mapped to the HTTP
|
394
|
-
* response body. When omitted, the entire response message will be used
|
395
|
-
* as the HTTP response body.
|
396
|
-
*
|
397
|
-
* NOTE: The referred field must be present at the top-level of the response
|
398
|
-
* message type.
|
399
|
-
*
|
400
|
-
* @generated from field: string response_body = 12;
|
401
|
-
*/
|
402
|
-
responseBody: string;
|
403
|
-
/**
|
404
|
-
* Additional HTTP bindings for the selector. Nested bindings must
|
405
|
-
* not contain an `additional_bindings` field themselves (that is,
|
406
|
-
* the nesting may only be one level deep).
|
407
|
-
*
|
408
|
-
* @generated from field: repeated google.api.HttpRule additional_bindings = 11;
|
409
|
-
*/
|
410
|
-
additionalBindings: HttpRule[];
|
411
|
-
};
|
412
|
-
/**
|
413
|
-
* Describes the message google.api.HttpRule.
|
414
|
-
* Use `create(HttpRuleSchema)` to create a new message.
|
415
|
-
*/
|
416
|
-
export declare const HttpRuleSchema: GenMessage<HttpRule>;
|
417
|
-
/**
|
418
|
-
* A custom pattern is used for defining custom HTTP verb.
|
419
|
-
*
|
420
|
-
* @generated from message google.api.CustomHttpPattern
|
421
|
-
*/
|
422
|
-
export type CustomHttpPattern = Message<"google.api.CustomHttpPattern"> & {
|
423
|
-
/**
|
424
|
-
* The name of this custom HTTP verb.
|
425
|
-
*
|
426
|
-
* @generated from field: string kind = 1;
|
427
|
-
*/
|
428
|
-
kind: string;
|
429
|
-
/**
|
430
|
-
* The path matched by this custom verb.
|
431
|
-
*
|
432
|
-
* @generated from field: string path = 2;
|
433
|
-
*/
|
434
|
-
path: string;
|
435
|
-
};
|
436
|
-
/**
|
437
|
-
* Describes the message google.api.CustomHttpPattern.
|
438
|
-
* Use `create(CustomHttpPatternSchema)` to create a new message.
|
439
|
-
*/
|
440
|
-
export declare const CustomHttpPatternSchema: GenMessage<CustomHttpPattern>;
|
@@ -1,79 +0,0 @@
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
2
|
-
import type { CARoot, FheEnvBlock } from "./types_pb";
|
3
|
-
import type { Message } from "@bufbuild/protobuf";
|
4
|
-
/**
|
5
|
-
* Describes the file inco/fhe/v1/events.proto.
|
6
|
-
*/
|
7
|
-
export declare const file_inco_fhe_v1_events: GenFile;
|
8
|
-
/**
|
9
|
-
* EventVote is an event that is emitted when a covalidator votes on the CA
|
10
|
-
* Root.
|
11
|
-
*
|
12
|
-
* @generated from message inco.fhe.v1.EventVote
|
13
|
-
*/
|
14
|
-
export type EventVote = Message<"inco.fhe.v1.EventVote"> & {
|
15
|
-
/**
|
16
|
-
* covalidator is the Bech32 address of the covalidator that voted.
|
17
|
-
*
|
18
|
-
* @generated from field: string covalidator = 1;
|
19
|
-
*/
|
20
|
-
covalidator: string;
|
21
|
-
/**
|
22
|
-
* fhe_env_block is the FHE environment and block hash that the covalidator
|
23
|
-
* voted on.
|
24
|
-
*
|
25
|
-
* @generated from field: inco.fhe.v1.FheEnvBlock fhe_env_block = 2;
|
26
|
-
*/
|
27
|
-
fheEnvBlock?: FheEnvBlock;
|
28
|
-
/**
|
29
|
-
* ca_root is the CA Root that the covalidator voted for.
|
30
|
-
*
|
31
|
-
* @generated from field: inco.fhe.v1.CARoot ca_root = 3;
|
32
|
-
*/
|
33
|
-
caRoot?: CARoot;
|
34
|
-
/**
|
35
|
-
* consensus_reached is true if the CA Root has been voted on by >2/3rds of
|
36
|
-
* the covalidators after the current vote has been submitted.
|
37
|
-
*
|
38
|
-
* @generated from field: bool consensus_reached = 6;
|
39
|
-
*/
|
40
|
-
consensusReached: boolean;
|
41
|
-
};
|
42
|
-
/**
|
43
|
-
* Describes the message inco.fhe.v1.EventVote.
|
44
|
-
* Use `create(EventVoteSchema)` to create a new message.
|
45
|
-
*/
|
46
|
-
export declare const EventVoteSchema: GenMessage<EventVote>;
|
47
|
-
/**
|
48
|
-
* EventCARoot is an event that is emitted when >2/3rds of the weighted
|
49
|
-
* covalidators have voted on the same CA Root, which is then stored in state.
|
50
|
-
*
|
51
|
-
* This event can be used as notification for when a covalidator is out of
|
52
|
-
* consensus: for each new block hash, the covalidator can listen for the
|
53
|
-
* emitted EventCARoot and compare the included CA Root with the one computed
|
54
|
-
* locally. If they are different, the covalidator is out of consensus and
|
55
|
-
* should initiate a reaction process to get back into consensus.
|
56
|
-
*
|
57
|
-
* @generated from message inco.fhe.v1.EventCARoot
|
58
|
-
*/
|
59
|
-
export type EventCARoot = Message<"inco.fhe.v1.EventCARoot"> & {
|
60
|
-
/**
|
61
|
-
* fhe_env_block is the FHE environment and block hash that the CA Root is
|
62
|
-
* voted on.
|
63
|
-
*
|
64
|
-
* @generated from field: inco.fhe.v1.FheEnvBlock fhe_env_block = 1;
|
65
|
-
*/
|
66
|
-
fheEnvBlock?: FheEnvBlock;
|
67
|
-
/**
|
68
|
-
* ca_root is the CA Root that has been voted on by >2/3rds of the weighted
|
69
|
-
* covalidators.
|
70
|
-
*
|
71
|
-
* @generated from field: inco.fhe.v1.CARoot ca_root = 2;
|
72
|
-
*/
|
73
|
-
caRoot?: CARoot;
|
74
|
-
};
|
75
|
-
/**
|
76
|
-
* Describes the message inco.fhe.v1.EventCARoot.
|
77
|
-
* Use `create(EventCARootSchema)` to create a new message.
|
78
|
-
*/
|
79
|
-
export declare const EventCARootSchema: GenMessage<EventCARoot>;
|