@shopify/cli-hydrogen 6.0.0 → 6.0.2

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/lib/auth.js CHANGED
@@ -24,11 +24,14 @@ async function login(root, shop) {
24
24
  shop = await normalizeStoreFqdn(shop);
25
25
  const hideLoginInfo = showLoginInfo();
26
26
  if (!shop || !shopName || !email || forcePrompt || shop !== existingConfig.shop) {
27
+ const dummyTimeout = setTimeout(() => {
28
+ }, 6e5);
27
29
  const token = await ensureAuthenticatedBusinessPlatform().catch(() => {
28
30
  throw new AbortError(
29
31
  "Unable to authenticate with Shopify. Please report this issue."
30
32
  );
31
33
  });
34
+ clearTimeout(dummyTimeout);
32
35
  const userAccount = await getUserAccount(token);
33
36
  await hideLoginInfo();
34
37
  const preselected = !forcePrompt && shop && userAccount.activeShops.find(({ fqdn }) => shop === fqdn);
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.0.0",
2
+ "version": "6.0.2",
3
3
  "commands": {
4
4
  "hydrogen:build": {
5
5
  "id": "hydrogen:build",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "@shopify:registry": "https://registry.npmjs.org"
6
6
  },
7
- "version": "6.0.0",
7
+ "version": "6.0.2",
8
8
  "license": "MIT",
9
9
  "type": "module",
10
10
  "scripts": {
@@ -60,7 +60,7 @@
60
60
  "peerDependencies": {
61
61
  "@remix-run/dev": "^2.1.0",
62
62
  "@remix-run/react": "^2.1.0",
63
- "@shopify/hydrogen": "2023.10.0",
63
+ "@shopify/hydrogen": "2023.10.2",
64
64
  "@shopify/remix-oxygen": "^2.0.0"
65
65
  },
66
66
  "peerDependenciesMeta": {