Shopify stores as a product source (ProductSource from @haatlabs-core/provider-amazon): any
store's public feeds (/meta.json, /products/<handle>.js, /search/suggest.json), read
through @haatlabs-core/providers/safe-fetch, so a store or redirect that points at a private,
loopback or link-local address is refused before anything is sent to it.
createShopifySource({ timeoutMs, userAgent }): one market, WORLD; a product id is
<host>_<handle>; every product carries its options and variants, each with its price in
the store's currency; a search names its store (store).
@haatlabs-core/provider-shopify/refs: shopifyRef, parseShopifyRefId, parseShopifyLink,
with no Node built-ins, for browsers too.
@haatlabs-core/provider-shopify/contracts (0.12.1): PROVIDER_SHOPIFY_ERRORS and the refs above,
with nothing of Node, for a project's contracts.
@haatlabs-core/provider-shopify/testing: startFakeShopifyStore(), a store on 127.0.0.1 for
tests that read through the real source.
Install
pnpm add @haatlabs-core/provider-shopify
It leaves one package to your app, so the app holds one copy: zod.