See https://github.com/Lay3rLabs/layer-sdk/pull/154#pullrequestreview-2325940251
See #154 (review)