@inco/js 0.8.0-devnet → 0.8.0-devnet-2

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 (36) hide show
  1. package/dist/cjs/generated/abis/add-two.d.ts +5 -11
  2. package/dist/cjs/generated/abis/add-two.js +3 -9
  3. package/dist/cjs/generated/abis/lightning-preview.d.ts +6 -0
  4. package/dist/cjs/generated/abis/lightning-preview.js +8 -1
  5. package/dist/cjs/generated/abis/lightning.d.ts +14 -0
  6. package/dist/cjs/generated/abis/lightning.js +10 -1
  7. package/dist/cjs/generated/abis/test-elist.d.ts +5 -11
  8. package/dist/cjs/generated/abis/test-elist.js +3 -9
  9. package/dist/cjs/generated/abis/verifier.d.ts +20 -0
  10. package/dist/cjs/generated/abis/verifier.js +23 -1
  11. package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +39 -0
  12. package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.js +13 -3
  13. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +39 -0
  14. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +22 -12
  15. package/dist/esm/generated/abis/add-two.d.ts +5 -11
  16. package/dist/esm/generated/abis/add-two.js +3 -9
  17. package/dist/esm/generated/abis/lightning-preview.d.ts +6 -0
  18. package/dist/esm/generated/abis/lightning-preview.js +8 -1
  19. package/dist/esm/generated/abis/lightning.d.ts +14 -0
  20. package/dist/esm/generated/abis/lightning.js +10 -1
  21. package/dist/esm/generated/abis/test-elist.d.ts +5 -11
  22. package/dist/esm/generated/abis/test-elist.js +3 -9
  23. package/dist/esm/generated/abis/verifier.d.ts +20 -0
  24. package/dist/esm/generated/abis/verifier.js +23 -1
  25. package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +39 -0
  26. package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.js +12 -2
  27. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +39 -0
  28. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +21 -11
  29. package/dist/types/generated/abis/add-two.d.ts +5 -11
  30. package/dist/types/generated/abis/lightning-preview.d.ts +6 -0
  31. package/dist/types/generated/abis/lightning.d.ts +14 -0
  32. package/dist/types/generated/abis/test-elist.d.ts +5 -11
  33. package/dist/types/generated/abis/verifier.d.ts +20 -0
  34. package/dist/types/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +39 -0
  35. package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +39 -0
  36. package/package.json +1 -1
@@ -1287,6 +1287,12 @@ export declare const iIncoLightningPreviewAbi: readonly [{
1287
1287
  readonly type: "bytes32";
1288
1288
  }];
1289
1289
  readonly stateMutability: "view";
1290
+ }, {
1291
+ readonly type: "function";
1292
+ readonly inputs: readonly [];
1293
+ readonly name: "withdrawFees";
1294
+ readonly outputs: readonly [];
1295
+ readonly stateMutability: "nonpayable";
1290
1296
  }];
1291
1297
  export declare const voucherEip712CheckerAbi: readonly [{
1292
1298
  readonly type: "function";
@@ -945,6 +945,12 @@ export declare const incoLightningAbi: readonly [{
945
945
  readonly name: "upgradeToAndCall";
946
946
  readonly outputs: readonly [];
947
947
  readonly stateMutability: "payable";
948
+ }, {
949
+ readonly type: "function";
950
+ readonly inputs: readonly [];
951
+ readonly name: "withdrawFees";
952
+ readonly outputs: readonly [];
953
+ readonly stateMutability: "nonpayable";
948
954
  }, {
949
955
  readonly type: "event";
950
956
  readonly anonymous: false;
@@ -1756,6 +1762,10 @@ export declare const incoLightningAbi: readonly [{
1756
1762
  readonly type: "error";
1757
1763
  readonly inputs: readonly [];
1758
1764
  readonly name: "FeeNotPaid";
1765
+ }, {
1766
+ readonly type: "error";
1767
+ readonly inputs: readonly [];
1768
+ readonly name: "FeeWithdrawalFailed";
1759
1769
  }, {
1760
1770
  readonly type: "error";
1761
1771
  readonly inputs: readonly [{
@@ -1772,6 +1782,10 @@ export declare const incoLightningAbi: readonly [{
1772
1782
  readonly type: "error";
1773
1783
  readonly inputs: readonly [];
1774
1784
  readonly name: "InvalidShortString";
1785
+ }, {
1786
+ readonly type: "error";
1787
+ readonly inputs: readonly [];
1788
+ readonly name: "NoFeesToWithdraw";
1775
1789
  }, {
1776
1790
  readonly type: "error";
1777
1791
  readonly inputs: readonly [];
@@ -9,16 +9,6 @@ export declare const elistTesterAbi: readonly [{
9
9
  }, {
10
10
  readonly type: "receive";
11
11
  readonly stateMutability: "payable";
12
- }, {
13
- readonly type: "function";
14
- readonly inputs: readonly [];
15
- readonly name: "getFee";
16
- readonly outputs: readonly [{
17
- readonly name: "";
18
- readonly internalType: "uint256";
19
- readonly type: "uint256";
20
- }];
21
- readonly stateMutability: "pure";
22
12
  }, {
23
13
  readonly type: "function";
24
14
  readonly inputs: readonly [];
@@ -260,5 +250,9 @@ export declare const elistTesterAbi: readonly [{
260
250
  }, {
261
251
  readonly type: "error";
262
252
  readonly inputs: readonly [];
263
- readonly name: "FeeNotPaid";
253
+ readonly name: "ReentrantCall";
254
+ }, {
255
+ readonly type: "error";
256
+ readonly inputs: readonly [];
257
+ readonly name: "RefundFailed";
264
258
  }];
@@ -641,6 +641,16 @@ export declare const incoVerifierAbi: readonly [{
641
641
  readonly type: "address";
642
642
  }];
643
643
  readonly stateMutability: "view";
644
+ }, {
645
+ readonly type: "function";
646
+ readonly inputs: readonly [{
647
+ readonly name: "mrAggregated";
648
+ readonly internalType: "bytes32";
649
+ readonly type: "bytes32";
650
+ }];
651
+ readonly name: "removeApprovedTeeVersion";
652
+ readonly outputs: readonly [];
653
+ readonly stateMutability: "nonpayable";
644
654
  }, {
645
655
  readonly type: "function";
646
656
  readonly inputs: readonly [{
@@ -940,6 +950,16 @@ export declare const incoVerifierAbi: readonly [{
940
950
  readonly indexed: true;
941
951
  }];
942
952
  readonly name: "SignerHasUpdatedTDX";
953
+ }, {
954
+ readonly type: "event";
955
+ readonly anonymous: false;
956
+ readonly inputs: readonly [{
957
+ readonly name: "mrAggregated";
958
+ readonly internalType: "bytes32";
959
+ readonly type: "bytes32";
960
+ readonly indexed: true;
961
+ }];
962
+ readonly name: "TEEVersionRemoved";
943
963
  }, {
944
964
  readonly type: "event";
945
965
  readonly anonymous: false;
@@ -848,6 +848,35 @@ export type AttestedComputeResponse = Message<"inco.covalidator.compute.v1.Attes
848
848
  * Use `create(AttestedComputeResponseSchema)` to create a new message.
849
849
  */
850
850
  export declare const AttestedComputeResponseSchema: GenMessage<AttestedComputeResponse>;
851
+ /**
852
+ * IsReadyRequest is the request type for the ComputeService/IsReady RPC method.
853
+ *
854
+ * @generated from message inco.covalidator.compute.v1.IsReadyRequest
855
+ */
856
+ export type IsReadyRequest = Message<"inco.covalidator.compute.v1.IsReadyRequest"> & {};
857
+ /**
858
+ * Describes the message inco.covalidator.compute.v1.IsReadyRequest.
859
+ * Use `create(IsReadyRequestSchema)` to create a new message.
860
+ */
861
+ export declare const IsReadyRequestSchema: GenMessage<IsReadyRequest>;
862
+ /**
863
+ * IsReadyResponse is the response type for the ComputeService/IsReady RPC method.
864
+ *
865
+ * @generated from message inco.covalidator.compute.v1.IsReadyResponse
866
+ */
867
+ export type IsReadyResponse = Message<"inco.covalidator.compute.v1.IsReadyResponse"> & {
868
+ /**
869
+ * ready indicates whether the compute service is fully configured and ready to process requests.
870
+ *
871
+ * @generated from field: bool ready = 1;
872
+ */
873
+ ready: boolean;
874
+ };
875
+ /**
876
+ * Describes the message inco.covalidator.compute.v1.IsReadyResponse.
877
+ * Use `create(IsReadyResponseSchema)` to create a new message.
878
+ */
879
+ export declare const IsReadyResponseSchema: GenMessage<IsReadyResponse>;
851
880
  /**
852
881
  * @generated from enum inco.covalidator.compute.v1.FheOperation
853
882
  */
@@ -979,6 +1008,16 @@ export declare const FheOperationSchema: GenEnum<FheOperation>;
979
1008
  * @generated from service inco.covalidator.compute.v1.ComputeService
980
1009
  */
981
1010
  export declare const ComputeService: GenService<{
1011
+ /**
1012
+ * IsReady checks whether the compute service is fully configured and ready to process requests.
1013
+ *
1014
+ * @generated from rpc inco.covalidator.compute.v1.ComputeService.IsReady
1015
+ */
1016
+ isReady: {
1017
+ methodKind: "unary";
1018
+ input: typeof IsReadyRequestSchema;
1019
+ output: typeof IsReadyResponseSchema;
1020
+ };
982
1021
  /**
983
1022
  * Configure contains all necessary configuration to start the compute service
984
1023
  * which are not part of the MR_AGGREGATED fingerprint. These usually include
@@ -5,6 +5,35 @@ import type { Message } from "@bufbuild/protobuf";
5
5
  * Describes the file inco/kms/lite/v1/kms_service.proto.
6
6
  */
7
7
  export declare const file_inco_kms_lite_v1_kms_service: GenFile;
8
+ /**
9
+ * IsReadyRequest is the request type for the KmsService/IsReady RPC method.
10
+ *
11
+ * @generated from message inco.kms.lite.v1.IsReadyRequest
12
+ */
13
+ export type IsReadyRequest = Message<"inco.kms.lite.v1.IsReadyRequest"> & {};
14
+ /**
15
+ * Describes the message inco.kms.lite.v1.IsReadyRequest.
16
+ * Use `create(IsReadyRequestSchema)` to create a new message.
17
+ */
18
+ export declare const IsReadyRequestSchema: GenMessage<IsReadyRequest>;
19
+ /**
20
+ * IsReadyResponse is the response type for the KmsService/IsReady RPC method.
21
+ *
22
+ * @generated from message inco.kms.lite.v1.IsReadyResponse
23
+ */
24
+ export type IsReadyResponse = Message<"inco.kms.lite.v1.IsReadyResponse"> & {
25
+ /**
26
+ * ready indicates whether the KMS service is fully configured and ready to process requests.
27
+ *
28
+ * @generated from field: bool ready = 1;
29
+ */
30
+ ready: boolean;
31
+ };
32
+ /**
33
+ * Describes the message inco.kms.lite.v1.IsReadyResponse.
34
+ * Use `create(IsReadyResponseSchema)` to create a new message.
35
+ */
36
+ export declare const IsReadyResponseSchema: GenMessage<IsReadyResponse>;
8
37
  /**
9
38
  * AttestedDecryptRequest is the request type for the KmsService/AttestedDecrypt RPC method.
10
39
  *
@@ -379,6 +408,16 @@ export declare const DecryptionAttestationSchema: GenMessage<DecryptionAttestati
379
408
  * @generated from service inco.kms.lite.v1.KmsService
380
409
  */
381
410
  export declare const KmsService: GenService<{
411
+ /**
412
+ * IsReady checks whether the KMS service is fully configured and ready to process requests.
413
+ *
414
+ * @generated from rpc inco.kms.lite.v1.KmsService.IsReady
415
+ */
416
+ isReady: {
417
+ methodKind: "unary";
418
+ input: typeof IsReadyRequestSchema;
419
+ output: typeof IsReadyResponseSchema;
420
+ };
382
421
  /**
383
422
  * AttestedDecrypt decrypts multiple ciphertexts and provides an attestation
384
423
  * that the decryption was performed correctly.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inco/js",
3
- "version": "0.8.0-devnet",
3
+ "version": "0.8.0-devnet-2",
4
4
  "repository": "https://github.com/Inco-fhevm/inco-monorepo",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,