@inco/js 0.5.3 → 0.6.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.js +2 -2
- package/dist/cjs/attestedcompute/attested-compute.js +7 -4
- package/dist/{esm/generated/abis/addTwo.d.ts → cjs/generated/abis/add-two.d.ts} +27 -0
- package/dist/cjs/generated/abis/add-two.js +67 -0
- package/dist/cjs/generated/abis/lightning-preview.d.ts +346 -293
- package/dist/cjs/generated/abis/lightning-preview.js +192 -214
- package/dist/cjs/generated/abis/lightning.d.ts +339 -25
- package/dist/cjs/generated/abis/lightning.js +257 -23
- package/dist/cjs/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
- package/dist/cjs/generated/abis/test-elist.js +161 -0
- package/dist/cjs/generated/abis/verifier.d.ts +98 -61
- package/dist/cjs/generated/abis/verifier.js +81 -51
- package/dist/cjs/generated/lightning.d.ts +21 -0
- package/dist/cjs/generated/lightning.js +23 -1
- package/dist/cjs/generated/local-node.d.ts +2 -2
- package/dist/cjs/generated/local-node.js +2 -2
- package/dist/cjs/local/local-node.js +3 -7
- package/dist/cjs/retry.d.ts +2 -1
- package/dist/cjs/retry.js +4 -3
- package/dist/esm/advancedacl/session-key.js +3 -3
- package/dist/esm/attestedcompute/attested-compute.js +7 -4
- package/dist/{types/generated/abis/addTwo.d.ts → esm/generated/abis/add-two.d.ts} +27 -0
- package/dist/esm/generated/abis/add-two.js +64 -0
- package/dist/esm/generated/abis/lightning-preview.d.ts +346 -293
- package/dist/esm/generated/abis/lightning-preview.js +191 -213
- package/dist/esm/generated/abis/lightning.d.ts +339 -25
- package/dist/esm/generated/abis/lightning.js +256 -22
- package/dist/esm/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
- package/dist/esm/generated/abis/test-elist.js +158 -0
- package/dist/esm/generated/abis/verifier.d.ts +98 -61
- package/dist/esm/generated/abis/verifier.js +81 -51
- package/dist/esm/generated/lightning.d.ts +21 -0
- package/dist/esm/generated/lightning.js +23 -1
- package/dist/esm/generated/local-node.d.ts +2 -2
- package/dist/esm/generated/local-node.js +2 -2
- package/dist/esm/local/local-node.js +3 -7
- package/dist/esm/retry.d.ts +2 -1
- package/dist/esm/retry.js +4 -3
- package/dist/{cjs/generated/abis/addTwo.d.ts → types/generated/abis/add-two.d.ts} +27 -0
- package/dist/types/generated/abis/lightning-preview.d.ts +346 -293
- package/dist/types/generated/abis/lightning.d.ts +339 -25
- package/dist/types/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
- package/dist/types/generated/abis/verifier.d.ts +98 -61
- package/dist/types/generated/lightning.d.ts +21 -0
- package/dist/types/generated/local-node.d.ts +2 -2
- package/dist/types/retry.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/generated/abis/TestElist.js +0 -152
- package/dist/cjs/generated/abis/addTwo.js +0 -51
- package/dist/esm/generated/abis/TestElist.js +0 -149
- package/dist/esm/generated/abis/addTwo.js +0 -48
@@ -484,7 +484,7 @@ export declare const incoLightningAbi: readonly [{
|
|
484
484
|
readonly internalType: "bytes32";
|
485
485
|
readonly type: "bytes32";
|
486
486
|
}];
|
487
|
-
readonly stateMutability: "
|
487
|
+
readonly stateMutability: "payable";
|
488
488
|
}, {
|
489
489
|
readonly type: "function";
|
490
490
|
readonly inputs: readonly [{
|
@@ -502,7 +502,7 @@ export declare const incoLightningAbi: readonly [{
|
|
502
502
|
readonly internalType: "bytes32";
|
503
503
|
readonly type: "bytes32";
|
504
504
|
}];
|
505
|
-
readonly stateMutability: "
|
505
|
+
readonly stateMutability: "payable";
|
506
506
|
}, {
|
507
507
|
readonly type: "function";
|
508
508
|
readonly inputs: readonly [{
|
@@ -621,6 +621,16 @@ export declare const incoLightningAbi: readonly [{
|
|
621
621
|
readonly type: "uint256";
|
622
622
|
}];
|
623
623
|
readonly stateMutability: "view";
|
624
|
+
}, {
|
625
|
+
readonly type: "function";
|
626
|
+
readonly inputs: readonly [];
|
627
|
+
readonly name: "getFee";
|
628
|
+
readonly outputs: readonly [{
|
629
|
+
readonly name: "";
|
630
|
+
readonly internalType: "uint256";
|
631
|
+
readonly type: "uint256";
|
632
|
+
}];
|
633
|
+
readonly stateMutability: "pure";
|
624
634
|
}, {
|
625
635
|
readonly type: "function";
|
626
636
|
readonly inputs: readonly [{
|
@@ -898,7 +908,7 @@ export declare const incoLightningAbi: readonly [{
|
|
898
908
|
readonly internalType: "eaddress";
|
899
909
|
readonly type: "bytes32";
|
900
910
|
}];
|
901
|
-
readonly stateMutability: "
|
911
|
+
readonly stateMutability: "payable";
|
902
912
|
}, {
|
903
913
|
readonly type: "function";
|
904
914
|
readonly inputs: readonly [{
|
@@ -916,7 +926,7 @@ export declare const incoLightningAbi: readonly [{
|
|
916
926
|
readonly internalType: "ebool";
|
917
927
|
readonly type: "bytes32";
|
918
928
|
}];
|
919
|
-
readonly stateMutability: "
|
929
|
+
readonly stateMutability: "payable";
|
920
930
|
}, {
|
921
931
|
readonly type: "function";
|
922
932
|
readonly inputs: readonly [{
|
@@ -934,7 +944,7 @@ export declare const incoLightningAbi: readonly [{
|
|
934
944
|
readonly internalType: "euint256";
|
935
945
|
readonly type: "bytes32";
|
936
946
|
}];
|
937
|
-
readonly stateMutability: "
|
947
|
+
readonly stateMutability: "payable";
|
938
948
|
}, {
|
939
949
|
readonly type: "function";
|
940
950
|
readonly inputs: readonly [];
|
@@ -1033,6 +1043,26 @@ export declare const incoLightningAbi: readonly [{
|
|
1033
1043
|
readonly name: "upgradeToAndCall";
|
1034
1044
|
readonly outputs: readonly [];
|
1035
1045
|
readonly stateMutability: "payable";
|
1046
|
+
}, {
|
1047
|
+
readonly type: "event";
|
1048
|
+
readonly anonymous: false;
|
1049
|
+
readonly inputs: readonly [{
|
1050
|
+
readonly name: "handle";
|
1051
|
+
readonly internalType: "bytes32";
|
1052
|
+
readonly type: "bytes32";
|
1053
|
+
readonly indexed: false;
|
1054
|
+
}, {
|
1055
|
+
readonly name: "account";
|
1056
|
+
readonly internalType: "address";
|
1057
|
+
readonly type: "address";
|
1058
|
+
readonly indexed: false;
|
1059
|
+
}, {
|
1060
|
+
readonly name: "eventId";
|
1061
|
+
readonly internalType: "uint256";
|
1062
|
+
readonly type: "uint256";
|
1063
|
+
readonly indexed: false;
|
1064
|
+
}];
|
1065
|
+
readonly name: "Allow";
|
1036
1066
|
}, {
|
1037
1067
|
readonly type: "event";
|
1038
1068
|
readonly anonymous: false;
|
@@ -1058,26 +1088,6 @@ export declare const incoLightningAbi: readonly [{
|
|
1058
1088
|
readonly indexed: false;
|
1059
1089
|
}];
|
1060
1090
|
readonly name: "EAdd";
|
1061
|
-
}, {
|
1062
|
-
readonly type: "event";
|
1063
|
-
readonly anonymous: false;
|
1064
|
-
readonly inputs: readonly [{
|
1065
|
-
readonly name: "handle";
|
1066
|
-
readonly internalType: "bytes32";
|
1067
|
-
readonly type: "bytes32";
|
1068
|
-
readonly indexed: false;
|
1069
|
-
}, {
|
1070
|
-
readonly name: "account";
|
1071
|
-
readonly internalType: "address";
|
1072
|
-
readonly type: "address";
|
1073
|
-
readonly indexed: false;
|
1074
|
-
}, {
|
1075
|
-
readonly name: "eventId";
|
1076
|
-
readonly internalType: "uint256";
|
1077
|
-
readonly type: "uint256";
|
1078
|
-
readonly indexed: false;
|
1079
|
-
}];
|
1080
|
-
readonly name: "EAllow";
|
1081
1091
|
}, {
|
1082
1092
|
readonly type: "event";
|
1083
1093
|
readonly anonymous: false;
|
@@ -1743,6 +1753,21 @@ export declare const incoLightningAbi: readonly [{
|
|
1743
1753
|
readonly indexed: true;
|
1744
1754
|
}];
|
1745
1755
|
readonly name: "OwnershipTransferred";
|
1756
|
+
}, {
|
1757
|
+
readonly type: "event";
|
1758
|
+
readonly anonymous: false;
|
1759
|
+
readonly inputs: readonly [{
|
1760
|
+
readonly name: "handle";
|
1761
|
+
readonly internalType: "bytes32";
|
1762
|
+
readonly type: "bytes32";
|
1763
|
+
readonly indexed: false;
|
1764
|
+
}, {
|
1765
|
+
readonly name: "eventId";
|
1766
|
+
readonly internalType: "uint256";
|
1767
|
+
readonly type: "uint256";
|
1768
|
+
readonly indexed: false;
|
1769
|
+
}];
|
1770
|
+
readonly name: "Reveal";
|
1746
1771
|
}, {
|
1747
1772
|
readonly type: "event";
|
1748
1773
|
readonly anonymous: false;
|
@@ -1802,6 +1827,10 @@ export declare const incoLightningAbi: readonly [{
|
|
1802
1827
|
readonly type: "error";
|
1803
1828
|
readonly inputs: readonly [];
|
1804
1829
|
readonly name: "FailedCall";
|
1830
|
+
}, {
|
1831
|
+
readonly type: "error";
|
1832
|
+
readonly inputs: readonly [];
|
1833
|
+
readonly name: "FeeNotPaid";
|
1805
1834
|
}, {
|
1806
1835
|
readonly type: "error";
|
1807
1836
|
readonly inputs: readonly [];
|
@@ -1903,3 +1932,288 @@ export declare const incoLightningAbi: readonly [{
|
|
1903
1932
|
}];
|
1904
1933
|
readonly name: "UnsupportedType";
|
1905
1934
|
}];
|
1935
|
+
export declare const sessionVerifierAbi: readonly [{
|
1936
|
+
readonly type: "constructor";
|
1937
|
+
readonly inputs: readonly [{
|
1938
|
+
readonly name: "salt";
|
1939
|
+
readonly internalType: "bytes32";
|
1940
|
+
readonly type: "bytes32";
|
1941
|
+
}];
|
1942
|
+
readonly stateMutability: "nonpayable";
|
1943
|
+
}, {
|
1944
|
+
readonly type: "fallback";
|
1945
|
+
readonly stateMutability: "nonpayable";
|
1946
|
+
}, {
|
1947
|
+
readonly type: "function";
|
1948
|
+
readonly inputs: readonly [];
|
1949
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
1950
|
+
readonly outputs: readonly [{
|
1951
|
+
readonly name: "";
|
1952
|
+
readonly internalType: "string";
|
1953
|
+
readonly type: "string";
|
1954
|
+
}];
|
1955
|
+
readonly stateMutability: "view";
|
1956
|
+
}, {
|
1957
|
+
readonly type: "function";
|
1958
|
+
readonly inputs: readonly [{
|
1959
|
+
readonly name: "";
|
1960
|
+
readonly internalType: "bytes32";
|
1961
|
+
readonly type: "bytes32";
|
1962
|
+
}, {
|
1963
|
+
readonly name: "account";
|
1964
|
+
readonly internalType: "address";
|
1965
|
+
readonly type: "address";
|
1966
|
+
}, {
|
1967
|
+
readonly name: "sharerArgData";
|
1968
|
+
readonly internalType: "bytes";
|
1969
|
+
readonly type: "bytes";
|
1970
|
+
}, {
|
1971
|
+
readonly name: "";
|
1972
|
+
readonly internalType: "bytes";
|
1973
|
+
readonly type: "bytes";
|
1974
|
+
}];
|
1975
|
+
readonly name: "canUseSession";
|
1976
|
+
readonly outputs: readonly [{
|
1977
|
+
readonly name: "";
|
1978
|
+
readonly internalType: "bytes32";
|
1979
|
+
readonly type: "bytes32";
|
1980
|
+
}];
|
1981
|
+
readonly stateMutability: "view";
|
1982
|
+
}, {
|
1983
|
+
readonly type: "function";
|
1984
|
+
readonly inputs: readonly [];
|
1985
|
+
readonly name: "getName";
|
1986
|
+
readonly outputs: readonly [{
|
1987
|
+
readonly name: "";
|
1988
|
+
readonly internalType: "string";
|
1989
|
+
readonly type: "string";
|
1990
|
+
}];
|
1991
|
+
readonly stateMutability: "view";
|
1992
|
+
}, {
|
1993
|
+
readonly type: "function";
|
1994
|
+
readonly inputs: readonly [];
|
1995
|
+
readonly name: "getVersion";
|
1996
|
+
readonly outputs: readonly [{
|
1997
|
+
readonly name: "";
|
1998
|
+
readonly internalType: "string";
|
1999
|
+
readonly type: "string";
|
2000
|
+
}];
|
2001
|
+
readonly stateMutability: "view";
|
2002
|
+
}, {
|
2003
|
+
readonly type: "function";
|
2004
|
+
readonly inputs: readonly [];
|
2005
|
+
readonly name: "getVersionedName";
|
2006
|
+
readonly outputs: readonly [{
|
2007
|
+
readonly name: "";
|
2008
|
+
readonly internalType: "string";
|
2009
|
+
readonly type: "string";
|
2010
|
+
}];
|
2011
|
+
readonly stateMutability: "view";
|
2012
|
+
}, {
|
2013
|
+
readonly type: "function";
|
2014
|
+
readonly inputs: readonly [{
|
2015
|
+
readonly name: "owner";
|
2016
|
+
readonly internalType: "address";
|
2017
|
+
readonly type: "address";
|
2018
|
+
}];
|
2019
|
+
readonly name: "initialize";
|
2020
|
+
readonly outputs: readonly [];
|
2021
|
+
readonly stateMutability: "nonpayable";
|
2022
|
+
}, {
|
2023
|
+
readonly type: "function";
|
2024
|
+
readonly inputs: readonly [];
|
2025
|
+
readonly name: "majorVersion";
|
2026
|
+
readonly outputs: readonly [{
|
2027
|
+
readonly name: "";
|
2028
|
+
readonly internalType: "uint8";
|
2029
|
+
readonly type: "uint8";
|
2030
|
+
}];
|
2031
|
+
readonly stateMutability: "view";
|
2032
|
+
}, {
|
2033
|
+
readonly type: "function";
|
2034
|
+
readonly inputs: readonly [];
|
2035
|
+
readonly name: "minorVersion";
|
2036
|
+
readonly outputs: readonly [{
|
2037
|
+
readonly name: "";
|
2038
|
+
readonly internalType: "uint8";
|
2039
|
+
readonly type: "uint8";
|
2040
|
+
}];
|
2041
|
+
readonly stateMutability: "view";
|
2042
|
+
}, {
|
2043
|
+
readonly type: "function";
|
2044
|
+
readonly inputs: readonly [];
|
2045
|
+
readonly name: "owner";
|
2046
|
+
readonly outputs: readonly [{
|
2047
|
+
readonly name: "";
|
2048
|
+
readonly internalType: "address";
|
2049
|
+
readonly type: "address";
|
2050
|
+
}];
|
2051
|
+
readonly stateMutability: "view";
|
2052
|
+
}, {
|
2053
|
+
readonly type: "function";
|
2054
|
+
readonly inputs: readonly [];
|
2055
|
+
readonly name: "patchVersion";
|
2056
|
+
readonly outputs: readonly [{
|
2057
|
+
readonly name: "";
|
2058
|
+
readonly internalType: "uint8";
|
2059
|
+
readonly type: "uint8";
|
2060
|
+
}];
|
2061
|
+
readonly stateMutability: "view";
|
2062
|
+
}, {
|
2063
|
+
readonly type: "function";
|
2064
|
+
readonly inputs: readonly [];
|
2065
|
+
readonly name: "proxiableUUID";
|
2066
|
+
readonly outputs: readonly [{
|
2067
|
+
readonly name: "";
|
2068
|
+
readonly internalType: "bytes32";
|
2069
|
+
readonly type: "bytes32";
|
2070
|
+
}];
|
2071
|
+
readonly stateMutability: "view";
|
2072
|
+
}, {
|
2073
|
+
readonly type: "function";
|
2074
|
+
readonly inputs: readonly [];
|
2075
|
+
readonly name: "renounceOwnership";
|
2076
|
+
readonly outputs: readonly [];
|
2077
|
+
readonly stateMutability: "nonpayable";
|
2078
|
+
}, {
|
2079
|
+
readonly type: "function";
|
2080
|
+
readonly inputs: readonly [];
|
2081
|
+
readonly name: "salt";
|
2082
|
+
readonly outputs: readonly [{
|
2083
|
+
readonly name: "";
|
2084
|
+
readonly internalType: "bytes32";
|
2085
|
+
readonly type: "bytes32";
|
2086
|
+
}];
|
2087
|
+
readonly stateMutability: "view";
|
2088
|
+
}, {
|
2089
|
+
readonly type: "function";
|
2090
|
+
readonly inputs: readonly [{
|
2091
|
+
readonly name: "newOwner";
|
2092
|
+
readonly internalType: "address";
|
2093
|
+
readonly type: "address";
|
2094
|
+
}];
|
2095
|
+
readonly name: "transferOwnership";
|
2096
|
+
readonly outputs: readonly [];
|
2097
|
+
readonly stateMutability: "nonpayable";
|
2098
|
+
}, {
|
2099
|
+
readonly type: "function";
|
2100
|
+
readonly inputs: readonly [{
|
2101
|
+
readonly name: "newImplementation";
|
2102
|
+
readonly internalType: "address";
|
2103
|
+
readonly type: "address";
|
2104
|
+
}, {
|
2105
|
+
readonly name: "data";
|
2106
|
+
readonly internalType: "bytes";
|
2107
|
+
readonly type: "bytes";
|
2108
|
+
}];
|
2109
|
+
readonly name: "upgradeToAndCall";
|
2110
|
+
readonly outputs: readonly [];
|
2111
|
+
readonly stateMutability: "payable";
|
2112
|
+
}, {
|
2113
|
+
readonly type: "event";
|
2114
|
+
readonly anonymous: false;
|
2115
|
+
readonly inputs: readonly [{
|
2116
|
+
readonly name: "version";
|
2117
|
+
readonly internalType: "uint64";
|
2118
|
+
readonly type: "uint64";
|
2119
|
+
readonly indexed: false;
|
2120
|
+
}];
|
2121
|
+
readonly name: "Initialized";
|
2122
|
+
}, {
|
2123
|
+
readonly type: "event";
|
2124
|
+
readonly anonymous: false;
|
2125
|
+
readonly inputs: readonly [{
|
2126
|
+
readonly name: "previousOwner";
|
2127
|
+
readonly internalType: "address";
|
2128
|
+
readonly type: "address";
|
2129
|
+
readonly indexed: true;
|
2130
|
+
}, {
|
2131
|
+
readonly name: "newOwner";
|
2132
|
+
readonly internalType: "address";
|
2133
|
+
readonly type: "address";
|
2134
|
+
readonly indexed: true;
|
2135
|
+
}];
|
2136
|
+
readonly name: "OwnershipTransferred";
|
2137
|
+
}, {
|
2138
|
+
readonly type: "event";
|
2139
|
+
readonly anonymous: false;
|
2140
|
+
readonly inputs: readonly [{
|
2141
|
+
readonly name: "implementation";
|
2142
|
+
readonly internalType: "address";
|
2143
|
+
readonly type: "address";
|
2144
|
+
readonly indexed: true;
|
2145
|
+
}];
|
2146
|
+
readonly name: "Upgraded";
|
2147
|
+
}, {
|
2148
|
+
readonly type: "error";
|
2149
|
+
readonly inputs: readonly [{
|
2150
|
+
readonly name: "target";
|
2151
|
+
readonly internalType: "address";
|
2152
|
+
readonly type: "address";
|
2153
|
+
}];
|
2154
|
+
readonly name: "AddressEmptyCode";
|
2155
|
+
}, {
|
2156
|
+
readonly type: "error";
|
2157
|
+
readonly inputs: readonly [{
|
2158
|
+
readonly name: "implementation";
|
2159
|
+
readonly internalType: "address";
|
2160
|
+
readonly type: "address";
|
2161
|
+
}];
|
2162
|
+
readonly name: "ERC1967InvalidImplementation";
|
2163
|
+
}, {
|
2164
|
+
readonly type: "error";
|
2165
|
+
readonly inputs: readonly [];
|
2166
|
+
readonly name: "ERC1967NonPayable";
|
2167
|
+
}, {
|
2168
|
+
readonly type: "error";
|
2169
|
+
readonly inputs: readonly [];
|
2170
|
+
readonly name: "FailedCall";
|
2171
|
+
}, {
|
2172
|
+
readonly type: "error";
|
2173
|
+
readonly inputs: readonly [];
|
2174
|
+
readonly name: "InvalidInitialization";
|
2175
|
+
}, {
|
2176
|
+
readonly type: "error";
|
2177
|
+
readonly inputs: readonly [];
|
2178
|
+
readonly name: "InvalidShortString";
|
2179
|
+
}, {
|
2180
|
+
readonly type: "error";
|
2181
|
+
readonly inputs: readonly [];
|
2182
|
+
readonly name: "NotInitializing";
|
2183
|
+
}, {
|
2184
|
+
readonly type: "error";
|
2185
|
+
readonly inputs: readonly [{
|
2186
|
+
readonly name: "owner";
|
2187
|
+
readonly internalType: "address";
|
2188
|
+
readonly type: "address";
|
2189
|
+
}];
|
2190
|
+
readonly name: "OwnableInvalidOwner";
|
2191
|
+
}, {
|
2192
|
+
readonly type: "error";
|
2193
|
+
readonly inputs: readonly [{
|
2194
|
+
readonly name: "account";
|
2195
|
+
readonly internalType: "address";
|
2196
|
+
readonly type: "address";
|
2197
|
+
}];
|
2198
|
+
readonly name: "OwnableUnauthorizedAccount";
|
2199
|
+
}, {
|
2200
|
+
readonly type: "error";
|
2201
|
+
readonly inputs: readonly [{
|
2202
|
+
readonly name: "str";
|
2203
|
+
readonly internalType: "string";
|
2204
|
+
readonly type: "string";
|
2205
|
+
}];
|
2206
|
+
readonly name: "StringTooLong";
|
2207
|
+
}, {
|
2208
|
+
readonly type: "error";
|
2209
|
+
readonly inputs: readonly [];
|
2210
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
2211
|
+
}, {
|
2212
|
+
readonly type: "error";
|
2213
|
+
readonly inputs: readonly [{
|
2214
|
+
readonly name: "slot";
|
2215
|
+
readonly internalType: "bytes32";
|
2216
|
+
readonly type: "bytes32";
|
2217
|
+
}];
|
2218
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
2219
|
+
}];
|