You are reading the documentation for connect v1, which is no longer the latest version. Switch to connect v2
@alokai/connect
This is the API reference documentation for the @alokai/connect library. It contains all of the available methods, interfaces, and other implementation details for interacting with the @alokai/connect API.