From 7c0d676997b85c4897d3d5f5df56187108abbccc Mon Sep 17 00:00:00 2001 From: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com> Date: Thu, 4 Apr 2024 16:43:37 +0200 Subject: [PATCH] Use release flag for napi (#2216) * Use release flag for napi * Update release date --- bindings/nodejs/CHANGELOG.md | 2 +- bindings/nodejs/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/nodejs/CHANGELOG.md b/bindings/nodejs/CHANGELOG.md index e9efebe5db..4985373c2d 100644 --- a/bindings/nodejs/CHANGELOG.md +++ b/bindings/nodejs/CHANGELOG.md @@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security --> -## 2.0.0-alpha.4 - 2024-04-DD +## 2.0.0-alpha.4 - 2024-04-04 ### Changed diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json index 15be0c6f33..0fc0f2aa24 100644 --- a/bindings/nodejs/package.json +++ b/bindings/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@iota/sdk", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "Node.js binding to the IOTA SDK library", "main": "out/index.js", "types": "out/index.d.ts", @@ -12,7 +12,7 @@ "format-check": "prettier --ignore-path .eslintignore -c \"{,*/**/}*.{ts,js,json}\"", "prebuild-x64": "prebuild --runtime napi --target 6 --prepack scripts/build.js --strip --arch x64", "prebuild-macos-arm64": "prebuild --runtime napi --target 6 --prepack 'yarn run napi-build-macos-arm64' --strip --arch arm64", - "napi-build-macos-arm64": "napi build --cargo-flags=--profile=production --target aarch64-apple-darwin", + "napi-build-macos-arm64": "napi build --release --target aarch64-apple-darwin", "prebuild-linux-arm64": "prebuild --runtime napi --target 6 --prepack 'yarn run napi-build-linux-arm64' --strip --arch arm64", "napi-build-linux-arm64": "napi build --cargo-flags=--profile=production --target aarch64-unknown-linux-gnu", "prebuild-windows-arm64": "prebuild --runtime napi --target 6 --prepack 'yarn run napi-build-windows-arm64' --strip --arch arm64",