From 3735802979611f24dcff29fb2a751e4a5e765e3e Mon Sep 17 00:00:00 2001 From: Jonathan Hargreaves <32854503+jonathanharg@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:31:49 +0100 Subject: [PATCH 1/2] fix: Updated is_basic types --- binaryen/type/heap_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binaryen/type/heap_type.py b/binaryen/type/heap_type.py index 5de5b5b..4b3be01 100644 --- a/binaryen/type/heap_type.py +++ b/binaryen/type/heap_type.py @@ -2,7 +2,7 @@ from .._binaryen import lib as __lib -def is_basic(heap_type: __internals.BinaryenHeapType): +def is_basic(heap_type: __internals.BinaryenHeapType | __internals.BinaryenType): return bool(__lib.BinaryenHeapTypeIsBasic(heap_type)) From 3e7effa4e2a619c52de17c8e03bbf1ea5361594d Mon Sep 17 00:00:00 2001 From: Jonathan Hargreaves <32854503+jonathanharg@users.noreply.github.com> Date: Fri, 26 Apr 2024 13:07:37 +0100 Subject: [PATCH 2/2] Bumped version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bf2053a..8efb9a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "binaryen.py" -version = "117.1.0" +version = "117.1.1" description = "A Python wrapper for Binaryen" authors = [{ name = "Jonathan Hargreaves", email = "jhargreaves189@gmail.com" }] readme = "README.md"