@iden3/js-jwz
Version:
JS implementation of JWZ
22 lines (21 loc) • 1.47 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Header = exports.hash = exports.Token = exports.ProvingMethodAlg = exports.proving = void 0;
const hash_1 = require("./hash");
Object.defineProperty(exports, "hash", { enumerable: true, get: function () { return hash_1.hash; } });
const jwz_1 = require("./jwz");
Object.defineProperty(exports, "Token", { enumerable: true, get: function () { return jwz_1.Token; } });
Object.defineProperty(exports, "Header", { enumerable: true, get: function () { return jwz_1.Header; } });
const authGroth16_1 = require("./authGroth16");
const proving_1 = require("./proving");
Object.defineProperty(exports, "ProvingMethodAlg", { enumerable: true, get: function () { return proving_1.ProvingMethodAlg; } });
const authV2Groth16_1 = require("./authV2Groth16");
(0, proving_1.registerProvingMethod)(authGroth16_1.provingMethodGroth16AuthInstance.methodAlg, () => authGroth16_1.provingMethodGroth16AuthInstance);
(0, proving_1.registerProvingMethod)(authV2Groth16_1.provingMethodGroth16AuthV2Instance.methodAlg, () => authV2Groth16_1.provingMethodGroth16AuthV2Instance);
const proving = {
registerProvingMethod: proving_1.registerProvingMethod,
getProvingMethod: proving_1.getProvingMethod,
provingMethodGroth16AuthInstance: authGroth16_1.provingMethodGroth16AuthInstance,
provingMethodGroth16AuthV2Instance: authV2Groth16_1.provingMethodGroth16AuthV2Instance
};
exports.proving = proving;
;