Hello there!
I use last Amplitude SDK for Web @amplitude/analytics-browser@2.7.4. After initialization I want to use amplitude.getDeviceId() but it always returns undefined (getUserId(), getSessionId also return undefined).
In amplitude personal area I see that device id is set. I am also able to set it manually on initialization setting deviceId parameter but getDeviceId() returns undefined in any case. I cannot understand what I did wrong. Could you help please?