@shopify/cli 0.0.0-snapshot-20260722190906 → 0.0.0-snapshot-20260722210655

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 (288) hide show
  1. package/dist/{analytics-CDAYWXD5.js → analytics-JBPJLL57.js} +1 -1
  2. package/dist/analytics-QVTQTZFT.js +1 -0
  3. package/dist/bootstrap.js +1 -1
  4. package/dist/{chunk-GUXXVO66.js → chunk-22YTDD56.js} +1 -1
  5. package/dist/{chunk-AXXDNFZC.js → chunk-2CMSXRZ5.js} +1 -1
  6. package/dist/{chunk-VNMMVZL4.js → chunk-2FNJZPYC.js} +2 -2
  7. package/dist/{chunk-BAG27DQB.js → chunk-2OBG4WT7.js} +1 -1
  8. package/dist/{chunk-X324F4FS.js → chunk-2RLFO4KD.js} +1 -1
  9. package/dist/{chunk-6S4LWAKY.js → chunk-2VVXGQ36.js} +1 -1
  10. package/dist/{chunk-UFBY4IJ2.js → chunk-32KQUYFF.js} +1 -1
  11. package/dist/{chunk-AOZJVY2C.js → chunk-33AVVFWW.js} +1 -1
  12. package/dist/{chunk-J3P2JYNE.js → chunk-34CCAMTT.js} +1 -1
  13. package/dist/{chunk-XLD2SPNN.js → chunk-35Z5TIZM.js} +1 -1
  14. package/dist/{chunk-RZPQK4OF.js → chunk-3GPUBV4D.js} +1 -1
  15. package/dist/{chunk-4IHADX7W.js → chunk-3GQ6AVHU.js} +1 -1
  16. package/dist/{chunk-DBZXDUAL.js → chunk-3I6ZVKZ2.js} +1 -1
  17. package/dist/{chunk-VP3PA6DV.js → chunk-3PFIBTES.js} +3 -3
  18. package/dist/{chunk-2DXH72MI.js → chunk-3R45SEUK.js} +1 -1
  19. package/dist/{chunk-NTLYH6PR.js → chunk-3RUWUOIR.js} +1 -1
  20. package/dist/{chunk-EIEMLLMV.js → chunk-3XBPV64S.js} +1 -1
  21. package/dist/{chunk-S56IA3NZ.js → chunk-4GWHZ4RW.js} +1 -1
  22. package/dist/{chunk-P5GRGEW4.js → chunk-4NSHAMD3.js} +1 -1
  23. package/dist/{chunk-67MWN74X.js → chunk-5EDRU7YU.js} +2 -2
  24. package/dist/{chunk-6YQTYIZ5.js → chunk-5HGRHX2Z.js} +1 -1
  25. package/dist/{chunk-LCE3TAI7.js → chunk-5N6YKJLU.js} +1 -1
  26. package/dist/{chunk-4COZ6ZCQ.js → chunk-5RMFBXP6.js} +1 -1
  27. package/dist/{chunk-MGMUHABT.js → chunk-5VKFEYZK.js} +1 -1
  28. package/dist/{chunk-6T3VKU4R.js → chunk-5Y33JTFD.js} +1 -1
  29. package/dist/{chunk-XJQHJ3OJ.js → chunk-65H3LZJA.js} +1 -1
  30. package/dist/{chunk-PYD6H55X.js → chunk-6CZ7WGE2.js} +1 -1
  31. package/dist/{chunk-OPPBTECX.js → chunk-6NRRHHK5.js} +1 -1
  32. package/dist/{chunk-2PEMBCOR.js → chunk-6SVMZEJO.js} +1 -1
  33. package/dist/{chunk-C7D2P7VE.js → chunk-74DZVIJF.js} +1 -1
  34. package/dist/{chunk-OQPDE63R.js → chunk-A35F74KC.js} +1 -1
  35. package/dist/{chunk-LAOIEVSU.js → chunk-AK4NPOQG.js} +1 -1
  36. package/dist/{chunk-IAZMS3IK.js → chunk-ALKT4HX7.js} +1 -1
  37. package/dist/{chunk-XHFQ6LOF.js → chunk-AMLHR2HO.js} +1 -1
  38. package/dist/{chunk-U4ROOL5O.js → chunk-AROEKWUX.js} +1 -1
  39. package/dist/{chunk-LSZF6IW6.js → chunk-B3XKHB4G.js} +1 -1
  40. package/dist/{chunk-ZG4255HY.js → chunk-BKMZCB6M.js} +1 -1
  41. package/dist/{chunk-BJLBQAYG.js → chunk-BPRY3O4N.js} +1 -1
  42. package/dist/{chunk-DOAKDW2X.js → chunk-BQ2752RO.js} +1 -1
  43. package/dist/{chunk-KKR23IH2.js → chunk-CFXL555E.js} +1 -1
  44. package/dist/{chunk-7ZLFWJYO.js → chunk-CFZVZFVH.js} +1 -1
  45. package/dist/{chunk-VAMY76ON.js → chunk-CNOGRHAB.js} +1 -1
  46. package/dist/{chunk-6SK3JXPL.js → chunk-CT5MMCRM.js} +1 -1
  47. package/dist/{chunk-YQ4OHBET.js → chunk-DC3JYNAG.js} +1 -1
  48. package/dist/{chunk-EDZ3YWOD.js → chunk-E7Z7KYBR.js} +1 -1
  49. package/dist/{chunk-7UMDQ3ZG.js → chunk-EI6ZQXTF.js} +1 -1
  50. package/dist/{chunk-EXRSWJ5H.js → chunk-EIEHPIWJ.js} +1 -1
  51. package/dist/{chunk-SZY56H6W.js → chunk-EL5U7452.js} +1 -1
  52. package/dist/{chunk-BEN4UG4L.js → chunk-FDQNY7RF.js} +1 -1
  53. package/dist/{chunk-MQDJJICB.js → chunk-FFC42T6R.js} +1 -1
  54. package/dist/{chunk-GWNAVCHY.js → chunk-FOQ2RDEI.js} +1 -1
  55. package/dist/{chunk-B6G644TV.js → chunk-FS37ZPWQ.js} +1 -1
  56. package/dist/{chunk-2RJFPJ7A.js → chunk-FS4HIL62.js} +1 -1
  57. package/dist/{chunk-NDBM7LRH.js → chunk-FVQG4KLI.js} +1 -1
  58. package/dist/{chunk-MX4LFIME.js → chunk-FW732EHN.js} +1 -1
  59. package/dist/chunk-G3CPHVML.js +1 -0
  60. package/dist/{chunk-CTEETGYW.js → chunk-GAUJKBLY.js} +1 -1
  61. package/dist/{chunk-FDWA7JDW.js → chunk-GJGKVHUR.js} +1 -1
  62. package/dist/{chunk-TBU3OWTQ.js → chunk-GVHVEYNG.js} +1 -1
  63. package/dist/{chunk-S6U77A5P.js → chunk-GWUDVP3Q.js} +1 -1
  64. package/dist/{chunk-NAJQU2AY.js → chunk-H2Z3SST2.js} +1 -1
  65. package/dist/{chunk-YLK2AI7U.js → chunk-H3QSHKNT.js} +1 -1
  66. package/dist/{chunk-BJCRXR56.js → chunk-HFGB7XAM.js} +1 -1
  67. package/dist/{chunk-XD7NZHSK.js → chunk-HG5QVQ2T.js} +1 -1
  68. package/dist/{chunk-JK63EUM5.js → chunk-HJH672U6.js} +1 -1
  69. package/dist/{chunk-C7RESSLY.js → chunk-HPH7WWMW.js} +1 -1
  70. package/dist/{chunk-FIXLZ6WB.js → chunk-HS7TCC4I.js} +1 -1
  71. package/dist/{chunk-Z6XAKBEX.js → chunk-HXJ7HJFS.js} +1 -1
  72. package/dist/{chunk-U5EOE3DT.js → chunk-I7QJGHS6.js} +1 -1
  73. package/dist/{chunk-AQ6NXOX6.js → chunk-IDMJWVJC.js} +1 -1
  74. package/dist/{chunk-ELC7ATKB.js → chunk-IDRP7BXW.js} +1 -1
  75. package/dist/{chunk-NTE2CLJ6.js → chunk-IKP2EM5F.js} +1 -1
  76. package/dist/{chunk-TDSOYZI3.js → chunk-IP2ZMDG4.js} +1 -1
  77. package/dist/{chunk-X3BIUZFH.js → chunk-IPKYIHDV.js} +1 -1
  78. package/dist/{chunk-FSAECCAG.js → chunk-ISVXQQ4E.js} +1 -1
  79. package/dist/{chunk-HUZJXCY4.js → chunk-IV3S4JU6.js} +1 -1
  80. package/dist/{chunk-HDC7GGTP.js → chunk-IZCDEDIM.js} +1 -1
  81. package/dist/{chunk-GBTY5THR.js → chunk-J2JMKTPR.js} +1 -1
  82. package/dist/{chunk-CBEKGTMO.js → chunk-J5D222UG.js} +1 -1
  83. package/dist/{chunk-RLXN7RR4.js → chunk-JBIXZWT6.js} +1 -1
  84. package/dist/{chunk-PQAZNEQ4.js → chunk-JNAAHGJ6.js} +1 -1
  85. package/dist/{chunk-X3EISCDF.js → chunk-KHOW6SXW.js} +1 -1
  86. package/dist/{chunk-UHI4NMIL.js → chunk-KNLPWHHJ.js} +3 -3
  87. package/dist/{chunk-QCK3CBEG.js → chunk-L6C3DLKN.js} +1 -1
  88. package/dist/{chunk-B2WYFLOD.js → chunk-L6VQZJM4.js} +1 -1
  89. package/dist/{chunk-54NHTRQI.js → chunk-LANGOUPS.js} +1 -1
  90. package/dist/{chunk-PKBGOPEK.js → chunk-LX3NHWCT.js} +1 -1
  91. package/dist/{chunk-XQGRKXWZ.js → chunk-LZO2JTZS.js} +1 -1
  92. package/dist/{chunk-BSIAJUNS.js → chunk-M3FOYFPN.js} +1 -1
  93. package/dist/{chunk-5ZBT5PFX.js → chunk-MH6UDGGS.js} +1 -1
  94. package/dist/{chunk-C4BN2RVQ.js → chunk-MSDNBGRH.js} +1 -1
  95. package/dist/{chunk-SH3WYVVB.js → chunk-MTGARKCQ.js} +1 -1
  96. package/dist/{chunk-AYIXAB2S.js → chunk-MXATGPGZ.js} +1 -1
  97. package/dist/{chunk-O3BC33IK.js → chunk-N2UVYELM.js} +1 -1
  98. package/dist/{chunk-PHWCCRTF.js → chunk-N54QOQ2V.js} +1 -1
  99. package/dist/{chunk-3SANRXLX.js → chunk-NDVET7BL.js} +1 -1
  100. package/dist/{chunk-OJ4M2CJM.js → chunk-NIQWXTKA.js} +1 -1
  101. package/dist/{chunk-4Z3NOOAC.js → chunk-NUCUZBO3.js} +1 -1
  102. package/dist/{chunk-C5IUWPRN.js → chunk-O5FUKS5D.js} +1 -1
  103. package/dist/{chunk-OUPJTPTH.js → chunk-O6BUPYXH.js} +2 -2
  104. package/dist/{chunk-SEME74TB.js → chunk-O7HL63YP.js} +1 -1
  105. package/dist/{chunk-ZLMC33FE.js → chunk-OLQN2OBC.js} +1 -1
  106. package/dist/{chunk-BDOXVQSL.js → chunk-OM3YN7ZK.js} +1 -1
  107. package/dist/{chunk-YU2JTVM2.js → chunk-ONCEFPYP.js} +1 -1
  108. package/dist/{chunk-ZX36Y46Q.js → chunk-OPHCAOPB.js} +1 -1
  109. package/dist/{chunk-REQPTZOU.js → chunk-OQ6WYWG4.js} +3 -3
  110. package/dist/{chunk-SW4MYG6X.js → chunk-OYOTLGGD.js} +1 -1
  111. package/dist/{chunk-N6CEKL2T.js → chunk-P4LA3M5S.js} +1 -1
  112. package/dist/{chunk-AXJRLUTS.js → chunk-P5KLFBCI.js} +1 -1
  113. package/dist/{chunk-PEC3D242.js → chunk-PNCF5LNZ.js} +1 -1
  114. package/dist/{chunk-O5V6OEPI.js → chunk-PNYIQOOE.js} +1 -1
  115. package/dist/{chunk-RM3X5Z4U.js → chunk-POYWH3PD.js} +1 -1
  116. package/dist/{chunk-2ECP5WXO.js → chunk-PPHJ4F2Z.js} +1 -1
  117. package/dist/{chunk-YEFFCLHX.js → chunk-Q37I33P7.js} +1 -1
  118. package/dist/{chunk-JQSXYJQH.js → chunk-Q3DRVTVJ.js} +1 -1
  119. package/dist/{chunk-TIO5BQ5N.js → chunk-QAMPDFZB.js} +1 -1
  120. package/dist/{chunk-RFG3WS2K.js → chunk-R56CBH7G.js} +1 -1
  121. package/dist/{chunk-GZJCF3TC.js → chunk-ROBYXQMW.js} +1 -1
  122. package/dist/{chunk-HVZNEOXS.js → chunk-RUV5AE3N.js} +1 -1
  123. package/dist/chunk-RXO77IC5.js +1 -0
  124. package/dist/{chunk-TFR5G7OX.js → chunk-SACH2YSZ.js} +1 -1
  125. package/dist/{chunk-TA6MIE6F.js → chunk-SH5VEQ7F.js} +1 -1
  126. package/dist/{chunk-CEDQRZEQ.js → chunk-SNK55FY2.js} +1 -1
  127. package/dist/{chunk-67HZVVWI.js → chunk-SP7NSQ6G.js} +1 -1
  128. package/dist/{chunk-WNPRFDZX.js → chunk-SQVJGTTD.js} +2 -2
  129. package/dist/{chunk-BFPZJCA7.js → chunk-SUOXR2CE.js} +1 -1
  130. package/dist/{chunk-EIIBCSJT.js → chunk-SW3DP3GU.js} +1 -1
  131. package/dist/{chunk-EWO2KZV5.js → chunk-SXWAECCX.js} +1 -1
  132. package/dist/{chunk-LKTP7WTV.js → chunk-SY3LXLT2.js} +1 -1
  133. package/dist/{chunk-M3QGQP74.js → chunk-UA2432YR.js} +1 -1
  134. package/dist/{chunk-B7I4QETW.js → chunk-UMMEUYHM.js} +1 -1
  135. package/dist/{chunk-AD74MYJN.js → chunk-UZR7JB5B.js} +1 -1
  136. package/dist/{chunk-IGIYN3V4.js → chunk-V4CPWXJP.js} +1 -1
  137. package/dist/{chunk-K6G2EZGV.js → chunk-VBL7DLY7.js} +1 -1
  138. package/dist/{chunk-DNUTKXN2.js → chunk-VFU5YYTM.js} +1 -1
  139. package/dist/{chunk-FQA2F2XJ.js → chunk-VQ44LFBY.js} +1 -1
  140. package/dist/{chunk-VJIB5EKO.js → chunk-VSPM4VES.js} +1 -1
  141. package/dist/{chunk-B57QEQBY.js → chunk-VURVVLVE.js} +1 -1
  142. package/dist/{chunk-P4QZ7WOH.js → chunk-W2RZY64W.js} +1 -1
  143. package/dist/{chunk-HEP7LOAV.js → chunk-W6BBFBOM.js} +1 -1
  144. package/dist/{chunk-I7BYVLDU.js → chunk-W6KRZTDH.js} +1 -1
  145. package/dist/{chunk-4ZQTYDNB.js → chunk-WFCP2AG5.js} +1 -1
  146. package/dist/{chunk-P427M44L.js → chunk-WKJNCJUV.js} +1 -1
  147. package/dist/chunk-WMKVFUMY.js +1 -0
  148. package/dist/{chunk-F4GFFJEQ.js → chunk-WYT437LJ.js} +1 -1
  149. package/dist/{chunk-HDE4C5VI.js → chunk-X2NVFYY6.js} +1 -1
  150. package/dist/chunk-X2ZCC772.js +1 -0
  151. package/dist/{chunk-UBZ7LRWO.js → chunk-X4JRQETX.js} +1 -1
  152. package/dist/{chunk-XC2X34PK.js → chunk-X5GZF33W.js} +1 -1
  153. package/dist/{chunk-7D6UVALL.js → chunk-XBFXB6S6.js} +1 -1
  154. package/dist/{chunk-ZCMXP6ZW.js → chunk-XEHMXJ5J.js} +1 -1
  155. package/dist/{chunk-CUWFMJYZ.js → chunk-XGJH3HBA.js} +1 -1
  156. package/dist/{chunk-LMLBN3DB.js → chunk-XKMLKEYX.js} +1 -1
  157. package/dist/{chunk-6NJ7C5DF.js → chunk-XYV4QXQT.js} +1 -1
  158. package/dist/{chunk-ITL4KB5G.js → chunk-YKAMTVJM.js} +1 -1
  159. package/dist/{chunk-ZZN4WRWZ.js → chunk-YZQYDTO7.js} +1 -1
  160. package/dist/{chunk-YLSBNV6G.js → chunk-ZDKGQCIZ.js} +1 -1
  161. package/dist/{chunk-GPF56HPM.js → chunk-ZKIIMXKC.js} +1 -1
  162. package/dist/{chunk-RELON3IF.js → chunk-ZKNONN2F.js} +1 -1
  163. package/dist/{chunk-ZHVFR23B.js → chunk-ZZ5M5IMF.js} +1 -1
  164. package/dist/cli/commands/app/app-logs/sources.js +1 -1
  165. package/dist/cli/commands/app/build.js +1 -1
  166. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  167. package/dist/cli/commands/app/bulk/execute.js +1 -1
  168. package/dist/cli/commands/app/bulk/status.js +1 -1
  169. package/dist/cli/commands/app/config/link.js +1 -1
  170. package/dist/cli/commands/app/config/pull.js +1 -1
  171. package/dist/cli/commands/app/config/use.js +1 -1
  172. package/dist/cli/commands/app/config/validate.js +1 -1
  173. package/dist/cli/commands/app/demo/watcher.js +1 -1
  174. package/dist/cli/commands/app/deploy.js +1 -1
  175. package/dist/cli/commands/app/dev/clean.js +1 -1
  176. package/dist/cli/commands/app/dev.js +1 -1
  177. package/dist/cli/commands/app/env/pull.js +1 -1
  178. package/dist/cli/commands/app/env/show.js +1 -1
  179. package/dist/cli/commands/app/execute.js +1 -1
  180. package/dist/cli/commands/app/function/build.js +1 -1
  181. package/dist/cli/commands/app/function/info.js +1 -1
  182. package/dist/cli/commands/app/function/replay.js +1 -1
  183. package/dist/cli/commands/app/function/run.js +1 -1
  184. package/dist/cli/commands/app/function/schema.js +1 -1
  185. package/dist/cli/commands/app/function/typegen.js +1 -1
  186. package/dist/cli/commands/app/generate/extension.js +1 -1
  187. package/dist/cli/commands/app/graphiql.js +1 -1
  188. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  189. package/dist/cli/commands/app/import-extensions.js +1 -1
  190. package/dist/cli/commands/app/info.js +1 -1
  191. package/dist/cli/commands/app/init.js +1 -1
  192. package/dist/cli/commands/app/logs.js +1 -1
  193. package/dist/cli/commands/app/release.js +1 -1
  194. package/dist/cli/commands/app/versions/list.js +1 -1
  195. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  196. package/dist/cli/commands/auth/login.js +1 -1
  197. package/dist/cli/commands/auth/logout.js +1 -1
  198. package/dist/cli/commands/cache/clear.js +1 -1
  199. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  200. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  201. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  202. package/dist/cli/commands/debug/command-flags.js +1 -1
  203. package/dist/cli/commands/doc/fetch.js +1 -1
  204. package/dist/cli/commands/doc/search.js +1 -1
  205. package/dist/cli/commands/docs/generate.js +1 -1
  206. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  207. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  208. package/dist/cli/commands/help.js +1 -1
  209. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  210. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  211. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  212. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  213. package/dist/cli/commands/notifications/generate.js +1 -1
  214. package/dist/cli/commands/notifications/list.js +1 -1
  215. package/dist/cli/commands/organization/list.js +1 -1
  216. package/dist/cli/commands/search.js +1 -1
  217. package/dist/cli/commands/skill/install.js +1 -1
  218. package/dist/cli/commands/theme/check.js +1 -1
  219. package/dist/cli/commands/theme/console.js +1 -1
  220. package/dist/cli/commands/theme/delete.js +1 -1
  221. package/dist/cli/commands/theme/dev.js +1 -1
  222. package/dist/cli/commands/theme/duplicate.js +1 -1
  223. package/dist/cli/commands/theme/info.js +1 -1
  224. package/dist/cli/commands/theme/init.js +1 -1
  225. package/dist/cli/commands/theme/language-server.js +1 -1
  226. package/dist/cli/commands/theme/list.js +1 -1
  227. package/dist/cli/commands/theme/metafields/pull.js +1 -1
  228. package/dist/cli/commands/theme/open.js +1 -1
  229. package/dist/cli/commands/theme/package.js +1 -1
  230. package/dist/cli/commands/theme/preview.js +1 -1
  231. package/dist/cli/commands/theme/profile.js +1 -1
  232. package/dist/cli/commands/theme/publish.js +1 -1
  233. package/dist/cli/commands/theme/pull.js +1 -1
  234. package/dist/cli/commands/theme/push.js +1 -1
  235. package/dist/cli/commands/theme/rename.js +1 -1
  236. package/dist/cli/commands/theme/share.js +1 -1
  237. package/dist/cli/commands/upgrade.js +1 -1
  238. package/dist/cli/commands/validate/components.js +1 -1
  239. package/dist/cli/commands/validate/functions.js +1 -1
  240. package/dist/cli/commands/validate/graphql.js +1 -1
  241. package/dist/cli/commands/validate/theme.js +1 -1
  242. package/dist/cli/commands/version.js +1 -1
  243. package/dist/command-registry.js +1 -1
  244. package/dist/conf-store-OHJSRXSL.js +1 -0
  245. package/dist/{deprecations-K6GECE76.js → deprecations-SA4HEVBI.js} +1 -1
  246. package/dist/{dist-ZTEUCMI5.js → dist-MIUGJGUW.js} +1 -1
  247. package/dist/dist-XVWDWM2Y.js +1 -0
  248. package/dist/{environments-ZDUNX7L4.js → environments-LDSGQHXC.js} +1 -1
  249. package/dist/{error-GGW3G47B.js → error-YY774ESQ.js} +1 -1
  250. package/dist/{error-handler-JTALOJ5N.js → error-handler-QHCOZUC7.js} +1 -1
  251. package/dist/{fs-JBSOQ2AU.js → fs-EIM4AORY.js} +1 -1
  252. package/dist/hooks/app-init.js +1 -1
  253. package/dist/hooks/did-you-mean.js +1 -1
  254. package/dist/hooks/hydrogen-init.js +1 -1
  255. package/dist/hooks/postrun.js +1 -1
  256. package/dist/hooks/prerun.js +1 -1
  257. package/dist/hooks/public-metadata.js +1 -1
  258. package/dist/hooks/sensitive-metadata.js +1 -1
  259. package/dist/hooks/tunnel-provider.js +1 -1
  260. package/dist/hooks/tunnel-start.js +1 -1
  261. package/dist/index.js +1 -1
  262. package/dist/{is-global-L7OWSCP5.js → is-global-USYUXR55.js} +1 -1
  263. package/dist/{local-OOLA5THA.js → local-INRMOHAI.js} +1 -1
  264. package/dist/{local-storage-VXGHOQKX.js → local-storage-7THURD3W.js} +1 -1
  265. package/dist/{metadata-V4D6FTBS.js → metadata-WJ637XA2.js} +1 -1
  266. package/dist/{node-package-manager-EDPK5PL6.js → node-package-manager-4X2YQGFC.js} +1 -1
  267. package/dist/{notifications-system-MBSJKSNZ.js → notifications-system-ZSZWUJIZ.js} +1 -1
  268. package/dist/{output-QVUM5IYS.js → output-CLCX5WU7.js} +1 -1
  269. package/dist/skills-OXV2TD42.js +1 -0
  270. package/dist/{system-B76AUER2.js → system-J4OPHQAQ.js} +1 -1
  271. package/dist/tsconfig.tsbuildinfo +1 -1
  272. package/dist/{ui-ENHCMZJZ.js → ui-ZC5QZT4J.js} +1 -1
  273. package/dist/upgrade-VSILBOCY.js +1 -0
  274. package/dist/{version-VXADDZFR.js → version-EYLYG4JK.js} +1 -1
  275. package/dist/version-FEVNX3F6.js +1 -0
  276. package/dist/{workerd-4O3TCHAO.js → workerd-VC3MCYDV.js} +1 -1
  277. package/oclif.manifest.json +1 -1
  278. package/package.json +7 -9
  279. package/bin/postinstall.js +0 -14
  280. package/dist/analytics-Q4RKFOXN.js +0 -1
  281. package/dist/chunk-24YSAAPP.js +0 -1
  282. package/dist/chunk-2POI27PW.js +0 -1
  283. package/dist/chunk-AGWNS3XW.js +0 -1
  284. package/dist/chunk-EB2SLRLG.js +0 -1
  285. package/dist/conf-store-WHIZYNW7.js +0 -1
  286. package/dist/dist-CNXOMJ4W.js +0 -1
  287. package/dist/upgrade-NCYY4Q7D.js +0 -1
  288. package/dist/version-E6Y3YQZ3.js +0 -1
@@ -1 +1 @@
1
- import{a as E}from"./chunk-YU2JTVM2.js";import{a as I,b as w}from"./chunk-STJ3LWFL.js";import{a as _}from"./chunk-ZCMXP6ZW.js";import{f as a,g as u,p as S,v as b}from"./chunk-MGMUHABT.js";import{b as T,c as g}from"./chunk-BJLBQAYG.js";import{ua as f,xa as p}from"./chunk-REQPTZOU.js";import{g as s,u as c}from"./chunk-WNPRFDZX.js";import{m as v}from"./chunk-OUPJTPTH.js";import{Lb as l}from"./chunk-UHI4NMIL.js";import{a as x}from"./chunk-M5GXA5W4.js";import{e as L,g as m}from"./chunk-VKWPEFWQ.js";m();m();function A(o,e){return{theme:{id:o.id,name:o.name,role:o.role,shop:e.storeFqdn,preview_url:I(o,e),editor_url:w(o,e)}}}function D(o){let{platform:e,arch:n}=s(),t=a(),r=null;return t&&(r=Number(u())||null),{store:t??"Not configured",development_theme_id:r,cli_version:o.cliVersion,os:`${e}-${n}`,shell:process.env.SHELL??"unknown",node_version:process.version}}async function O(o,e){let n;if(e.development)n=await new E(o).findOrCreate();else{let t={filter:{theme:e.theme}};n=await _(o,t)}return n?A(n,o):void 0}async function y(o){return[M(),await j(o)]}function M(){let o=a()??"Not configured",e=u();return p(`theme-command:info:dev-theme-loaded:${e}`),N("Theme Configuration",[["Store",o],["Development Theme ID",e?`#${e}`:{subdued:"Not set"}]])}async function j(o){let{platform:e,arch:n}=s();return N("Tooling and System",[["Shopify CLI",o.cliVersion],["OS",`${e}-${n}`],["Shell",process.env.SHELL??"unknown"],["Node version",process.version]])}function N(o,e){return{title:o,body:{tabularData:e,firstColumnSubdued:!0}}}async function F(o,e){let n=Object.entries(o.theme).map(([t,r])=>{if(t==="editor_url"||t==="preview_url"){let C=String(r),$=t==="editor_url"?"Open in Theme Editor":"Preview Theme";return[d(t),{link:{url:C,label:$}}]}else return t==="id"?[d(t),`#${r}`]:[d(t),`${r}`]});return{customSections:[...e.environment?[{title:"Theme information",body:[{subdued:`Environment name: ${e.environment}`}]}]:[],{title:"Theme Details",body:{tabularData:n,firstColumnSubdued:!0}}]}}function d(o){return o.split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}var h=L(x(),1);var i=class extends b{async command(e,n){if(f("theme-command:info"),e.theme||e.development){let t=await O(n,e);if(!t)throw new v("Theme not found!");if(e.json)return l(JSON.stringify(t,null,2));let r=await F(t,e);c(r)}else{if(e.json)return l(JSON.stringify(D({cliVersion:this.config.version}),null,2));let t=await y({cliVersion:this.config.version});c({customSections:t})}f("theme-command:info")}};i.description="Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.";i.flags={...T,...g,...S,development:h.Flags.boolean({char:"d",description:"Retrieve info from your development theme.",env:"SHOPIFY_FLAG_DEVELOPMENT"}),theme:h.Flags.string({char:"t",description:"Theme ID or name of the remote theme.",env:"SHOPIFY_FLAG_THEME_ID"})};i.multiEnvironmentsFlags=["store","password"];var k=i;export{k as a};
1
+ import{a as E}from"./chunk-ONCEFPYP.js";import{a as I,b as w}from"./chunk-STJ3LWFL.js";import{a as _}from"./chunk-XEHMXJ5J.js";import{f as a,g as u,p as S,v as b}from"./chunk-5VKFEYZK.js";import{b as T,c as g}from"./chunk-BPRY3O4N.js";import{ua as f,xa as p}from"./chunk-OQ6WYWG4.js";import{g as s,u as c}from"./chunk-SQVJGTTD.js";import{m as v}from"./chunk-O6BUPYXH.js";import{Lb as l}from"./chunk-KNLPWHHJ.js";import{a as x}from"./chunk-M5GXA5W4.js";import{e as L,g as m}from"./chunk-VKWPEFWQ.js";m();m();function A(o,e){return{theme:{id:o.id,name:o.name,role:o.role,shop:e.storeFqdn,preview_url:I(o,e),editor_url:w(o,e)}}}function D(o){let{platform:e,arch:n}=s(),t=a(),r=null;return t&&(r=Number(u())||null),{store:t??"Not configured",development_theme_id:r,cli_version:o.cliVersion,os:`${e}-${n}`,shell:process.env.SHELL??"unknown",node_version:process.version}}async function O(o,e){let n;if(e.development)n=await new E(o).findOrCreate();else{let t={filter:{theme:e.theme}};n=await _(o,t)}return n?A(n,o):void 0}async function y(o){return[M(),await j(o)]}function M(){let o=a()??"Not configured",e=u();return p(`theme-command:info:dev-theme-loaded:${e}`),N("Theme Configuration",[["Store",o],["Development Theme ID",e?`#${e}`:{subdued:"Not set"}]])}async function j(o){let{platform:e,arch:n}=s();return N("Tooling and System",[["Shopify CLI",o.cliVersion],["OS",`${e}-${n}`],["Shell",process.env.SHELL??"unknown"],["Node version",process.version]])}function N(o,e){return{title:o,body:{tabularData:e,firstColumnSubdued:!0}}}async function F(o,e){let n=Object.entries(o.theme).map(([t,r])=>{if(t==="editor_url"||t==="preview_url"){let C=String(r),$=t==="editor_url"?"Open in Theme Editor":"Preview Theme";return[d(t),{link:{url:C,label:$}}]}else return t==="id"?[d(t),`#${r}`]:[d(t),`${r}`]});return{customSections:[...e.environment?[{title:"Theme information",body:[{subdued:`Environment name: ${e.environment}`}]}]:[],{title:"Theme Details",body:{tabularData:n,firstColumnSubdued:!0}}]}}function d(o){return o.split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}var h=L(x(),1);var i=class extends b{async command(e,n){if(f("theme-command:info"),e.theme||e.development){let t=await O(n,e);if(!t)throw new v("Theme not found!");if(e.json)return l(JSON.stringify(t,null,2));let r=await F(t,e);c(r)}else{if(e.json)return l(JSON.stringify(D({cliVersion:this.config.version}),null,2));let t=await y({cliVersion:this.config.version});c({customSections:t})}f("theme-command:info")}};i.description="Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.";i.flags={...T,...g,...S,development:h.Flags.boolean({char:"d",description:"Retrieve info from your development theme.",env:"SHOPIFY_FLAG_DEVELOPMENT"}),theme:h.Flags.string({char:"t",description:"Theme ID or name of the remote theme.",env:"SHOPIFY_FLAG_THEME_ID"})};i.multiEnvironmentsFlags=["store","password"];var k=i;export{k as a};
@@ -1,4 +1,4 @@
1
- import{ba as a,i}from"./chunk-54NHTRQI.js";import{Fb as e,Hb as r}from"./chunk-UHI4NMIL.js";import{g as u}from"./chunk-VKWPEFWQ.js";u();async function f(n,t,o){return c(n,t,o,"text")}async function c(n,t,o,S){return await a(t,o.source),S==="json"?r`${e.json({SHOPIFY_API_KEY:t.apiKey,SHOPIFY_API_SECRET:t.apiSecretKeys[0]?.secret,SCOPES:i(n.configuration)})}`:r`
1
+ import{ba as a,i}from"./chunk-LANGOUPS.js";import{Fb as e,Hb as r}from"./chunk-KNLPWHHJ.js";import{g as u}from"./chunk-VKWPEFWQ.js";u();async function f(n,t,o){return c(n,t,o,"text")}async function c(n,t,o,S){return await a(t,o.source),S==="json"?r`${e.json({SHOPIFY_API_KEY:t.apiKey,SHOPIFY_API_SECRET:t.apiSecretKeys[0]?.secret,SCOPES:i(n.configuration)})}`:r`
2
2
  ${e.green("SHOPIFY_API_KEY")}=${t.apiKey}
3
3
  ${e.green("SHOPIFY_API_SECRET")}=${t.apiSecretKeys[0]?.secret??""}
4
4
  ${e.green("SCOPES")}=${i(n.configuration)}
@@ -1 +1 @@
1
- import{a as k}from"./chunk-24YSAAPP.js";import{a as g}from"./chunk-2PEMBCOR.js";import{a as y}from"./chunk-AOZJVY2C.js";import{g as b,xa as w}from"./chunk-54NHTRQI.js";import{b as h}from"./chunk-BJLBQAYG.js";import{O as u,t as m,v as f}from"./chunk-WNPRFDZX.js";import{d}from"./chunk-P5GRGEW4.js";import{a as S}from"./chunk-M5GXA5W4.js";import{e as A,g as o}from"./chunk-VKWPEFWQ.js";o();o();o();async function r(e,{web:i,stdout:t,stderr:a,signal:s,env:p={}}){let l=i.configuration.commands[e];if(!l)return;let[_,...v]=l.split(" ");await u(_,v,{cwd:i.directory,stdout:t,stderr:a,signal:s,env:p}),t.write("Web successfully built.")}async function P(e){!e.skipDependenciesInstallation&&!e.project.usesWorkspaces&&await g(e.project);let i={};e.apiKey&&(i.SHOPIFY_API_KEY=e.apiKey),await b(e.app),await m({processes:[...e.app.webs.map(t=>({prefix:["web",...t.configuration.roles].join("-"),action:async(a,s,p)=>{await r("build",{web:t,stdout:a,stderr:s,signal:p,env:i})}})),...e.app.allExtensions.map(t=>({prefix:t.localIdentifier,action:async(a,s,p)=>{await t.build({stdout:a,stderr:s,signal:p,app:e.app,environment:"production"})}}))],showTimestamps:!1}),f({headline:[{userInput:e.app.name},"built!"]})}var x=P;var I=A(S(),1);var c,n=class extends k{async run(){let{flags:i}=await this.parse(c),t=i["client-id"];await d(()=>({cmd_app_dependency_installation_skipped:i["skip-dependencies-installation"]}));let{app:a,project:s}=await w({directory:i.path,userProvidedConfigName:i.config});return await x({app:a,project:s,skipDependenciesInstallation:i["skip-dependencies-installation"],apiKey:t}),{app:a}}};c=n;n.summary="Build the app, including extensions.";n.descriptionWithMarkdown="This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](https://shopify.dev/docs/apps/tools/cli/configuration).\n\n If you're building a [theme app extension](https://shopify.dev/docs/apps/online-store/theme-app-extensions), then running the `build` command runs [Theme Check](https://shopify.dev/docs/themes/tools/theme-check) against your extension to ensure that it's valid.";n.description=c.descriptionWithoutMarkdown();n.flags={...h,...y,"skip-dependencies-installation":I.Flags.boolean({hidden:!1,description:"Skips the installation of dependencies. Deprecated, use workspaces instead.",env:"SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION",default:!1})};var J=n;export{J as a};
1
+ import{a as k}from"./chunk-G3CPHVML.js";import{a as g}from"./chunk-6SVMZEJO.js";import{a as y}from"./chunk-33AVVFWW.js";import{g as b,xa as w}from"./chunk-LANGOUPS.js";import{b as h}from"./chunk-BPRY3O4N.js";import{O as u,t as m,v as f}from"./chunk-SQVJGTTD.js";import{d}from"./chunk-4NSHAMD3.js";import{a as S}from"./chunk-M5GXA5W4.js";import{e as A,g as o}from"./chunk-VKWPEFWQ.js";o();o();o();async function r(e,{web:i,stdout:t,stderr:a,signal:s,env:p={}}){let l=i.configuration.commands[e];if(!l)return;let[_,...v]=l.split(" ");await u(_,v,{cwd:i.directory,stdout:t,stderr:a,signal:s,env:p}),t.write("Web successfully built.")}async function P(e){!e.skipDependenciesInstallation&&!e.project.usesWorkspaces&&await g(e.project);let i={};e.apiKey&&(i.SHOPIFY_API_KEY=e.apiKey),await b(e.app),await m({processes:[...e.app.webs.map(t=>({prefix:["web",...t.configuration.roles].join("-"),action:async(a,s,p)=>{await r("build",{web:t,stdout:a,stderr:s,signal:p,env:i})}})),...e.app.allExtensions.map(t=>({prefix:t.localIdentifier,action:async(a,s,p)=>{await t.build({stdout:a,stderr:s,signal:p,app:e.app,environment:"production"})}}))],showTimestamps:!1}),f({headline:[{userInput:e.app.name},"built!"]})}var x=P;var I=A(S(),1);var c,n=class extends k{async run(){let{flags:i}=await this.parse(c),t=i["client-id"];await d(()=>({cmd_app_dependency_installation_skipped:i["skip-dependencies-installation"]}));let{app:a,project:s}=await w({directory:i.path,userProvidedConfigName:i.config});return await x({app:a,project:s,skipDependenciesInstallation:i["skip-dependencies-installation"],apiKey:t}),{app:a}}};c=n;n.summary="Build the app, including extensions.";n.descriptionWithMarkdown="This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](https://shopify.dev/docs/apps/tools/cli/configuration).\n\n If you're building a [theme app extension](https://shopify.dev/docs/apps/online-store/theme-app-extensions), then running the `build` command runs [Theme Check](https://shopify.dev/docs/themes/tools/theme-check) against your extension to ensure that it's valid.";n.description=c.descriptionWithoutMarkdown();n.flags={...h,...y,"skip-dependencies-installation":I.Flags.boolean({hidden:!1,description:"Skips the installation of dependencies. Deprecated, use workspaces instead.",env:"SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION",default:!1})};var J=n;export{J as a};
@@ -1,3 +1,3 @@
1
- import{a as N}from"./chunk-EB2SLRLG.js";import{a as S}from"./chunk-AOZJVY2C.js";import{A as x,B as V,wa as M,x as A,y as C}from"./chunk-54NHTRQI.js";import{a as m}from"./chunk-LMLBN3DB.js";import{b as E,c as b}from"./chunk-BJLBQAYG.js";import{v as j,x as g}from"./chunk-WNPRFDZX.js";import{m as w,o as n}from"./chunk-OUPJTPTH.js";import{Lb as s,Sb as h,Vb as _}from"./chunk-UHI4NMIL.js";import{j as u}from"./chunk-773TIA5M.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();p();async function P(d,t){let r=new Set(t.map(e=>e.file)).size;await m.addPublicMetadata(()=>({cmd_app_validate_valid:d,cmd_app_validate_issue_count:t.length,cmd_app_validate_file_count:r}))}async function k(d,t={json:!1}){let r=d.errors;if(!r||r.isEmpty()){if(await P(!0,[]),t.json){s(JSON.stringify({valid:!0,issues:[]},null,2));return}j({headline:`App configuration '${u(d.configPath)}' is valid.`});return}let e=r.getErrors();if(await P(!1,e),t.json){let f=e.map(({file:c,message:a,path:i,code:o})=>({file:c,message:a,path:i,code:o}));throw s(JSON.stringify({valid:!1,issues:f},null,2)),new n}throw g({headline:"Validation errors found.",body:e.map(f=>`\u2022 ${V(f)}`).join(`
1
+ import{a as N}from"./chunk-X2ZCC772.js";import{a as S}from"./chunk-33AVVFWW.js";import{A as x,B as V,wa as M,x as A,y as C}from"./chunk-LANGOUPS.js";import{a as m}from"./chunk-XKMLKEYX.js";import{b as E,c as b}from"./chunk-BPRY3O4N.js";import{v as j,x as g}from"./chunk-SQVJGTTD.js";import{m as w,o as n}from"./chunk-O6BUPYXH.js";import{Lb as s,Sb as h,Vb as _}from"./chunk-KNLPWHHJ.js";import{j as u}from"./chunk-773TIA5M.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();p();async function P(d,t){let r=new Set(t.map(e=>e.file)).size;await m.addPublicMetadata(()=>({cmd_app_validate_valid:d,cmd_app_validate_issue_count:t.length,cmd_app_validate_file_count:r}))}async function k(d,t={json:!1}){let r=d.errors;if(!r||r.isEmpty()){if(await P(!0,[]),t.json){s(JSON.stringify({valid:!0,issues:[]},null,2));return}j({headline:`App configuration '${u(d.configPath)}' is valid.`});return}let e=r.getErrors();if(await P(!1,e),t.json){let f=e.map(({file:c,message:a,path:i,code:o})=>({file:c,message:a,path:i,code:o}));throw s(JSON.stringify({valid:!1,issues:f},null,2)),new n}throw g({headline:"Validation errors found.",body:e.map(f=>`\u2022 ${V(f)}`).join(`
2
2
  `)}),new n}var y;async function v(d,t){await m.addPublicMetadata(()=>({cmd_app_validate_valid:!1,cmd_app_validate_issue_count:d,cmd_app_validate_file_count:t}))}var l=class extends N{async run(){let{flags:t}=await this.parse(y);await m.addPublicMetadata(()=>({cmd_app_validate_json:t.json}));let r;try{r=await A.load(t.path)}catch(a){if(a instanceof w&&t.json){await v(1,1);let i=_(h(a.message)).trim();throw s(JSON.stringify({valid:!1,issues:[{message:i}]},null,2)),new n}throw a}let e;try{e=await x(r,t.config,{clientId:t["client-id"],skipPrompts:!!t["client-id"]})}catch(a){if(a instanceof w&&t.json){await v(1,1);let i=_(h(a.message)).trim();throw s(JSON.stringify({valid:!1,issues:[{message:i}]},null,2)),new n}throw a}let f=C(r,e.file);if(f.length>0){let a=f.map(o=>({file:o.path,message:o.message})),i=new Set(f.map(o=>o.path)).size;throw await v(a.length,i),t.json?(s(JSON.stringify({valid:!1,issues:a},null,2)),new n):(g({headline:"Validation errors found.",body:a.map(o=>`\u2022 ${o.message}`).join(`
3
3
  `)}),new n)}let c;try{c=(await M({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config??(t["client-id"]?u(e.file.path):void 0),unsafeTolerateErrors:!0})).app}catch(a){let i=a instanceof w?_(h(a.message)).trim():"";throw i.startsWith("Validation errors in ")&&t.json?(await v(1,1),s(JSON.stringify({valid:!1,issues:[{message:i}]},null,2)),new n):a}return await k(c,{json:t.json}),{app:c}}};y=l;l.summary="Validate your app configuration and extensions.";l.descriptionWithMarkdown="Validates the selected app configuration file and all extension configurations against their schemas and reports any errors found.";l.description=y.descriptionWithoutMarkdown();l.flags={...E,...S,...b};var tt=l;export{tt as a};
@@ -1,4 +1,4 @@
1
- import{l as O}from"./chunk-WNPRFDZX.js";import{m as E}from"./chunk-OUPJTPTH.js";import{Pb as i,Qb as m,Y as b,ca as N}from"./chunk-UHI4NMIL.js";import{g as u}from"./chunk-VKWPEFWQ.js";u();u();var l=class{constructor({export:e,input:r,inputBytes:o,output:n,outputBytes:s,logs:a,functionId:f,fuelConsumed:c,target:A,errorMessage:S,errorType:w,inputQueryVariablesMetafieldValue:g,inputQueryVariablesMetafieldNamespace:I,inputQueryVariablesMetafieldKey:C}){this.export=e,this.input=r,this.inputBytes=o,this.output=n,this.outputBytes=s,this.logs=a,this.functionId=f,this.fuelConsumed=c,this.target=A,this.errorMessage=S,this.errorType=w,this.inputQueryVariablesMetafieldValue=g,this.inputQueryVariablesMetafieldNamespace=I,this.inputQueryVariablesMetafieldKey=C}},h=class{constructor({cacheEntryEpochMs:e,cacheTtlMs:r,httpRequest:o,httpResponse:n}){this.cacheEntryEpochMs=e,this.cacheTtlMs=r,this.httpRequest=o,this.httpResponse=n}},_;(function(t){t[t.NoCachedResponse=0]="NoCachedResponse",t[t.CacheAboutToExpire=1]="CacheAboutToExpire",t[t.Unknown=2]="Unknown"})(_||(_={}));var d=class{constructor({reason:e,httpRequest:r}){this.reason=e,this.httpRequest=r}},y=class{constructor({attempt:e,connectTimeMs:r,writeReadTimeMs:o,httpRequest:n,httpResponse:s,error:a}){this.attempt=e,this.connectTimeMs=r,this.writeReadTimeMs=o,this.httpRequest=n,this.httpResponse=s,this.error=a}};u();function R(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)&&Object.getPrototypeOf(t)===Object.prototype}function M(t,e){return e?.deep&&R(t)||e?.deep&&Array.isArray(t)?p(t,e):t}function p(t,e){if(Array.isArray(t))return t.map(r=>e?.deep?p(r,e):r);if(R(t)){let r={};for(let[o,n]of Object.entries(t))r[b(o)]=M(n,e);return r}return t}var L=450,P=5*1e3,T=60*1e3,H=5,W=1e6,U="function_run",z="function_network_access",V="function_network_access.response_from_cache",q="function_network_access.request_execution_in_background",J="function_network_access.request_execution",Z="no_cached_response",ee="cached_response_about_to_expire";function te(t){let e=JSON.parse(t),r=e.input_query_variables_metafield_value&&x(e.input_query_variables_metafield_value);return new l({export:e.export,input:e.input,inputBytes:e.input_bytes,output:e.output,outputBytes:e.output_bytes,logs:e.logs,functionId:e.function_id,fuelConsumed:e.fuel_consumed,target:e.target,errorMessage:e.error_message,errorType:e.error_type,inputQueryVariablesMetafieldValue:r,inputQueryVariablesMetafieldNamespace:e.input_query_variables_metafield_namespace,inputQueryVariablesMetafieldKey:e.input_query_variables_metafield_key})}function re(t){let e=JSON.parse(t);return new h({cacheEntryEpochMs:e.cache_entry_epoch_ms,cacheTtlMs:e.cache_ttl_ms,httpRequest:e.http_request,httpResponse:e.http_response})}var k={no_cached_response:_.NoCachedResponse,cached_response_about_to_expire:_.CacheAboutToExpire};function se(t){let e=JSON.parse(t);return new d({reason:k[e.reason]??_.Unknown,httpRequest:e.http_request})}function oe(t){let e=JSON.parse(t);return new y({attempt:e.attempt,connectTimeMs:e.connect_time_ms??null,writeReadTimeMs:e.write_read_time_ms??null,httpRequest:e.http_request,httpResponse:e.http_response??null,error:e.error??null})}var ne=async t=>{let{errors:e}=t.response,r=L,o=null,n="not_attempted";if(e.length>0)if(i(`Errors: ${e.map(s=>s.message).join(", ")}`),e.some(s=>s.status===401))try{o=await t.onResubscribe(),n="succeeded"}catch(s){i(`Failed to resubscribe to app logs: ${s}`),r=T,n="failed",t.onThrottle(r)}else e.some(s=>s.status===429)?(r=T,t.onThrottle(r)):(r=P,t.onUnknownError(r));return{retryIntervalMs:r,nextJwtToken:o,resubscribeResult:n}};function ae(t){return t.allExtensions.flatMap(e=>e.isFunctionExtension?[`extensions.${e.configuration.handle}`]:[])}var ie=({appLog:t,appLogPayload:e,storeName:r,prettyPrint:o=!0})=>{let{cursor:n,...s}=t,a=p({...s,payload:e,localTime:N(t.log_timestamp),storeName:r});return e instanceof l&&(a.payload.logs=e.logs.split(`
1
+ import{l as O}from"./chunk-SQVJGTTD.js";import{m as E}from"./chunk-O6BUPYXH.js";import{Pb as i,Qb as m,Y as b,ca as N}from"./chunk-KNLPWHHJ.js";import{g as u}from"./chunk-VKWPEFWQ.js";u();u();var l=class{constructor({export:e,input:r,inputBytes:o,output:n,outputBytes:s,logs:a,functionId:f,fuelConsumed:c,target:A,errorMessage:S,errorType:w,inputQueryVariablesMetafieldValue:g,inputQueryVariablesMetafieldNamespace:I,inputQueryVariablesMetafieldKey:C}){this.export=e,this.input=r,this.inputBytes=o,this.output=n,this.outputBytes=s,this.logs=a,this.functionId=f,this.fuelConsumed=c,this.target=A,this.errorMessage=S,this.errorType=w,this.inputQueryVariablesMetafieldValue=g,this.inputQueryVariablesMetafieldNamespace=I,this.inputQueryVariablesMetafieldKey=C}},h=class{constructor({cacheEntryEpochMs:e,cacheTtlMs:r,httpRequest:o,httpResponse:n}){this.cacheEntryEpochMs=e,this.cacheTtlMs=r,this.httpRequest=o,this.httpResponse=n}},_;(function(t){t[t.NoCachedResponse=0]="NoCachedResponse",t[t.CacheAboutToExpire=1]="CacheAboutToExpire",t[t.Unknown=2]="Unknown"})(_||(_={}));var d=class{constructor({reason:e,httpRequest:r}){this.reason=e,this.httpRequest=r}},y=class{constructor({attempt:e,connectTimeMs:r,writeReadTimeMs:o,httpRequest:n,httpResponse:s,error:a}){this.attempt=e,this.connectTimeMs=r,this.writeReadTimeMs=o,this.httpRequest=n,this.httpResponse=s,this.error=a}};u();function R(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)&&Object.getPrototypeOf(t)===Object.prototype}function M(t,e){return e?.deep&&R(t)||e?.deep&&Array.isArray(t)?p(t,e):t}function p(t,e){if(Array.isArray(t))return t.map(r=>e?.deep?p(r,e):r);if(R(t)){let r={};for(let[o,n]of Object.entries(t))r[b(o)]=M(n,e);return r}return t}var L=450,P=5*1e3,T=60*1e3,H=5,W=1e6,U="function_run",z="function_network_access",V="function_network_access.response_from_cache",q="function_network_access.request_execution_in_background",J="function_network_access.request_execution",Z="no_cached_response",ee="cached_response_about_to_expire";function te(t){let e=JSON.parse(t),r=e.input_query_variables_metafield_value&&x(e.input_query_variables_metafield_value);return new l({export:e.export,input:e.input,inputBytes:e.input_bytes,output:e.output,outputBytes:e.output_bytes,logs:e.logs,functionId:e.function_id,fuelConsumed:e.fuel_consumed,target:e.target,errorMessage:e.error_message,errorType:e.error_type,inputQueryVariablesMetafieldValue:r,inputQueryVariablesMetafieldNamespace:e.input_query_variables_metafield_namespace,inputQueryVariablesMetafieldKey:e.input_query_variables_metafield_key})}function re(t){let e=JSON.parse(t);return new h({cacheEntryEpochMs:e.cache_entry_epoch_ms,cacheTtlMs:e.cache_ttl_ms,httpRequest:e.http_request,httpResponse:e.http_response})}var k={no_cached_response:_.NoCachedResponse,cached_response_about_to_expire:_.CacheAboutToExpire};function se(t){let e=JSON.parse(t);return new d({reason:k[e.reason]??_.Unknown,httpRequest:e.http_request})}function oe(t){let e=JSON.parse(t);return new y({attempt:e.attempt,connectTimeMs:e.connect_time_ms??null,writeReadTimeMs:e.write_read_time_ms??null,httpRequest:e.http_request,httpResponse:e.http_response??null,error:e.error??null})}var ne=async t=>{let{errors:e}=t.response,r=L,o=null,n="not_attempted";if(e.length>0)if(i(`Errors: ${e.map(s=>s.message).join(", ")}`),e.some(s=>s.status===401))try{o=await t.onResubscribe(),n="succeeded"}catch(s){i(`Failed to resubscribe to app logs: ${s}`),r=T,n="failed",t.onThrottle(r)}else e.some(s=>s.status===429)?(r=T,t.onThrottle(r)):(r=P,t.onUnknownError(r));return{retryIntervalMs:r,nextJwtToken:o,resubscribeResult:n}};function ae(t){return t.allExtensions.flatMap(e=>e.isFunctionExtension?[`extensions.${e.configuration.handle}`]:[])}var ie=({appLog:t,appLogPayload:e,storeName:r,prettyPrint:o=!0})=>{let{cursor:n,...s}=t,a=p({...s,payload:e,localTime:N(t.log_timestamp),storeName:r});return e instanceof l&&(a.payload.logs=e.logs.split(`
2
2
  `).filter(Boolean),a.payload.inputQueryVariablesMetafieldValue&&(a.payload.inputQueryVariablesMetafieldValue=x(a.payload.inputQueryVariablesMetafieldValue))),o?JSON.stringify(a,null,2):JSON.stringify(a)},pe=(t,e)=>{let r=p(JSON.parse(t));return e===U?new l(r):e===V?new h(r):e===q?new d(r):e===J?new y(r):r},ce=async(t,e,r,o)=>{let n=await t.subscribeToAppLogs(e,r);if(!n.appLogsSubscribe)throw new E("Failed to subscribe to app logs: No response received");let{jwtToken:s,success:a,errors:f}=n.appLogsSubscribe;if(i(`Token: ${s}
3
3
  `),i(`API Key: ${e.apiKey}
4
4
  `),f&&f.length>0){let c=f.join(", ");throw await O({stripAnsi:!1},()=>{m(`Errors subscribing to app logs: ${c}`,o),m("App log streaming is not available in this session.",o)}),new E(c)}else{if(!s)throw new E("Failed to subscribe to app logs: No response received");let c=Array.isArray(e.shopIds)?e.shopIds:[e.shopIds];i(`Subscribed to App Events for shop ID(s) ${c.join(", ")}`),a!==void 0&&i(`Success: ${a}
@@ -1 +1 @@
1
- import{m as y}from"./chunk-OUPJTPTH.js";import{Ua as s,Xa as f,na as c}from"./chunk-UHI4NMIL.js";import{d as u,i as S,p as A}from"./chunk-773TIA5M.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();var g=["@shopify/ui-extensions",{name:"@shopify/ui-extensions-react",versions:["2025-07"]}],_={"polaris-app-home":{publicPackages:["@shopify/polaris-types","@shopify/app-bridge-types","@shopify/app-bridge-react"],versioned:!1},"polaris-admin-extensions":{publicPackages:g,versioned:!0,extensionSurfaceName:"admin"},"polaris-checkout-extensions":{publicPackages:g,versioned:!0,extensionSurfaceName:"checkout"},"polaris-customer-account-extensions":{publicPackages:g,versioned:!0,extensionSurfaceName:"customer-account"},"pos-ui":{publicPackages:g,versioned:!0,extensionSurfaceName:"point-of-sale"},hydrogen:{publicPackages:["@shopify/hydrogen"],versioned:!0}},F=Object.keys(_);function k(n){return Object.prototype.hasOwnProperty.call(_,n)}function w(n){return typeof n=="string"?n:n.name}function z(n,e){return typeof n=="string"||!n.versions||e===void 0?!0:n.versions.includes(e)}p();var V=["admin","storefront-graphql","customer","partner","payments-apps"];function $(n){return V.includes(n)}var P={functions_discount:"Discount Function",functions_cart_transform:"Cart Transform Function",functions_cart_checkout_validation:"Cart Checkout Validation Function",functions_delivery_customization:"Delivery Customization Function",functions_fulfillment_constraints:"Fulfillment Constraints Function",functions_order_routing_location_rule:"Order Routing Location Rule Function",functions_payment_customization:"Payment Customization Function",functions_order_discounts:"Order Discounts Function",functions_product_discounts:"Product Discounts Function",functions_shipping_discounts:"Shipping Discounts Function",functions_discounts_allocator:"Discounts Allocator Function",functions_local_pickup_delivery_option_generator:"Local Pickup Delivery Option Generator Function",functions_pickup_point_delivery_option_generator:"Pickup Point Delivery Option Generator Function"},G=Object.keys(P);function L(n){return Object.prototype.hasOwnProperty.call(P,n)}p();import{gunzipSync as d}from"node:zlib";var N="supported-versions-schema.json";function O(n,e,t,o){let r=[["assets","validate",e],["dist","assets","validate",e]],a=n;for(;;){for(let m of r){let l=u(a,...m);if(o(u(l,...t)))return l}let i=S(a);if(i===a)return;a=i}}var h=new Map;function X(n,e){let t=`${n}::${e.join("/")}`,o=h.get(t);if(o!==void 0)return o;let r=O(A(import.meta.url),n,e,s);if(!r)throw new y(`Could not locate the bundled '${n}' validation data.`,"This is an internal packaging error \u2014 please report it.");return h.set(t,r),r}function E(n){let e=u(n,N);return JSON.parse(c(e).toString("utf8"))}var C=new Map;function I(n){let e=C.get(n);if(e!==void 0)return e;let t;if(n.endsWith(".gz"))t=d(c(n)).toString("utf8");else if(s(n))t=c(n).toString("utf8");else{let o=`${n}.gz`;if(!s(o))throw new y(`Schema file not found at ${n} or ${o}`);t=d(c(o)).toString("utf8")}return C.set(n,t),t}function B(n,e,t){return u(n,`${e}_${t}.json`)}function Y(n){return{readVersionCatalog(){return E(n)},readSchemaContent(e){return Promise.resolve(I(e.schemaPath))}}}function T(n){return u(n,"types")}function Z(n){let e=u(T(n),"index.json");return JSON.parse(c(e).toString("utf8"))}var x=new Map;function nn(n,e){let t=u(n,e);if(x.has(t))return x.get(t);let o=b(t);return x.set(t,o),o}function b(n){if(n.endsWith(".gz")){if(s(n))return d(c(n)).toString("utf8");let t=n.slice(0,-3);return s(t)?c(t).toString("utf8"):void 0}if(s(n))return c(n).toString("utf8");let e=`${n}.gz`;return s(e)?d(c(e)).toString("utf8"):void 0}function en(n,e){if(!s(n))return[];let t=f(["**/*.d.ts","**/*.d.ts.gz","**/*.ts","**/*.ts.gz"],{cwd:n,onlyFiles:!0,dot:!1,ignore:["**/node_modules/**"]}),o=new Set,r=[];for(let a of t){let i=a.endsWith(".gz")?a.slice(0,-3):a,m=i.endsWith(".d.ts"),l=i.endsWith(".ts")&&!i.endsWith(".test.ts")&&!i.endsWith(".spec.ts");!m&&!l||e&&!e(i)||o.has(i)||(o.add(i),r.push({assetPath:u(n,a),relPath:i}))}return r}function tn(n){return s(n)?f("*",{cwd:n,onlyDirectories:!0,dot:!1}):[]}function on(n){return s(n)?f("*",{cwd:n,onlyFiles:!0,dot:!1}):[]}p();function v(n,e){return n[e]??[]}function R(n,e){return v(n,e).map(t=>t.name)}function D(n,e){let t=v(n,e);return t.find(o=>o.latestVersion)?.name??t[0]?.name}function cn(n,e,t){let o=R(n,e);if(o.length===0)return{ok:!1,reason:"no_versions",supportedVersions:o};if(t)return o.includes(t)?{ok:!0,version:t,source:"explicit",supportedVersions:o}:{ok:!1,reason:"unsupported_version",supportedVersions:o};let r=D(n,e);return r?{ok:!0,version:r,source:"default",supportedVersions:o}:{ok:!1,reason:"no_versions",supportedVersions:o}}export{_ as a,F as b,k as c,w as d,z as e,X as f,E as g,B as h,Y as i,T as j,Z as k,nn as l,en as m,tn as n,on as o,R as p,cn as q,V as r,$ as s,G as t,L as u};
1
+ import{m as y}from"./chunk-O6BUPYXH.js";import{Ua as s,Xa as f,na as c}from"./chunk-KNLPWHHJ.js";import{d as u,i as S,p as A}from"./chunk-773TIA5M.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();var g=["@shopify/ui-extensions",{name:"@shopify/ui-extensions-react",versions:["2025-07"]}],_={"polaris-app-home":{publicPackages:["@shopify/polaris-types","@shopify/app-bridge-types","@shopify/app-bridge-react"],versioned:!1},"polaris-admin-extensions":{publicPackages:g,versioned:!0,extensionSurfaceName:"admin"},"polaris-checkout-extensions":{publicPackages:g,versioned:!0,extensionSurfaceName:"checkout"},"polaris-customer-account-extensions":{publicPackages:g,versioned:!0,extensionSurfaceName:"customer-account"},"pos-ui":{publicPackages:g,versioned:!0,extensionSurfaceName:"point-of-sale"},hydrogen:{publicPackages:["@shopify/hydrogen"],versioned:!0}},F=Object.keys(_);function k(n){return Object.prototype.hasOwnProperty.call(_,n)}function w(n){return typeof n=="string"?n:n.name}function z(n,e){return typeof n=="string"||!n.versions||e===void 0?!0:n.versions.includes(e)}p();var V=["admin","storefront-graphql","customer","partner","payments-apps"];function $(n){return V.includes(n)}var P={functions_discount:"Discount Function",functions_cart_transform:"Cart Transform Function",functions_cart_checkout_validation:"Cart Checkout Validation Function",functions_delivery_customization:"Delivery Customization Function",functions_fulfillment_constraints:"Fulfillment Constraints Function",functions_order_routing_location_rule:"Order Routing Location Rule Function",functions_payment_customization:"Payment Customization Function",functions_order_discounts:"Order Discounts Function",functions_product_discounts:"Product Discounts Function",functions_shipping_discounts:"Shipping Discounts Function",functions_discounts_allocator:"Discounts Allocator Function",functions_local_pickup_delivery_option_generator:"Local Pickup Delivery Option Generator Function",functions_pickup_point_delivery_option_generator:"Pickup Point Delivery Option Generator Function"},G=Object.keys(P);function L(n){return Object.prototype.hasOwnProperty.call(P,n)}p();import{gunzipSync as d}from"node:zlib";var N="supported-versions-schema.json";function O(n,e,t,o){let r=[["assets","validate",e],["dist","assets","validate",e]],a=n;for(;;){for(let m of r){let l=u(a,...m);if(o(u(l,...t)))return l}let i=S(a);if(i===a)return;a=i}}var h=new Map;function X(n,e){let t=`${n}::${e.join("/")}`,o=h.get(t);if(o!==void 0)return o;let r=O(A(import.meta.url),n,e,s);if(!r)throw new y(`Could not locate the bundled '${n}' validation data.`,"This is an internal packaging error \u2014 please report it.");return h.set(t,r),r}function E(n){let e=u(n,N);return JSON.parse(c(e).toString("utf8"))}var C=new Map;function I(n){let e=C.get(n);if(e!==void 0)return e;let t;if(n.endsWith(".gz"))t=d(c(n)).toString("utf8");else if(s(n))t=c(n).toString("utf8");else{let o=`${n}.gz`;if(!s(o))throw new y(`Schema file not found at ${n} or ${o}`);t=d(c(o)).toString("utf8")}return C.set(n,t),t}function B(n,e,t){return u(n,`${e}_${t}.json`)}function Y(n){return{readVersionCatalog(){return E(n)},readSchemaContent(e){return Promise.resolve(I(e.schemaPath))}}}function T(n){return u(n,"types")}function Z(n){let e=u(T(n),"index.json");return JSON.parse(c(e).toString("utf8"))}var x=new Map;function nn(n,e){let t=u(n,e);if(x.has(t))return x.get(t);let o=b(t);return x.set(t,o),o}function b(n){if(n.endsWith(".gz")){if(s(n))return d(c(n)).toString("utf8");let t=n.slice(0,-3);return s(t)?c(t).toString("utf8"):void 0}if(s(n))return c(n).toString("utf8");let e=`${n}.gz`;return s(e)?d(c(e)).toString("utf8"):void 0}function en(n,e){if(!s(n))return[];let t=f(["**/*.d.ts","**/*.d.ts.gz","**/*.ts","**/*.ts.gz"],{cwd:n,onlyFiles:!0,dot:!1,ignore:["**/node_modules/**"]}),o=new Set,r=[];for(let a of t){let i=a.endsWith(".gz")?a.slice(0,-3):a,m=i.endsWith(".d.ts"),l=i.endsWith(".ts")&&!i.endsWith(".test.ts")&&!i.endsWith(".spec.ts");!m&&!l||e&&!e(i)||o.has(i)||(o.add(i),r.push({assetPath:u(n,a),relPath:i}))}return r}function tn(n){return s(n)?f("*",{cwd:n,onlyDirectories:!0,dot:!1}):[]}function on(n){return s(n)?f("*",{cwd:n,onlyFiles:!0,dot:!1}):[]}p();function v(n,e){return n[e]??[]}function R(n,e){return v(n,e).map(t=>t.name)}function D(n,e){let t=v(n,e);return t.find(o=>o.latestVersion)?.name??t[0]?.name}function cn(n,e,t){let o=R(n,e);if(o.length===0)return{ok:!1,reason:"no_versions",supportedVersions:o};if(t)return o.includes(t)?{ok:!0,version:t,source:"explicit",supportedVersions:o}:{ok:!1,reason:"unsupported_version",supportedVersions:o};let r=D(n,e);return r?{ok:!0,version:r,source:"default",supportedVersions:o}:{ok:!1,reason:"no_versions",supportedVersions:o}}export{_ as a,F as b,k as c,w as d,z as e,X as f,E as g,B as h,Y as i,T as j,Z as k,nn as l,en as m,tn as n,on as o,R as p,cn as q,V as r,$ as s,G as t,L as u};