@zama-fhe/relayer-sdk 0.3.0-7 → 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/lib/node.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { CompactPkeCrs } from 'node-tfhe';
2
2
  import { Eip1193Provider } from 'ethers';
3
+ import { Prettify } from './utils/types';
3
4
  import { TfheClientKey } from 'node-tfhe';
4
5
  import { TfheCompactPublicKey } from 'node-tfhe';
5
6
 
@@ -154,7 +155,7 @@ export declare type FhevmInstance = {
154
155
  } | null;
155
156
  };
156
157
 
157
- export declare type FhevmInstanceConfig = {
158
+ export declare type FhevmInstanceConfig = Prettify<{
158
159
  verifyingContractAddressDecryption: string;
159
160
  verifyingContractAddressInputVerification: string;
160
161
  kmsContractAddress: string;
@@ -169,6 +170,9 @@ export declare type FhevmInstanceConfig = {
169
170
  data: Uint8Array | null;
170
171
  id: string | null;
171
172
  };
173
+ } & FhevmInstanceOptions>;
174
+
175
+ export declare type FhevmInstanceOptions = {
172
176
  auth?: Auth;
173
177
  };
174
178