RPCs calls issue

Hi. I have some strange issue when calling RPC function from client. I registered 2 rpc function with different id and different function implementation but when I call them I see only implementation first registered function in logs.

I using:
Nakama Typescript with rollup bundler
Docker: heroiclabs/nakama:3.10.0 (3.9.0 have same issue)
Client: @heroiclabs/nakama-js: 2.3.0

@novabyte Hi, can you take a look please?

Hi @kutsme,

Currently this is due to a limitation with the JavaScript runtime we use in the server. Please could you raise an issue on GitHub GitHub - heroiclabs/nakama: Distributed server for social and realtime games and apps..
For now the solution is to define your RPC ID strings individually.
e.g. const GetFriendsOnline = 'get_friends_online';

As a side, please be aware that while we endeavour to respond to messages in a timely manner, tagging individual developers will not expedite this.

Thanks Tom! It works.