@omen.foundation/node-microservice-runtime 0.1.82 → 0.1.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1091,10 +1091,10 @@ async function main() {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
|
-
//
|
|
1095
|
-
//
|
|
1096
|
-
const registryUrl = await getRegistryUrl(apiHost, token, cid,
|
|
1097
|
-
const uniqueName = md5Hex(`${cid}_${
|
|
1094
|
+
// Use resolvedGamePid for registry URL and uniqueName - backend checks using game PID scope
|
|
1095
|
+
// The pid variable might be a realm PID, but the backend expects game PID for registry operations
|
|
1096
|
+
const registryUrl = await getRegistryUrl(apiHost, token, cid, resolvedGamePid);
|
|
1097
|
+
const uniqueName = md5Hex(`${cid}_${resolvedGamePid}_${serviceId}`).substring(0, 30);
|
|
1098
1098
|
if (process.env.BEAMO_DEBUG === '1' || process.env.BEAMO_NODE_DEBUG === '1') {
|
|
1099
1099
|
console.error(`[beamo-node] Registry URL: ${registryUrl}`);
|
|
1100
1100
|
console.error(`[beamo-node] Unique name: ${uniqueName}`);
|