From 7c398845760b20f83b2bad8b612729a21b6b69a9 Mon Sep 17 00:00:00 2001 From: Kepler Vital Date: Tue, 5 Sep 2023 15:29:39 +0200 Subject: [PATCH] chore: release 0.0.5-alpha (#22) * chore: release 0.0.5-alpha * chore: add signature to mac dmg build --- README.md | 7 +++++-- package.json | 2 +- packages/core/package.json | 2 +- packages/daemon/package.json | 4 ++-- packages/server/package.json | 6 +++--- packages/server/src/commons/configs.ts | 2 +- packages/ui/build/mac.js | 9 ++++++++- packages/ui/package.json | 6 +++--- yarn.lock | 16 ++++++++-------- 9 files changed, 32 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 5ea6008..93fc006 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ [![GitHub license](https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=for-the-badge)](LICENSE) -[![GitHub license](https://img.shields.io/badge/install-MacOSX-blue.svg?style=for-the-badge&logo=apple)](https://github.com/dfinity/http-proxy/releases/download/0.0.4-alpha/ic-http-proxy-mac-universal-0.0.4-alpha.dmg) -[![GitHub license](https://img.shields.io/badge/install-Windows-blue.svg?style=for-the-badge&logo=windows)](https://github.com/dfinity/http-proxy/releases/download/0.0.4-alpha/ic-http-proxy-win-x64-0.0.4-alpha.exe) +[![Install MacOS](https://img.shields.io/badge/install-MacOSX-blue.svg?style=for-the-badge&logo=apple)](https://github.com/dfinity/http-proxy/releases/download/0.0.5-alpha/ic-http-proxy-mac-universal-0.0.5-alpha.dmg) +[![Install Windows](https://img.shields.io/badge/install-Windows-blue.svg?style=for-the-badge&logo=windows)](https://github.com/dfinity/http-proxy/releases/download/0.0.5-alpha/ic-http-proxy-win-x64-0.0.5-alpha.exe) +[![Install Debian](https://img.shields.io/badge/install-Debian-blue.svg?style=for-the-badge&logo=debian)](https://github.com/dfinity/http-proxy/releases/download/0.0.5-alpha/ic-http-proxy-linux-arm64-0.0.5-alpha.deb) # IC HTTP Proxy > This application is currently only a proof of concept implementation and should be used at your own risk. @@ -37,6 +38,8 @@ An implementation of the [IC HTTP Gateway Protocol](https://internetcomputer.org * MacOSX +* Debian + Other platforms can also be supported by adding the generated root certificate to the device trusted store and adding the proxy HTTP server to the active network interface configuration. ## Contributing diff --git a/package.json b/package.json index ff8cbb6..d0d1444 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/http-proxy", - "version": "0.0.4-alpha", + "version": "0.0.5-alpha", "description": "HTTP Proxy to enable trustless access to the Internet Computer.", "author": "Kepler Vital ", "license": "Apache-2.0", diff --git a/packages/core/package.json b/packages/core/package.json index d57c7f5..21c32f4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/http-proxy-core", - "version": "0.0.4-alpha", + "version": "0.0.5-alpha", "description": "Gateway server to enable trustless access to the Internet Computer.", "main": "built/main.js", "types": "built/main.d.ts", diff --git a/packages/daemon/package.json b/packages/daemon/package.json index 863d76b..9aabeec 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/http-proxy-daemon", - "version": "0.0.4-alpha", + "version": "0.0.5-alpha", "description": "Daemon process to enable trustless access to the Internet Computer.", "main": "built/main.js", "types": "built/main.d.ts", @@ -62,7 +62,7 @@ "typescript": "^4.9.5" }, "dependencies": { - "@dfinity/http-proxy-core": "0.0.4-alpha", + "@dfinity/http-proxy-core": "0.0.5-alpha", "http-proxy": "^1.18.1", "node-cache": "^5.1.2", "node-forge": "^1.3.1", diff --git a/packages/server/package.json b/packages/server/package.json index 036db27..f1c40db 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/http-proxy-server", - "version": "0.0.4-alpha", + "version": "0.0.5-alpha", "description": "Gateway server to enable trustless access to the Internet Computer.", "main": "built/main.js", "types": "built/main.d.ts", @@ -51,8 +51,8 @@ "dependencies": { "@dfinity/agent": "^0.19.0", "@dfinity/candid": "^0.19.0", - "@dfinity/http-proxy-core": "0.0.4-alpha", - "@dfinity/http-proxy-daemon": "0.0.4-alpha", + "@dfinity/http-proxy-core": "0.0.5-alpha", + "@dfinity/http-proxy-daemon": "0.0.5-alpha", "@dfinity/principal": "^0.19.0", "@dfinity/response-verification": "^1.0.2", "http-proxy": "^1.18.1", diff --git a/packages/server/src/commons/configs.ts b/packages/server/src/commons/configs.ts index 171a4a8..2b7aef3 100644 --- a/packages/server/src/commons/configs.ts +++ b/packages/server/src/commons/configs.ts @@ -3,7 +3,7 @@ import { EnvironmentConfiguration } from './typings'; const environment: EnvironmentConfiguration = { platform: os.platform(), - userAgent: 'ICHttpProxy/0.0.4-alpha', + userAgent: 'ICHttpProxy/0.0.5-alpha', certificate: { storage: { folder: 'certs', diff --git a/packages/ui/build/mac.js b/packages/ui/build/mac.js index d2003aa..8673c53 100644 --- a/packages/ui/build/mac.js +++ b/packages/ui/build/mac.js @@ -67,7 +67,14 @@ const build = async () => { await builder .build({ targets: Platform.MAC.createTarget('dmg', builder.Arch.universal), - config: options, + config: { + ...options, + mac: { + ...options.mac, + // since the dmg is not deterministic, we want to sign it with the default identity + identity: undefined, + } + }, }) .then(async (builtFiles) => createReleaseHashFile(builtFiles)); }; diff --git a/packages/ui/package.json b/packages/ui/package.json index 9eb00c7..fb66c0f 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/http-proxy-ui", - "version": "0.0.4-alpha", + "version": "0.0.5-alpha", "description": "Desktop interface to facilitate user interaction with the HTTP Proxy server.", "main": "built/main.js", "scripts": { @@ -37,8 +37,8 @@ }, "homepage": "https://github.com/dfinity/http-proxy/tree/main/packages/ui#readme", "dependencies": { - "@dfinity/http-proxy-core": "0.0.4-alpha", - "@dfinity/http-proxy-server": "0.0.4-alpha" + "@dfinity/http-proxy-core": "0.0.5-alpha", + "@dfinity/http-proxy-server": "0.0.5-alpha" }, "devDependencies": { "@types/node": "^18.14.0", diff --git a/yarn.lock b/yarn.lock index 1529d2f..40e8225 100644 --- a/yarn.lock +++ b/yarn.lock @@ -102,7 +102,7 @@ __metadata: languageName: node linkType: hard -"@dfinity/http-proxy-core@0.0.4-alpha, @dfinity/http-proxy-core@workspace:packages/core": +"@dfinity/http-proxy-core@0.0.5-alpha, @dfinity/http-proxy-core@workspace:packages/core": version: 0.0.0-use.local resolution: "@dfinity/http-proxy-core@workspace:packages/core" dependencies: @@ -127,11 +127,11 @@ __metadata: languageName: unknown linkType: soft -"@dfinity/http-proxy-daemon@0.0.4-alpha, @dfinity/http-proxy-daemon@workspace:packages/daemon": +"@dfinity/http-proxy-daemon@0.0.5-alpha, @dfinity/http-proxy-daemon@workspace:packages/daemon": version: 0.0.0-use.local resolution: "@dfinity/http-proxy-daemon@workspace:packages/daemon" dependencies: - "@dfinity/http-proxy-core": 0.0.4-alpha + "@dfinity/http-proxy-core": 0.0.5-alpha "@types/node": ^18.14.0 "@types/node-forge": ^1.3.1 "@types/pako": ^2.0.0 @@ -155,14 +155,14 @@ __metadata: languageName: unknown linkType: soft -"@dfinity/http-proxy-server@0.0.4-alpha, @dfinity/http-proxy-server@workspace:packages/server": +"@dfinity/http-proxy-server@0.0.5-alpha, @dfinity/http-proxy-server@workspace:packages/server": version: 0.0.0-use.local resolution: "@dfinity/http-proxy-server@workspace:packages/server" dependencies: "@dfinity/agent": ^0.19.0 "@dfinity/candid": ^0.19.0 - "@dfinity/http-proxy-core": 0.0.4-alpha - "@dfinity/http-proxy-daemon": 0.0.4-alpha + "@dfinity/http-proxy-core": 0.0.5-alpha + "@dfinity/http-proxy-daemon": 0.0.5-alpha "@dfinity/principal": ^0.19.0 "@dfinity/response-verification": ^1.0.2 "@types/isomorphic-fetch": ^0.0.36 @@ -191,8 +191,8 @@ __metadata: version: 0.0.0-use.local resolution: "@dfinity/http-proxy-ui@workspace:packages/ui" dependencies: - "@dfinity/http-proxy-core": 0.0.4-alpha - "@dfinity/http-proxy-server": 0.0.4-alpha + "@dfinity/http-proxy-core": 0.0.5-alpha + "@dfinity/http-proxy-server": 0.0.5-alpha "@types/node": ^18.14.0 "@typescript-eslint/eslint-plugin": ^5.54.1 "@typescript-eslint/parser": ^5.54.1