shopify 4.9.1 → 4.9.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.
Files changed (353) hide show
  1. package/dist/analytics-H2ANKZ2S.js +1 -0
  2. package/dist/analytics-Q6HJRPRX.js +1 -0
  3. package/dist/assets/hydrogen/starter/CHANGELOG.md +14 -0
  4. package/dist/assets/hydrogen/starter/package.json +2 -2
  5. package/dist/bootstrap.js +1 -1
  6. package/dist/chunk-246AZCDT.js +1 -0
  7. package/dist/{chunk-NHEUJKAO.js → chunk-2NMICU24.js} +1 -1
  8. package/dist/{chunk-3MEL3WLG.js → chunk-2P5DUPT7.js} +1 -1
  9. package/dist/{chunk-C4QR7Z4N.js → chunk-2R2PKQQV.js} +1 -1
  10. package/dist/{chunk-X6Y3HDXN.js → chunk-2VDCTMLY.js} +1 -1
  11. package/dist/{chunk-NZRQKFUB.js → chunk-2X3HYG4B.js} +1 -1
  12. package/dist/{chunk-SHDGD2WJ.js → chunk-3ATOVFLZ.js} +1 -1
  13. package/dist/{chunk-VWYZCCRE.js → chunk-3E3MCY5O.js} +4 -4
  14. package/dist/{chunk-XY2SSJQD.js → chunk-3EEH3A27.js} +1 -1
  15. package/dist/{chunk-COFGQT76.js → chunk-3F42A3XV.js} +2 -2
  16. package/dist/{chunk-QEF43PR2.js → chunk-3NRGGEGU.js} +1 -1
  17. package/dist/{chunk-W6TPRWEE.js → chunk-3NUQGW57.js} +1 -1
  18. package/dist/{chunk-FJCNEHTH.js → chunk-3U2MYUWG.js} +1 -1
  19. package/dist/{chunk-Z6VWYOKN.js → chunk-3ZL4TDTH.js} +1 -1
  20. package/dist/{chunk-EVQPVO4P.js → chunk-4565O5TG.js} +1 -1
  21. package/dist/{chunk-4AXLWDKW.js → chunk-46U6C6C6.js} +1 -1
  22. package/dist/{chunk-JSGOBMF6.js → chunk-4QEALPWD.js} +1 -1
  23. package/dist/{chunk-3GVSG4S6.js → chunk-4S2WKMLJ.js} +1 -1
  24. package/dist/{chunk-N56BJ3F7.js → chunk-4TF7ER72.js} +1 -1
  25. package/dist/{chunk-7AD5YCLL.js → chunk-525BMYNR.js} +1 -1
  26. package/dist/{chunk-HT2JVMLK.js → chunk-55QTRPZ2.js} +1 -1
  27. package/dist/{chunk-ADIHYUQC.js → chunk-5BO5HCN6.js} +1 -1
  28. package/dist/{chunk-EYB45DUG.js → chunk-5JW2EYSE.js} +1 -1
  29. package/dist/{chunk-ZDRQUKLN.js → chunk-5TQOMAJS.js} +1 -1
  30. package/dist/{chunk-2QV5FHXJ.js → chunk-65I35VBS.js} +1 -1
  31. package/dist/{chunk-3WMFKHIM.js → chunk-6H3HVSO5.js} +1 -1
  32. package/dist/{chunk-C7YSU4R5.js → chunk-6NLGZGYE.js} +1 -1
  33. package/dist/{chunk-5KILOX2V.js → chunk-6SO5GA6P.js} +1 -1
  34. package/dist/{chunk-EDLID4PK.js → chunk-7ARGLS6W.js} +3 -3
  35. package/dist/chunk-7E4MJCVE.js +10 -0
  36. package/dist/{chunk-DUWS6Q7C.js → chunk-7EDXMGBQ.js} +1 -1
  37. package/dist/{chunk-S3J3BYQ3.js → chunk-7GJYJ6DU.js} +1 -1
  38. package/dist/{chunk-I4FS7HYY.js → chunk-7IRPE3M5.js} +1 -1
  39. package/dist/{chunk-S3IDGHAZ.js → chunk-7MMPQMU7.js} +1 -1
  40. package/dist/{chunk-NGQDG4CJ.js → chunk-7ZNR4YL4.js} +1 -1
  41. package/dist/{chunk-LAHZ6FO5.js → chunk-AKP4QAGL.js} +1 -1
  42. package/dist/{chunk-RFB7RXTA.js → chunk-ANHSOQTZ.js} +1 -1
  43. package/dist/{chunk-DREP3FRJ.js → chunk-AVOSD4NV.js} +1 -1
  44. package/dist/{chunk-B4YDR22W.js → chunk-B477XHLZ.js} +1 -1
  45. package/dist/{chunk-2RVMF4QP.js → chunk-BK4VCXDD.js} +1 -1
  46. package/dist/{chunk-55JDA75S.js → chunk-BLBJT7BM.js} +1 -1
  47. package/dist/{chunk-YFR53MWF.js → chunk-BLCR7BXU.js} +1 -1
  48. package/dist/{chunk-HQK6QRXN.js → chunk-BPVXYM6G.js} +1 -1
  49. package/dist/{chunk-OJ7KRWUH.js → chunk-BVR3GF2L.js} +1 -1
  50. package/dist/{chunk-QZDFPNYT.js → chunk-BVVYKX4D.js} +1 -1
  51. package/dist/{chunk-GRKZRK4G.js → chunk-C4GEP3CX.js} +1 -1
  52. package/dist/{chunk-K5KUOPEF.js → chunk-CDIKRQ6M.js} +1 -1
  53. package/dist/{chunk-6WGHVCYY.js → chunk-CGH5Y6XE.js} +1 -1
  54. package/dist/{chunk-F34MAI7X.js → chunk-CHRFYG6W.js} +1 -1
  55. package/dist/{chunk-MIMOKFDI.js → chunk-CNAMKKAK.js} +1 -1
  56. package/dist/{chunk-2TOIR7YQ.js → chunk-D2S566HF.js} +1 -1
  57. package/dist/{chunk-XW33ZO7F.js → chunk-DGOBYP74.js} +1 -1
  58. package/dist/{chunk-ZQKZC2KN.js → chunk-DH5E6NM3.js} +1 -1
  59. package/dist/{chunk-QEEA2KEN.js → chunk-DTGIMRBX.js} +1 -1
  60. package/dist/chunk-DV77BSKW.js +1 -0
  61. package/dist/{chunk-BATQEAGE.js → chunk-E64OFJHF.js} +1 -1
  62. package/dist/{chunk-WGBUSO27.js → chunk-EGJQEKAO.js} +1 -1
  63. package/dist/{chunk-2FHVYY3B.js → chunk-EJY4LA2S.js} +1 -1
  64. package/dist/{chunk-P6ID3ULA.js → chunk-ELJ34WWD.js} +1 -1
  65. package/dist/{chunk-OSA6BKSU.js → chunk-ELQ5NPPB.js} +1 -1
  66. package/dist/{chunk-RDCHRPKV.js → chunk-EMKLN75K.js} +1 -1
  67. package/dist/{chunk-ICFM55ZS.js → chunk-EMRUM6AA.js} +1 -1
  68. package/dist/{chunk-RNXWL6DS.js → chunk-EP5HIGAL.js} +1 -1
  69. package/dist/{chunk-JOEWOCHY.js → chunk-ER7ZTF26.js} +1 -1
  70. package/dist/{chunk-J4SJHG3M.js → chunk-EXKTQF26.js} +1 -1
  71. package/dist/{chunk-CUZQRXTV.js → chunk-EZ5F4ZFY.js} +3 -3
  72. package/dist/{chunk-7WWPAHVE.js → chunk-FICC6IFE.js} +1 -1
  73. package/dist/{chunk-MZJKZLCC.js → chunk-FNKTF2OF.js} +1 -1
  74. package/dist/{chunk-NTFIW3VK.js → chunk-FQKURDZR.js} +1 -1
  75. package/dist/{chunk-7ZONBOEZ.js → chunk-FU4UVINZ.js} +1 -1
  76. package/dist/{chunk-254XYKPN.js → chunk-G627WGIC.js} +2 -2
  77. package/dist/{chunk-FNITLQDL.js → chunk-GPJJA3FX.js} +1 -1
  78. package/dist/{chunk-VY7UGJZK.js → chunk-GS52MX5F.js} +1 -1
  79. package/dist/{chunk-23ITMFUO.js → chunk-HKZ75UKL.js} +1 -1
  80. package/dist/chunk-HVU3D3ZU.js +275 -0
  81. package/dist/{chunk-63GEZEYP.js → chunk-HYC3JXR4.js} +1 -1
  82. package/dist/{chunk-5ZSN73EA.js → chunk-HZJHGHLN.js} +1 -1
  83. package/dist/{chunk-XCXQPV5W.js → chunk-I2LILWDI.js} +1 -1
  84. package/dist/{chunk-JA2QZ635.js → chunk-I3J63RFV.js} +1 -1
  85. package/dist/{chunk-YQZPL4K3.js → chunk-I55L6FOM.js} +1 -1
  86. package/dist/{chunk-JCVQB6MX.js → chunk-IESHPQLC.js} +1 -1
  87. package/dist/{chunk-ET2CGROE.js → chunk-IGE4Y5SE.js} +1 -1
  88. package/dist/{chunk-QNR3U4IO.js → chunk-IJLD5UYC.js} +1 -1
  89. package/dist/{chunk-5I5HKOQU.js → chunk-IOS4IDZ2.js} +1 -1
  90. package/dist/{chunk-7H4IM6PX.js → chunk-IQIUFTR6.js} +1 -1
  91. package/dist/{chunk-NWBAD3AV.js → chunk-J66WAKXN.js} +1 -1
  92. package/dist/{chunk-PTS7J2JO.js → chunk-J7ZG6SO3.js} +1 -1
  93. package/dist/{chunk-YS5RZ6D5.js → chunk-JAX56OYG.js} +1 -1
  94. package/dist/{chunk-NSHKVJST.js → chunk-JAY7AGAG.js} +1 -1
  95. package/dist/{chunk-DUWU7CL7.js → chunk-JCKA3O5A.js} +1 -1
  96. package/dist/{chunk-GPRUQBQX.js → chunk-JCO2SDDR.js} +1 -1
  97. package/dist/{chunk-TOLPNBZK.js → chunk-JFBCE4HN.js} +1 -1
  98. package/dist/{chunk-UJD7OQ3I.js → chunk-JJHJYBPQ.js} +1 -1
  99. package/dist/{chunk-RX27ER4R.js → chunk-JKWB7WTO.js} +1 -1
  100. package/dist/{chunk-VXHLE5UQ.js → chunk-JLGXJHPX.js} +1 -1
  101. package/dist/{chunk-VEIZLSMG.js → chunk-JUCOIXG5.js} +1 -1
  102. package/dist/{chunk-HSTNTHWM.js → chunk-JUVJNIEA.js} +1 -1
  103. package/dist/{chunk-SKK7CPUY.js → chunk-JWDR66AS.js} +1 -1
  104. package/dist/chunk-KOYBR5MV.js +1 -0
  105. package/dist/{chunk-NYNSMHKY.js → chunk-KPNUSDCW.js} +1 -1
  106. package/dist/{chunk-7IS6Q756.js → chunk-KY36HSIB.js} +1 -1
  107. package/dist/{chunk-2NBNVDDA.js → chunk-KYBZ2MBA.js} +1 -1
  108. package/dist/{chunk-GHO2S3W3.js → chunk-LIQSNIB3.js} +1 -1
  109. package/dist/{chunk-OKX6PKAW.js → chunk-LWF4EV22.js} +1 -1
  110. package/dist/{chunk-ON3YXHON.js → chunk-M7QFZQ23.js} +1 -1
  111. package/dist/{chunk-QH5R32AA.js → chunk-MHZSSRHP.js} +1 -1
  112. package/dist/{chunk-YACDI6IK.js → chunk-MIP2Y34N.js} +1 -1
  113. package/dist/{chunk-MEFJND2V.js → chunk-MP5NZL7C.js} +1 -1
  114. package/dist/{chunk-IUUKRTKF.js → chunk-MQZPASSP.js} +1 -1
  115. package/dist/{chunk-3VXXYY6S.js → chunk-MW3HFOPD.js} +1 -1
  116. package/dist/{chunk-JF47WERF.js → chunk-N4AR2B6D.js} +1 -1
  117. package/dist/{chunk-JJ4MYCVU.js → chunk-NDMISEDF.js} +1 -1
  118. package/dist/{chunk-77QYKF34.js → chunk-NLKO2J7T.js} +1 -1
  119. package/dist/{chunk-RRBI2IRE.js → chunk-NS4FUSSK.js} +1 -1
  120. package/dist/{chunk-OVOOQFRY.js → chunk-OCQZ2ULI.js} +1 -1
  121. package/dist/{chunk-LOKVWZD2.js → chunk-OERMQ2FP.js} +2 -2
  122. package/dist/{chunk-WRVB4JCZ.js → chunk-OIQVPTNQ.js} +1 -1
  123. package/dist/{chunk-H3QLPW7Q.js → chunk-OMEWUFUL.js} +1 -1
  124. package/dist/{chunk-JCOQDVEB.js → chunk-OXN2DID2.js} +1 -1
  125. package/dist/{chunk-HKNFZUAM.js → chunk-P2MVR6CG.js} +107 -107
  126. package/dist/{chunk-CKLS5LTU.js → chunk-P6TOIMMF.js} +1 -1
  127. package/dist/{chunk-DYHRCMH6.js → chunk-PFIQR7XS.js} +1 -1
  128. package/dist/{chunk-AKSOCKVF.js → chunk-PG6XEOYF.js} +2 -2
  129. package/dist/{chunk-46IUD46F.js → chunk-PGE4HGLA.js} +1 -1
  130. package/dist/{chunk-3UZYLXCB.js → chunk-PI6FLLDD.js} +1 -1
  131. package/dist/{chunk-HDQXFGYG.js → chunk-PIZDYS7T.js} +60 -60
  132. package/dist/{chunk-WBTR5JZ6.js → chunk-PQCALXSD.js} +1 -1
  133. package/dist/{chunk-WR2MMFJO.js → chunk-PQH4U2XV.js} +1 -1
  134. package/dist/{chunk-TGUAZMI2.js → chunk-PQMKPXFV.js} +1 -1
  135. package/dist/{chunk-GF75CMTJ.js → chunk-PV5C6Q2P.js} +1 -1
  136. package/dist/{chunk-P676C7UT.js → chunk-PYILLIGT.js} +1 -1
  137. package/dist/{chunk-HVOYSAB3.js → chunk-Q26ES5T3.js} +1 -1
  138. package/dist/{chunk-2KBTFKSM.js → chunk-Q4TZD2M6.js} +1 -1
  139. package/dist/{chunk-QF6EH4HX.js → chunk-Q555FV2X.js} +1 -1
  140. package/dist/{chunk-UZTL2UET.js → chunk-Q7PF4VKI.js} +23 -23
  141. package/dist/{chunk-UVSXPMUN.js → chunk-QA2NOPXG.js} +1 -1
  142. package/dist/{chunk-5XO6PAMV.js → chunk-QLHPTMIH.js} +1 -1
  143. package/dist/{chunk-7UV53AU2.js → chunk-QMJZFKKU.js} +1 -1
  144. package/dist/{chunk-HJ3DOUAL.js → chunk-QN6SITWN.js} +1 -1
  145. package/dist/{chunk-STLYSBD5.js → chunk-R43LXE66.js} +1 -1
  146. package/dist/chunk-R6IJRVVM.js +70 -0
  147. package/dist/{chunk-5MJX7RKQ.js → chunk-RAQP66LR.js} +1 -1
  148. package/dist/{chunk-LRKJSNM3.js → chunk-RBPMV3KB.js} +1 -1
  149. package/dist/{chunk-KCHERKZO.js → chunk-RCYQPOJW.js} +88 -88
  150. package/dist/{chunk-VPH2AAHJ.js → chunk-RDO5IWB5.js} +1 -1
  151. package/dist/{chunk-FROK2K3X.js → chunk-RGZCV56L.js} +1 -1
  152. package/dist/{chunk-X3WFHNF5.js → chunk-RW2MONAS.js} +1 -1
  153. package/dist/{chunk-CPKLTBLZ.js → chunk-RY6TZDVV.js} +1 -1
  154. package/dist/{chunk-DEY5P63E.js → chunk-SDHDDNKM.js} +1 -1
  155. package/dist/{chunk-IQ4VOPT7.js → chunk-SHBB5GST.js} +1 -1
  156. package/dist/{chunk-ISIPFEFB.js → chunk-SQIESCOJ.js} +1 -1
  157. package/dist/{chunk-VL3XMULV.js → chunk-SRDKLZ4O.js} +1 -1
  158. package/dist/{chunk-VX2CDHRQ.js → chunk-SWNY3RUM.js} +1 -1
  159. package/dist/{chunk-WR6KP7RT.js → chunk-SYNCIFJ6.js} +1 -1
  160. package/dist/{chunk-DZS4GBQX.js → chunk-SZ2JOXTG.js} +1 -1
  161. package/dist/{chunk-OUSRNKZG.js → chunk-T3JUBPBU.js} +1 -1
  162. package/dist/{chunk-QPCDSJ4J.js → chunk-T6TYF72N.js} +1 -1
  163. package/dist/{chunk-U2WUTGPI.js → chunk-TEASB2WU.js} +1 -1
  164. package/dist/{chunk-3VOMVINB.js → chunk-THW6UDZH.js} +1 -1
  165. package/dist/{chunk-T7BUP75N.js → chunk-TPPBEVNQ.js} +1 -1
  166. package/dist/chunk-TQ7MHGY4.js +1 -0
  167. package/dist/{chunk-LQ7ENG4V.js → chunk-TQ7URMGS.js} +1 -1
  168. package/dist/{chunk-GILHUPUG.js → chunk-TUE67I2F.js} +1 -1
  169. package/dist/{chunk-2AZXDU2R.js → chunk-TWS34WUT.js} +1 -1
  170. package/dist/{chunk-5UDBNXNH.js → chunk-U5L2P36D.js} +1 -1
  171. package/dist/{chunk-IPWU2ALH.js → chunk-UB2LAIXS.js} +1 -1
  172. package/dist/{chunk-2AAHKMPP.js → chunk-UMSO6MOI.js} +1 -1
  173. package/dist/{chunk-33D7HGAI.js → chunk-UOKX3AME.js} +1 -1
  174. package/dist/{chunk-77QKJLBG.js → chunk-UVC3IXM3.js} +1 -1
  175. package/dist/chunk-UWHAOGO4.js +4 -0
  176. package/dist/{chunk-DP7SBNLN.js → chunk-UYRXUGLY.js} +1 -1
  177. package/dist/{chunk-RFDOSK57.js → chunk-VXGXK66W.js} +1 -1
  178. package/dist/{chunk-KVZXRZ7U.js → chunk-VZLEYZLX.js} +1 -1
  179. package/dist/{chunk-AZCPTV4A.js → chunk-W56I6HOT.js} +1 -1
  180. package/dist/{chunk-S6YUSGTF.js → chunk-WINVPFT5.js} +1 -1
  181. package/dist/{chunk-B7Y2LMPU.js → chunk-WNE2MZAZ.js} +1 -1
  182. package/dist/{chunk-TH4D7IGZ.js → chunk-WXT5AKZV.js} +1 -1
  183. package/dist/{chunk-DCSSFNW7.js → chunk-WZEKBD7B.js} +1 -1
  184. package/dist/{chunk-AJOTU26E.js → chunk-X6HLGOIV.js} +1 -1
  185. package/dist/{chunk-JWQBRHVY.js → chunk-XE5QH4D7.js} +1 -1
  186. package/dist/{chunk-KXSUEB4Y.js → chunk-XRJ2GQ24.js} +1 -1
  187. package/dist/{chunk-MDMKTILJ.js → chunk-XTKXBQVA.js} +1 -1
  188. package/dist/{chunk-LEFAUWKH.js → chunk-YIV3CWED.js} +1 -1
  189. package/dist/{chunk-LIB64ZJW.js → chunk-YKYJOUV7.js} +1 -1
  190. package/dist/{chunk-NE32WJR5.js → chunk-YXKMPCFH.js} +1 -1
  191. package/dist/{chunk-5CANB25O.js → chunk-Z57YWHOE.js} +1 -1
  192. package/dist/{chunk-LBBYCPZP.js → chunk-Z5SFLTH6.js} +1 -1
  193. package/dist/{chunk-VEQDI5AB.js → chunk-ZJ4H3XEL.js} +1 -1
  194. package/dist/{chunk-XUJURYN5.js → chunk-ZZ7SOJHH.js} +1 -1
  195. package/dist/cli/commands/app/app-logs/sources.js +1 -1
  196. package/dist/cli/commands/app/build.js +1 -1
  197. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  198. package/dist/cli/commands/app/bulk/execute.js +1 -1
  199. package/dist/cli/commands/app/bulk/status.js +1 -1
  200. package/dist/cli/commands/app/config/link.js +1 -1
  201. package/dist/cli/commands/app/config/pull.js +1 -1
  202. package/dist/cli/commands/app/config/use.js +1 -1
  203. package/dist/cli/commands/app/config/validate.js +1 -1
  204. package/dist/cli/commands/app/demo/watcher.js +1 -1
  205. package/dist/cli/commands/app/deploy.js +1 -1
  206. package/dist/cli/commands/app/dev/clean.js +1 -1
  207. package/dist/cli/commands/app/dev.js +1 -1
  208. package/dist/cli/commands/app/env/pull.js +1 -1
  209. package/dist/cli/commands/app/env/show.js +1 -1
  210. package/dist/cli/commands/app/execute.js +1 -1
  211. package/dist/cli/commands/app/function/build.js +1 -1
  212. package/dist/cli/commands/app/function/info.js +1 -1
  213. package/dist/cli/commands/app/function/replay.js +1 -1
  214. package/dist/cli/commands/app/function/run.js +1 -1
  215. package/dist/cli/commands/app/function/schema.js +1 -1
  216. package/dist/cli/commands/app/function/typegen.js +1 -1
  217. package/dist/cli/commands/app/generate/extension.js +1 -1
  218. package/dist/cli/commands/app/graphiql.js +1 -1
  219. package/dist/cli/commands/app/import/channel-config.js +1 -1
  220. package/dist/cli/commands/app/import/custom-data-definitions.js +1 -1
  221. package/dist/cli/commands/app/import/dashboard-extensions.js +1 -1
  222. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  223. package/dist/cli/commands/app/import-extensions.js +1 -1
  224. package/dist/cli/commands/app/info.js +1 -1
  225. package/dist/cli/commands/app/init.js +1 -1
  226. package/dist/cli/commands/app/logs.js +1 -1
  227. package/dist/cli/commands/app/release.js +1 -1
  228. package/dist/cli/commands/app/security/check.js +1 -1
  229. package/dist/cli/commands/app/security/clean.js +1 -1
  230. package/dist/cli/commands/app/security/instructions.js +1 -1
  231. package/dist/cli/commands/app/security/record.js +1 -1
  232. package/dist/cli/commands/app/security/review.js +1 -1
  233. package/dist/cli/commands/app/subscription-migrations/cancel.js +1 -1
  234. package/dist/cli/commands/app/subscription-migrations/list.js +1 -1
  235. package/dist/cli/commands/app/subscription-migrations/schedule.js +1 -1
  236. package/dist/cli/commands/app/subscription-migrations/status.js +1 -1
  237. package/dist/cli/commands/app/subscription-migrations/unschedule.js +1 -1
  238. package/dist/cli/commands/app/versions/list.js +1 -1
  239. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  240. package/dist/cli/commands/auth/login.js +1 -1
  241. package/dist/cli/commands/auth/logout.js +1 -1
  242. package/dist/cli/commands/cache/clear.js +1 -1
  243. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  244. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  245. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  246. package/dist/cli/commands/debug/command-flags.js +1 -1
  247. package/dist/cli/commands/doc/fetch.js +1 -1
  248. package/dist/cli/commands/doc/search.js +1 -1
  249. package/dist/cli/commands/docs/generate.js +1 -1
  250. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  251. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  252. package/dist/cli/commands/help.js +1 -1
  253. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  254. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  255. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  256. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  257. package/dist/cli/commands/notifications/generate.js +1 -1
  258. package/dist/cli/commands/notifications/list.js +1 -1
  259. package/dist/cli/commands/organization/list.js +1 -1
  260. package/dist/cli/commands/search.js +1 -1
  261. package/dist/cli/commands/send-analytics.js +1 -1
  262. package/dist/cli/commands/theme/check.js +1 -1
  263. package/dist/cli/commands/theme/console.js +1 -1
  264. package/dist/cli/commands/theme/delete.js +1 -1
  265. package/dist/cli/commands/theme/dev.js +1 -1
  266. package/dist/cli/commands/theme/duplicate.js +1 -1
  267. package/dist/cli/commands/theme/info.js +1 -1
  268. package/dist/cli/commands/theme/init.js +1 -1
  269. package/dist/cli/commands/theme/language-server.js +1 -1
  270. package/dist/cli/commands/theme/list.js +1 -1
  271. package/dist/cli/commands/theme/metafields/pull.js +1 -1
  272. package/dist/cli/commands/theme/open.js +1 -1
  273. package/dist/cli/commands/theme/package.js +1 -1
  274. package/dist/cli/commands/theme/preview.js +1 -1
  275. package/dist/cli/commands/theme/profile.js +1 -1
  276. package/dist/cli/commands/theme/publish.js +1 -1
  277. package/dist/cli/commands/theme/pull.js +1 -1
  278. package/dist/cli/commands/theme/push.js +1 -1
  279. package/dist/cli/commands/theme/rename.js +1 -1
  280. package/dist/cli/commands/theme/share.js +1 -1
  281. package/dist/cli/commands/upgrade.js +1 -1
  282. package/dist/cli/commands/version.js +1 -1
  283. package/dist/cli/help.js +1 -1
  284. package/dist/{command-json-schema-SU56F3T4.js → command-json-schema-HYYJSZAH.js} +1 -1
  285. package/dist/command-registry.js +1 -1
  286. package/dist/{conf-store-WDYDHG6V.js → conf-store-CDZ5YSQM.js} +1 -1
  287. package/dist/{custom-oclif-loader-CP4XJAPS.js → custom-oclif-loader-NVOK22CJ.js} +1 -1
  288. package/dist/{deprecations-CBSMNYL3.js → deprecations-33DG6ZUL.js} +1 -1
  289. package/dist/dist-DODCXJ2A.js +1 -0
  290. package/dist/dist-YXMAKIFS.js +1 -0
  291. package/dist/environments-KBRQNE4R.js +1 -0
  292. package/dist/{error-LNWX6IWE.js → error-V77H2UYX.js} +1 -1
  293. package/dist/error-handler-JY3ZKE2G.js +1 -0
  294. package/dist/{fs-Y33QBYY5.js → fs-SKH3XZU7.js} +1 -1
  295. package/dist/hooks/did-you-mean.js +1 -1
  296. package/dist/hooks/hydrogen-init.js +1 -1
  297. package/dist/hooks/plugin-plugins.js +1 -1
  298. package/dist/hooks/postrun.js +1 -1
  299. package/dist/hooks/prerun.js +1 -1
  300. package/dist/hooks/public-metadata.js +1 -1
  301. package/dist/hooks/sensitive-metadata.js +1 -1
  302. package/dist/hooks/tunnel-provider.js +1 -1
  303. package/dist/hooks/tunnel-start.js +1 -1
  304. package/dist/index.js +1 -1
  305. package/dist/is-global-2G4BLF7H.js +1 -0
  306. package/dist/{json-error-UR2OILQ6.js → json-error-WSMAL66C.js} +1 -1
  307. package/dist/lib-55QUD4AJ.js +1 -0
  308. package/dist/lib-PH52G55H.js +1 -0
  309. package/dist/lib-TYM5B75S.js +1 -0
  310. package/dist/{local-77XQ4CX3.js → local-G2Z24BHM.js} +1 -1
  311. package/dist/{metadata-BC3BGHRY.js → metadata-Y3RKC4P2.js} +1 -1
  312. package/dist/{morph-42EXMN3K.js → morph-BABFBRSW.js} +1 -1
  313. package/dist/{node-package-manager-6UZUTDCP.js → node-package-manager-A7HTBJKY.js} +1 -1
  314. package/dist/notifications-system-E64OSVXF.js +1 -0
  315. package/dist/os-7VQXVZWF.js +1 -0
  316. package/dist/{output-GGY66WEM.js → output-ZFFHJGNK.js} +1 -1
  317. package/dist/system-ZLITSFDC.js +1 -0
  318. package/dist/tsconfig.tsbuildinfo +1 -1
  319. package/dist/typescript-ISACCMJN.js +1 -0
  320. package/dist/ui-YSFALYSL.js +1 -0
  321. package/dist/upgrade-I4JTR4LA.js +1 -0
  322. package/dist/version-AOVO47AW.js +1 -0
  323. package/dist/version-LQV54JBC.js +1 -0
  324. package/dist/{workerd-MEAM3XYI.js → workerd-RNDPF36Q.js} +1 -1
  325. package/oclif.manifest.json +2 -2
  326. package/package.json +8 -8
  327. package/dist/analytics-EPKJADE2.js +0 -1
  328. package/dist/analytics-TVCGKQGZ.js +0 -1
  329. package/dist/chunk-32B4LIKH.js +0 -1
  330. package/dist/chunk-7UZO72KN.js +0 -278
  331. package/dist/chunk-7Y7AZRL3.js +0 -10
  332. package/dist/chunk-A6OSIGQI.js +0 -1
  333. package/dist/chunk-F3TMLDLC.js +0 -1
  334. package/dist/chunk-MFXBSQDH.js +0 -12
  335. package/dist/chunk-MINDMVTH.js +0 -1
  336. package/dist/chunk-PCKWLJW2.js +0 -1
  337. package/dist/chunk-SMZ74TME.js +0 -64
  338. package/dist/dist-HI6AAP5V.js +0 -1
  339. package/dist/dist-W25ND3PJ.js +0 -1
  340. package/dist/environments-PUH6A5BU.js +0 -1
  341. package/dist/error-handler-24QGAUUD.js +0 -1
  342. package/dist/is-global-KY3QE3OZ.js +0 -1
  343. package/dist/lib-AD2G3QH3.js +0 -1
  344. package/dist/lib-VEVNMHDE.js +0 -1
  345. package/dist/lib-ZQW4E7QU.js +0 -1
  346. package/dist/notifications-system-4UDT72DQ.js +0 -1
  347. package/dist/os-U3LELTCV.js +0 -1
  348. package/dist/system-MCWAHFXK.js +0 -1
  349. package/dist/typescript-5R4Y7PXE.js +0 -1
  350. package/dist/ui-SYB4LLWY.js +0 -1
  351. package/dist/upgrade-V4GCQJBN.js +0 -1
  352. package/dist/version-HQPFW4QN.js +0 -1
  353. package/dist/version-VOSHQCYM.js +0 -1
@@ -1 +1 @@
1
- import{j as a}from"./chunk-VWYZCCRE.js";import{i as s}from"./chunk-XUJURYN5.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var n={LOCALHOST:"localhost",HTTP:"http",PUBSUB:"google-pub-sub",EVENTBRIDGE:"event-bridge"},p={LOCALHOST:new RegExp("^http:","i"),HTTP:new RegExp("^https:","i"),PUBSUB:new RegExp("^pubsub:"),EVENTBRIDGE:new RegExp("^arn:aws:events:")};function c(t,e){let r=T(t);return r===n.LOCALHOST&&e===n.HTTP?!0:r===e}function l(t){return p.LOCALHOST.test(t)?new URL(t.toLowerCase()).hostname==="localhost":!1}function d(t,e){if(!c(t,e))throw new s(`Can't deliver your webhook payload to this address using '${e}'`,"Use a valid URL for address",f(e));let r=e;return l(t)&&(r=n.LOCALHOST),[t.trim(),r]}function f(t){return t===n.HTTP?["For remote HTTP testing, use a URL that starts with https://","For local HTTP testing, use http://localhost:{port}/{url-path}"]:t===n.PUBSUB?["For Google Pub/Sub, use pubsub://{project-id}:{topic-id}"]:t===n.EVENTBRIDGE?["For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:"]:[]}function g(t,e){if(e.includes(t))return t;throw new s(`Api Version '${t}' does not exist`,`Allowed values: ${e.join(", ")}`,["Try again with a valid api-version value"])}function A(t,e,r){if(r.length===0)throw new s(`No topics found for '${e}'`);let o=h(t.trim(),r);if(o===void 0)throw new s(`Topic '${t}' does not exist for ApiVersion '${e}'`,`Allowed values: ${r.join(", ")}`,["Try again with a valid api-version - topic pair"]);return o}function h(t,e){return e.includes(t)?t:e.find(r=>r.toUpperCase().replace("/","_")===t)}function T(t){if(t){if(t.startsWith("pubsub:"))return n.PUBSUB;if(t.startsWith("arn:aws:events:"))return n.EVENTBRIDGE;if(l(t))return n.LOCALHOST;if(p.HTTP.test(t))return n.HTTP}}i();async function O(t,e,r){let{sendSampleWebhook:o}=await t.sendSampleWebhook(e,r);return o}i();async function H(t,e,r){let o={method:"POST",body:e,headers:{"Content-Type":"application/json",...JSON.parse(r)}},u=await a(t,o);return u.status>=200&&u.status<300}i();async function m(t,e){let{publicApiVersions:r}=await t.apiVersions(e),o=r.indexOf("unstable");return o===-1?r.sort().reverse():(r.splice(o,1),r.sort().reverse(),r.push("unstable")),r}export{m as a,O as b,H as c,n as d,c as e,d as f,g,A as h,T as i};
1
+ import{j as a}from"./chunk-3E3MCY5O.js";import{i as s}from"./chunk-ZZ7SOJHH.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var n={LOCALHOST:"localhost",HTTP:"http",PUBSUB:"google-pub-sub",EVENTBRIDGE:"event-bridge"},p={LOCALHOST:new RegExp("^http:","i"),HTTP:new RegExp("^https:","i"),PUBSUB:new RegExp("^pubsub:"),EVENTBRIDGE:new RegExp("^arn:aws:events:")};function c(t,e){let r=T(t);return r===n.LOCALHOST&&e===n.HTTP?!0:r===e}function l(t){return p.LOCALHOST.test(t)?new URL(t.toLowerCase()).hostname==="localhost":!1}function d(t,e){if(!c(t,e))throw new s(`Can't deliver your webhook payload to this address using '${e}'`,"Use a valid URL for address",f(e));let r=e;return l(t)&&(r=n.LOCALHOST),[t.trim(),r]}function f(t){return t===n.HTTP?["For remote HTTP testing, use a URL that starts with https://","For local HTTP testing, use http://localhost:{port}/{url-path}"]:t===n.PUBSUB?["For Google Pub/Sub, use pubsub://{project-id}:{topic-id}"]:t===n.EVENTBRIDGE?["For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:"]:[]}function g(t,e){if(e.includes(t))return t;throw new s(`Api Version '${t}' does not exist`,`Allowed values: ${e.join(", ")}`,["Try again with a valid api-version value"])}function A(t,e,r){if(r.length===0)throw new s(`No topics found for '${e}'`);let o=h(t.trim(),r);if(o===void 0)throw new s(`Topic '${t}' does not exist for ApiVersion '${e}'`,`Allowed values: ${r.join(", ")}`,["Try again with a valid api-version - topic pair"]);return o}function h(t,e){return e.includes(t)?t:e.find(r=>r.toUpperCase().replace("/","_")===t)}function T(t){if(t){if(t.startsWith("pubsub:"))return n.PUBSUB;if(t.startsWith("arn:aws:events:"))return n.EVENTBRIDGE;if(l(t))return n.LOCALHOST;if(p.HTTP.test(t))return n.HTTP}}i();async function O(t,e,r){let{sendSampleWebhook:o}=await t.sendSampleWebhook(e,r);return o}i();async function H(t,e,r){let o={method:"POST",body:e,headers:{"Content-Type":"application/json",...JSON.parse(r)}},u=await a(t,o);return u.status>=200&&u.status<300}i();async function m(t,e){let{publicApiVersions:r}=await t.apiVersions(e),o=r.indexOf("unstable");return o===-1?r.sort().reverse():(r.splice(o,1),r.sort().reverse(),r.push("unstable")),r}export{m as a,O as b,H as c,n as d,c as e,d as f,g,A as h,T as i};
@@ -1 +1 @@
1
- import{b as s}from"./chunk-JA2QZ635.js";import{a as o}from"./chunk-JD5P5RAJ.js";import{e as i,g as n}from"./chunk-VKWPEFWQ.js";n();var t=i(s(),1),a={"no-input":t.Flags.boolean({description:"Disable interactive prompts and browser authentication.",env:"SHOPIFY_FLAG_NO_INPUT"})};function u(r=process.argv,e=process.env){return r.includes("--no-input")||o(e.SHOPIFY_FLAG_NO_INPUT)}export{a,u as b};
1
+ import{b as s}from"./chunk-I3J63RFV.js";import{a as o}from"./chunk-JD5P5RAJ.js";import{e as i,g as n}from"./chunk-VKWPEFWQ.js";n();var t=i(s(),1),a={"no-input":t.Flags.boolean({description:"Disable interactive prompts and browser authentication.",env:"SHOPIFY_FLAG_NO_INPUT"})};function u(r=process.argv,e=process.env){return r.includes("--no-input")||o(e.SHOPIFY_FLAG_NO_INPUT)}export{a,u as b};
@@ -1 +1 @@
1
- import{g as l,ka as d,pa as z,qa as y}from"./chunk-WBTR5JZ6.js";import{b as g,c as f,d as h}from"./chunk-2KBTFKSM.js";import{b as n}from"./chunk-CUZQRXTV.js";import{G as c}from"./chunk-KCHERKZO.js";import{a as u}from"./chunk-IUUKRTKF.js";import{Ib as p,b as o}from"./chunk-COFGQT76.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();i();i();var L=o.object({id:o.string(),gid:o.string(),name:o.string(),status:o.enum(l),shopCount:o.number().nullable(),url:o.string()}).strict(),r=u({name:"OrganizationListResult",schema:o.object({organizations:o.array(L)}).strict(),definitions:{OrganizationListEntry:L}});function e(s,t){if(t==="json"){p(r.encode(s));return}c({rows:s.organizations.map(a=>({id:a.id,name:a.name})),columns:{id:{header:"ID"},name:{header:"NAME"}}})}i();async function O(){return{organizations:(await y()).map(t=>({id:t.id,gid:d(t.id),name:t.businessName,status:t.status,shopCount:t.shopCount,url:t.url}))}}var m=class s extends n{static baseFlags={...n.baseFlags,...h};static summary="List Shopify organizations you have access to.";static descriptionWithMarkdown="Lists the Shopify organizations that you have access to, along with their organization IDs.";static description=this.descriptionForHelp();static flags={...g,...f};static get jsonOutputSchema(){return r}async run(){let{flags:t}=await this.parse(s);try{let a=await O();e(a,t.json?"json":"text")}catch(a){if(t.json&&a instanceof z){e({organizations:[]},"json");return}throw a}}};export{m as a};
1
+ import{g as l,ka as d,pa as z,qa as y}from"./chunk-PQCALXSD.js";import{b as g,c as f,d as h}from"./chunk-Q4TZD2M6.js";import{b as n}from"./chunk-EZ5F4ZFY.js";import{G as c}from"./chunk-RCYQPOJW.js";import{a as u}from"./chunk-MQZPASSP.js";import{Ib as p,b as o}from"./chunk-3F42A3XV.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();i();i();var L=o.object({id:o.string(),gid:o.string(),name:o.string(),status:o.enum(l),shopCount:o.number().nullable(),url:o.string()}).strict(),r=u({name:"OrganizationListResult",schema:o.object({organizations:o.array(L)}).strict(),definitions:{OrganizationListEntry:L}});function e(s,t){if(t==="json"){p(r.encode(s));return}c({rows:s.organizations.map(a=>({id:a.id,name:a.name})),columns:{id:{header:"ID"},name:{header:"NAME"}}})}i();async function O(){return{organizations:(await y()).map(t=>({id:t.id,gid:d(t.id),name:t.businessName,status:t.status,shopCount:t.shopCount,url:t.url}))}}var m=class s extends n{static baseFlags={...n.baseFlags,...h};static summary="List Shopify organizations you have access to.";static descriptionWithMarkdown="Lists the Shopify organizations that you have access to, along with their organization IDs.";static description=this.descriptionForHelp();static flags={...g,...f};static get jsonOutputSchema(){return r}async run(){let{flags:t}=await this.parse(s);try{let a=await O();e(a,t.json?"json":"text")}catch(a){if(t.json&&a instanceof z){e({organizations:[]},"json");return}throw a}}};export{m as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-RX27ER4R.js";import{b as e}from"./chunk-CUZQRXTV.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var t=class extends e{static description="View the UI kit components that display static output";static hidden=!0;async run(){await o()}};export{t as a};
1
+ import{a as o}from"./chunk-JKWB7WTO.js";import{b as e}from"./chunk-EZ5F4ZFY.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var t=class extends e{static description="View the UI kit components that display static output";static hidden=!0;async run(){await o()}};export{t as a};
@@ -1 +1 @@
1
- import{O as A,P as O,Q as z,S as P,U as x}from"./chunk-AKSOCKVF.js";import{l as $,la as l,oa as L,sa as D}from"./chunk-WBTR5JZ6.js";import{a as F}from"./chunk-7AD5YCLL.js";import{u as R}from"./chunk-VWYZCCRE.js";import{H as N,M as v,T as y,y as g,z as k}from"./chunk-KCHERKZO.js";import{b as E}from"./chunk-YTJ3EPD3.js";import{g as _,i as d}from"./chunk-XUJURYN5.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();p();p();async function b(e,t){if(t.clientName!==l.AppManagement||!t.devStoreCapReached)return!1;try{return await t.devStoreCapReached(e)}catch{return!1}}async function M(e,t,o,i="disabled"){let c=o.clientName===l.AppManagement,s=async f=>o.devStoresForOrg(t.id,f),n=i!=="disabled"&&o.clientName===l.AppManagement,r=async()=>{if(await b(t.id,o))throw new d(U,W(t.id));let f=await A(),w=await O(),u=await z(),T=await $({name:f,plan:w,withDemoData:u,organization:t,json:!1,summary:!1}),S=await I(t,T,o);return k({headline:`Dev store "${S.shopName}" created successfully.`}),S},a,h;if(n&&e.stores.length===0){if(await b(t.id,o))throw new d(U,W(t.id));if(v()===!1)throw new d("No development store was specified.",H(t.id));a=async()=>(g({body:Y(t)}),r())}else if(n&&i==="selection-option"){if(v()===!1&&(e.stores.length>1||e.hasMorePages))throw new d("No development store was specified.","Run `shopify app dev --store <store-domain>` to select a development store.");v()&&!await b(t.id,o)&&(h=r)}let m=await P({onSearchForStoresByName:s,...e,showDomainOnPrompt:c,...a?{onCreateStoreWhenEmpty:a}:{},...h?{onCreateStore:h}:{}});if(!m){if(a)throw new _;if(g({body:await o.getCreateDevStoreLink(t)}),await y(5),!await x(t))throw new _;let w=await B(t.id,o);m=await M({stores:w,hasMorePages:!1},t,o,i)}return C(m),m}async function I(e,t,o){let s;if(await N([{title:"Fetching organization data",task:async()=>{for(let r=0;r<10;r++){try{let a=await D(e,t,o);if(a){s=a;return}}catch(a){if(!(a instanceof L))throw a}await y(3)}}}]),!s)throw new d(`The newly created development store (${t}) is not available yet.`,`Run \`shopify app dev --store ${t}\` to select it when it is ready.`);return s}async function B(e,t){let c=[];return await N([{title:"Fetching organization data",task:async()=>{for(let n=0;n<10;n++){let{stores:r}=await t.devStoresForOrg(e);if(r.length>0){c=r;return}await y(3)}}}]),c}var U="Your organization has reached its development store limit.";function Y(e){return`You don't have any dev stores associated with ${e.businessName}'s Dev Dashboard. Let's create one.`}function q(e){return`shopify store create dev --organization-id ${e} --name <store-name> --plan <plan>`}function H(e){return`Create a development store with \`${q(e)}\`, then run \`shopify app dev --store <store-domain>\`.`}function W(e){return`Make a development store slot available in Dev Dashboard. Then create a development store with \`${q(e)}\`, then run \`shopify app dev --store <store-domain>\`.`}function C(e){if(!e.transferDisabled)throw!e.transferDisabled&&!e.convertableToPartnerTest?new d(`The store you specified (${e.shopDomain}) is not a dev store`,"Run dev --reset and select an eligible dev store."):new d(`The store you specified (${e.shopDomain}) is not transfer-disabled`,"Run dev --reset and select a transfer-disabled dev store.")}async function fe({appContextResult:e,storeFqdn:t,forceReselectStore:o,storeTypes:i=["APP_DEVELOPMENT"],storeCreationMode:c="disabled"}){let{app:s,organization:n,developerPlatformClient:r}=e,a,h=s.configuration.build?.dev_store_url,m=s.hiddenConfig.dev_store_url,f=h??m,u=t??(o?void 0:f),T=i.length===1&&i[0]==="APP_DEVELOPMENT";if(u)a=await D(n,u,r,i),T&&C(a);else{let S=await r.devStoresForOrg(n.id);a=await M(S,n,r,c)}return a.shopDomain=R(a.shopDomain),await V(a,o),(a.shopDomain!==f||!m)&&await s.updateHiddenConfig({dev_store_url:a.shopDomain}),await r.ensureUserAccessToStore(n.id,a),a}async function V(e,t){await F.addPublicMetadata(()=>({cmd_app_reset_used:t,store_fqdn_hash:E(e.shopDomain),store_domain:e.shopDomain})),await F.addSensitiveMetadata(()=>({store_fqdn:e.shopDomain}))}export{fe as a};
1
+ import{O as A,P as O,Q as z,S as P,U as x}from"./chunk-PG6XEOYF.js";import{l as $,la as l,oa as L,sa as D}from"./chunk-PQCALXSD.js";import{a as F}from"./chunk-525BMYNR.js";import{u as R}from"./chunk-3E3MCY5O.js";import{H as N,M as v,T as y,y as g,z as k}from"./chunk-RCYQPOJW.js";import{b as E}from"./chunk-YTJ3EPD3.js";import{g as _,i as d}from"./chunk-ZZ7SOJHH.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();p();p();async function b(e,t){if(t.clientName!==l.AppManagement||!t.devStoreCapReached)return!1;try{return await t.devStoreCapReached(e)}catch{return!1}}async function M(e,t,o,i="disabled"){let c=o.clientName===l.AppManagement,s=async f=>o.devStoresForOrg(t.id,f),n=i!=="disabled"&&o.clientName===l.AppManagement,r=async()=>{if(await b(t.id,o))throw new d(U,W(t.id));let f=await A(),w=await O(),u=await z(),T=await $({name:f,plan:w,withDemoData:u,organization:t,json:!1,summary:!1}),S=await I(t,T,o);return k({headline:`Dev store "${S.shopName}" created successfully.`}),S},a,h;if(n&&e.stores.length===0){if(await b(t.id,o))throw new d(U,W(t.id));if(v()===!1)throw new d("No development store was specified.",H(t.id));a=async()=>(g({body:Y(t)}),r())}else if(n&&i==="selection-option"){if(v()===!1&&(e.stores.length>1||e.hasMorePages))throw new d("No development store was specified.","Run `shopify app dev --store <store-domain>` to select a development store.");v()&&!await b(t.id,o)&&(h=r)}let m=await P({onSearchForStoresByName:s,...e,showDomainOnPrompt:c,...a?{onCreateStoreWhenEmpty:a}:{},...h?{onCreateStore:h}:{}});if(!m){if(a)throw new _;if(g({body:await o.getCreateDevStoreLink(t)}),await y(5),!await x(t))throw new _;let w=await B(t.id,o);m=await M({stores:w,hasMorePages:!1},t,o,i)}return C(m),m}async function I(e,t,o){let s;if(await N([{title:"Fetching organization data",task:async()=>{for(let r=0;r<10;r++){try{let a=await D(e,t,o);if(a){s=a;return}}catch(a){if(!(a instanceof L))throw a}await y(3)}}}]),!s)throw new d(`The newly created development store (${t}) is not available yet.`,`Run \`shopify app dev --store ${t}\` to select it when it is ready.`);return s}async function B(e,t){let c=[];return await N([{title:"Fetching organization data",task:async()=>{for(let n=0;n<10;n++){let{stores:r}=await t.devStoresForOrg(e);if(r.length>0){c=r;return}await y(3)}}}]),c}var U="Your organization has reached its development store limit.";function Y(e){return`You don't have any dev stores associated with ${e.businessName}'s Dev Dashboard. Let's create one.`}function q(e){return`shopify store create dev --organization-id ${e} --name <store-name> --plan <plan>`}function H(e){return`Create a development store with \`${q(e)}\`, then run \`shopify app dev --store <store-domain>\`.`}function W(e){return`Make a development store slot available in Dev Dashboard. Then create a development store with \`${q(e)}\`, then run \`shopify app dev --store <store-domain>\`.`}function C(e){if(!e.transferDisabled)throw!e.transferDisabled&&!e.convertableToPartnerTest?new d(`The store you specified (${e.shopDomain}) is not a dev store`,"Run dev --reset and select an eligible dev store."):new d(`The store you specified (${e.shopDomain}) is not transfer-disabled`,"Run dev --reset and select a transfer-disabled dev store.")}async function fe({appContextResult:e,storeFqdn:t,forceReselectStore:o,storeTypes:i=["APP_DEVELOPMENT"],storeCreationMode:c="disabled"}){let{app:s,organization:n,developerPlatformClient:r}=e,a,h=s.configuration.build?.dev_store_url,m=s.hiddenConfig.dev_store_url,f=h??m,u=t??(o?void 0:f),T=i.length===1&&i[0]==="APP_DEVELOPMENT";if(u)a=await D(n,u,r,i),T&&C(a);else{let S=await r.devStoresForOrg(n.id);a=await M(S,n,r,c)}return a.shopDomain=R(a.shopDomain),await V(a,o),(a.shopDomain!==f||!m)&&await s.updateHiddenConfig({dev_store_url:a.shopDomain}),await r.ensureUserAccessToStore(n.id,a),a}async function V(e,t){await F.addPublicMetadata(()=>({cmd_app_reset_used:t,store_fqdn_hash:E(e.shopDomain),store_domain:e.shopDomain})),await F.addSensitiveMetadata(()=>({store_fqdn:e.shopDomain}))}export{fe as a};