@shopify/hydrogen-react 0.0.0-next-35b1986 → 0.0.0-next-0360253
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser-dev/CartLineQuantityAdjustButton.mjs +1 -1
- package/dist/browser-dev/CartLineQuantityAdjustButton.mjs.map +1 -1
- package/dist/browser-dev/storefront-client.mjs +1 -1
- package/dist/browser-dev/storefront-client.mjs.map +1 -1
- package/dist/browser-prod/CartLineQuantityAdjustButton.mjs +1 -1
- package/dist/browser-prod/CartLineQuantityAdjustButton.mjs.map +1 -1
- package/dist/browser-prod/storefront-client.mjs.map +1 -1
- package/dist/node-dev/CartLineQuantityAdjustButton.js +1 -1
- package/dist/node-dev/CartLineQuantityAdjustButton.js.map +1 -1
- package/dist/node-dev/CartLineQuantityAdjustButton.mjs +1 -1
- package/dist/node-dev/CartLineQuantityAdjustButton.mjs.map +1 -1
- package/dist/node-dev/storefront-client.js +1 -1
- package/dist/node-dev/storefront-client.js.map +1 -1
- package/dist/node-dev/storefront-client.mjs +1 -1
- package/dist/node-dev/storefront-client.mjs.map +1 -1
- package/dist/node-prod/CartLineQuantityAdjustButton.js +1 -1
- package/dist/node-prod/CartLineQuantityAdjustButton.js.map +1 -1
- package/dist/node-prod/CartLineQuantityAdjustButton.mjs +1 -1
- package/dist/node-prod/CartLineQuantityAdjustButton.mjs.map +1 -1
- package/dist/node-prod/storefront-client.js.map +1 -1
- package/dist/node-prod/storefront-client.mjs.map +1 -1
- package/dist/umd/hydrogen-react.dev.js +3 -3
- package/dist/umd/hydrogen-react.dev.js.map +1 -1
- package/dist/umd/hydrogen-react.prod.js +1 -1
- package/dist/umd/hydrogen-react.prod.js.map +1 -1
- package/package.json +1 -1
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
`StorefrontClient: Using a private storefront token is recommended for server environments. Refer to the authentication https://shopify.dev/api/storefront#authentication documentation for more details.`
|
|
824
824
|
);
|
|
825
825
|
}
|
|
826
|
-
if (privateStorefrontToken && globalThis) {
|
|
826
|
+
if (privateStorefrontToken && globalThis.document) {
|
|
827
827
|
warnOnce(
|
|
828
828
|
`StorefrontClient: You are attempting to use a private token in an environment where it can be easily accessed by anyone. This is a security risk; please use the public token and the 'publicStorefrontToken' prop`
|
|
829
829
|
);
|
|
@@ -2897,10 +2897,10 @@
|
|
|
2897
2897
|
return /* @__PURE__ */ React.createElement(
|
|
2898
2898
|
BaseButton,
|
|
2899
2899
|
{
|
|
2900
|
+
...passthroughProps,
|
|
2900
2901
|
onClick,
|
|
2901
2902
|
defaultOnClick: handleAdjust,
|
|
2902
|
-
disabled: typeof passthroughProps.disabled !== "undefined" ? passthroughProps.disabled : status !== "idle"
|
|
2903
|
-
...passthroughProps
|
|
2903
|
+
disabled: typeof passthroughProps.disabled !== "undefined" ? passthroughProps.disabled : status !== "idle"
|
|
2904
2904
|
},
|
|
2905
2905
|
children
|
|
2906
2906
|
);
|