I’m moving our app code into the app framework generated by Shopify CLI 3.x . I can’t find any documentation on how to implement custom session storage. The way we we’re doing it is:
const sessionStorage = new Shopify.Session.CustomSessionStorage(
myStoreCallback,
myLoadCallback,
myDeleteCallback
);
I know that there are two new handlers required (deleteSessions, findSessionsByShop) but cannot find how to create the SessionStorage object as Shopify.Session.CustomSessionStorage constructor no longer exists.
If there is any documentation available please provide a link; failing that please tell me how to create the custom session storage object.