You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 14, 2022. It is now read-only.
Hey guys, just thought I'd give you a heads up that the current documentation on the homepage of this repo does not match the lastest NPM release.
I noticed this as I was attempting to write a custom strategy. The documentation on the homepage indicates that a strategy must implement the following interface:
class Strategy {
// shop refers to the shop's domain name
getShop({ shop }): Promise<{accessToken: string}>
// shop refers to the shop's domain name
storeShop({ shop, accessToken }): Promise<{accessToken: string}>
}
class Strategy {
// shop refers to the shop's domain name
getShop({ shop }, (err, accessToken) => void)
// shop refers to the shop's domain name
storeShop({ shop, accessToken }, (err, accessToken) => void)
}
Is there any plan to publish a new release? Or perhaps it is an error on my end? Any assistance would be much appreciated. Thanks!