fix(lib): raw pointers are no longer `Send`, use a proxy struct