diff --git a/Cargo.toml b/Cargo.toml index d00b2d09..b78508bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anoncreds" -version = "0.2.0-dev.4" +version = "0.2.0-dev.5" authors = [ "Hyperledger AnonCreds Contributors ", ] diff --git a/wrappers/javascript/lerna.json b/wrappers/javascript/lerna.json index 2da4fe2f..3c1a35c9 100644 --- a/wrappers/javascript/lerna.json +++ b/wrappers/javascript/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.2.0-dev.4", + "version": "0.2.0-dev.5", "npmClient": "pnpm", "command": { "version": { diff --git a/wrappers/javascript/packages/anoncreds-nodejs/package.json b/wrappers/javascript/packages/anoncreds-nodejs/package.json index b5b69c01..519bcc29 100644 --- a/wrappers/javascript/packages/anoncreds-nodejs/package.json +++ b/wrappers/javascript/packages/anoncreds-nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@hyperledger/anoncreds-nodejs", - "version": "0.2.0-dev.4", + "version": "0.2.0-dev.5", "license": "Apache-2.0", "description": "Nodejs wrapper for Anoncreds", "main": "build/index", @@ -43,7 +43,7 @@ "binary": { "module_name": "anoncreds", "module_path": "native", - "remote_path": "v0.2.0-dev.2", + "remote_path": "v0.2.0-dev.5", "host": "https://github.com/hyperledger/anoncreds-rs/releases/download/", "package_name": "library-{platform}-{arch}.tar.gz" } diff --git a/wrappers/javascript/packages/anoncreds-nodejs/scripts/install.js b/wrappers/javascript/packages/anoncreds-nodejs/scripts/install.js index bf255bc2..29fc2fcc 100644 --- a/wrappers/javascript/packages/anoncreds-nodejs/scripts/install.js +++ b/wrappers/javascript/packages/anoncreds-nodejs/scripts/install.js @@ -1,13 +1,14 @@ const { execSync } = require('node:child_process') -const { arch, platform } = require('os') +const { arch, platform: osPlatform } = require('os') const archTable = { x64: 'x86_64', arm64: 'aarch64' } -const targetPlatform = platform() === 'win32' ? 'windows' : platform() -const targetArchitecture = archTable[arch()] +const platform = osPlatform() +const targetPlatform = platform === 'win32' ? 'windows' : platform +const targetArchitecture = platform == 'darwin' ? 'universal' : archTable[arch] const command = `node-pre-gyp install --target_arch=${targetArchitecture} --target_platform=${targetPlatform}` diff --git a/wrappers/javascript/packages/anoncreds-react-native/package.json b/wrappers/javascript/packages/anoncreds-react-native/package.json index 1947e255..c15fcf60 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/package.json +++ b/wrappers/javascript/packages/anoncreds-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@hyperledger/anoncreds-react-native", - "version": "0.2.0-dev.4", + "version": "0.2.0-dev.5", "license": "Apache-2.0", "description": "React Native wrapper for Anoncreds", "main": "build/index", @@ -51,7 +51,7 @@ "binary": { "module_name": "anoncreds", "module_path": "native", - "remote_path": "v0.2.0-dev.2", + "remote_path": "v0.2.0-dev.5", "host": "https://github.com/hyperledger/anoncreds-rs/releases/download/", "package_name": "library-ios-android.tar.gz" } diff --git a/wrappers/javascript/packages/anoncreds-shared/package.json b/wrappers/javascript/packages/anoncreds-shared/package.json index ea1e508a..de9f2590 100644 --- a/wrappers/javascript/packages/anoncreds-shared/package.json +++ b/wrappers/javascript/packages/anoncreds-shared/package.json @@ -1,6 +1,6 @@ { "name": "@hyperledger/anoncreds-shared", - "version": "0.2.0-dev.4", + "version": "0.2.0-dev.5", "license": "Apache-2.0", "description": "Anoncreds wrapper library with NodeJS and React Native", "main": "build/index", diff --git a/wrappers/python/anoncreds/version.py b/wrappers/python/anoncreds/version.py index 3cb441a2..db3fb6ca 100644 --- a/wrappers/python/anoncreds/version.py +++ b/wrappers/python/anoncreds/version.py @@ -1,3 +1,3 @@ """anoncreds library wrapper version.""" -__version__ = "0.2.0-dev.4" +__version__ = "0.2.0-dev.5"