@inco/js 0.3.2 → 0.5.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.
Files changed (436) hide show
  1. package/README.md +4 -1
  2. package/dist/cjs/advancedacl/session-key.d.ts +30 -1
  3. package/dist/cjs/advancedacl/session-key.js +222 -54
  4. package/dist/cjs/attestedcompute/attested-compute.d.ts +2 -0
  5. package/dist/cjs/attestedcompute/attested-compute.js +19 -10
  6. package/dist/cjs/attestedcompute/types.d.ts +3 -2
  7. package/dist/cjs/attestedcompute/types.js +1 -1
  8. package/dist/cjs/attesteddecrypt/attested-decrypt.d.ts +2 -0
  9. package/dist/cjs/attesteddecrypt/attested-decrypt.js +31 -13
  10. package/dist/cjs/attesteddecrypt/types.d.ts +3 -2
  11. package/dist/cjs/attesteddecrypt/types.js +1 -1
  12. package/dist/cjs/attestedreveal/attested-reveal.d.ts +21 -0
  13. package/dist/cjs/attestedreveal/attested-reveal.js +67 -0
  14. package/dist/cjs/attestedreveal/index.d.ts +1 -0
  15. package/dist/cjs/{fhevm → attestedreveal}/index.js +2 -2
  16. package/dist/cjs/attestedreveal/types.d.ts +7 -0
  17. package/dist/cjs/attestedreveal/types.js +16 -0
  18. package/dist/cjs/binary.js +6 -3
  19. package/dist/cjs/chain.js +5 -2
  20. package/dist/cjs/encryption/encryption.js +1 -1
  21. package/dist/cjs/generated/abis/TestElist.d.ts +247 -0
  22. package/dist/cjs/generated/abis/TestElist.js +152 -0
  23. package/dist/cjs/generated/abis/addTwo.d.ts +12 -30
  24. package/dist/cjs/generated/abis/addTwo.js +7 -18
  25. package/dist/cjs/generated/abis/lightning-preview.d.ts +98 -979
  26. package/dist/cjs/generated/abis/lightning-preview.js +100 -635
  27. package/dist/cjs/generated/abis/lightning.d.ts +80 -425
  28. package/dist/cjs/generated/abis/lightning.js +64 -317
  29. package/dist/{esm/generated/abis/inco-fhevm.d.ts → cjs/generated/abis/verifier.d.ts} +610 -468
  30. package/dist/cjs/generated/abis/verifier.js +704 -0
  31. package/dist/cjs/generated/es/cosmos_proto/cosmos_pb.js +1 -1
  32. package/dist/cjs/generated/es/inco/fhe/v1/types_pb.js +1 -1
  33. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
  34. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +18 -8
  35. package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.js +1 -1
  36. package/dist/cjs/generated/lightning.d.ts +31 -10
  37. package/dist/cjs/generated/lightning.js +33 -11
  38. package/dist/cjs/handle.d.ts +1 -1
  39. package/dist/cjs/handle.js +5 -3
  40. package/dist/cjs/kms/client.js +1 -1
  41. package/dist/cjs/lite/attested-compute.d.ts +6 -3
  42. package/dist/cjs/lite/attested-compute.js +7 -1
  43. package/dist/cjs/lite/attested-decrypt.d.ts +2 -0
  44. package/dist/cjs/lite/attested-decrypt.js +5 -1
  45. package/dist/cjs/lite/deployments.js +1 -1
  46. package/dist/cjs/lite/ecies.d.ts +2 -2
  47. package/dist/cjs/lite/ecies.js +3 -3
  48. package/dist/cjs/lite/hadu.d.ts +1 -1
  49. package/dist/cjs/lite/hadu.js +2 -2
  50. package/dist/cjs/lite/index.d.ts +4 -1
  51. package/dist/cjs/lite/index.js +3 -1
  52. package/dist/cjs/lite/lightning.d.ts +33 -1
  53. package/dist/cjs/lite/lightning.js +60 -47
  54. package/dist/cjs/lite/reencrypt.d.ts +0 -1
  55. package/dist/cjs/lite/reencrypt.js +10 -21
  56. package/dist/cjs/local/local-node.js +38 -3
  57. package/dist/cjs/reencryption/eip712.d.ts +2 -2
  58. package/dist/cjs/reencryption/eip712.js +2 -11
  59. package/dist/cjs/reencryption/types.d.ts +1 -2
  60. package/dist/cjs/retry.d.ts +1 -1
  61. package/dist/cjs/retry.js +2 -2
  62. package/dist/cjs/schema.js +1 -1
  63. package/dist/cjs/viem.d.ts +12 -15
  64. package/dist/cjs/viem.js +9 -2
  65. package/dist/esm/advancedacl/session-key.d.ts +30 -1
  66. package/dist/esm/advancedacl/session-key.js +218 -52
  67. package/dist/esm/attestedcompute/attested-compute.d.ts +2 -0
  68. package/dist/esm/attestedcompute/attested-compute.js +17 -9
  69. package/dist/esm/attestedcompute/types.d.ts +3 -2
  70. package/dist/esm/attestedcompute/types.js +1 -1
  71. package/dist/esm/attesteddecrypt/attested-decrypt.d.ts +2 -0
  72. package/dist/esm/attesteddecrypt/attested-decrypt.js +29 -12
  73. package/dist/esm/attesteddecrypt/types.d.ts +3 -2
  74. package/dist/esm/attesteddecrypt/types.js +1 -1
  75. package/dist/esm/attestedreveal/attested-reveal.d.ts +21 -0
  76. package/dist/esm/attestedreveal/attested-reveal.js +64 -0
  77. package/dist/esm/attestedreveal/index.d.ts +1 -0
  78. package/dist/esm/attestedreveal/index.js +2 -0
  79. package/dist/esm/attestedreveal/types.d.ts +7 -0
  80. package/dist/esm/attestedreveal/types.js +12 -0
  81. package/dist/esm/binary.js +6 -3
  82. package/dist/esm/chain.js +5 -2
  83. package/dist/esm/encryption/encryption.js +1 -1
  84. package/dist/esm/generated/abis/TestElist.d.ts +247 -0
  85. package/dist/esm/generated/abis/TestElist.js +149 -0
  86. package/dist/esm/generated/abis/addTwo.d.ts +12 -30
  87. package/dist/esm/generated/abis/addTwo.js +7 -18
  88. package/dist/esm/generated/abis/lightning-preview.d.ts +98 -979
  89. package/dist/esm/generated/abis/lightning-preview.js +100 -635
  90. package/dist/esm/generated/abis/lightning.d.ts +80 -425
  91. package/dist/esm/generated/abis/lightning.js +64 -317
  92. package/dist/{cjs/generated/abis/inco-fhevm.d.ts → esm/generated/abis/verifier.d.ts} +610 -468
  93. package/dist/esm/generated/abis/verifier.js +701 -0
  94. package/dist/esm/generated/es/cosmos_proto/cosmos_pb.js +1 -1
  95. package/dist/esm/generated/es/inco/fhe/v1/types_pb.js +1 -1
  96. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
  97. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +17 -7
  98. package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.js +1 -1
  99. package/dist/esm/generated/lightning.d.ts +31 -10
  100. package/dist/esm/generated/lightning.js +33 -11
  101. package/dist/esm/handle.d.ts +1 -1
  102. package/dist/esm/handle.js +5 -3
  103. package/dist/esm/kms/client.js +1 -1
  104. package/dist/esm/lite/attested-compute.d.ts +6 -3
  105. package/dist/esm/lite/attested-compute.js +4 -2
  106. package/dist/esm/lite/attested-decrypt.d.ts +2 -0
  107. package/dist/esm/lite/attested-decrypt.js +3 -2
  108. package/dist/esm/lite/deployments.js +1 -1
  109. package/dist/esm/lite/ecies.d.ts +2 -2
  110. package/dist/esm/lite/ecies.js +4 -4
  111. package/dist/esm/lite/hadu.d.ts +1 -1
  112. package/dist/esm/lite/hadu.js +2 -2
  113. package/dist/esm/lite/index.d.ts +4 -1
  114. package/dist/esm/lite/index.js +3 -1
  115. package/dist/esm/lite/lightning.d.ts +33 -1
  116. package/dist/esm/lite/lightning.js +63 -50
  117. package/dist/esm/lite/reencrypt.d.ts +0 -1
  118. package/dist/esm/lite/reencrypt.js +13 -23
  119. package/dist/esm/local/local-node.js +38 -3
  120. package/dist/esm/reencryption/eip712.d.ts +2 -2
  121. package/dist/esm/reencryption/eip712.js +2 -11
  122. package/dist/esm/reencryption/types.d.ts +1 -2
  123. package/dist/esm/retry.d.ts +1 -1
  124. package/dist/esm/retry.js +2 -2
  125. package/dist/esm/schema.js +1 -1
  126. package/dist/esm/viem.d.ts +12 -15
  127. package/dist/esm/viem.js +10 -3
  128. package/dist/types/advancedacl/session-key.d.ts +30 -1
  129. package/dist/types/attestedcompute/attested-compute.d.ts +2 -0
  130. package/dist/types/attestedcompute/types.d.ts +3 -2
  131. package/dist/types/attesteddecrypt/attested-decrypt.d.ts +2 -0
  132. package/dist/types/attesteddecrypt/types.d.ts +3 -2
  133. package/dist/types/attestedreveal/attested-reveal.d.ts +21 -0
  134. package/dist/types/attestedreveal/index.d.ts +1 -0
  135. package/dist/types/attestedreveal/types.d.ts +7 -0
  136. package/dist/types/generated/abis/TestElist.d.ts +247 -0
  137. package/dist/types/generated/abis/addTwo.d.ts +12 -30
  138. package/dist/types/generated/abis/lightning-preview.d.ts +98 -979
  139. package/dist/types/generated/abis/lightning.d.ts +80 -425
  140. package/dist/types/generated/abis/{inco-fhevm.d.ts → verifier.d.ts} +610 -468
  141. package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
  142. package/dist/types/generated/lightning.d.ts +31 -10
  143. package/dist/types/handle.d.ts +1 -1
  144. package/dist/types/lite/attested-compute.d.ts +6 -3
  145. package/dist/types/lite/attested-decrypt.d.ts +2 -0
  146. package/dist/types/lite/ecies.d.ts +2 -2
  147. package/dist/types/lite/hadu.d.ts +1 -1
  148. package/dist/types/lite/index.d.ts +4 -1
  149. package/dist/types/lite/lightning.d.ts +33 -1
  150. package/dist/types/lite/reencrypt.d.ts +0 -1
  151. package/dist/types/reencryption/eip712.d.ts +2 -2
  152. package/dist/types/reencryption/types.d.ts +1 -2
  153. package/dist/types/retry.d.ts +1 -1
  154. package/dist/types/viem.d.ts +12 -15
  155. package/package.json +40 -53
  156. package/dist/cjs/fhevm/fhe-environment.d.ts +0 -9
  157. package/dist/cjs/fhevm/fhe-environment.js +0 -11
  158. package/dist/cjs/fhevm/fhevm.d.ts +0 -41
  159. package/dist/cjs/fhevm/fhevm.js +0 -145
  160. package/dist/cjs/fhevm/index.d.ts +0 -1
  161. package/dist/cjs/fhevm/reencrypt.d.ts +0 -20
  162. package/dist/cjs/fhevm/reencrypt.js +0 -127
  163. package/dist/cjs/fhevm/tfhe.d.ts +0 -74
  164. package/dist/cjs/fhevm/tfhe.js +0 -336
  165. package/dist/cjs/fhevm/types.d.ts +0 -3
  166. package/dist/cjs/fhevm/types.js +0 -29
  167. package/dist/cjs/generated/abis/inco-fhevm.js +0 -681
  168. package/dist/cjs/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
  169. package/dist/cjs/generated/es/cosmos/msg/v1/msg_pb.js +0 -36
  170. package/dist/cjs/generated/es/google/api/annotations_pb.d.ts +0 -13
  171. package/dist/cjs/generated/es/google/api/annotations_pb.js +0 -30
  172. package/dist/cjs/generated/es/google/api/http_pb.d.ts +0 -440
  173. package/dist/cjs/generated/es/google/api/http_pb.js +0 -37
  174. package/dist/cjs/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
  175. package/dist/cjs/generated/es/inco/fhe/v1/events_pb.js +0 -24
  176. package/dist/cjs/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
  177. package/dist/cjs/generated/es/inco/fhe/v1/genesis_pb.js +0 -49
  178. package/dist/cjs/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
  179. package/dist/cjs/generated/es/inco/fhe/v1/query_pb.js +0 -111
  180. package/dist/cjs/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
  181. package/dist/cjs/generated/es/inco/fhe/v1/tx_pb.js +0 -111
  182. package/dist/cjs/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
  183. package/dist/cjs/generated/es/inco/preflight/v1/genesis_pb.js +0 -23
  184. package/dist/cjs/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
  185. package/dist/cjs/generated/es/inco/preflight/v1/query_pb.js +0 -41
  186. package/dist/cjs/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
  187. package/dist/cjs/generated/es/inco/preflight/v1/tx_pb.js +0 -51
  188. package/dist/cjs/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
  189. package/dist/cjs/generated/es/inco/preflight/v1/types_pb.js +0 -37
  190. package/dist/cjs/generated/fhe-environments.d.ts +0 -14
  191. package/dist/cjs/generated/fhe-environments.js +0 -18
  192. package/dist/cjs/generated/ts/amino/amino.d.ts +0 -1
  193. package/dist/cjs/generated/ts/amino/amino.js +0 -11
  194. package/dist/cjs/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
  195. package/dist/cjs/generated/ts/cometbft/abci/v1/types.js +0 -5079
  196. package/dist/cjs/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
  197. package/dist/cjs/generated/ts/cometbft/crypto/v1/keys.js +0 -108
  198. package/dist/cjs/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
  199. package/dist/cjs/generated/ts/cometbft/crypto/v1/proof.js +0 -433
  200. package/dist/cjs/generated/ts/cometbft/types/v1/params.d.ts +0 -179
  201. package/dist/cjs/generated/ts/cometbft/types/v1/params.js +0 -716
  202. package/dist/cjs/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
  203. package/dist/cjs/generated/ts/cometbft/types/v1/validator.js +0 -358
  204. package/dist/cjs/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
  205. package/dist/cjs/generated/ts/cosmos/app/v1alpha1/module.js +0 -221
  206. package/dist/cjs/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
  207. package/dist/cjs/generated/ts/cosmos/msg/v1/msg.js +0 -11
  208. package/dist/cjs/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
  209. package/dist/cjs/generated/ts/cosmos_proto/cosmos.js +0 -216
  210. package/dist/cjs/generated/ts/gogoproto/gogo.d.ts +0 -1
  211. package/dist/cjs/generated/ts/gogoproto/gogo.js +0 -11
  212. package/dist/cjs/generated/ts/google/api/annotations.d.ts +0 -1
  213. package/dist/cjs/generated/ts/google/api/annotations.js +0 -11
  214. package/dist/cjs/generated/ts/google/api/http.d.ts +0 -371
  215. package/dist/cjs/generated/ts/google/api/http.js +0 -356
  216. package/dist/cjs/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
  217. package/dist/cjs/generated/ts/google/protobuf/descriptor.js +0 -5108
  218. package/dist/cjs/generated/ts/google/protobuf/duration.d.ts +0 -99
  219. package/dist/cjs/generated/ts/google/protobuf/duration.js +0 -93
  220. package/dist/cjs/generated/ts/google/protobuf/timestamp.d.ts +0 -128
  221. package/dist/cjs/generated/ts/google/protobuf/timestamp.js +0 -93
  222. package/dist/cjs/generated/ts/google/protobuf/wrappers.d.ts +0 -111
  223. package/dist/cjs/generated/ts/google/protobuf/wrappers.js +0 -509
  224. package/dist/cjs/generated/ts/inco/abci/v1/types.d.ts +0 -35
  225. package/dist/cjs/generated/ts/inco/abci/v1/types.js +0 -73
  226. package/dist/cjs/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
  227. package/dist/cjs/generated/ts/inco/fhe/module/v1/module.js +0 -66
  228. package/dist/cjs/generated/ts/inco/fhe/v1/events.d.ts +0 -66
  229. package/dist/cjs/generated/ts/inco/fhe/v1/events.js +0 -190
  230. package/dist/cjs/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
  231. package/dist/cjs/generated/ts/inco/fhe/v1/genesis.js +0 -714
  232. package/dist/cjs/generated/ts/inco/fhe/v1/query.d.ts +0 -366
  233. package/dist/cjs/generated/ts/inco/fhe/v1/query.js +0 -1394
  234. package/dist/cjs/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
  235. package/dist/cjs/generated/ts/inco/fhe/v1/tx.js +0 -1236
  236. package/dist/cjs/generated/ts/inco/fhe/v1/types.d.ts +0 -225
  237. package/dist/cjs/generated/ts/inco/fhe/v1/types.js +0 -990
  238. package/dist/cjs/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
  239. package/dist/cjs/generated/ts/inco/originchain/module/v1/module.js +0 -66
  240. package/dist/cjs/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
  241. package/dist/cjs/generated/ts/inco/originchain/v1/abci.js +0 -331
  242. package/dist/cjs/generated/ts/inco/originchain/v1/events.d.ts +0 -60
  243. package/dist/cjs/generated/ts/inco/originchain/v1/events.js +0 -216
  244. package/dist/cjs/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
  245. package/dist/cjs/generated/ts/inco/originchain/v1/genesis.js +0 -69
  246. package/dist/cjs/generated/ts/inco/originchain/v1/query.d.ts +0 -116
  247. package/dist/cjs/generated/ts/inco/originchain/v1/query.js +0 -280
  248. package/dist/cjs/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
  249. package/dist/cjs/generated/ts/inco/originchain/v1/tx.js +0 -140
  250. package/dist/cjs/generated/ts/inco/originchain/v1/types.d.ts +0 -58
  251. package/dist/cjs/generated/ts/inco/originchain/v1/types.js +0 -203
  252. package/dist/cjs/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
  253. package/dist/cjs/generated/ts/inco/preflight/module/v1/module.js +0 -66
  254. package/dist/cjs/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
  255. package/dist/cjs/generated/ts/inco/preflight/v1/genesis.js +0 -185
  256. package/dist/cjs/generated/ts/inco/preflight/v1/query.d.ts +0 -93
  257. package/dist/cjs/generated/ts/inco/preflight/v1/query.js +0 -259
  258. package/dist/cjs/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
  259. package/dist/cjs/generated/ts/inco/preflight/v1/tx.js +0 -448
  260. package/dist/cjs/generated/ts/inco/preflight/v1/types.d.ts +0 -84
  261. package/dist/cjs/generated/ts/inco/preflight/v1/types.js +0 -398
  262. package/dist/cjs/l1/client.d.ts +0 -35
  263. package/dist/cjs/l1/client.js +0 -97
  264. package/dist/cjs/l1/index.d.ts +0 -2
  265. package/dist/cjs/l1/index.js +0 -19
  266. package/dist/cjs/l1/preflight.d.ts +0 -20
  267. package/dist/cjs/l1/preflight.js +0 -42
  268. package/dist/esm/fhevm/fhe-environment.d.ts +0 -9
  269. package/dist/esm/fhevm/fhe-environment.js +0 -8
  270. package/dist/esm/fhevm/fhevm.d.ts +0 -41
  271. package/dist/esm/fhevm/fhevm.js +0 -139
  272. package/dist/esm/fhevm/index.d.ts +0 -1
  273. package/dist/esm/fhevm/index.js +0 -2
  274. package/dist/esm/fhevm/reencrypt.d.ts +0 -20
  275. package/dist/esm/fhevm/reencrypt.js +0 -123
  276. package/dist/esm/fhevm/tfhe.d.ts +0 -74
  277. package/dist/esm/fhevm/tfhe.js +0 -328
  278. package/dist/esm/fhevm/types.d.ts +0 -3
  279. package/dist/esm/fhevm/types.js +0 -26
  280. package/dist/esm/generated/abis/inco-fhevm.js +0 -678
  281. package/dist/esm/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
  282. package/dist/esm/generated/es/cosmos/msg/v1/msg_pb.js +0 -33
  283. package/dist/esm/generated/es/google/api/annotations_pb.d.ts +0 -13
  284. package/dist/esm/generated/es/google/api/annotations_pb.js +0 -27
  285. package/dist/esm/generated/es/google/api/http_pb.d.ts +0 -440
  286. package/dist/esm/generated/es/google/api/http_pb.js +0 -34
  287. package/dist/esm/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
  288. package/dist/esm/generated/es/inco/fhe/v1/events_pb.js +0 -21
  289. package/dist/esm/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
  290. package/dist/esm/generated/es/inco/fhe/v1/genesis_pb.js +0 -46
  291. package/dist/esm/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
  292. package/dist/esm/generated/es/inco/fhe/v1/query_pb.js +0 -108
  293. package/dist/esm/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
  294. package/dist/esm/generated/es/inco/fhe/v1/tx_pb.js +0 -108
  295. package/dist/esm/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
  296. package/dist/esm/generated/es/inco/preflight/v1/genesis_pb.js +0 -20
  297. package/dist/esm/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
  298. package/dist/esm/generated/es/inco/preflight/v1/query_pb.js +0 -38
  299. package/dist/esm/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
  300. package/dist/esm/generated/es/inco/preflight/v1/tx_pb.js +0 -48
  301. package/dist/esm/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
  302. package/dist/esm/generated/es/inco/preflight/v1/types_pb.js +0 -34
  303. package/dist/esm/generated/fhe-environments.d.ts +0 -14
  304. package/dist/esm/generated/fhe-environments.js +0 -15
  305. package/dist/esm/generated/ts/amino/amino.d.ts +0 -1
  306. package/dist/esm/generated/ts/amino/amino.js +0 -8
  307. package/dist/esm/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
  308. package/dist/esm/generated/ts/cometbft/abci/v1/types.js +0 -5063
  309. package/dist/esm/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
  310. package/dist/esm/generated/ts/cometbft/crypto/v1/keys.js +0 -105
  311. package/dist/esm/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
  312. package/dist/esm/generated/ts/cometbft/crypto/v1/proof.js +0 -430
  313. package/dist/esm/generated/ts/cometbft/types/v1/params.d.ts +0 -179
  314. package/dist/esm/generated/ts/cometbft/types/v1/params.js +0 -713
  315. package/dist/esm/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
  316. package/dist/esm/generated/ts/cometbft/types/v1/validator.js +0 -353
  317. package/dist/esm/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
  318. package/dist/esm/generated/ts/cosmos/app/v1alpha1/module.js +0 -218
  319. package/dist/esm/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
  320. package/dist/esm/generated/ts/cosmos/msg/v1/msg.js +0 -8
  321. package/dist/esm/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
  322. package/dist/esm/generated/ts/cosmos_proto/cosmos.js +0 -211
  323. package/dist/esm/generated/ts/gogoproto/gogo.d.ts +0 -1
  324. package/dist/esm/generated/ts/gogoproto/gogo.js +0 -8
  325. package/dist/esm/generated/ts/google/api/annotations.d.ts +0 -1
  326. package/dist/esm/generated/ts/google/api/annotations.js +0 -8
  327. package/dist/esm/generated/ts/google/api/http.d.ts +0 -371
  328. package/dist/esm/generated/ts/google/api/http.js +0 -353
  329. package/dist/esm/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
  330. package/dist/esm/generated/ts/google/protobuf/descriptor.js +0 -5070
  331. package/dist/esm/generated/ts/google/protobuf/duration.d.ts +0 -99
  332. package/dist/esm/generated/ts/google/protobuf/duration.js +0 -90
  333. package/dist/esm/generated/ts/google/protobuf/timestamp.d.ts +0 -128
  334. package/dist/esm/generated/ts/google/protobuf/timestamp.js +0 -90
  335. package/dist/esm/generated/ts/google/protobuf/wrappers.d.ts +0 -111
  336. package/dist/esm/generated/ts/google/protobuf/wrappers.js +0 -506
  337. package/dist/esm/generated/ts/inco/abci/v1/types.d.ts +0 -35
  338. package/dist/esm/generated/ts/inco/abci/v1/types.js +0 -70
  339. package/dist/esm/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
  340. package/dist/esm/generated/ts/inco/fhe/module/v1/module.js +0 -63
  341. package/dist/esm/generated/ts/inco/fhe/v1/events.d.ts +0 -66
  342. package/dist/esm/generated/ts/inco/fhe/v1/events.js +0 -187
  343. package/dist/esm/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
  344. package/dist/esm/generated/ts/inco/fhe/v1/genesis.js +0 -711
  345. package/dist/esm/generated/ts/inco/fhe/v1/query.d.ts +0 -366
  346. package/dist/esm/generated/ts/inco/fhe/v1/query.js +0 -1391
  347. package/dist/esm/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
  348. package/dist/esm/generated/ts/inco/fhe/v1/tx.js +0 -1233
  349. package/dist/esm/generated/ts/inco/fhe/v1/types.d.ts +0 -225
  350. package/dist/esm/generated/ts/inco/fhe/v1/types.js +0 -985
  351. package/dist/esm/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
  352. package/dist/esm/generated/ts/inco/originchain/module/v1/module.js +0 -63
  353. package/dist/esm/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
  354. package/dist/esm/generated/ts/inco/originchain/v1/abci.js +0 -328
  355. package/dist/esm/generated/ts/inco/originchain/v1/events.d.ts +0 -60
  356. package/dist/esm/generated/ts/inco/originchain/v1/events.js +0 -213
  357. package/dist/esm/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
  358. package/dist/esm/generated/ts/inco/originchain/v1/genesis.js +0 -66
  359. package/dist/esm/generated/ts/inco/originchain/v1/query.d.ts +0 -116
  360. package/dist/esm/generated/ts/inco/originchain/v1/query.js +0 -277
  361. package/dist/esm/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
  362. package/dist/esm/generated/ts/inco/originchain/v1/tx.js +0 -137
  363. package/dist/esm/generated/ts/inco/originchain/v1/types.d.ts +0 -58
  364. package/dist/esm/generated/ts/inco/originchain/v1/types.js +0 -200
  365. package/dist/esm/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
  366. package/dist/esm/generated/ts/inco/preflight/module/v1/module.js +0 -63
  367. package/dist/esm/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
  368. package/dist/esm/generated/ts/inco/preflight/v1/genesis.js +0 -182
  369. package/dist/esm/generated/ts/inco/preflight/v1/query.d.ts +0 -93
  370. package/dist/esm/generated/ts/inco/preflight/v1/query.js +0 -256
  371. package/dist/esm/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
  372. package/dist/esm/generated/ts/inco/preflight/v1/tx.js +0 -445
  373. package/dist/esm/generated/ts/inco/preflight/v1/types.d.ts +0 -84
  374. package/dist/esm/generated/ts/inco/preflight/v1/types.js +0 -395
  375. package/dist/esm/l1/client.d.ts +0 -35
  376. package/dist/esm/l1/client.js +0 -93
  377. package/dist/esm/l1/index.d.ts +0 -2
  378. package/dist/esm/l1/index.js +0 -3
  379. package/dist/esm/l1/preflight.d.ts +0 -20
  380. package/dist/esm/l1/preflight.js +0 -39
  381. package/dist/types/fhevm/fhe-environment.d.ts +0 -9
  382. package/dist/types/fhevm/fhevm.d.ts +0 -41
  383. package/dist/types/fhevm/index.d.ts +0 -1
  384. package/dist/types/fhevm/reencrypt.d.ts +0 -20
  385. package/dist/types/fhevm/tfhe.d.ts +0 -74
  386. package/dist/types/fhevm/types.d.ts +0 -3
  387. package/dist/types/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
  388. package/dist/types/generated/es/google/api/annotations_pb.d.ts +0 -13
  389. package/dist/types/generated/es/google/api/http_pb.d.ts +0 -440
  390. package/dist/types/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
  391. package/dist/types/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
  392. package/dist/types/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
  393. package/dist/types/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
  394. package/dist/types/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
  395. package/dist/types/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
  396. package/dist/types/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
  397. package/dist/types/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
  398. package/dist/types/generated/fhe-environments.d.ts +0 -14
  399. package/dist/types/generated/ts/amino/amino.d.ts +0 -1
  400. package/dist/types/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
  401. package/dist/types/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
  402. package/dist/types/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
  403. package/dist/types/generated/ts/cometbft/types/v1/params.d.ts +0 -179
  404. package/dist/types/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
  405. package/dist/types/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
  406. package/dist/types/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
  407. package/dist/types/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
  408. package/dist/types/generated/ts/gogoproto/gogo.d.ts +0 -1
  409. package/dist/types/generated/ts/google/api/annotations.d.ts +0 -1
  410. package/dist/types/generated/ts/google/api/http.d.ts +0 -371
  411. package/dist/types/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
  412. package/dist/types/generated/ts/google/protobuf/duration.d.ts +0 -99
  413. package/dist/types/generated/ts/google/protobuf/timestamp.d.ts +0 -128
  414. package/dist/types/generated/ts/google/protobuf/wrappers.d.ts +0 -111
  415. package/dist/types/generated/ts/inco/abci/v1/types.d.ts +0 -35
  416. package/dist/types/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
  417. package/dist/types/generated/ts/inco/fhe/v1/events.d.ts +0 -66
  418. package/dist/types/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
  419. package/dist/types/generated/ts/inco/fhe/v1/query.d.ts +0 -366
  420. package/dist/types/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
  421. package/dist/types/generated/ts/inco/fhe/v1/types.d.ts +0 -225
  422. package/dist/types/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
  423. package/dist/types/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
  424. package/dist/types/generated/ts/inco/originchain/v1/events.d.ts +0 -60
  425. package/dist/types/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
  426. package/dist/types/generated/ts/inco/originchain/v1/query.d.ts +0 -116
  427. package/dist/types/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
  428. package/dist/types/generated/ts/inco/originchain/v1/types.d.ts +0 -58
  429. package/dist/types/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
  430. package/dist/types/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
  431. package/dist/types/generated/ts/inco/preflight/v1/query.d.ts +0 -93
  432. package/dist/types/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
  433. package/dist/types/generated/ts/inco/preflight/v1/types.d.ts +0 -84
  434. package/dist/types/l1/client.d.ts +0 -35
  435. package/dist/types/l1/index.d.ts +0 -2
  436. 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,36 +0,0 @@
1
- "use strict";
2
- // @generated by protoc-gen-es v2.6.1 with parameter "target=ts"
3
- // @generated from file cosmos/msg/v1/msg.proto (package cosmos.msg.v1, syntax proto3)
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.signer = exports.service = exports.file_cosmos_msg_v1_msg = void 0;
7
- const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
- const wkt_1 = require("@bufbuild/protobuf/wkt");
9
- /**
10
- * Describes the file cosmos/msg/v1/msg.proto.
11
- */
12
- exports.file_cosmos_msg_v1_msg = (0, codegenv2_1.fileDesc)("Chdjb3Ntb3MvbXNnL3YxL21zZy5wcm90bxINY29zbW9zLm1zZy52MTo8CgdzZXJ2aWNlEh8uZ29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25zGPCMpgUgASgIUgdzZXJ2aWNlOjoKBnNpZ25lchIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxjwjKYFIAMoCVIGc2lnbmVyQi9aLWdpdGh1Yi5jb20vY29zbW9zL2Nvc21vcy1zZGsvdHlwZXMvbXNnc2VydmljZWIGcHJvdG8z", [wkt_1.file_google_protobuf_descriptor]);
13
- /**
14
- * service indicates that the service is a Msg service and that requests
15
- * must be transported via blockchain transactions rather than gRPC.
16
- * Tooling can use this annotation to distinguish between Msg services and
17
- * other types of services via reflection.
18
- *
19
- * @generated from extension: bool service = 11110000;
20
- */
21
- exports.service = (0, codegenv2_1.extDesc)(exports.file_cosmos_msg_v1_msg, 0);
22
- /**
23
- * signer must be used in cosmos messages in order
24
- * to signal to external clients which fields in a
25
- * given cosmos message must be filled with signer
26
- * information (address).
27
- * The field must be the protobuf name of the message
28
- * field extended with this MessageOption.
29
- * The field must either be of string kind, or of message
30
- * kind in case the signer information is contained within
31
- * a message inside the cosmos message.
32
- *
33
- * @generated from extension: repeated string signer = 11110000;
34
- */
35
- exports.signer = (0, codegenv2_1.extDesc)(exports.file_cosmos_msg_v1_msg, 1);
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXNnX3BiLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9lcy9jb3Ntb3MvbXNnL3YxL21zZ19wYi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsZ0VBQWdFO0FBQ2hFLHNGQUFzRjtBQUN0RixvQkFBb0I7OztBQUdwQiw0REFBaUU7QUFFakUsZ0RBQXlFO0FBRXpFOztHQUVHO0FBQ1UsUUFBQSxzQkFBc0IsR0FDakMsSUFBQSxvQkFBUSxFQUFDLHNTQUFzUyxFQUFFLENBQUMscUNBQStCLENBQUMsQ0FBQyxDQUFDO0FBRXRWOzs7Ozs7O0dBT0c7QUFDVSxRQUFBLE9BQU8sR0FDbEIsSUFBQSxtQkFBTyxFQUFDLDhCQUFzQixFQUFFLENBQUMsQ0FBQyxDQUFDO0FBRXJDOzs7Ozs7Ozs7Ozs7R0FZRztBQUNVLFFBQUEsTUFBTSxHQUNqQixJQUFBLG1CQUFPLEVBQUMsOEJBQXNCLEVBQUUsQ0FBQyxDQUFDLENBQUMifQ==
@@ -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,30 +0,0 @@
1
- "use strict";
2
- // Copyright 2025 Google LLC
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.http = exports.file_google_api_annotations = void 0;
17
- const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
18
- const http_pb_1 = require("./http_pb");
19
- const wkt_1 = require("@bufbuild/protobuf/wkt");
20
- /**
21
- * Describes the file google/api/annotations.proto.
22
- */
23
- exports.file_google_api_annotations = (0, codegenv2_1.fileDesc)("Chxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvEgpnb29nbGUuYXBpOksKBGh0dHASHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiwyrwiIAEoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGVSBGh0dHBCbgoOY29tLmdvb2dsZS5hcGlCEEFubm90YXRpb25zUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [http_pb_1.file_google_api_http, wkt_1.file_google_protobuf_descriptor]);
24
- /**
25
- * See `HttpRule`.
26
- *
27
- * @generated from extension: google.api.HttpRule http = 72295728;
28
- */
29
- exports.http = (0, codegenv2_1.extDesc)(exports.file_google_api_annotations, 0);
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ub3RhdGlvbnNfcGIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2VzL2dvb2dsZS9hcGkvYW5ub3RhdGlvbnNfcGIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDRCQUE0QjtBQUM1QixFQUFFO0FBQ0Ysa0VBQWtFO0FBQ2xFLG1FQUFtRTtBQUNuRSwwQ0FBMEM7QUFDMUMsRUFBRTtBQUNGLGlEQUFpRDtBQUNqRCxFQUFFO0FBQ0Ysc0VBQXNFO0FBQ3RFLG9FQUFvRTtBQUNwRSwyRUFBMkU7QUFDM0Usc0VBQXNFO0FBQ3RFLGlDQUFpQzs7O0FBT2pDLDREQUFpRTtBQUVqRSx1Q0FBaUQ7QUFFakQsZ0RBQXlFO0FBRXpFOztHQUVHO0FBQ1UsUUFBQSwyQkFBMkIsR0FDdEMsSUFBQSxvQkFBUSxFQUFDLGlVQUFpVSxFQUFFLENBQUMsOEJBQW9CLEVBQUUscUNBQStCLENBQUMsQ0FBQyxDQUFDO0FBRXZZOzs7O0dBSUc7QUFDVSxRQUFBLElBQUksR0FDZixJQUFBLG1CQUFPLEVBQUMsbUNBQTJCLEVBQUUsQ0FBQyxDQUFDLENBQUMifQ==
@@ -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&param=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,37 +0,0 @@
1
- "use strict";
2
- // Copyright 2025 Google LLC
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CustomHttpPatternSchema = exports.HttpRuleSchema = exports.HttpSchema = exports.file_google_api_http = void 0;
17
- const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
18
- /**
19
- * Describes the file google/api/http.proto.
20
- */
21
- exports.file_google_api_http = (0, codegenv2_1.fileDesc)("ChVnb29nbGUvYXBpL2h0dHAucHJvdG8SCmdvb2dsZS5hcGkiVAoESHR0cBIjCgVydWxlcxgBIAMoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGUSJwofZnVsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCCKBAgoISHR0cFJ1bGUSEAoIc2VsZWN0b3IYASABKAkSDQoDZ2V0GAIgASgJSAASDQoDcHV0GAMgASgJSAASDgoEcG9zdBgEIAEoCUgAEhAKBmRlbGV0ZRgFIAEoCUgAEg8KBXBhdGNoGAYgASgJSAASLwoGY3VzdG9tGAggASgLMh0uZ29vZ2xlLmFwaS5DdXN0b21IdHRwUGF0dGVybkgAEgwKBGJvZHkYByABKAkSFQoNcmVzcG9uc2VfYm9keRgMIAEoCRIxChNhZGRpdGlvbmFsX2JpbmRpbmdzGAsgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZUIJCgdwYXR0ZXJuIi8KEUN1c3RvbUh0dHBQYXR0ZXJuEgwKBGtpbmQYASABKAkSDAoEcGF0aBgCIAEoCUJnCg5jb20uZ29vZ2xlLmFwaUIJSHR0cFByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25zogIER0FQSWIGcHJvdG8z");
22
- /**
23
- * Describes the message google.api.Http.
24
- * Use `create(HttpSchema)` to create a new message.
25
- */
26
- exports.HttpSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 0);
27
- /**
28
- * Describes the message google.api.HttpRule.
29
- * Use `create(HttpRuleSchema)` to create a new message.
30
- */
31
- exports.HttpRuleSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 1);
32
- /**
33
- * Describes the message google.api.CustomHttpPattern.
34
- * Use `create(CustomHttpPatternSchema)` to create a new message.
35
- */
36
- exports.CustomHttpPatternSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 2);
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cF9wYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvZXMvZ29vZ2xlL2FwaS9odHRwX3BiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw0QkFBNEI7QUFDNUIsRUFBRTtBQUNGLGtFQUFrRTtBQUNsRSxtRUFBbUU7QUFDbkUsMENBQTBDO0FBQzFDLEVBQUU7QUFDRixpREFBaUQ7QUFDakQsRUFBRTtBQUNGLHNFQUFzRTtBQUN0RSxvRUFBb0U7QUFDcEUsMkVBQTJFO0FBQzNFLHNFQUFzRTtBQUN0RSxpQ0FBaUM7OztBQU9qQyw0REFBcUU7QUFHckU7O0dBRUc7QUFDVSxRQUFBLG9CQUFvQixHQUMvQixJQUFBLG9CQUFRLEVBQUMsc3RCQUFzdEIsQ0FBQyxDQUFDO0FBZ0NudUI7OztHQUdHO0FBQ1UsUUFBQSxVQUFVLEdBQ3JCLElBQUEsdUJBQVcsRUFBQyw0QkFBb0IsRUFBRSxDQUFDLENBQUMsQ0FBQztBQXdYdkM7OztHQUdHO0FBQ1UsUUFBQSxjQUFjLEdBQ3pCLElBQUEsdUJBQVcsRUFBQyw0QkFBb0IsRUFBRSxDQUFDLENBQUMsQ0FBQztBQXVCdkM7OztHQUdHO0FBQ1UsUUFBQSx1QkFBdUIsR0FDbEMsSUFBQSx1QkFBVyxFQUFDLDRCQUFvQixFQUFFLENBQUMsQ0FBQyxDQUFDIn0=
@@ -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>;