@zama-fhe/relayer-sdk 0.3.0-6 → 0.4.0-alpha.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/bundle/relayer-sdk-js.js +13563 -16709
- package/bundle/relayer-sdk-js.umd.cjs +5 -23
- package/lib/node.cjs +3829 -258
- package/lib/node.d.ts +5 -1
- package/lib/node.js +3838 -267
- package/lib/web.d.ts +5 -1
- package/lib/web.js +3947 -376
- package/package.json +8 -3
package/lib/web.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Eip1193Provider } from 'ethers';
|
|
2
2
|
import { InitInput as KMSInput } from 'tkms';
|
|
3
|
+
import { Prettify } from './utils/types';
|
|
3
4
|
import { InitInput as TFHEInput } from 'tfhe';
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -145,7 +146,7 @@ export declare type FhevmInstance = {
|
|
|
145
146
|
} | null;
|
|
146
147
|
};
|
|
147
148
|
|
|
148
|
-
export declare type FhevmInstanceConfig = {
|
|
149
|
+
export declare type FhevmInstanceConfig = Prettify<{
|
|
149
150
|
verifyingContractAddressDecryption: string;
|
|
150
151
|
verifyingContractAddressInputVerification: string;
|
|
151
152
|
kmsContractAddress: string;
|
|
@@ -160,6 +161,9 @@ export declare type FhevmInstanceConfig = {
|
|
|
160
161
|
data: Uint8Array | null;
|
|
161
162
|
id: string | null;
|
|
162
163
|
};
|
|
164
|
+
} & FhevmInstanceOptions>;
|
|
165
|
+
|
|
166
|
+
export declare type FhevmInstanceOptions = {
|
|
163
167
|
auth?: Auth;
|
|
164
168
|
};
|
|
165
169
|
|