From 87059fb9c48f9dc6b570bb056d3fc498274996c7 Mon Sep 17 00:00:00 2001 From: anonpenguin23 Date: Sat, 22 Nov 2025 13:10:21 +0200 Subject: [PATCH] fix: update anyone-client installation command to use scoped package name - Changed the npm installation command for anyone-client to use the scoped package name `@anyone-protocol/anyone-client`, ensuring correct package retrieval during installation. --- CHANGELOG.md | 13 +++++++++++++ Makefile | 2 +- pkg/environments/production/installers.go | 4 ++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed27f2b..ef563b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,19 @@ The format is based on [Keep a Changelog][keepachangelog] and adheres to [Semant ### Deprecated ### Fixed +## [0.69.19] - 2025-11-22 + +### Added +\n +### Changed +- Updated the installation command for 'anyone-client' to use the correct scoped package name (@anyone-protocol/anyone-client). + +### Deprecated + +### Removed + +### Fixed +\n ## [0.69.18] - 2025-11-22 ### Added diff --git a/Makefile b/Makefile index 15cb2a2..0ce1064 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ test-e2e: .PHONY: build clean test run-node run-node2 run-node3 run-example deps tidy fmt vet lint clear-ports install-hooks kill -VERSION := 0.69.18 +VERSION := 0.69.19 COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown) DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ) LDFLAGS := -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)' -X 'main.date=$(DATE)' diff --git a/pkg/environments/production/installers.go b/pkg/environments/production/installers.go index 5a136de..4496be2 100644 --- a/pkg/environments/production/installers.go +++ b/pkg/environments/production/installers.go @@ -704,8 +704,8 @@ func (bi *BinaryInstaller) InstallAnyoneClient() error { fmt.Fprintf(bi.logWriter.(interface{ Write([]byte) (int, error) }), " Installing anyone-client...\n") - // Install anyone-client globally via npm - cmd := exec.Command("npm", "install", "-g", "anyone-client") + // Install anyone-client globally via npm (using scoped package name) + cmd := exec.Command("npm", "install", "-g", "@anyone-protocol/anyone-client") if output, err := cmd.CombinedOutput(); err != nil { return fmt.Errorf("failed to install anyone-client: %w\n%s", err, string(output)) }