diff --git a/bindings/node.js/binding.dist.gyp b/bindings/node.js/binding.dist.gyp index 861b19f..ba7a92f 100644 --- a/bindings/node.js/binding.dist.gyp +++ b/bindings/node.js/binding.dist.gyp @@ -4,31 +4,11 @@ "target_name": "kzg", "cflags!": ["-fno-exceptions"], "cflags_cc!": ["-fno-exceptions"], - "conditions": [ - [ - "OS=='win'", - { - "defines": ["_HAS_EXCEPTIONS=1"], - "msvs_settings": { - "VCCLCompilerTool": { - "ExceptionHandling": 1 - } - } - } - ], - [ - "OS=='mac'", - { - "cflags+": ["-fvisibility=hidden"], - "xcode_settings": { - "GCC_ENABLE_CPP_EXCEPTIONS": "YES", - "CLANG_CXX_LIBRARY": "libc++", - "MACOSX_DEPLOYMENT_TARGET": "10.7", - "GCC_SYMBOLS_PRIVATE_EXTERN": "YES" - } - } - ] - ], + "xcode_settings": { + "GCC_ENABLE_CPP_EXCEPTIONS": "YES", + "CLANG_CXX_LIBRARY": "libc++", + "MACOSX_DEPLOYMENT_TARGET": "13.0" + }, "sources": ["kzg.cxx"], "include_dirs": [ "<(module_root_dir)/dist/deps/blst/bindings", diff --git a/bindings/node.js/binding.gyp b/bindings/node.js/binding.gyp index a1eb810..b9132ef 100644 --- a/bindings/node.js/binding.gyp +++ b/bindings/node.js/binding.gyp @@ -4,31 +4,11 @@ "target_name": "kzg", "cflags!": ["-fno-exceptions"], "cflags_cc!": ["-fno-exceptions"], - "conditions": [ - [ - "OS=='win'", - { - "defines": ["_HAS_EXCEPTIONS=1"], - "msvs_settings": { - "VCCLCompilerTool": { - "ExceptionHandling": 1 - } - } - } - ], - [ - "OS=='mac'", - { - "cflags+": ["-fvisibility=hidden"], - "xcode_settings": { - "GCC_ENABLE_CPP_EXCEPTIONS": "YES", - "CLANG_CXX_LIBRARY": "libc++", - "MACOSX_DEPLOYMENT_TARGET": "10.7", - "GCC_SYMBOLS_PRIVATE_EXTERN": "YES" - } - } - ] - ], + "xcode_settings": { + "GCC_ENABLE_CPP_EXCEPTIONS": "YES", + "CLANG_CXX_LIBRARY": "libc++", + "MACOSX_DEPLOYMENT_TARGET": "13.0" + }, "sources": ["kzg.cxx"], "include_dirs": [ "../../inc", diff --git a/bindings/node.js/package.json b/bindings/node.js/package.json index 7bf3af6..2628525 100644 --- a/bindings/node.js/package.json +++ b/bindings/node.js/package.json @@ -1,6 +1,6 @@ { "name": "c-kzg", - "version": "1.0.1", + "version": "1.0.2", "description": "NodeJS bindings for C-KZG", "author": "Dan Coffman", "license": "MIT",