From 02d84c466da1a19e5dd4ed7edff8d4ca067d810b Mon Sep 17 00:00:00 2001 From: Nico Schapeler <38372048+cryptopapi997@users.noreply.github.com> Date: Tue, 17 Jan 2023 11:14:23 +0100 Subject: [PATCH 1/2] Fix typo --- src/__tests__/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/index.test.ts b/src/__tests__/index.test.ts index e6ea14d2..95352ca3 100644 --- a/src/__tests__/index.test.ts +++ b/src/__tests__/index.test.ts @@ -633,7 +633,7 @@ describe("number", () => { expect(new Uint8Array(buf)).toEqual(serializedExpected); }); - test("u512 with 8int8array", () => { + test("u512 with Uint8array", () => { class Struct { @field({ type: "u512" }) public a: bigint; From dd73286b4db6702ef7a870abf9626511a2c08216 Mon Sep 17 00:00:00 2001 From: Marcus Pousette Date: Fri, 20 Jan 2023 16:09:28 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7203dce4..dc686d43 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ class TestStruct { ```typescript class TestStruct { - @field({ type: vec('32') }) + @field({ type: vec('u32') }) public vec: number[]; } ```