@seedprotocol/publish 0.6.8 → 0.6.10

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 (278) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -19
  3. package/dist/{chainConfig-3sSqEVQh.js → chainConfig-DWzoOtkS.js} +439 -419
  4. package/dist/chainConfig-DWzoOtkS.js.map +1 -0
  5. package/dist/config.d.ts +5 -11
  6. package/dist/config.d.ts.map +1 -1
  7. package/dist/ensureAutomationSessionKey-h3zOmDr5.js +84 -0
  8. package/dist/ensureAutomationSessionKey-h3zOmDr5.js.map +1 -0
  9. package/dist/{ensureModularPublishBootstrap-DGBKVGg5.js → ensureModularPublishBootstrap-BImiIFJe.js} +9 -10
  10. package/dist/{ensureModularPublishBootstrap-5HJDqJJM.js.map → ensureModularPublishBootstrap-BImiIFJe.js.map} +1 -1
  11. package/dist/{ensureSmartWalletThenPublish-D5GSZRyZ.js → ensureSmartWalletThenPublish-DuOYPJFd.js} +9 -10
  12. package/dist/{ensureSmartWalletThenPublish-D5GSZRyZ.js.map → ensureSmartWalletThenPublish-DuOYPJFd.js.map} +1 -1
  13. package/dist/errors.d.ts +9 -0
  14. package/dist/errors.d.ts.map +1 -1
  15. package/dist/helpers/abi/executor.d.ts +16 -7
  16. package/dist/helpers/abi/executor.d.ts.map +1 -1
  17. package/dist/helpers/abi/factory.d.ts +11 -0
  18. package/dist/helpers/abi/factory.d.ts.map +1 -1
  19. package/dist/helpers/abi/publisher.d.ts +7 -74
  20. package/dist/helpers/abi/publisher.d.ts.map +1 -1
  21. package/dist/helpers/abi/seedExecutorRouter.d.ts +9 -1
  22. package/dist/helpers/abi/seedExecutorRouter.d.ts.map +1 -1
  23. package/dist/helpers/adapters/thirdwebAccount.d.ts.map +1 -1
  24. package/dist/helpers/chainClient.d.ts +18 -2
  25. package/dist/helpers/chainClient.d.ts.map +1 -1
  26. package/dist/helpers/contracts/index.d.ts +15 -18
  27. package/dist/helpers/contracts/index.d.ts.map +1 -1
  28. package/dist/helpers/describeRevert.d.ts +3 -2
  29. package/dist/helpers/describeRevert.d.ts.map +1 -1
  30. package/dist/helpers/enrollPublishAutomation.d.ts +2 -2
  31. package/dist/helpers/enrollPublishAutomation.d.ts.map +1 -1
  32. package/dist/helpers/ensureAutomationSessionKey.d.ts.map +1 -1
  33. package/dist/helpers/ensureExecutorModule.d.ts +28 -5
  34. package/dist/helpers/ensureExecutorModule.d.ts.map +1 -1
  35. package/dist/helpers/executorModuleReadiness.d.ts +15 -1
  36. package/dist/helpers/executorModuleReadiness.d.ts.map +1 -1
  37. package/dist/helpers/gasLog.d.ts +8 -0
  38. package/dist/helpers/gasLog.d.ts.map +1 -0
  39. package/dist/helpers/seedPaymaster.d.ts +27 -0
  40. package/dist/helpers/seedPaymaster.d.ts.map +1 -0
  41. package/dist/helpers/thirdweb.d.ts.map +1 -1
  42. package/dist/index.d.ts +3 -4
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +316 -342
  45. package/dist/index.js.map +1 -1
  46. package/dist/{managedAccountAdmin-B64V1rlU.js → managedAccountAdmin-B4HkLWWE.js} +9 -10
  47. package/dist/{managedAccountAdmin-B64V1rlU.js.map → managedAccountAdmin-B4HkLWWE.js.map} +1 -1
  48. package/dist/{publishAuthorization-CxBkijU6.js → publishAuthorization-DgDI4zor.js} +1104 -1018
  49. package/dist/publishAuthorization-DgDI4zor.js.map +1 -0
  50. package/dist/{publishThirdwebClient-CQ29pzG2.js → publishThirdwebClient-CO18ST7C.js} +2 -2
  51. package/dist/{publishThirdwebClient-CQ29pzG2.js.map → publishThirdwebClient-CO18ST7C.js.map} +1 -1
  52. package/dist/{resolveRevokeAccount-CehU81k6.js → resolveRevokeAccount-DsNod8ti.js} +11 -11
  53. package/dist/{resolveRevokeAccount-B5iXpuRT.js.map → resolveRevokeAccount-DsNod8ti.js.map} +1 -1
  54. package/dist/thirdweb.d.ts +2 -1
  55. package/dist/thirdweb.d.ts.map +1 -1
  56. package/dist/thirdweb.js +155 -156
  57. package/dist/thirdweb.js.map +1 -1
  58. package/dist/{worker-2dUZSapK.js → worker-CN7zg73B.js} +2 -2
  59. package/dist/{worker-2dUZSapK.js.map → worker-CN7zg73B.js.map} +1 -1
  60. package/package.json +6 -6
  61. package/dist/chainConfig-3sSqEVQh.js.map +0 -1
  62. package/dist/chainConfig-3wlYarAG.js +0 -1433
  63. package/dist/chainConfig-3wlYarAG.js.map +0 -1
  64. package/dist/chainConfig-BRcsMopd.js +0 -1442
  65. package/dist/chainConfig-BRcsMopd.js.map +0 -1
  66. package/dist/chainConfig-BYm5OXpk.js +0 -1433
  67. package/dist/chainConfig-BYm5OXpk.js.map +0 -1
  68. package/dist/chainConfig-CfVGYAsY.js +0 -1311
  69. package/dist/chainConfig-CfVGYAsY.js.map +0 -1
  70. package/dist/chainConfig-DDA4YmAB.js +0 -1424
  71. package/dist/chainConfig-DDA4YmAB.js.map +0 -1
  72. package/dist/config-BA9la8B6.js +0 -941
  73. package/dist/config-BA9la8B6.js.map +0 -1
  74. package/dist/config-BqguD2Tt.js +0 -806
  75. package/dist/config-BqguD2Tt.js.map +0 -1
  76. package/dist/config-CPBd5C_b.js +0 -1201
  77. package/dist/config-CPBd5C_b.js.map +0 -1
  78. package/dist/config-DkIapO94.js +0 -955
  79. package/dist/config-DkIapO94.js.map +0 -1
  80. package/dist/config-EQZZNH9H.js +0 -955
  81. package/dist/config-EQZZNH9H.js.map +0 -1
  82. package/dist/config-qjpaJcBA.js +0 -947
  83. package/dist/config-qjpaJcBA.js.map +0 -1
  84. package/dist/deploy-BJYwLfz-.js +0 -15
  85. package/dist/deploy-BJYwLfz-.js.map +0 -1
  86. package/dist/enrollPublishAutomation-DYQMoylY.js +0 -3422
  87. package/dist/enrollPublishAutomation-DYQMoylY.js.map +0 -1
  88. package/dist/ensureAutomationSessionKey-BMHLKfjj.js +0 -85
  89. package/dist/ensureAutomationSessionKey-BMHLKfjj.js.map +0 -1
  90. package/dist/ensureAutomationSessionKey-BZ9_3FMW.js +0 -86
  91. package/dist/ensureAutomationSessionKey-BZ9_3FMW.js.map +0 -1
  92. package/dist/ensureAutomationSessionKey-Bq0PaTYE.js +0 -84
  93. package/dist/ensureAutomationSessionKey-Bq0PaTYE.js.map +0 -1
  94. package/dist/ensureAutomationSessionKey-C8D7BFjU.js +0 -85
  95. package/dist/ensureAutomationSessionKey-C8D7BFjU.js.map +0 -1
  96. package/dist/ensureAutomationSessionKey-CClLVX2w.js +0 -85
  97. package/dist/ensureAutomationSessionKey-CClLVX2w.js.map +0 -1
  98. package/dist/ensureAutomationSessionKey-CNNN1jBQ.js +0 -85
  99. package/dist/ensureAutomationSessionKey-CNNN1jBQ.js.map +0 -1
  100. package/dist/ensureAutomationSessionKey-D8Gki6U6.js +0 -85
  101. package/dist/ensureAutomationSessionKey-D8Gki6U6.js.map +0 -1
  102. package/dist/ensureAutomationSessionKey-DEH7nwUc.js +0 -86
  103. package/dist/ensureAutomationSessionKey-DEH7nwUc.js.map +0 -1
  104. package/dist/ensureAutomationSessionKey-DKriW4Hr.js +0 -85
  105. package/dist/ensureAutomationSessionKey-DKriW4Hr.js.map +0 -1
  106. package/dist/ensureAutomationSessionKey-Dhvbii2M.js +0 -86
  107. package/dist/ensureAutomationSessionKey-Dhvbii2M.js.map +0 -1
  108. package/dist/ensureAutomationSessionKey-Dyfk8qVp.js +0 -85
  109. package/dist/ensureAutomationSessionKey-Dyfk8qVp.js.map +0 -1
  110. package/dist/ensureModularPublishBootstrap-5HJDqJJM.js +0 -24
  111. package/dist/ensureModularPublishBootstrap-BW8jKN_A.js +0 -24
  112. package/dist/ensureModularPublishBootstrap-BW8jKN_A.js.map +0 -1
  113. package/dist/ensureModularPublishBootstrap-Btih5xbB.js +0 -129
  114. package/dist/ensureModularPublishBootstrap-Btih5xbB.js.map +0 -1
  115. package/dist/ensureModularPublishBootstrap-C8wdnH1P.js +0 -128
  116. package/dist/ensureModularPublishBootstrap-C8wdnH1P.js.map +0 -1
  117. package/dist/ensureModularPublishBootstrap-CI4U08Gc.js +0 -129
  118. package/dist/ensureModularPublishBootstrap-CI4U08Gc.js.map +0 -1
  119. package/dist/ensureModularPublishBootstrap-CcU-hXll.js +0 -128
  120. package/dist/ensureModularPublishBootstrap-CcU-hXll.js.map +0 -1
  121. package/dist/ensureModularPublishBootstrap-CdrykHAi.js +0 -24
  122. package/dist/ensureModularPublishBootstrap-CdrykHAi.js.map +0 -1
  123. package/dist/ensureModularPublishBootstrap-DGBKVGg5.js.map +0 -1
  124. package/dist/ensureModularPublishBootstrap-DaREOqSc.js +0 -129
  125. package/dist/ensureModularPublishBootstrap-DaREOqSc.js.map +0 -1
  126. package/dist/ensureModularPublishBootstrap-DxIG-LUP.js +0 -24
  127. package/dist/ensureModularPublishBootstrap-DxIG-LUP.js.map +0 -1
  128. package/dist/ensureModularPublishBootstrap-Jm1AAqBo.js +0 -127
  129. package/dist/ensureModularPublishBootstrap-Jm1AAqBo.js.map +0 -1
  130. package/dist/ensureSessionKey-D2Lq-56x.js +0 -363
  131. package/dist/ensureSessionKey-D2Lq-56x.js.map +0 -1
  132. package/dist/ensureSmartWalletThenPublish-BFPugsKJ.js +0 -48
  133. package/dist/ensureSmartWalletThenPublish-BFPugsKJ.js.map +0 -1
  134. package/dist/ensureSmartWalletThenPublish-BSYzckyS.js +0 -49
  135. package/dist/ensureSmartWalletThenPublish-BSYzckyS.js.map +0 -1
  136. package/dist/ensureSmartWalletThenPublish-Bf8FN1un.js +0 -49
  137. package/dist/ensureSmartWalletThenPublish-Bf8FN1un.js.map +0 -1
  138. package/dist/ensureSmartWalletThenPublish-Bl415Ss6.js +0 -48
  139. package/dist/ensureSmartWalletThenPublish-Bl415Ss6.js.map +0 -1
  140. package/dist/ensureSmartWalletThenPublish-Bmm5Fpat.js +0 -49
  141. package/dist/ensureSmartWalletThenPublish-Bmm5Fpat.js.map +0 -1
  142. package/dist/ensureSmartWalletThenPublish-CE7acryB.js +0 -49
  143. package/dist/ensureSmartWalletThenPublish-CE7acryB.js.map +0 -1
  144. package/dist/ensureSmartWalletThenPublish-DAomriGc.js +0 -48
  145. package/dist/ensureSmartWalletThenPublish-DAomriGc.js.map +0 -1
  146. package/dist/ensureSmartWalletThenPublish-DaZf3q5S.js +0 -48
  147. package/dist/ensureSmartWalletThenPublish-DaZf3q5S.js.map +0 -1
  148. package/dist/ensureSmartWalletThenPublish-ekb0xJRn.js +0 -48
  149. package/dist/ensureSmartWalletThenPublish-ekb0xJRn.js.map +0 -1
  150. package/dist/ensureSmartWalletThenPublish-v5fhvKxZ.js +0 -48
  151. package/dist/ensureSmartWalletThenPublish-v5fhvKxZ.js.map +0 -1
  152. package/dist/errors-Du3LNbJN.js +0 -70
  153. package/dist/errors-Du3LNbJN.js.map +0 -1
  154. package/dist/errors-PZAaDlkq.js +0 -79
  155. package/dist/errors-PZAaDlkq.js.map +0 -1
  156. package/dist/helpers/adapters/managedAccountTxSender.d.ts +0 -21
  157. package/dist/helpers/adapters/managedAccountTxSender.d.ts.map +0 -1
  158. package/dist/helpers/modularAccount/abi.d.ts +0 -173
  159. package/dist/helpers/modularAccount/abi.d.ts.map +0 -1
  160. package/dist/helpers/modularAccount/deploy.d.ts +0 -13
  161. package/dist/helpers/modularAccount/deploy.d.ts.map +0 -1
  162. package/dist/helpers/modularAccount/eip712.d.ts +0 -30
  163. package/dist/helpers/modularAccount/eip712.d.ts.map +0 -1
  164. package/dist/helpers/modularAccount/encode.d.ts +0 -16
  165. package/dist/helpers/modularAccount/encode.d.ts.map +0 -1
  166. package/dist/helpers/modularAccount/ensureModule.d.ts +0 -10
  167. package/dist/helpers/modularAccount/ensureModule.d.ts.map +0 -1
  168. package/dist/helpers/modularAccount/ensureSessionKey.d.ts +0 -25
  169. package/dist/helpers/modularAccount/ensureSessionKey.d.ts.map +0 -1
  170. package/dist/helpers/modularAccount/index.d.ts +0 -9
  171. package/dist/helpers/modularAccount/index.d.ts.map +0 -1
  172. package/dist/helpers/modularAccount/permissions.d.ts +0 -32
  173. package/dist/helpers/modularAccount/permissions.d.ts.map +0 -1
  174. package/dist/helpers/modularAccount/reads.d.ts +0 -28
  175. package/dist/helpers/modularAccount/reads.d.ts.map +0 -1
  176. package/dist/helpers/thirdwebEnrollPublishAutomation.d.ts +0 -31
  177. package/dist/helpers/thirdwebEnrollPublishAutomation.d.ts.map +0 -1
  178. package/dist/helpers/thirdwebModularBootstrap.d.ts +0 -8
  179. package/dist/helpers/thirdwebModularBootstrap.d.ts.map +0 -1
  180. package/dist/helpers/transformPayloadToIntegerIds.d.ts +0 -34
  181. package/dist/helpers/transformPayloadToIntegerIds.d.ts.map +0 -1
  182. package/dist/managedAccountAdmin-BVLGWpEb.js +0 -29
  183. package/dist/managedAccountAdmin-BVLGWpEb.js.map +0 -1
  184. package/dist/managedAccountAdmin-Bje6X8Ds.js +0 -29
  185. package/dist/managedAccountAdmin-Bje6X8Ds.js.map +0 -1
  186. package/dist/managedAccountAdmin-C84-IlQ9.js +0 -29
  187. package/dist/managedAccountAdmin-C84-IlQ9.js.map +0 -1
  188. package/dist/managedAccountAdmin-DhCRBoPX.js +0 -29
  189. package/dist/managedAccountAdmin-DhCRBoPX.js.map +0 -1
  190. package/dist/publishAuthorization-B0G1em4a.js +0 -3695
  191. package/dist/publishAuthorization-B0G1em4a.js.map +0 -1
  192. package/dist/publishAuthorization-B1BVVfp0.js +0 -3604
  193. package/dist/publishAuthorization-B1BVVfp0.js.map +0 -1
  194. package/dist/publishAuthorization-Bltn3y_K.js +0 -3599
  195. package/dist/publishAuthorization-Bltn3y_K.js.map +0 -1
  196. package/dist/publishAuthorization-By2Tt9kW.js +0 -3912
  197. package/dist/publishAuthorization-By2Tt9kW.js.map +0 -1
  198. package/dist/publishAuthorization-CSN2FsQk.js +0 -3479
  199. package/dist/publishAuthorization-CSN2FsQk.js.map +0 -1
  200. package/dist/publishAuthorization-CxBkijU6.js.map +0 -1
  201. package/dist/publishAuthorization-CxWY7lAQ.js +0 -3706
  202. package/dist/publishAuthorization-CxWY7lAQ.js.map +0 -1
  203. package/dist/publishAuthorization-DEriY_jm.js +0 -3687
  204. package/dist/publishAuthorization-DEriY_jm.js.map +0 -1
  205. package/dist/publishAuthorization-DfAQs1sN.js +0 -3707
  206. package/dist/publishAuthorization-DfAQs1sN.js.map +0 -1
  207. package/dist/publishAuthorization-DgdmgLTa.js +0 -3520
  208. package/dist/publishAuthorization-DgdmgLTa.js.map +0 -1
  209. package/dist/publishAuthorization-DqhhCAhd.js +0 -3652
  210. package/dist/publishAuthorization-DqhhCAhd.js.map +0 -1
  211. package/dist/publishThirdwebClient-BdgkcqM7.js +0 -18
  212. package/dist/publishThirdwebClient-BdgkcqM7.js.map +0 -1
  213. package/dist/publishThirdwebClient-BkmDN480.js +0 -18
  214. package/dist/publishThirdwebClient-BkmDN480.js.map +0 -1
  215. package/dist/publishThirdwebClient-BnDhP3N-.js +0 -18
  216. package/dist/publishThirdwebClient-BnDhP3N-.js.map +0 -1
  217. package/dist/publishThirdwebClient-CZIVmr9Z.js +0 -18
  218. package/dist/publishThirdwebClient-CZIVmr9Z.js.map +0 -1
  219. package/dist/publishThirdwebClient-DroRrOFQ.js +0 -18
  220. package/dist/publishThirdwebClient-DroRrOFQ.js.map +0 -1
  221. package/dist/publishThirdwebClient-DzXFjQ7L.js +0 -18
  222. package/dist/publishThirdwebClient-DzXFjQ7L.js.map +0 -1
  223. package/dist/publishThirdwebClient-Dzb2vcEs.js +0 -18
  224. package/dist/publishThirdwebClient-Dzb2vcEs.js.map +0 -1
  225. package/dist/publishThirdwebClient-i8P7fivi.js +0 -18
  226. package/dist/publishThirdwebClient-i8P7fivi.js.map +0 -1
  227. package/dist/publishWalletRegistry-Cugh691z.js +0 -37
  228. package/dist/publishWalletRegistry-Cugh691z.js.map +0 -1
  229. package/dist/resolveRevokeAccount-B5iXpuRT.js +0 -38
  230. package/dist/resolveRevokeAccount-B7ImSb4Y.js +0 -38
  231. package/dist/resolveRevokeAccount-B7ImSb4Y.js.map +0 -1
  232. package/dist/resolveRevokeAccount-BEhKQBTm.js +0 -38
  233. package/dist/resolveRevokeAccount-BEhKQBTm.js.map +0 -1
  234. package/dist/resolveRevokeAccount-BM1j2l5Q.js +0 -38
  235. package/dist/resolveRevokeAccount-BM1j2l5Q.js.map +0 -1
  236. package/dist/resolveRevokeAccount-BtVG0xxc.js +0 -38
  237. package/dist/resolveRevokeAccount-BtVG0xxc.js.map +0 -1
  238. package/dist/resolveRevokeAccount-CJZZdBcQ.js +0 -39
  239. package/dist/resolveRevokeAccount-CJZZdBcQ.js.map +0 -1
  240. package/dist/resolveRevokeAccount-CaIMuCee.js +0 -39
  241. package/dist/resolveRevokeAccount-CaIMuCee.js.map +0 -1
  242. package/dist/resolveRevokeAccount-CehU81k6.js.map +0 -1
  243. package/dist/resolveRevokeAccount-Cg4TQgnd.js +0 -38
  244. package/dist/resolveRevokeAccount-Cg4TQgnd.js.map +0 -1
  245. package/dist/resolveRevokeAccount-DHnxtEIj.js +0 -39
  246. package/dist/resolveRevokeAccount-DHnxtEIj.js.map +0 -1
  247. package/dist/resolveRevokeAccount-S-2WXkNh.js +0 -38
  248. package/dist/resolveRevokeAccount-S-2WXkNh.js.map +0 -1
  249. package/dist/resolveRevokeAccount-yWARIv9i.js +0 -38
  250. package/dist/resolveRevokeAccount-yWARIv9i.js.map +0 -1
  251. package/dist/seedSigner-CFzMD7Rb.js +0 -66
  252. package/dist/seedSigner-CFzMD7Rb.js.map +0 -1
  253. package/dist/thirdweb-BoksPRz3.js +0 -194
  254. package/dist/thirdweb-BoksPRz3.js.map +0 -1
  255. package/dist/thirdwebAccount-C2iOcp4_.js +0 -59
  256. package/dist/thirdwebAccount-C2iOcp4_.js.map +0 -1
  257. package/dist/worker-B1PcFPLi.js +0 -69
  258. package/dist/worker-B1PcFPLi.js.map +0 -1
  259. package/dist/worker-B8gN5WTx.js +0 -69
  260. package/dist/worker-B8gN5WTx.js.map +0 -1
  261. package/dist/worker-BCG1r0AS.js +0 -69
  262. package/dist/worker-BCG1r0AS.js.map +0 -1
  263. package/dist/worker-BgErCNTb.js +0 -69
  264. package/dist/worker-BgErCNTb.js.map +0 -1
  265. package/dist/worker-C07rPV2G.js +0 -69
  266. package/dist/worker-C07rPV2G.js.map +0 -1
  267. package/dist/worker-C9Za_dlQ.js +0 -69
  268. package/dist/worker-C9Za_dlQ.js.map +0 -1
  269. package/dist/worker-CEgulQnm.js +0 -69
  270. package/dist/worker-CEgulQnm.js.map +0 -1
  271. package/dist/worker-C_TL94He.js +0 -69
  272. package/dist/worker-C_TL94He.js.map +0 -1
  273. package/dist/worker-DBC_g-3I.js +0 -69
  274. package/dist/worker-DBC_g-3I.js.map +0 -1
  275. package/dist/worker-DypHzXgH.js +0 -69
  276. package/dist/worker-DypHzXgH.js.map +0 -1
  277. package/dist/worker-ZL4Wg19t.js +0 -69
  278. package/dist/worker-ZL4Wg19t.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,24 +1,23 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, G as o, H as s, I as c, J as l, K as u, O as d, P as f, Q as p, R as m, S as h, T as g, V as _, _t as v, a as y, at as b, b as ee, bt as te, c as ne, ct as x, d as re, f as ie, gt as ae, i as oe, j as se, k as S, l as ce, n as le, o as C, ot as ue, pt as de, r as fe, s as pe, t as me, w as he, x as ge, y as _e, yt as w } from "./chainConfig-BYm5OXpk.js";
2
- import { a as ve, i as ye, n as be, o as xe, r as Se, s as Ce, t as we } from "./errors-Du3LNbJN.js";
3
- import { $ as Te, G as Ee, J as De, K as Oe, Q as ke, X as Ae, Y as je, Z as Me, _ as Ne, a as Pe, b as Fe, c as Ie, et as Le, g as Re, h as T, i as ze, l as Be, n as Ve, o as He, q as Ue, r as We, s as Ge, t as Ke, v as qe, y as Je } from "./publishAuthorization-CxBkijU6.js";
4
- import { n as Ye, r as Xe } from "./collectBatchUids-CnIe9jUB.js";
5
- import { BaseDb as E, arweaveL1FinalizeJobs as D, isItemOwned as Ze, publishProcesses as O, uploadProcesses as Qe } from "@seedprotocol/sdk";
6
- import { createPublicClient as $e, createWalletClient as et, custom as tt, defineChain as nt, http as k } from "viem";
7
- import { ethers as rt } from "ethers";
8
- import { DOMAIN_OWNERSHIP_CHALLENGE_TTL_MS as it, DOMAIN_OWNERSHIP_DEFAULT_EXPIRATION_SECS as at, DOMAIN_OWNERSHIP_METHOD as ot, DOMAIN_OWNERSHIP_METHOD as st, DOMAIN_OWNERSHIP_SCHEMA_DEF as ct, DOMAIN_OWNERSHIP_SCHEMA_DEF as A, DOMAIN_OWNERSHIP_SCHEMA_NAME as lt, DOMAIN_OWNERSHIP_SCHEMA_NAME as ut, DOMAIN_OWNERSHIP_SCOPE_REGISTRABLE as dt, EAS_CHAIN_DEPLOYMENTS as ft, PUBLISHED_BY_SCHEMA_DEF as pt, PUBLISHED_BY_SCHEMA_DEF as j, PUBLISHED_BY_SCHEMA_NAME as mt, PUBLISHED_BY_SCHEMA_NAME as ht, assessDomainOwnership as gt, buildDomainOwnershipTxtValue as _t, decodeDomainOwnershipData as vt, domainOwnershipTxtName as yt, getDomainOwnershipFromEas as bt, getEasChainDeployment as xt, hashDomainOwnershipChallenge as St, hashDomainRegistryFingerprint as Ct, hashPublishedByBatch as wt, hashPublishedByBatch as Tt, isValidEasAttestationUid as M, normalizeBytes32Hex as N, parseDomainOwnershipTxtValue as Et } from "@seedprotocol/eas";
9
- import { useCallback as P, useEffect as F, useMemo as I, useRef as Dt, useState as L } from "react";
10
- import { jsx as R, jsxs as Ot } from "react/jsx-runtime";
11
- import { SeedProvider as kt, SeedProvider as At, useLiveQuery as z } from "@seedprotocol/react";
12
- import { entryPoint08Address as B } from "viem/account-abstraction";
13
- import { createSmartAccountClient as jt } from "permissionless";
14
- import { to7702SimpleSmartAccount as Mt } from "permissionless/accounts";
15
- import { createPimlicoClient as Nt } from "permissionless/clients/pimlico";
16
- import { NO_EXPIRATION as Pt, SchemaEncoder as Ft, SchemaRegistry as It, ZERO_BYTES32 as V } from "@ethereum-attestation-service/eas-sdk";
17
- import { and as Lt, desc as H, eq as U, inArray as Rt, notInArray as zt } from "drizzle-orm";
18
- import { useSelector as Bt } from "@xstate/react";
19
- import { lookup as Vt, toRegistrableDomain as Ht } from "rdapper";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, H as o, I as s, M as c, Mt as l, N as u, O as d, Ot as f, R as p, S as m, T as h, Tt as g, U as _, W as v, Y as y, _t as ee, a as te, c as ne, ct as re, d as ie, dt as b, et as ae, f as oe, ft as se, gt as ce, ht as le, i as ue, j as x, jt as S, k as C, kt as de, l as fe, mt as pe, n as me, o as w, pt as he, q as ge, r as _e, s as ve, st as ye, t as be, tt as xe, vt as Se, w as Ce, x as we, yt as Te } from "./chainConfig-DWzoOtkS.js";
2
+ import { $ as Ee, C as De, J as Oe, Q as ke, X as Ae, Y as je, Z as Me, _ as Ne, a as Pe, c as Fe, et as Ie, g as Le, h as Re, i as ze, l as Be, n as Ve, nt as He, o as Ue, q as We, r as Ge, s as Ke, t as qe, tt as Je, v as Ye, w as Xe } from "./publishAuthorization-DgDI4zor.js";
3
+ import { n as Ze, r as Qe } from "./collectBatchUids-CnIe9jUB.js";
4
+ import { BaseDb as T, arweaveL1FinalizeJobs as E, isItemOwned as $e, publishProcesses as D, uploadProcesses as et } from "@seedprotocol/sdk";
5
+ import { createPublicClient as tt, createWalletClient as nt, custom as rt, defineChain as it, http as O } from "viem";
6
+ import { ethers as at } from "ethers";
7
+ import { DOMAIN_OWNERSHIP_CHALLENGE_TTL_MS as ot, DOMAIN_OWNERSHIP_DEFAULT_EXPIRATION_SECS as st, DOMAIN_OWNERSHIP_METHOD as ct, DOMAIN_OWNERSHIP_METHOD as lt, DOMAIN_OWNERSHIP_SCHEMA_DEF as ut, DOMAIN_OWNERSHIP_SCHEMA_DEF as k, DOMAIN_OWNERSHIP_SCHEMA_NAME as dt, DOMAIN_OWNERSHIP_SCHEMA_NAME as ft, DOMAIN_OWNERSHIP_SCOPE_REGISTRABLE as pt, EAS_CHAIN_DEPLOYMENTS as mt, PUBLISHED_BY_SCHEMA_DEF as ht, PUBLISHED_BY_SCHEMA_DEF as A, PUBLISHED_BY_SCHEMA_NAME as gt, PUBLISHED_BY_SCHEMA_NAME as _t, assessDomainOwnership as vt, buildDomainOwnershipTxtValue as yt, decodeDomainOwnershipData as bt, domainOwnershipTxtName as xt, getDomainOwnershipFromEas as St, getEasChainDeployment as Ct, hashDomainOwnershipChallenge as wt, hashDomainRegistryFingerprint as Tt, hashPublishedByBatch as Et, hashPublishedByBatch as Dt, isValidEasAttestationUid as j, normalizeBytes32Hex as M, parseDomainOwnershipTxtValue as Ot } from "@seedprotocol/eas";
8
+ import { useCallback as kt, useEffect as N, useMemo as P, useRef as At, useState as F } from "react";
9
+ import { jsx as I, jsxs as jt } from "react/jsx-runtime";
10
+ import { SeedProvider as Mt, SeedProvider as Nt, useLiveQuery as L } from "@seedprotocol/react";
11
+ import { entryPoint08Address as R } from "viem/account-abstraction";
12
+ import { createSmartAccountClient as Pt } from "permissionless";
13
+ import { to7702SimpleSmartAccount as Ft } from "permissionless/accounts";
14
+ import { createPimlicoClient as It } from "permissionless/clients/pimlico";
15
+ import { NO_EXPIRATION as Lt, SchemaEncoder as Rt, SchemaRegistry as zt, ZERO_BYTES32 as z } from "@ethereum-attestation-service/eas-sdk";
16
+ import { and as Bt, desc as B, eq as V, inArray as Vt, notInArray as Ht } from "drizzle-orm";
17
+ import { useSelector as Ut } from "@xstate/react";
18
+ import { lookup as Wt, toRegistrableDomain as Gt } from "rdapper";
20
19
  //#region src/helpers/seedTwin.ts
21
- function Ut(e) {
20
+ function Kt(e) {
22
21
  let t = [
23
22
  ["chainId", e?.chainId],
24
23
  ["rpcUrl", e?.rpcUrl],
@@ -30,7 +29,7 @@ function Ut(e) {
30
29
  ["contracts.seedProtocolExecutor", e?.contracts?.seedProtocolExecutor]
31
30
  ].filter(([, e]) => e == null || e === "").map(([e]) => e);
32
31
  if (t.length > 0) throw Error(`seedTwinConfig: twin.json is missing ${t.join(", ")}. Re-run twin:up.`);
33
- let n = e.forkedFrom?.chain ? ` (${e.forkedFrom.chain} fork)` : "", r = nt({
32
+ let n = e.forkedFrom?.chain ? ` (${e.forkedFrom.chain} fork)` : "", r = it({
34
33
  id: e.chainId,
35
34
  name: `Seed twin${n}`,
36
35
  nativeCurrency: {
@@ -64,7 +63,7 @@ function Ut(e) {
64
63
  }
65
64
  //#endregion
66
65
  //#region src/react/PublishModeButtons.tsx
67
- var Wt = ({ value: e, onChange: t, disabled: n = !1, "aria-label": r = "Publish mode" }) => {
66
+ var qt = ({ value: e, onChange: t, disabled: n = !1, "aria-label": r = "Publish mode" }) => {
68
67
  let i = {
69
68
  display: "inline-flex",
70
69
  gap: 8,
@@ -79,17 +78,17 @@ var Wt = ({ value: e, onChange: t, disabled: n = !1, "aria-label": r = "Publish
79
78
  cursor: n ? "not-allowed" : "pointer",
80
79
  opacity: n ? .6 : 1
81
80
  });
82
- return /* @__PURE__ */ Ot("div", {
81
+ return /* @__PURE__ */ jt("div", {
83
82
  role: "group",
84
83
  "aria-label": r,
85
84
  style: i,
86
- children: [/* @__PURE__ */ R("button", {
85
+ children: [/* @__PURE__ */ I("button", {
87
86
  type: "button",
88
87
  disabled: n,
89
88
  style: a(e === "patch"),
90
89
  onClick: () => t("patch"),
91
90
  children: "Publish updates"
92
- }), /* @__PURE__ */ R("button", {
91
+ }), /* @__PURE__ */ I("button", {
93
92
  type: "button",
94
93
  disabled: n,
95
94
  style: a(e === "new_version"),
@@ -97,11 +96,11 @@ var Wt = ({ value: e, onChange: t, disabled: n = !1, "aria-label": r = "Publish
97
96
  children: "New version"
98
97
  })]
99
98
  });
100
- }, Gt = ({ children: e, config: t, queryClient: n, queryClientRef: r }) => (F(() => {
101
- t && pe(t);
102
- }, [t]), /* @__PURE__ */ R(Te.Provider, {
103
- value: t ?? y(),
104
- children: /* @__PURE__ */ R(At, {
99
+ }, Jt = ({ children: e, config: t, queryClient: n, queryClientRef: r }) => (N(() => {
100
+ t && ve(t);
101
+ }, [t]), /* @__PURE__ */ I(Je.Provider, {
102
+ value: t ?? te(),
103
+ children: /* @__PURE__ */ I(Nt, {
105
104
  queryClient: n,
106
105
  queryClientRef: r,
107
106
  children: e
@@ -109,30 +108,30 @@ var Wt = ({ value: e, onChange: t, disabled: n = !1, "aria-label": r = "Publish
109
108
  }));
110
109
  //#endregion
111
110
  //#region src/helpers/adapters/eip1193.ts
112
- async function Kt(e, t = {}) {
113
- let n = t.chain ?? fe(), i = t.address;
114
- if (!i) {
111
+ async function H(e, t = {}) {
112
+ let n = t.chain ?? _e(), r = t.address;
113
+ if (!r) {
115
114
  let t = await e.request({ method: "eth_requestAccounts" });
116
115
  if (!t?.[0]) throw Error("@seedprotocol/publish: EIP-1193 provider returned no accounts");
117
- i = t[0];
116
+ r = t[0];
118
117
  }
119
- let a = et({
120
- account: i,
118
+ let i = nt({
119
+ account: r,
121
120
  chain: n,
122
- transport: tt(e)
121
+ transport: rt(e)
123
122
  });
124
123
  return {
125
- signer: h({
126
- address: i,
127
- signMessage: async ({ message: e }) => a.signMessage({
128
- account: i,
124
+ signer: Ce({
125
+ address: r,
126
+ signMessage: async ({ message: e }) => i.signMessage({
127
+ account: r,
129
128
  message: typeof e == "string" ? e : { raw: e.raw }
130
129
  })
131
130
  }),
132
- txSender: r({
133
- address: i,
134
- sendTransaction: async (e) => ({ transactionHash: await a.sendTransaction({
135
- account: i,
131
+ txSender: h({
132
+ address: r,
133
+ sendTransaction: async (e) => ({ transactionHash: await i.sendTransaction({
134
+ account: r,
136
135
  chain: n,
137
136
  to: e.to,
138
137
  data: e.data,
@@ -142,14 +141,14 @@ async function Kt(e, t = {}) {
142
141
  })
143
142
  };
144
143
  }
145
- async function qt(e = {}) {
144
+ async function Yt(e = {}) {
146
145
  let t = globalThis.ethereum;
147
146
  if (!t) throw Error("@seedprotocol/publish: window.ethereum is not available");
148
- return Kt(t, e);
147
+ return H(t, e);
149
148
  }
150
149
  //#endregion
151
150
  //#region src/helpers/adapters/permissionlessTxSender.ts
152
- function Jt(e) {
151
+ function Xt(e) {
153
152
  return {
154
153
  address: e.address,
155
154
  type: "local",
@@ -164,7 +163,7 @@ function Jt(e) {
164
163
  }
165
164
  };
166
165
  }
167
- async function Yt(e) {
166
+ async function Zt(e) {
168
167
  let t;
169
168
  try {
170
169
  t = (await (await fetch(e, {
@@ -182,58 +181,58 @@ async function Yt(e) {
182
181
  }
183
182
  if (!Array.isArray(t)) return;
184
183
  let n = t.map((e) => String(e).toLowerCase());
185
- if (!n.includes(B.toLowerCase())) throw Error(`@seedprotocol/publish: PublishConfig.bundlerUrl (${e}) does not support EntryPoint v0.8 (it lists ${n.join(", ") || "none"}). The top-level bundlerUrl is only for the permissionless EIP-7702 sender. For Thirdweb in-app wallets (e.g. a local twin's bundler), set PublishConfig.thirdweb.bundlerUrl instead.`);
186
- }
187
- async function Xt(e) {
188
- let { signer: t, bundlerUrl: n, paymasterUrl: i } = e;
189
- await Yt(n);
190
- let a = fe(), o = le(), s = t.address, c = $e({
191
- chain: a,
192
- transport: k(o)
193
- }), l = Jt(t), u = await Mt({
194
- client: c,
195
- owner: l,
184
+ if (!n.includes(R.toLowerCase())) throw Error(`@seedprotocol/publish: PublishConfig.bundlerUrl (${e}) does not support EntryPoint v0.8 (it lists ${n.join(", ") || "none"}). The top-level bundlerUrl is only for the permissionless EIP-7702 sender. For Thirdweb in-app wallets (e.g. a local twin's bundler), set PublishConfig.thirdweb.bundlerUrl instead.`);
185
+ }
186
+ async function U(e) {
187
+ let { signer: t, bundlerUrl: n, paymasterUrl: r } = e;
188
+ await Zt(n);
189
+ let i = _e(), a = me(), o = t.address, s = tt({
190
+ chain: i,
191
+ transport: O(a)
192
+ }), c = Xt(t), l = await Ft({
193
+ client: s,
194
+ owner: c,
196
195
  entryPoint: {
197
- address: B,
196
+ address: R,
198
197
  version: "0.8"
199
198
  }
200
- }), d = Nt({
201
- transport: k(i ?? n),
199
+ }), u = It({
200
+ transport: O(r ?? n),
202
201
  entryPoint: {
203
- address: B,
202
+ address: R,
204
203
  version: "0.8"
205
204
  }
206
- }), f = jt({
207
- account: u,
208
- chain: a,
209
- bundlerTransport: k(n),
210
- paymaster: d,
211
- userOperation: { estimateFeesPerGas: async () => (await d.getUserOperationGasPrice()).fast }
205
+ }), d = Pt({
206
+ account: l,
207
+ chain: i,
208
+ bundlerTransport: O(n),
209
+ paymaster: u,
210
+ userOperation: { estimateFeesPerGas: async () => (await u.getUserOperationGasPrice()).fast }
212
211
  });
213
- return r({
214
- address: u.address ?? s,
212
+ return h({
213
+ address: l.address ?? o,
215
214
  sendTransaction: async (e) => {
216
215
  let t;
217
216
  try {
218
- let n = await f.sendUserOperation({ calls: [{
217
+ let n = await d.sendUserOperation({ calls: [{
219
218
  to: e.to,
220
219
  data: e.data,
221
220
  value: e.value ?? 0n
222
221
  }] });
223
- t = await f.waitForUserOperationReceipt({ hash: n });
222
+ t = await d.waitForUserOperationReceipt({ hash: n });
224
223
  } catch (e) {
225
224
  let t = e instanceof Error ? e.message : String(e);
226
225
  throw Error(`@seedprotocol/publish: permissionless/EIP-7702 send failed (${t}). Ensure bundlerUrl/paymasterUrl support EntryPoint v0.8, or use accountMode: 'eoa' / Thirdweb adapter.`, { cause: e });
227
226
  }
228
- return { transactionHash: Zt(t, u.address) };
227
+ return { transactionHash: Qt(t, l.address) };
229
228
  }
230
229
  });
231
230
  }
232
- function Zt(e, t) {
231
+ function Qt(e, t) {
233
232
  let n = e.receipt.transactionHash;
234
233
  if (e.success) return n;
235
234
  let r = e.reason;
236
- throw r && !/^0x[0-9a-f]*$/i.test(r) ? new Se(`The publish UserOp in transaction ${n} failed: ${r}`, "USEROP_REVERTED", t) : ke({
235
+ throw r && !/^0x[0-9a-f]*$/i.test(r) ? new pe(`The publish UserOp in transaction ${n} failed: ${r}`, "USEROP_REVERTED", t) : Ie({
237
236
  txHash: n,
238
237
  revertData: r,
239
238
  sender: t
@@ -241,42 +240,42 @@ function Zt(e, t) {
241
240
  }
242
241
  //#endregion
243
242
  //#region src/react/useSeedWallet.ts
244
- function Qt() {
245
- let [e, n] = L(() => S()), [r, i] = L(() => S() ? "connected" : "disconnected");
246
- F(() => {
247
- n(S());
243
+ function $t() {
244
+ let [e, n] = F(() => x()), [r, a] = F(() => x() ? "connected" : "disconnected");
245
+ N(() => {
246
+ n(x());
248
247
  }, []);
249
- let a = P(async (e) => {
250
- i("connecting");
248
+ let o = kt(async (e) => {
249
+ a("connecting");
251
250
  try {
252
- let r;
253
- r = g(e) ? e : await Kt(e);
254
- let a = C(), o = r.txSender;
255
- a.accountMode === "eip7702" && a.bundlerUrl && (o = await Xt({
256
- signer: r.signer,
257
- bundlerUrl: a.bundlerUrl,
258
- paymasterUrl: a.paymasterUrl
251
+ let t;
252
+ t = i(e) ? e : await H(e);
253
+ let r = w(), o = t.txSender;
254
+ r.accountMode === "eip7702" && r.bundlerUrl && (o = await U({
255
+ signer: t.signer,
256
+ bundlerUrl: r.bundlerUrl,
257
+ paymasterUrl: r.paymasterUrl
259
258
  }));
260
259
  let s = {
261
- signer: r.signer,
260
+ signer: t.signer,
262
261
  txSender: o,
263
- ownedAddresses: [r.signer.address, o.address],
264
- publisherAddress: r.signer.address
262
+ ownedAddresses: [t.signer.address, o.address],
263
+ publisherAddress: t.signer.address
265
264
  };
266
- return await t(s), n(s), i("connected"), s;
265
+ return await c(s), n(s), a("connected"), s;
267
266
  } catch (e) {
268
- throw i("disconnected"), e;
267
+ throw a("disconnected"), e;
269
268
  }
270
- }, []), o = P(() => {
271
- d(), n(null), i("disconnected");
269
+ }, []), s = kt(() => {
270
+ t(), n(null), a("disconnected");
272
271
  }, []);
273
272
  return {
274
273
  address: e?.signer.address,
275
274
  signer: e?.signer,
276
275
  txSender: e?.txSender,
277
276
  status: r,
278
- connect: a,
279
- disconnect: o
277
+ connect: o,
278
+ disconnect: s
280
279
  };
281
280
  }
282
281
  //#endregion
@@ -287,38 +286,38 @@ var W = {
287
286
  NEW_VERSION: 80000n,
288
287
  ATTESTATION: 55000n
289
288
  };
290
- function $t(e) {
289
+ function en(e) {
291
290
  return W.BASE + W.NEW_SEED * BigInt(e.newSeedCount) + W.NEW_VERSION * BigInt(e.newVersionCount) + W.ATTESTATION * BigInt(e.attestationCount);
292
291
  }
293
292
  //#endregion
294
293
  //#region src/services/publishCost/tokenPrices.ts
295
- var en = 6e4, G = null, K = null;
296
- function tn() {
294
+ var tn = 6e4, G = null, K = null;
295
+ function nn() {
297
296
  try {
298
- return C().getTokenPrices;
297
+ return w().getTokenPrices;
299
298
  } catch {
300
299
  return;
301
300
  }
302
301
  }
303
- async function nn(e) {
302
+ async function rn(e) {
304
303
  let t = await fetch(`https://api.coinbase.com/v2/prices/${e}-USD/spot`);
305
304
  if (!t.ok) throw Error(`Coinbase ${e}-USD spot failed: ${t.status}`);
306
305
  let n = await t.json(), r = Number(n.data?.amount);
307
306
  if (!Number.isFinite(r) || r <= 0) throw Error(`Invalid ${e} USD price`);
308
307
  return r;
309
308
  }
310
- async function rn() {
311
- let [e, t] = await Promise.all([nn("ETH"), nn("AR")]);
309
+ async function an() {
310
+ let [e, t] = await Promise.all([rn("ETH"), rn("AR")]);
312
311
  return {
313
312
  ethUsd: e,
314
313
  arUsd: t
315
314
  };
316
315
  }
317
- async function an(e) {
316
+ async function on(e) {
318
317
  let t = Date.now();
319
- return !e?.forceRefresh && G && t - G.fetchedAt < en ? G : (K && !e?.forceRefresh || (K = (async () => {
318
+ return !e?.forceRefresh && G && t - G.fetchedAt < tn ? G : (K && !e?.forceRefresh || (K = (async () => {
320
319
  try {
321
- let e = tn(), t = e ? await e() : await rn(), n = {
320
+ let e = nn(), t = e ? await e() : await an(), n = {
322
321
  ethUsd: t.ethUsd,
323
322
  arUsd: t.arUsd,
324
323
  fetchedAt: Date.now()
@@ -332,27 +331,27 @@ async function an(e) {
332
331
  }
333
332
  })()), K);
334
333
  }
335
- function on() {
334
+ function sn() {
336
335
  G = null, K = null;
337
336
  }
338
337
  //#endregion
339
338
  //#region src/services/publishCost/marketRates.ts
340
- var sn = 6e4, cn = 1e6, q = null, J = null;
341
- async function ln() {
342
- return b().getGasPrice();
343
- }
339
+ var cn = 6e4, ln = 1e6, q = null, J = null;
344
340
  async function un() {
345
- let e = BigInt(await Me().transactions.getPrice(cn));
346
- return Number(e) / cn;
341
+ return ye().getGasPrice();
347
342
  }
348
- async function dn(e) {
343
+ async function dn() {
344
+ let e = BigInt(await Ee().transactions.getPrice(ln));
345
+ return Number(e) / ln;
346
+ }
347
+ async function fn(e) {
349
348
  let t = Date.now();
350
- return !e?.forceRefresh && q && t - q.fetchedAt < sn ? q : (J && !e?.forceRefresh || (J = (async () => {
349
+ return !e?.forceRefresh && q && t - q.fetchedAt < cn ? q : (J && !e?.forceRefresh || (J = (async () => {
351
350
  try {
352
351
  let [t, n, r] = await Promise.all([
353
- an({ forceRefresh: e?.forceRefresh }),
354
- ln(),
355
- un()
352
+ on({ forceRefresh: e?.forceRefresh }),
353
+ un(),
354
+ dn()
356
355
  ]), i = {
357
356
  ...t,
358
357
  gasPriceWei: n,
@@ -368,15 +367,15 @@ async function dn(e) {
368
367
  }
369
368
  })()), J);
370
369
  }
371
- function fn() {
372
- q = null, J = null, on();
370
+ function pn() {
371
+ q = null, J = null, sn();
373
372
  }
374
373
  //#endregion
375
374
  //#region src/services/publishCost/estimatePublishCost.ts
376
- var pn = 0xe8d4a51000, mn = 0xde0b6b3a7640000;
377
- function hn() {
375
+ var mn = 0xe8d4a51000, hn = 0xde0b6b3a7640000;
376
+ function gn() {
378
377
  try {
379
- let e = C();
378
+ let e = w();
380
379
  return {
381
380
  evmUserPays: !e.paymasterUrl,
382
381
  arweavePath: e.useArweaveBundler ? "bundler" : "l1"
@@ -388,22 +387,22 @@ function hn() {
388
387
  };
389
388
  }
390
389
  }
391
- function gn(e) {
390
+ function _n(e) {
392
391
  return Math.round(e * 100) / 100;
393
392
  }
394
- function _n(e, t, n) {
395
- let r = n?.evmUserPays ?? !0, i = n?.arweavePath ?? "l1", a = $t(e), o = a * t.gasPriceWei, s = Number(o) / mn, c = s * t.ethUsd, l = Math.max(0, Math.round(e.uploadBytes * t.winstonPerByte)) / pn, u = l * t.arUsd;
393
+ function vn(e, t, n) {
394
+ let r = n?.evmUserPays ?? !0, i = n?.arweavePath ?? "l1", a = en(e), o = a * t.gasPriceWei, s = Number(o) / hn, c = s * t.ethUsd, l = Math.max(0, Math.round(e.uploadBytes * t.winstonPerByte)) / mn, u = l * t.arUsd;
396
395
  return {
397
- totalUsd: gn(c + u),
396
+ totalUsd: _n(c + u),
398
397
  evm: {
399
398
  eth: s.toPrecision(6),
400
- usd: gn(c),
399
+ usd: _n(c),
401
400
  gas: a,
402
401
  userPays: r
403
402
  },
404
403
  arweave: {
405
404
  ar: l.toPrecision(6),
406
- usd: gn(u),
405
+ usd: _n(u),
407
406
  bytes: e.uploadBytes,
408
407
  uploadCount: e.uploadCount,
409
408
  path: i,
@@ -418,42 +417,42 @@ function _n(e, t, n) {
418
417
  estimatedAt: Date.now()
419
418
  };
420
419
  }
421
- async function vn(e, t) {
422
- let n = hn(), r = t?.work;
420
+ async function yn(e, t) {
421
+ let n = gn(), r = t?.work;
423
422
  if (!r) {
424
423
  let { summarizePublishWork: n } = await import("@seedprotocol/sdk");
425
424
  r = await n(e, { publishMode: t?.publishMode });
426
425
  }
427
- let i = t?.rates ?? await dn();
428
- return _n(r, i, n);
426
+ let i = t?.rates ?? await fn();
427
+ return vn(r, i, n);
429
428
  }
430
429
  //#endregion
431
430
  //#region src/services/publishCost/watchPublishCost.ts
432
- var yn = 6e4, bn = 15e3;
433
- function xn(e) {
431
+ var bn = 6e4, xn = 15e3;
432
+ function Sn(e) {
434
433
  let t = e.getService().getSnapshot(), n = (t && typeof t == "object" && "context" in t ? t.context : void 0)?.propertyValue ?? e.value;
435
434
  return `${e.propertyName}:${e.uid ?? ""}:${String(n ?? "")}`;
436
435
  }
437
- function Sn(e) {
436
+ function Cn(e) {
438
437
  let t = e.properties ?? [];
439
438
  return [
440
439
  e.seedLocalId,
441
440
  e.seedUid ?? "",
442
441
  e.latestVersionLocalId ?? "",
443
- ...t.map(xn)
442
+ ...t.map(Sn)
444
443
  ].join("|");
445
444
  }
446
- function Cn(e) {
445
+ function wn(e) {
447
446
  return e instanceof Error ? e : Error(String(e));
448
447
  }
449
- function wn(e, t, n) {
450
- let r = n?.priceRefreshMs ?? yn, i = n?.itemIdleMs ?? bn, a = n?.estimate ?? ((e) => vn(e, n)), o = n?.reprice ?? (async (e) => {
451
- let t = await dn({ forceRefresh: !0 });
452
- return _n(e.work, t, {
448
+ function Tn(e, t, n) {
449
+ let r = n?.priceRefreshMs ?? bn, i = n?.itemIdleMs ?? xn, a = n?.estimate ?? ((e) => yn(e, n)), o = n?.reprice ?? (async (e) => {
450
+ let t = await fn({ forceRefresh: !0 });
451
+ return vn(e.work, t, {
453
452
  evmUserPays: e.evm.userPays,
454
453
  arweavePath: e.arweave.path
455
454
  });
456
- }), s = !1, c = Sn(e), l = null, u = !1, d = !1, f = null, p = 0, m = null, h = null, g = () => {
455
+ }), s = !1, c = Cn(e), l = null, u = !1, d = !1, f = null, p = 0, m = null, h = null, g = () => {
457
456
  s || t({
458
457
  estimate: l,
459
458
  isEstimating: u,
@@ -467,10 +466,10 @@ function wn(e, t, n) {
467
466
  try {
468
467
  let n = await a(e);
469
468
  if (s || t !== p) return;
470
- l = n, c = Sn(e), d = !1, u = !1, f = null, g();
469
+ l = n, c = Cn(e), d = !1, u = !1, f = null, g();
471
470
  } catch (e) {
472
471
  if (s || t !== p) return;
473
- u = !1, f = Cn(e), g();
472
+ u = !1, f = wn(e), g();
474
473
  }
475
474
  }, v = () => {
476
475
  if (l && (d = !0), i <= 0) {
@@ -484,9 +483,9 @@ function wn(e, t, n) {
484
483
  m &&= (clearTimeout(m), null), _();
485
484
  };
486
485
  _();
487
- let b = e.subscribe(() => {
486
+ let ee = e.subscribe(() => {
488
487
  if (s) return;
489
- let t = Sn(e);
488
+ let t = Cn(e);
490
489
  t !== c && (c = t, v());
491
490
  });
492
491
  return r > 0 && (h = setInterval(() => {
@@ -497,44 +496,44 @@ function wn(e, t, n) {
497
496
  l = e, g();
498
497
  } catch (e) {
499
498
  if (s) return;
500
- f = Cn(e), g();
499
+ f = wn(e), g();
501
500
  }
502
501
  })();
503
502
  }, r)), {
504
503
  refresh: y,
505
504
  dispose: () => {
506
- s = !0, b.unsubscribe(), m && clearTimeout(m), h && clearInterval(h);
505
+ s = !0, ee.unsubscribe(), m && clearTimeout(m), h && clearInterval(h);
507
506
  }
508
507
  };
509
508
  }
510
509
  //#endregion
511
510
  //#region src/helpers/publishDisplayHelpers.ts
512
- function Tn(e) {
511
+ function En(e) {
513
512
  return e === "creatingAttestationsDirectToEas" ? "creatingAttestations" : e;
514
513
  }
515
- function En(e, t, n) {
514
+ function Dn(e, t, n) {
516
515
  if (e != null) return n;
517
- if (t?.status === "completed") return w.SUCCESS;
518
- if (t?.status === "failed") return w.FAILURE;
516
+ if (t?.status === "completed") return S.SUCCESS;
517
+ if (t?.status === "failed") return S.FAILURE;
519
518
  if (t?.status !== "interrupted") return n;
520
519
  }
521
- function Dn(e) {
520
+ function On(e) {
522
521
  if (e) {
523
- if (e.status === "failed") return w.FAILURE;
524
- if (e.status === "completed") return w.SUCCESS;
522
+ if (e.status === "failed") return S.FAILURE;
523
+ if (e.status === "completed") return S.SUCCESS;
525
524
  if (e.status !== "interrupted") {
526
525
  if (e.completedAt != null) {
527
526
  try {
528
527
  let t = JSON.parse(e.persistedSnapshot);
529
- if (t.status === "done" && t.value === w.FAILURE) return w.FAILURE;
528
+ if (t.status === "done" && t.value === S.FAILURE) return S.FAILURE;
530
529
  } catch {}
531
- return w.SUCCESS;
530
+ return S.SUCCESS;
532
531
  }
533
532
  try {
534
533
  let t = JSON.parse(e.persistedSnapshot);
535
534
  if (t.status === "done") {
536
- if (t.value === w.SUCCESS) return w.SUCCESS;
537
- if (t.value === w.FAILURE) return w.FAILURE;
535
+ if (t.value === S.SUCCESS) return S.SUCCESS;
536
+ if (t.value === S.FAILURE) return S.FAILURE;
538
537
  }
539
538
  if (typeof t.value == "string") return t.value;
540
539
  } catch {
@@ -545,19 +544,19 @@ function Dn(e) {
545
544
  }
546
545
  //#endregion
547
546
  //#region src/hooks/usePublishProcess.ts
548
- function On(e) {
549
- return !e || e.status !== "done" ? !1 : e.value === w.SUCCESS || e.value === w.FAILURE;
550
- }
551
547
  function kn(e) {
552
- let t = T.getService(), n = Bt(t, (t) => t?.context?.publishProcesses?.get(e) ?? null), r = Dt(null);
553
- F(() => {
548
+ return !e || e.status !== "done" ? !1 : e.value === S.SUCCESS || e.value === S.FAILURE;
549
+ }
550
+ function An(e) {
551
+ let t = Re.getService(), n = Ut(t, (t) => t?.context?.publishProcesses?.get(e) ?? null), r = At(null);
552
+ N(() => {
554
553
  r.current = null;
555
554
  }, [e]);
556
- let [i, a] = L(void 0), [o, s] = L(null), c = E.getAppDb(), l = I(() => e && c ? c.select().from(O).where(U(O.seedLocalId, e)).orderBy(H(O.startedAt)).limit(1) : null, [c, e]), u = z(l)?.[0], d = u?.status, f = I(() => {
555
+ let [i, a] = F(void 0), [o, s] = F(null), c = T.getAppDb(), l = P(() => e && c ? c.select().from(D).where(V(D.seedLocalId, e)).orderBy(B(D.startedAt)).limit(1) : null, [c, e]), u = L(l)?.[0], d = u?.status, f = P(() => {
557
556
  if (n != null) return i;
558
557
  if (o === "success" || o === "failure") return o;
559
- let e = Dn(u);
560
- return e === w.SUCCESS || e === w.FAILURE ? e : En(n, d == null ? void 0 : { status: d }, i);
558
+ let e = On(u);
559
+ return e === S.SUCCESS || e === S.FAILURE ? e : Dn(n, d == null ? void 0 : { status: d }, i);
561
560
  }, [
562
561
  n,
563
562
  d,
@@ -565,16 +564,16 @@ function kn(e) {
565
564
  o,
566
565
  u
567
566
  ]);
568
- return F(() => {
567
+ return N(() => {
569
568
  s(null);
570
- }, [e]), F(() => {
569
+ }, [e]), N(() => {
571
570
  n ?? (d === "completed" ? s("success") : d === "failed" && s("failure"));
572
- }, [d, n]), F(() => {
571
+ }, [d, n]), N(() => {
573
572
  n != null && s(null);
574
- }, [n]), F(() => {
573
+ }, [n]), N(() => {
575
574
  if (!n) {
576
575
  let e = r.current;
577
- On(e) ? (a(e.value), e.value === w.SUCCESS ? s("success") : e.value === w.FAILURE && s("failure")) : a(void 0);
576
+ kn(e) ? (a(e.value), e.value === S.SUCCESS ? s("success") : e.value === S.FAILURE && s("failure")) : a(void 0);
578
577
  return;
579
578
  }
580
579
  let e = n.getSnapshot();
@@ -598,21 +597,21 @@ function kn(e) {
598
597
  }
599
598
  //#endregion
600
599
  //#region src/hooks/useCanPublishItem.ts
601
- function An(e) {
602
- let [t, n] = L(!0);
603
- return F(() => {
600
+ function jn(e) {
601
+ let [t, n] = F(!0);
602
+ return N(() => {
604
603
  if (!e) {
605
604
  n(!1);
606
605
  return;
607
606
  }
608
- Ze(e).then(n).catch(() => n(!1));
607
+ $e(e).then(n).catch(() => n(!1));
609
608
  }, [e?.seedLocalId]), t;
610
609
  }
611
610
  //#endregion
612
611
  //#region src/hooks/useArweaveL1Finalize.ts
613
- function jn(e) {
614
- let t = E.getAppDb(), n = I(() => e && t ? t.select().from(D).where(U(D.seedLocalId, e)).orderBy(H(D.updatedAt)) : null, [t, e]), r = z(n) ?? [];
615
- return I(() => {
612
+ function Mn(e) {
613
+ let t = T.getAppDb(), n = P(() => e && t ? t.select().from(E).where(V(E.seedLocalId, e)).orderBy(B(E.updatedAt)) : null, [t, e]), r = L(n) ?? [];
614
+ return P(() => {
616
615
  let e = r.filter((e) => e.phase === "pending_l1").length, t = r.filter((e) => e.phase === "confirmed").length;
617
616
  return {
618
617
  hasPendingL1: e > 0,
@@ -624,8 +623,8 @@ function jn(e) {
624
623
  }
625
624
  //#endregion
626
625
  //#region src/hooks/useItemPublishStatus.ts
627
- function Mn(e) {
628
- let { publishProcess: t, value: n } = kn(e ?? ""), r = jn(e), i = E.getAppDb(), a = I(() => e && i ? i.select().from(O).where(U(O.seedLocalId, e)).orderBy(H(O.startedAt)).limit(1) : null, [i, e]), o = z(a)?.[0];
626
+ function Nn(e) {
627
+ let { publishProcess: t, value: n } = An(e ?? ""), r = Mn(e), i = T.getAppDb(), a = P(() => e && i ? i.select().from(D).where(V(D.seedLocalId, e)).orderBy(B(D.startedAt)).limit(1) : null, [i, e]), o = L(a)?.[0];
629
628
  return {
630
629
  latestRecord: o,
631
630
  publishProcess: t,
@@ -638,44 +637,44 @@ function Mn(e) {
638
637
  }
639
638
  //#endregion
640
639
  //#region src/hooks/usePublishProcesses.ts
641
- function Nn() {
642
- let e = E.getAppDb();
643
- return I(() => e ? e.select().from(O).orderBy(H(O.startedAt)) : null, [e]);
640
+ function Pn() {
641
+ let e = T.getAppDb();
642
+ return P(() => e ? e.select().from(D).orderBy(B(D.startedAt)) : null, [e]);
644
643
  }
645
- function Pn(e) {
646
- let t = E.getAppDb();
647
- return I(() => t && e ? t.select().from(O).where(U(O.seedLocalId, e)).orderBy(H(O.startedAt)) : null, [t, e]);
644
+ function Fn(e) {
645
+ let t = T.getAppDb();
646
+ return P(() => t && e ? t.select().from(D).where(V(D.seedLocalId, e)).orderBy(B(D.startedAt)) : null, [t, e]);
648
647
  }
649
- function Fn() {
650
- let e = Nn(), t = z(e);
648
+ function In() {
649
+ let e = Pn(), t = L(e);
651
650
  return {
652
651
  records: t,
653
- nonActiveCount: I(() => t === void 0 ? void 0 : t.filter((e) => e.status !== "in_progress").length, [t])
652
+ nonActiveCount: P(() => t === void 0 ? void 0 : t.filter((e) => e.status !== "in_progress").length, [t])
654
653
  };
655
654
  }
656
- function In() {
657
- let e = Nn();
658
- return z(e);
659
- }
660
655
  function Ln() {
661
- return Fn().nonActiveCount;
656
+ let e = Pn();
657
+ return L(e);
662
658
  }
663
- function Rn(e) {
664
- let t = Pn(e);
665
- return z(t);
659
+ function Rn() {
660
+ return In().nonActiveCount;
666
661
  }
667
662
  function zn(e) {
668
- let t = Pn(e), n = z(t);
663
+ let t = Fn(e);
664
+ return L(t);
665
+ }
666
+ function Bn(e) {
667
+ let t = Fn(e), n = L(t);
669
668
  return {
670
669
  records: n,
671
- nonActiveCount: I(() => n === void 0 ? void 0 : n.filter((e) => e.status !== "in_progress").length, [n])
670
+ nonActiveCount: P(() => n === void 0 ? void 0 : n.filter((e) => e.status !== "in_progress").length, [n])
672
671
  };
673
672
  }
674
- function Bn(e) {
675
- return zn(e).nonActiveCount;
676
- }
677
673
  function Vn(e) {
678
- let t = E.getAppDb(), n = I(() => e != null && t ? t.select().from(O).where(U(O.id, e)).limit(1) : null, [t, e]), r = z(n), i = r === void 0;
674
+ return Bn(e).nonActiveCount;
675
+ }
676
+ function Hn(e) {
677
+ let t = T.getAppDb(), n = P(() => e != null && t ? t.select().from(D).where(V(D.id, e)).limit(1) : null, [t, e]), r = L(n), i = r === void 0;
679
678
  return {
680
679
  record: r && r.length > 0 ? r[0] : null,
681
680
  isLoading: i
@@ -683,45 +682,45 @@ function Vn(e) {
683
682
  }
684
683
  //#endregion
685
684
  //#region src/hooks/clearCompletedPublishProcesses.ts
686
- async function Hn() {
687
- let e = E.getAppDb();
688
- e && await e.delete(O).where(zt(O.status, ["in_progress"]));
685
+ async function Un() {
686
+ let e = T.getAppDb();
687
+ e && await e.delete(D).where(Ht(D.status, ["in_progress"]));
689
688
  }
690
- async function Un(e) {
691
- let t = E.getAppDb();
692
- t && await t.delete(O).where(Lt(U(O.seedLocalId, e), zt(O.status, ["in_progress"])));
693
- }
694
- async function Wn() {
695
- let e = E.getAppDb();
696
- e && await e.delete(O);
689
+ async function Wn(e) {
690
+ let t = T.getAppDb();
691
+ t && await t.delete(D).where(Bt(V(D.seedLocalId, e), Ht(D.status, ["in_progress"])));
697
692
  }
698
693
  async function Gn() {
699
- let e = E.getAppDb();
700
- e && await e.delete(Qe);
694
+ let e = T.getAppDb();
695
+ e && await e.delete(D);
701
696
  }
702
- async function Kn(e) {
703
- let t = E.getAppDb();
704
- t && await t.delete(O).where(U(O.seedLocalId, e));
697
+ async function Kn() {
698
+ let e = T.getAppDb();
699
+ e && await e.delete(et);
705
700
  }
706
701
  async function qn(e) {
707
- let t = E.getAppDb();
708
- t && await t.delete(O).where(U(O.id, e));
702
+ let t = T.getAppDb();
703
+ t && await t.delete(D).where(V(D.seedLocalId, e));
709
704
  }
710
705
  async function Jn(e) {
706
+ let t = T.getAppDb();
707
+ t && await t.delete(D).where(V(D.id, e));
708
+ }
709
+ async function Yn(e) {
711
710
  if (e.length === 0) return;
712
- let t = E.getAppDb();
713
- t && await t.delete(O).where(Rt(O.id, e));
711
+ let t = T.getAppDb();
712
+ t && await t.delete(D).where(Vt(D.id, e));
714
713
  }
715
714
  //#endregion
716
715
  //#region src/hooks/publishProcessHelpers.ts
717
- function Yn(e) {
716
+ function Xn(e) {
718
717
  try {
719
718
  return (JSON.parse(e.persistedSnapshot).context?.arweaveTransactions ?? []).map((e) => e.transaction?.id).filter((e) => typeof e == "string");
720
719
  } catch {
721
720
  return [];
722
721
  }
723
722
  }
724
- function Xn(e) {
723
+ function Zn(e) {
725
724
  try {
726
725
  return JSON.parse(e.persistedSnapshot).context?.easPayload ?? void 0;
727
726
  } catch {
@@ -730,14 +729,14 @@ function Xn(e) {
730
729
  }
731
730
  //#endregion
732
731
  //#region src/hooks/usePublishCostEstimate.ts
733
- function Zn(e, t) {
734
- let [n, r] = L(null), [i, a] = L(!1), [o, s] = L(!1), [c, l] = L(null), u = Dt(() => {}), d = t?.publishMode, f = t?.priceRefreshMs, p = t?.itemIdleMs;
735
- return F(() => {
732
+ function Qn(e, t) {
733
+ let [n, r] = F(null), [i, a] = F(!1), [o, s] = F(!1), [c, l] = F(null), u = At(() => {}), d = t?.publishMode, f = t?.priceRefreshMs, p = t?.itemIdleMs;
734
+ return N(() => {
736
735
  if (!e) {
737
736
  r(null), a(!1), s(!1), l(null), u.current = () => {};
738
737
  return;
739
738
  }
740
- let n = wn(e, (e) => {
739
+ let n = Tn(e, (e) => {
741
740
  r(e.estimate), a(e.isEstimating), s(e.isStale), l(e.error), u.current = e.refresh;
742
741
  }, t);
743
742
  return () => {
@@ -754,58 +753,33 @@ function Zn(e, t) {
754
753
  isEstimating: i,
755
754
  isStale: o,
756
755
  error: c,
757
- refresh: P(() => {
756
+ refresh: kt(() => {
758
757
  u.current();
759
758
  }, [])
760
759
  };
761
760
  }
762
761
  //#endregion
763
- //#region src/helpers/transformPayloadToIntegerIds.ts
764
- function Qn(e) {
765
- let t = /* @__PURE__ */ new Map();
766
- for (let n = 0; n < e.length; n++) {
767
- let r = e[n]?.localId;
768
- r != null && t.set(r, BigInt(n));
769
- }
770
- return e.map((e, n) => {
771
- let r = (e.propertiesToUpdate ?? []).map((e) => {
772
- let n = e.publishLocalId, r = n == null ? void 0 : t.get(n);
773
- if (n != null && n !== "" && r === void 0) throw Error(`publishLocalId "${n}" not found in payload (valid localIds: ${Array.from(t.keys()).join(", ")})`);
774
- let { publishLocalId: i, ...a } = e;
775
- return {
776
- ...a,
777
- publishLocalIdIndex: r ?? BigInt(0)
778
- };
779
- }), { localId: i, ...a } = e;
780
- return {
781
- ...a,
782
- localIdIndex: BigInt(n),
783
- propertiesToUpdate: r
784
- };
785
- });
786
- }
787
- //#endregion
788
762
  //#region src/helpers/ensureWalletThenPublish.ts
789
763
  function $n(e) {
790
764
  if (e) {
791
- if (e instanceof rt.Wallet) return e;
792
- if (g(e)) return e.signer;
793
- if (a(e)) return e;
765
+ if (e instanceof at.Wallet) return e;
766
+ if (i(e)) return e.signer;
767
+ if (d(e)) return e;
794
768
  }
795
769
  }
796
770
  async function er(e, t) {
797
- let n = C();
771
+ let n = w();
798
772
  if (n.useModularExecutor) {
799
- let { ensureSmartWalletThenPublish: n } = await import("./ensureSmartWalletThenPublish-DAomriGc.js").then((e) => e.n);
773
+ let { ensureSmartWalletThenPublish: n } = await import("./ensureSmartWalletThenPublish-DuOYPJFd.js").then((e) => e.n);
800
774
  return n(e, null, async () => {
801
- let e = S();
775
+ let e = x();
802
776
  return e?.publisherAddress ?? e?.signer.address ?? null;
803
777
  }, t);
804
778
  }
805
- let r = S();
779
+ let r = x();
806
780
  if (!r) return { outcome: "no_wallet" };
807
781
  if (n.accountMode === "eip7702" && n.bundlerUrl) {
808
- let e = await Xt({
782
+ let e = await U({
809
783
  signer: r.signer,
810
784
  bundlerUrl: n.bundlerUrl,
811
785
  paymasterUrl: n.paymasterUrl
@@ -817,7 +791,7 @@ async function er(e, t) {
817
791
  };
818
792
  }
819
793
  let i = r.publisherAddress ?? r.txSender.address ?? r.signer.address;
820
- return i?.trim() ? (T.createPublish(e, i, r, {
794
+ return i?.trim() ? (Re.createPublish(e, i, r, {
821
795
  ...t,
822
796
  dataItemSigner: $n(t?.dataItemSigner) ?? r.signer
823
797
  }), { outcome: "started" }) : { outcome: "no_address" };
@@ -825,12 +799,12 @@ async function er(e, t) {
825
799
  //#endregion
826
800
  //#region src/services/domainOwnership/registry.ts
827
801
  function Y(e) {
828
- let t = Ht(e);
802
+ let t = Gt(e);
829
803
  if (!t) throw Error(`@seedprotocol/publish: unable to resolve registrable domain for "${e}"`);
830
804
  return t.toLowerCase();
831
805
  }
832
806
  async function tr(e) {
833
- let t = Y(e), n = await Vt(t);
807
+ let t = Y(e), n = await Wt(t);
834
808
  if (!n.ok || !n.record) return null;
835
809
  let r = n.record;
836
810
  return {
@@ -845,7 +819,7 @@ async function tr(e) {
845
819
  };
846
820
  }
847
821
  function nr(e) {
848
- return Ct({
822
+ return Tt({
849
823
  domain: e.domain,
850
824
  creationDate: e.creationDate ?? "",
851
825
  registrarIanaId: e.registrarIanaId ?? ""
@@ -867,12 +841,12 @@ function ar(e) {
867
841
  if (!t || t.includes(" ")) throw Error("@seedprotocol/publish: createDomainOwnershipChallenge requires a valid domain");
868
842
  let n = e.claimer.trim();
869
843
  if (!/^0x[0-9a-fA-F]{40}$/.test(n)) throw Error("@seedprotocol/publish: createDomainOwnershipChallenge requires a 20-byte hex claimer address");
870
- let r = e.scope ?? dt, i = e.ttlMs ?? it, a = e.now ?? Date.now(), o = new Date(a + i).toISOString(), s = ir(rr(32)), c = St({
844
+ let r = e.scope ?? pt, i = e.ttlMs ?? ot, a = e.now ?? Date.now(), o = new Date(a + i).toISOString(), s = ir(rr(32)), c = wt({
871
845
  domain: t,
872
846
  claimer: n,
873
847
  token: s,
874
848
  scope: r
875
- }), l = yt(t), u = _t({
849
+ }), l = xt(t), u = yt({
876
850
  token: s,
877
851
  claimer: n,
878
852
  expiry: o
@@ -882,7 +856,7 @@ function ar(e) {
882
856
  domain: t,
883
857
  claimer: n,
884
858
  scope: r,
885
- method: st,
859
+ method: lt,
886
860
  token: s,
887
861
  txtName: l,
888
862
  txtValue: u,
@@ -915,10 +889,10 @@ function cr() {
915
889
  return typeof document > "u" && e.unshift((e) => or(e)), e;
916
890
  }
917
891
  function lr(e, t) {
918
- let n = Et(t);
892
+ let n = Ot(t);
919
893
  for (let r of e) {
920
894
  if (r === t || r.replace(/^"|"$/g, "") === t) return !0;
921
- let e = Et(r);
895
+ let e = Ot(r);
922
896
  if (n && e && e.token === n.token && e.claimer === n.claimer) return !0;
923
897
  }
924
898
  return !1;
@@ -931,7 +905,7 @@ async function ur(e, t) {
931
905
  lookups: [],
932
906
  error: "Challenge expired"
933
907
  };
934
- let r = _t({
908
+ let r = yt({
935
909
  token: e.token,
936
910
  claimer: e.claimer,
937
911
  expiry: e.expiresAt
@@ -966,30 +940,30 @@ async function ur(e, t) {
966
940
  //#region src/services/domainOwnership/index.ts
967
941
  var dr = "0x0000000000000000000000000000000000000000", fr = !0;
968
942
  function pr(e) {
969
- if (g(e)) return e.txSender;
970
- if (i(e)) return e;
943
+ if (i(e)) return e.txSender;
944
+ if (C(e)) return e;
971
945
  throw Error("@seedprotocol/publish: domain ownership write APIs require a PublishWallet or SeedTxSender");
972
946
  }
973
947
  async function X(e, t) {
974
948
  let n = await e.sendTransaction(t);
975
- return x(n.transactionHash);
949
+ return b(n.transactionHash);
976
950
  }
977
951
  function Z() {
978
- return It.getSchemaUID(A, dr, fr);
952
+ return zt.getSchemaUID(k, dr, fr);
979
953
  }
980
954
  async function mr(e) {
981
955
  let t = pr(e), n = Z();
982
- return await je(n) || (await X(t, Ae({
983
- schema: A,
956
+ return await Me(n) || (await X(t, ke({
957
+ schema: k,
984
958
  resolverAddress: dr,
985
959
  revocable: fr
986
- })), await X(t, De({
960
+ })), await X(t, Ae({
987
961
  schemaUid: n,
988
- schemaName: ut
962
+ schemaName: ft
989
963
  }))), n;
990
964
  }
991
965
  function hr(e) {
992
- return new Ft(A).encodeData([
966
+ return new Rt(k).encodeData([
993
967
  {
994
968
  name: "domain",
995
969
  value: e.domain,
@@ -1007,7 +981,7 @@ function hr(e) {
1007
981
  },
1008
982
  {
1009
983
  name: "challengeHash",
1010
- value: N(e.challengeHash),
984
+ value: M(e.challengeHash),
1011
985
  type: "bytes32"
1012
986
  },
1013
987
  {
@@ -1027,7 +1001,7 @@ function hr(e) {
1027
1001
  },
1028
1002
  {
1029
1003
  name: "registryFingerprint",
1030
- value: N(e.registryFingerprint),
1004
+ value: M(e.registryFingerprint),
1031
1005
  type: "bytes32"
1032
1006
  },
1033
1007
  {
@@ -1043,70 +1017,70 @@ function gr(e) {
1043
1017
  let t = Date.parse(e.registryExpirationDate);
1044
1018
  if (Number.isFinite(t) && t > 0) return Math.floor(t / 1e3);
1045
1019
  }
1046
- return e.verifiedAt + at;
1020
+ return e.verifiedAt + st;
1047
1021
  }
1048
1022
  async function _r(e) {
1049
1023
  let t = pr(e.wallet), n = e.ensureSchema === !1 ? Z() : await mr(e.wallet), r = Y(e.domain), i = e.claimer.trim();
1050
1024
  if (!/^0x[0-9a-fA-F]{40}$/.test(i)) throw Error("@seedprotocol/publish: attestDomainOwnership requires a valid claimer address");
1051
- let a = N(e.challengeHash);
1052
- if (a === V) throw Error("@seedprotocol/publish: attestDomainOwnership requires a non-zero challengeHash");
1053
- let o = e.verifiedAt ?? Math.floor(Date.now() / 1e3), s = nr({
1025
+ let a = M(e.challengeHash);
1026
+ if (a === z) throw Error("@seedprotocol/publish: attestDomainOwnership requires a non-zero challengeHash");
1027
+ let o = e.verifiedAt ?? Math.floor(Date.now() / 1e3), c = nr({
1054
1028
  domain: r,
1055
1029
  creationDate: e.registrySnapshot.creationDate ?? "",
1056
1030
  registrarIanaId: e.registrySnapshot.registrarIanaId ?? ""
1057
- }), l = e.registrySnapshot.creationDate ?? "", u = e.registrySnapshot.expirationDate ?? "", d = e.scope ?? dt, p = e.method ?? st, m = gr({
1031
+ }), l = e.registrySnapshot.creationDate ?? "", u = e.registrySnapshot.expirationDate ?? "", d = e.scope ?? pt, f = e.method ?? lt, m = gr({
1058
1032
  verifiedAt: o,
1059
1033
  registryExpirationDate: u,
1060
1034
  override: e.expirationTime
1061
1035
  }), h = hr({
1062
1036
  domain: r,
1063
1037
  claimer: i,
1064
- method: p,
1038
+ method: f,
1065
1039
  challengeHash: a,
1066
1040
  verifiedAt: o,
1067
1041
  registryCreationDate: l,
1068
1042
  registryExpirationDate: u,
1069
- registryFingerprint: s,
1043
+ registryFingerprint: c,
1070
1044
  scope: d
1071
- }), g = await X(t, c({
1045
+ }), g = await X(t, p({
1072
1046
  schema: n,
1073
1047
  data: {
1074
1048
  recipient: i,
1075
1049
  expirationTime: BigInt(m),
1076
1050
  revocable: !0,
1077
- refUID: V,
1051
+ refUID: z,
1078
1052
  data: h,
1079
1053
  value: 0n
1080
1054
  }
1081
1055
  }));
1082
1056
  if (!g) throw Error("@seedprotocol/publish: attestDomainOwnership failed — no receipt");
1083
- let { easContractAddress: _ } = C(), v = f(g, _);
1084
- if (!v || !M(v)) throw Error("@seedprotocol/publish: attestDomainOwnership failed — could not parse attestation UID");
1057
+ let { easContractAddress: _ } = w(), v = s(g, _);
1058
+ if (!v || !j(v)) throw Error("@seedprotocol/publish: attestDomainOwnership failed — could not parse attestation UID");
1085
1059
  return {
1086
1060
  uid: v,
1087
1061
  schemaUid: n,
1088
1062
  challengeHash: a,
1089
- registryFingerprint: s,
1063
+ registryFingerprint: c,
1090
1064
  verifiedAt: o,
1091
1065
  expirationTime: m
1092
1066
  };
1093
1067
  }
1094
1068
  async function vr(e) {
1095
- let t = pr(e.wallet), n = e.schemaUid ?? Z(), r = N(e.uid);
1096
- if (!M(r)) throw Error("@seedprotocol/publish: revokeDomainOwnership requires a valid attestation uid");
1097
- if (!await X(t, m([{
1098
- schema: n,
1099
- data: [{ uid: r }]
1069
+ let t = pr(e.wallet), r = e.schemaUid ?? Z(), i = M(e.uid);
1070
+ if (!j(i)) throw Error("@seedprotocol/publish: revokeDomainOwnership requires a valid attestation uid");
1071
+ if (!await X(t, n([{
1072
+ schema: r,
1073
+ data: [{ uid: i }]
1100
1074
  }]))) throw Error("@seedprotocol/publish: revokeDomainOwnership failed — no receipt");
1101
1075
  }
1102
1076
  async function yr(e) {
1103
- let { challenge: t } = e, n = St({
1077
+ let { challenge: t } = e, n = wt({
1104
1078
  domain: t.domain,
1105
1079
  claimer: t.claimer,
1106
1080
  token: t.token,
1107
1081
  scope: t.scope
1108
1082
  });
1109
- if (N(n) !== N(t.challengeHash)) return {
1083
+ if (M(n) !== M(t.challengeHash)) return {
1110
1084
  ok: !1,
1111
1085
  dns: {
1112
1086
  ok: !1,
@@ -1172,20 +1146,20 @@ async function br(e) {
1172
1146
  };
1173
1147
  }
1174
1148
  async function xr(e) {
1175
- let t = (await bt({
1149
+ let t = (await St({
1176
1150
  toolAddresses: e.toolAddresses,
1177
1151
  schemaUid: e.schemaUid,
1178
1152
  excludeRevoked: !0
1179
- })).find((t) => N(t.id) === N(e.uid));
1153
+ })).find((t) => M(t.id) === M(e.uid));
1180
1154
  if (!t) throw Error("@seedprotocol/publish: assessDomainOwnershipLive could not find attestation for uid/toolAddresses");
1181
- let n = vt(t.decodedDataJson ?? "[]"), r = e.registryLookup ?? tr, i;
1155
+ let n = bt(t.decodedDataJson ?? "[]"), r = e.registryLookup ?? tr, i;
1182
1156
  try {
1183
1157
  i = await r(n.domain);
1184
1158
  } catch {
1185
1159
  i = null;
1186
1160
  }
1187
1161
  return {
1188
- ...gt({
1162
+ ...vt({
1189
1163
  decoded: n,
1190
1164
  registrySnapshot: i,
1191
1165
  now: e.now
@@ -1199,48 +1173,48 @@ async function xr(e) {
1199
1173
  //#region src/services/publishedBy/index.ts
1200
1174
  var Sr = "0x0000000000000000000000000000000000000000", Cr = !0;
1201
1175
  function wr(e) {
1202
- if (g(e)) return e.txSender;
1203
- if (i(e)) return e;
1176
+ if (i(e)) return e.txSender;
1177
+ if (C(e)) return e;
1204
1178
  throw Error("@seedprotocol/publish: attestPublishedBy / revokePublishedBy require a PublishWallet or SeedTxSender");
1205
1179
  }
1206
1180
  async function Q(e, t) {
1207
1181
  let n = await e.sendTransaction(t);
1208
- return x(n.transactionHash);
1182
+ return b(n.transactionHash);
1209
1183
  }
1210
1184
  function $() {
1211
- return It.getSchemaUID(j, Sr, Cr);
1185
+ return zt.getSchemaUID(A, Sr, Cr);
1212
1186
  }
1213
1187
  async function Tr(e) {
1214
1188
  let t = wr(e), n = $();
1215
- return await je(n) || (await Q(t, Ae({
1216
- schema: j,
1189
+ return await Me(n) || (await Q(t, ke({
1190
+ schema: A,
1217
1191
  resolverAddress: Sr,
1218
1192
  revocable: Cr
1219
- })), await Q(t, De({
1193
+ })), await Q(t, Ae({
1220
1194
  schemaUid: n,
1221
- schemaName: ht
1195
+ schemaName: _t
1222
1196
  }))), n;
1223
1197
  }
1224
1198
  function Er(e) {
1225
- return new Ft(j).encodeData([
1199
+ return new Rt(A).encodeData([
1226
1200
  {
1227
1201
  name: "seedUid",
1228
- value: N(e.seedUid),
1202
+ value: M(e.seedUid),
1229
1203
  type: "bytes32"
1230
1204
  },
1231
1205
  {
1232
1206
  name: "versionUid",
1233
- value: N(e.versionUid || V),
1207
+ value: M(e.versionUid || z),
1234
1208
  type: "bytes32"
1235
1209
  },
1236
1210
  {
1237
1211
  name: "attestationUids",
1238
- value: e.attestationUids.map((e) => N(e)),
1212
+ value: e.attestationUids.map((e) => M(e)),
1239
1213
  type: "bytes32[]"
1240
1214
  },
1241
1215
  {
1242
1216
  name: "batchHash",
1243
- value: N(e.batchHash),
1217
+ value: M(e.batchHash),
1244
1218
  type: "bytes32"
1245
1219
  },
1246
1220
  {
@@ -1257,50 +1231,50 @@ function Er(e) {
1257
1231
  }
1258
1232
  async function Dr(e) {
1259
1233
  let t = wr(e.wallet), n = e.ensureSchema === !1 ? $() : await Tr(e.wallet), r = [], i;
1260
- if (e.mode === "uids") r = e.attestationUids.map((e) => N(e)).filter((e) => M(e)), i = e.batchHash ? N(e.batchHash) : Tt(r);
1234
+ if (e.mode === "uids") r = e.attestationUids.map((e) => M(e)).filter((e) => j(e)), i = e.batchHash ? M(e.batchHash) : Dt(r);
1261
1235
  else {
1262
1236
  if (!e.batchHash) throw Error("@seedprotocol/publish: attestPublishedBy hash mode requires batchHash");
1263
- if (i = N(e.batchHash), i === V) throw Error("@seedprotocol/publish: attestPublishedBy hash mode requires a non-zero batchHash");
1237
+ if (i = M(e.batchHash), i === z) throw Error("@seedprotocol/publish: attestPublishedBy hash mode requires a non-zero batchHash");
1264
1238
  }
1265
- let a = N(e.seedUid);
1266
- if (!M(a)) throw Error("@seedprotocol/publish: attestPublishedBy requires a valid seedUid");
1239
+ let a = M(e.seedUid);
1240
+ if (!j(a)) throw Error("@seedprotocol/publish: attestPublishedBy requires a valid seedUid");
1267
1241
  let o = Er({
1268
1242
  seedUid: a,
1269
- versionUid: N(e.versionUid ?? V),
1243
+ versionUid: M(e.versionUid ?? z),
1270
1244
  attestationUids: r,
1271
1245
  batchHash: i,
1272
1246
  toolName: e.toolName,
1273
1247
  toolVersion: e.toolVersion
1274
- }), s = await Q(t, c({
1248
+ }), c = await Q(t, p({
1275
1249
  schema: n,
1276
1250
  data: {
1277
- recipient: se,
1278
- expirationTime: BigInt(Pt),
1251
+ recipient: u,
1252
+ expirationTime: BigInt(Lt),
1279
1253
  revocable: !0,
1280
1254
  refUID: a,
1281
1255
  data: o,
1282
1256
  value: 0n
1283
1257
  }
1284
1258
  }));
1285
- if (!s) throw Error("@seedprotocol/publish: attestPublishedBy failed — no receipt");
1286
- let { easContractAddress: l } = C(), u = f(s, l);
1287
- if (!u || !M(u)) throw Error("@seedprotocol/publish: attestPublishedBy failed — could not parse attestation UID");
1259
+ if (!c) throw Error("@seedprotocol/publish: attestPublishedBy failed — no receipt");
1260
+ let { easContractAddress: l } = w(), d = s(c, l);
1261
+ if (!d || !j(d)) throw Error("@seedprotocol/publish: attestPublishedBy failed — could not parse attestation UID");
1288
1262
  return {
1289
- uid: u,
1263
+ uid: d,
1290
1264
  schemaUid: n,
1291
1265
  batchHash: i,
1292
1266
  attestationUids: r
1293
1267
  };
1294
1268
  }
1295
1269
  async function Or(e) {
1296
- let t = wr(e.wallet), n = e.schemaUid ?? $(), r = N(e.uid);
1297
- if (!M(r)) throw Error("@seedprotocol/publish: revokePublishedBy requires a valid attestation uid");
1298
- if (!await Q(t, m([{
1299
- schema: n,
1300
- data: [{ uid: r }]
1270
+ let t = wr(e.wallet), r = e.schemaUid ?? $(), i = M(e.uid);
1271
+ if (!j(i)) throw Error("@seedprotocol/publish: revokePublishedBy requires a valid attestation uid");
1272
+ if (!await Q(t, n([{
1273
+ schema: r,
1274
+ data: [{ uid: i }]
1301
1275
  }]))) throw Error("@seedprotocol/publish: revokePublishedBy failed — no receipt");
1302
1276
  }
1303
1277
  //#endregion
1304
- export { we as AttestationVerificationError, de as DEFAULT_PUBLISH_CHAIN, ot as DOMAIN_OWNERSHIP_METHOD, ct as DOMAIN_OWNERSHIP_SCHEMA_DEF, lt as DOMAIN_OWNERSHIP_SCHEMA_NAME, ft as EAS_CHAIN_DEPLOYMENTS, be as Eip7702ModularAccountPublishError, ae as MANAGED_ACCOUNT_FACTORY_ADDRESSES, v as MULTI_PUBLISH_ABI_REFERENCE_ADDRESS_OP_SEPOLIA, Se as ManagedAccountPublishError, pt as PUBLISHED_BY_SCHEMA_DEF, mt as PUBLISHED_BY_SCHEMA_NAME, Ke as PUBLISH_AUTHORIZATION_SCHEMA_DEF, Ve as PUBLISH_AUTHORIZATION_SCHEMA_NAME, We as PUBLISH_AUTHORIZATION_SCOPES, W as PUBLISH_GAS_HEURISTICS, re as PublishChainConfigError, T as PublishManager, Wt as PublishModeButtons, Gt as PublishProvider, te as SEED_PROTOCOL_CONTRACT_ADDRESS_OP_SEPOLIA, kt as SeedProvider, _e as asPublishWallet, ee as asSeedSigner, ge as asSeedTxSender, Je as assertExecutorModuleReadyForAccount, Ne as assertManagedAccountEasMatchesConfig, xr as assessDomainOwnershipLive, ze as assessPublishAuthorizationLive, _r as attestDomainOwnership, Pe as attestPublishAuthorization, Dr as attestPublishedBy, Ee as buildPublishAnchorBytes, Wn as clearAllPublishProcesses, Gn as clearAllUploadProcesses, Hn as clearCompletedPublishProcesses, Un as clearCompletedPublishProcessesForSeed, d as clearPublishWallet, Ye as collectPublishedBatch, _n as combinePublishCostEstimate, oe as configurePublish, ar as createDomainOwnershipChallenge, Xt as createPermissionlessTxSender, qn as deletePublishProcessById, Jn as deletePublishProcessesByIds, Kn as deletePublishProcessesForSeed, hr as encodeDomainOwnershipAttestationData, n as encodeEasAttest, _ as encodeEasMultiAttest, s as encodeEasMultiRevoke, o as encodeMultiPublish, u as encodeMultiPublishInteger, He as encodePublishAuthorizationAttestationData, Er as encodePublishedByAttestationData, l as encodeSetEas, mr as ensureDomainOwnershipSchema, Ue as ensureEasSchemasForItem, qe as ensureManagedAccountEasConfigured, Ge as ensurePublishAuthorizationSchema, Tr as ensurePublishedBySchema, er as ensureWalletThenPublish, vn as estimatePublishCost, nr as fingerprintFromRegistrySnapshot, Kt as fromEip1193Provider, he as fromEthersWallet, qt as fromWindowEthereum, Me as getArweave, Yn as getArweaveTransactionIds, dn as getCachedMarketRates, an as getCachedTokenPrices, Tn as getDisplayStepId, Z as getDomainOwnershipSchemaUid, xt as getEasChainDeployment, Xn as getEasPayload, Ie as getPublishAuthorizationSchemaUid, me as getPublishChainName, C as getPublishConfig, Dn as getPublishMachineValueForUi, b as getPublishPublicClient, S as getPublishWallet, $ as getPublishedBySchemaUid, wt as hashPublishedByBatch, $t as heuristicPublishGas, pe as initPublish, ue as isContractDeployed, ye as isEip7702ModularAccountPublishError, ve as isManagedAccountPublishError, g as isPublishWallet, xe as isRouterNonModularCoreAccountError, a as isSeedSigner, i as isSeedTxSender, tr as lookupDomainRegistry, Y as normalizeRegistrableDomain, Re as publishMachine, p as readGetEas, e as readIsActiveSigner, ne as requireManagedAccountFactoryAddress, fn as resetMarketRateCache, on as resetTokenPriceCache, En as resolvePublishDisplayValue, ce as resolvePublishEasChain, vr as revokeDomainOwnership, Be as revokePublishAuthorization, Or as revokePublishedBy, Ut as seedTwinConfig, t as setPublishWallet, Fe as simulateCallFromAccount, Ce as stringifyUnderlyingCause, Qn as transformPayloadToIntegerIds, Xe as uidsFromAttestationPairs, jn as useArweaveL1Finalize, An as useCanPublishItem, Mn as useItemPublishStatus, Le as usePublishConfig, Zn as usePublishCostEstimate, kn as usePublishProcess, Vn as usePublishProcessById, In as usePublishProcesses, Rn as usePublishProcessesForSeed, Ln as usePublishProcessesNonActiveCount, Bn as usePublishProcessesNonActiveCountForSeed, Fn as usePublishProcessesState, zn as usePublishProcessesStateForSeed, Qt as useSeedWallet, br as verifyAndAttestDomainOwnership, Oe as verifyDataItem, yr as verifyDomainOwnershipChallenge, ur as verifyDomainOwnershipDns, ie as verifyPublishChain, x as waitForPublishReceipt, wn as watchPublishCost };
1278
+ export { se as AttestationVerificationError, g as DEFAULT_PUBLISH_CHAIN, ct as DOMAIN_OWNERSHIP_METHOD, ut as DOMAIN_OWNERSHIP_SCHEMA_DEF, dt as DOMAIN_OWNERSHIP_SCHEMA_NAME, mt as EAS_CHAIN_DEPLOYMENTS, he as Eip7702ModularAccountPublishError, f as MANAGED_ACCOUNT_FACTORY_ADDRESSES, de as MULTI_PUBLISH_ABI_REFERENCE_ADDRESS_OP_SEPOLIA, pe as ManagedAccountPublishError, ht as PUBLISHED_BY_SCHEMA_DEF, gt as PUBLISHED_BY_SCHEMA_NAME, qe as PUBLISH_AUTHORIZATION_SCHEMA_DEF, Ve as PUBLISH_AUTHORIZATION_SCHEMA_NAME, Ge as PUBLISH_AUTHORIZATION_SCOPES, W as PUBLISH_GAS_HEURISTICS, ie as PublishChainConfigError, Re as PublishManager, qt as PublishModeButtons, Jt as PublishProvider, le as PublishTransactionRevertedError, l as SEED_PROTOCOL_CONTRACT_ADDRESS_OP_SEPOLIA, Mt as SeedProvider, we as asPublishWallet, m as asSeedSigner, r as asSeedTxSender, De as assertExecutorModuleReadyForAccount, Ne as assertManagedAccountEasMatchesConfig, xr as assessDomainOwnershipLive, ze as assessPublishAuthorizationLive, _r as attestDomainOwnership, Pe as attestPublishAuthorization, Dr as attestPublishedBy, We as buildPublishAnchorBytes, Gn as clearAllPublishProcesses, Kn as clearAllUploadProcesses, Un as clearCompletedPublishProcesses, Wn as clearCompletedPublishProcessesForSeed, t as clearPublishWallet, Ze as collectPublishedBatch, vn as combinePublishCostEstimate, ue as configurePublish, ar as createDomainOwnershipChallenge, U as createPermissionlessTxSender, Jn as deletePublishProcessById, Yn as deletePublishProcessesByIds, qn as deletePublishProcessesForSeed, hr as encodeDomainOwnershipAttestationData, o as encodeEasAttest, _ as encodeEasMultiAttest, v as encodeEasMultiRevoke, ge as encodeMultiPublish, Ue as encodePublishAuthorizationAttestationData, Er as encodePublishedByAttestationData, y as encodeSetEas, mr as ensureDomainOwnershipSchema, je as ensureEasSchemasForItem, Ye as ensureManagedAccountEasConfigured, Ke as ensurePublishAuthorizationSchema, Tr as ensurePublishedBySchema, er as ensureWalletThenPublish, yn as estimatePublishCost, nr as fingerprintFromRegistrySnapshot, H as fromEip1193Provider, a as fromEthersWallet, Yt as fromWindowEthereum, Ee as getArweave, Xn as getArweaveTransactionIds, fn as getCachedMarketRates, on as getCachedTokenPrices, En as getDisplayStepId, Z as getDomainOwnershipSchemaUid, Ct as getEasChainDeployment, Zn as getEasPayload, Fe as getPublishAuthorizationSchemaUid, be as getPublishChainName, w as getPublishConfig, On as getPublishMachineValueForUi, ye as getPublishPublicClient, x as getPublishWallet, $ as getPublishedBySchemaUid, Et as hashPublishedByBatch, en as heuristicPublishGas, ve as initPublish, re as isContractDeployed, ce as isEip7702ModularAccountPublishError, ee as isManagedAccountPublishError, i as isPublishWallet, Se as isRouterNonModularCoreAccountError, d as isSeedSigner, C as isSeedTxSender, tr as lookupDomainRegistry, Y as normalizeRegistrableDomain, Le as publishMachine, e as readFactorySeedExecutor, ae as readGetEas, xe as readIsActiveSigner, ne as requireManagedAccountFactoryAddress, pn as resetMarketRateCache, sn as resetTokenPriceCache, Dn as resolvePublishDisplayValue, fe as resolvePublishEasChain, vr as revokeDomainOwnership, Be as revokePublishAuthorization, Or as revokePublishedBy, Kt as seedTwinConfig, c as setPublishWallet, Xe as simulateCallFromAccount, Te as stringifyUnderlyingCause, Qe as uidsFromAttestationPairs, Mn as useArweaveL1Finalize, jn as useCanPublishItem, Nn as useItemPublishStatus, He as usePublishConfig, Qn as usePublishCostEstimate, An as usePublishProcess, Hn as usePublishProcessById, Ln as usePublishProcesses, zn as usePublishProcessesForSeed, Rn as usePublishProcessesNonActiveCount, Vn as usePublishProcessesNonActiveCountForSeed, In as usePublishProcessesState, Bn as usePublishProcessesStateForSeed, $t as useSeedWallet, br as verifyAndAttestDomainOwnership, Oe as verifyDataItem, yr as verifyDomainOwnershipChallenge, ur as verifyDomainOwnershipDns, oe as verifyPublishChain, b as waitForPublishReceipt, Tn as watchPublishCost };
1305
1279
 
1306
1280
  //# sourceMappingURL=index.js.map