From f7c0cc2a5d09bfa9586b12b52ec13cb61e322956 Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Fri, 21 Aug 2026 08:17:06 +0200 Subject: [PATCH 1/2] Report the registered peer name as the WASM client's device name --- src/modules/remote-access/useNetBirdClient.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/modules/remote-access/useNetBirdClient.ts b/src/modules/remote-access/useNetBirdClient.ts index 2d0595dd5..1d0e6ebec 100644 --- a/src/modules/remote-access/useNetBirdClient.ts +++ b/src/modules/remote-access/useNetBirdClient.ts @@ -160,7 +160,7 @@ export const useNetBirdClient = () => { }, []); const connect = useCallback( - async (privateKey: string): Promise => { + async (privateKey: string, deviceName?: string): Promise => { await initialize(); if (typeof (window as any).NetBirdClient !== "function") { @@ -178,6 +178,10 @@ export const useNetBirdClient = () => { privateKey, logLevel: "info", managementURL: config.apiOrigin, + // Report the name the peer was registered with, so its meta does not + // change on the first sync (a meta change pushes a network map to + // every peer in the account). + ...(deviceName ? { deviceName } : {}), }); await netBirdClient.current.start(); @@ -293,7 +297,7 @@ export const useNetBirdClient = () => { }, `/${peerId}/temporary-access`, ); - return await connect(keyPairs.privateKey); + return await connect(keyPairs.privateKey, name); } catch (error) { netBirdStore.setState({ status: NetBirdStatus.DISCONNECTED }); throw error; From e3b077d0968a41621d3a95706626550b5d1a1b5f Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Fri, 21 Aug 2026 08:20:13 +0200 Subject: [PATCH 2/2] Bump the WASM client to v0.78.0 --- src/utils/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/config.ts b/src/utils/config.ts index 3e602ad13..9d280ac28 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -82,7 +82,7 @@ const loadConfig = (): Config => { googleTagManagerID: configJson?.googleTagManagerID || undefined, authServiceUrl: configJson?.authServiceUrl ?? undefined, wasmPath: - configJson?.wasmPath || "https://pkgs.netbird.io/wasm/client/v0.76.3", + configJson?.wasmPath || "https://pkgs.netbird.io/wasm/client/v0.78.0", licensed: configJson?.licensed === "true", cloud: configJson?.cloud === "true", agentNetworkOnly: configJson?.agentNetworkOnly === "true",