Skip to content

Commit

Permalink
update offchain to handle insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroProofs committed May 28, 2024
1 parent 74faf18 commit ba40af6
Show file tree
Hide file tree
Showing 9 changed files with 1,932 additions and 4,452 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ artifacts/
# Aiken's project working directory
build/


dist/

# Added by cargo
/target
Expand Down
22 changes: 0 additions & 22 deletions offchain/index.test.ts

This file was deleted.

139 changes: 0 additions & 139 deletions offchain/index.ts

This file was deleted.

30 changes: 22 additions & 8 deletions offchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,24 @@
"name": "sparse-merkle-tree",
"version": "0.0.1",
"description": "",
"main": "index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"type": "module",
"scripts": {
"test": "jest"
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"build": "tsup"
},
"keywords": [],
"author": "",
Expand All @@ -14,12 +29,11 @@
"blakejs": "^1.2.1"
},
"devDependencies": {
"jest": "^29.7.0",
"@babel/core": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@types/jest": "^29.5.12",
"@tsconfig/node21": "^21.0.3",
"@types/node": "^20.12.12",
"babel-jest": "^29.7.0"
"@vitest/ui": "^1.6.0",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
}
}
Loading

0 comments on commit ba40af6

Please sign in to comment.