const shopify = require('@shopify/shopify-api'); // Adjust import based on your environment

// Load the access token and shop
const storefrontAccessToken = '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'; // Replace with your actual access token
const shop = 'amberdevstore.myshopify.com'; // Replace with your actual shop domain

// Create and export the storefront client
const storefrontClient = new shopify.clients.Storefront({
  domain: shop,
  storefrontAccessToken,
});

module.exports = storefrontClient;