@dorafactory/maci-sdk 0.0.1 → 0.0.3

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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './libs';
2
2
  export type * from './types';
3
+ export * from './types';
3
4
  export * from './libs/const';
4
5
  export { MaciClient } from './maci';
5
6
  export { Http } from './libs/http';
package/dist/index.js CHANGED
@@ -25,7 +25,10 @@ __export(src_exports, {
25
25
  Contract: () => Contract,
26
26
  Http: () => Http,
27
27
  Indexer: () => Indexer,
28
+ MaciCertSystemType: () => MaciCertSystemType,
29
+ MaciCircuitType: () => MaciCircuitType,
28
30
  MaciClient: () => MaciClient2,
31
+ MaciRoundType: () => MaciRoundType,
29
32
  Operator: () => Operator,
30
33
  Proof: () => Proof,
31
34
  Round: () => Round,
@@ -3239,6 +3242,24 @@ async function createContractClientByWallet(rpcEndpoint, wallet) {
3239
3242
  return client;
3240
3243
  }
3241
3244
 
3245
+ // src/types/index.ts
3246
+ var MaciCircuitType = /* @__PURE__ */ ((MaciCircuitType2) => {
3247
+ MaciCircuitType2["IP1V"] = "0";
3248
+ MaciCircuitType2["QV"] = "1";
3249
+ return MaciCircuitType2;
3250
+ })(MaciCircuitType || {});
3251
+ var MaciCertSystemType = /* @__PURE__ */ ((MaciCertSystemType2) => {
3252
+ MaciCertSystemType2["GROTH16"] = "groth16";
3253
+ MaciCertSystemType2["PLONK"] = "plonk";
3254
+ return MaciCertSystemType2;
3255
+ })(MaciCertSystemType || {});
3256
+ var MaciRoundType = /* @__PURE__ */ ((MaciRoundType2) => {
3257
+ MaciRoundType2["MACI"] = "0";
3258
+ MaciRoundType2["AMACI"] = "1";
3259
+ MaciRoundType2["ORACLE_MACI"] = "2";
3260
+ return MaciRoundType2;
3261
+ })(MaciRoundType || {});
3262
+
3242
3263
  // src/libs/contract/vars.ts
3243
3264
  var CIRCUIT_INFO = {
3244
3265
  "2-1-1-5": {
@@ -4145,7 +4166,10 @@ var MaciClient2 = class {
4145
4166
  Contract,
4146
4167
  Http,
4147
4168
  Indexer,
4169
+ MaciCertSystemType,
4170
+ MaciCircuitType,
4148
4171
  MaciClient,
4172
+ MaciRoundType,
4149
4173
  Operator,
4150
4174
  Proof,
4151
4175
  Round,