Skip to content

Commit 07b115d

Browse files
committed
fix TS refs
1 parent 36348fe commit 07b115d

File tree

8 files changed

+13
-369
lines changed

8 files changed

+13
-369
lines changed

packages/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
A WASM implementation of blake3 using assemblyscript.
2+
3+
Implementation based on https://github.com/BLAKE3-team/BLAKE3/blob/master/reference_impl/reference_impl.rs

packages/blake3-wasm/assembly/blake3.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// Import AssemblyScript types
2-
import type { usize, u32, u8, u64 } from "assemblyscript";
3-
import { StaticArray } from "assemblyscript";
4-
51
// Constants from the reference implementation
62
const OUT_LEN: usize = 32;
73
// const KEY_LEN: usize = 32;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"extends": "../node_modules/.pnpm/[email protected].36/node_modules/assemblyscript/std/assembly.json",
2+
"extends": "../node_modules/.pnpm/[email protected].37/node_modules/assemblyscript/std/assembly.json",
33
"include": ["./**/*.ts"]
44
}

packages/blake3-wasm/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"scripts": {
55
"build:debug": "asc assembly/index.ts --target debug",
66
"build:release": "asc assembly/index.ts --target release",
7-
"build": "npm run build:debug && npm run build:release",
8-
"test": "node tests"
7+
"build": "pnpm run build:debug && npm run build:release",
8+
"test": "node tests",
9+
"prepare": "pnpm run build"
910
},
1011
"dependencies": {
1112
"assemblyscript": "^0.27.36"

packages/gearhash-wasm/assembly/blake3.ts

Lines changed: 0 additions & 357 deletions
This file was deleted.

0 commit comments

Comments
 (0)