Browse Source

Dependencies and publish smt

master
Jordi Baylina 5 years ago
parent
commit
e3cd0e5aa7
No known key found for this signature in database GPG Key ID: 7480C80C1BE43112
3 changed files with 5 additions and 3 deletions
  1. +2
    -1
      index.js
  2. +2
    -2
      package.json
  3. +1
    -0
      src/smt.js

+ 2
- 1
index.js

@ -4,5 +4,6 @@ exports.mimc7 = require("./src/mimc7");
exports.mimcsponge = require("./src/mimcsponge"); exports.mimcsponge = require("./src/mimcsponge");
exports.babyJub = require("./src/babyjub"); exports.babyJub = require("./src/babyjub");
exports.pedersenHash = require("./src/pedersenHash"); exports.pedersenHash = require("./src/pedersenHash");
exports.SMT = require("./src/smt");
exports.SMT = require("./src/smt").SMT;
exports.SMTMemDB = require("./src/smt_memdb");
exports.poseidon = require("./src/poseidon"); exports.poseidon = require("./src/poseidon");

+ 2
- 2
package.json

@ -26,12 +26,12 @@
"dependencies": { "dependencies": {
"blake-hash": "^1.1.0", "blake-hash": "^1.1.0",
"blake2b": "^2.1.3", "blake2b": "^2.1.3",
"snarkjs": "^0.1.19",
"snarkjs": "^0.1.20",
"typedarray-to-buffer": "^3.1.5", "typedarray-to-buffer": "^3.1.5",
"web3": "^1.0.0-beta.55" "web3": "^1.0.0-beta.55"
}, },
"devDependencies": { "devDependencies": {
"circom": "0.0.28",
"circom": "0.0.32",
"eslint-plugin-mocha": "^5.2.0", "eslint-plugin-mocha": "^5.2.0",
"ganache-cli": "^6.4.4", "ganache-cli": "^6.4.4",
"mocha": "^5.2.0" "mocha": "^5.2.0"

+ 1
- 0
src/smt.js

@ -310,3 +310,4 @@ async function newMemEmptyTrie() {
module.exports.loadFromFile = loadFromFile; module.exports.loadFromFile = loadFromFile;
module.exports.newMemEmptyTrie = newMemEmptyTrie; module.exports.newMemEmptyTrie = newMemEmptyTrie;
module.exports.SMT = SMT; module.exports.SMT = SMT;
module.exports.SMTMemDB = SMTMemDB;

Loading…
Cancel
Save