From e6351c245edf0017720bbcdce18eb14e1878c973 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Mon, 21 Jun 2021 20:09:32 -0700 Subject: [PATCH 1/4] fix type declarations --- std/assembly/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/std/assembly/index.d.ts b/std/assembly/index.d.ts index 78b9cacf67..8d0fee4345 100644 --- a/std/assembly/index.d.ts +++ b/std/assembly/index.d.ts @@ -278,7 +278,7 @@ declare namespace i8 { export const MAX_VALUE: i8; } /** Converts any other numeric value to a 16-bit signed integer. */ -declare function i16(value: any): i8; +declare function i16(value: any): i16; declare namespace i16 { /** Smallest representable value. */ export const MIN_VALUE: i16; @@ -543,7 +543,7 @@ declare namespace i64 { /** Converts any other numeric value to a 32-bit (in WASM32) respectivel 64-bit (in WASM64) signed integer. */ declare var isize: typeof i32 | typeof i64; /** Converts any other numeric value to an 8-bit unsigned integer. */ -declare function u8(value: any): i8; +declare function u8(value: any): u8; declare namespace u8 { /** Smallest representable value. */ export const MIN_VALUE: u8; @@ -551,7 +551,7 @@ declare namespace u8 { export const MAX_VALUE: u8; } /** Converts any other numeric value to a 16-bit unsigned integer. */ -declare function u16(value: any): i8; +declare function u16(value: any): u16; declare namespace u16 { /** Smallest representable value. */ export const MIN_VALUE: u16; @@ -559,7 +559,7 @@ declare namespace u16 { export const MAX_VALUE: u16; } /** Converts any other numeric value to a 32-bit unsigned integer. */ -declare function u32(value: any): i32; +declare function u32(value: any): u32; declare namespace u32 { /** Smallest representable value. */ export const MIN_VALUE: u32; @@ -567,7 +567,7 @@ declare namespace u32 { export const MAX_VALUE: u32; } /** Converts any other numeric value to a 64-bit unsigned integer. */ -declare function u64(value: any): i64; +declare function u64(value: any): u64; declare namespace u64 { /** Smallest representable value. */ export const MIN_VALUE: u64; From f41f042ef20b8f5607a86e863425d9ce42ed6702 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Mon, 21 Jun 2021 20:13:45 -0700 Subject: [PATCH 2/4] Update NOTICE --- NOTICE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NOTICE b/NOTICE index 412968222a..657eebde4a 100644 --- a/NOTICE +++ b/NOTICE @@ -39,6 +39,8 @@ under the licensing terms detailed in LICENSE: * bnbarak * Colin Eberhardt * Ryan Pivovar +* Joe Pea +* Joe Pea Portions of this software are derived from third-party works licensed under the following terms: From 9c7b7cf81618a7cb2ff1db9e96fcf00701cf6878 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Sat, 26 Jun 2021 12:00:08 -0700 Subject: [PATCH 3/4] use one email --- NOTICE | 1 - 1 file changed, 1 deletion(-) diff --git a/NOTICE b/NOTICE index 657eebde4a..5447755426 100644 --- a/NOTICE +++ b/NOTICE @@ -39,7 +39,6 @@ under the licensing terms detailed in LICENSE: * bnbarak * Colin Eberhardt * Ryan Pivovar -* Joe Pea * Joe Pea Portions of this software are derived from third-party works licensed under From 41c92bb234da751e0e43352001c0b1f2cdcf1ccd Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Sat, 26 Jun 2021 20:29:40 -0700 Subject: [PATCH 4/4] update email --- NOTICE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NOTICE b/NOTICE index 5447755426..88f1f156ae 100644 --- a/NOTICE +++ b/NOTICE @@ -39,7 +39,7 @@ under the licensing terms detailed in LICENSE: * bnbarak * Colin Eberhardt * Ryan Pivovar -* Joe Pea +* Joe Pea Portions of this software are derived from third-party works licensed under the following terms: