Shopify / koa-shopify-auth

DEPRECATED Middleware to authenticate a Koa application with Shopify
MIT License
80 stars 64 forks source link

Removing unneeded secondary initialization #52

Closed paulomarg closed 3 years ago

paulomarg commented 3 years ago

WHY are these changes introduced?

I was able to verify that when this is properly published, we won't need to import @shopify/shopify-api separately (since it comes in as a top-level package via this package's dependencies), which also means that we won't have two copies of the library, and can therefore initialize it only a single time.

WHAT is this pull request doing?

Removing the ugly secondary initialization code which is no longer needed.