@seedprotocol/publish 0.7.9 → 0.7.10-next.1353.g74aeeed

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 (34) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{chainConfig-CD-RgKkA.js → chainConfig-B8U89YJb.js} +1011 -1008
  3. package/dist/chainConfig-B8U89YJb.js.map +1 -0
  4. package/dist/{ensureAutomationSessionKey-CHXAuk8Q.js → ensureAutomationSessionKey-B19eVd1T.js} +3 -3
  5. package/dist/{ensureAutomationSessionKey-CHXAuk8Q.js.map → ensureAutomationSessionKey-B19eVd1T.js.map} +1 -1
  6. package/dist/{ensureModularPublishBootstrap-Cit8PlNN.js → ensureModularPublishBootstrap-COEV4BGz.js} +3 -3
  7. package/dist/{ensureModularPublishBootstrap-Cit8PlNN.js.map → ensureModularPublishBootstrap-COEV4BGz.js.map} +1 -1
  8. package/dist/{ensureSmartWalletThenPublish-C2FS784-.js → ensureSmartWalletThenPublish-DhWyUjt0.js} +2 -2
  9. package/dist/{ensureSmartWalletThenPublish-C2FS784-.js.map → ensureSmartWalletThenPublish-DhWyUjt0.js.map} +1 -1
  10. package/dist/helpers/publishItem.d.ts +1 -1
  11. package/dist/helpers/publishItem.d.ts.map +1 -1
  12. package/dist/hooks/usePublishCostEstimate.d.ts.map +1 -1
  13. package/dist/hooks/usePublishCostEstimate.test.d.ts +2 -0
  14. package/dist/hooks/usePublishCostEstimate.test.d.ts.map +1 -0
  15. package/dist/index.js +325 -293
  16. package/dist/index.js.map +1 -1
  17. package/dist/{managedAccountAdmin-BmO4USir.js → managedAccountAdmin-xZbC3bQ5.js} +2 -2
  18. package/dist/{managedAccountAdmin-BmO4USir.js.map → managedAccountAdmin-xZbC3bQ5.js.map} +1 -1
  19. package/dist/{publishAuthorization-D1HYOu23.js → publishAuthorization-CpmPRbpm.js} +2 -2
  20. package/dist/{publishAuthorization-D1HYOu23.js.map → publishAuthorization-CpmPRbpm.js.map} +1 -1
  21. package/dist/{resolveRevokeAccount-CK8SbaVn.js → resolveRevokeAccount-D08n9UTy.js} +2 -2
  22. package/dist/{resolveRevokeAccount-CK8SbaVn.js.map → resolveRevokeAccount-D08n9UTy.js.map} +1 -1
  23. package/dist/services/publish/actors/createAttestations.d.ts +4 -3
  24. package/dist/services/publish/actors/createAttestations.d.ts.map +1 -1
  25. package/dist/services/publish/actors/createAttestationsDirectToEas.d.ts.map +1 -1
  26. package/dist/services/publish/actors/utils.d.ts +5 -0
  27. package/dist/services/publish/actors/utils.d.ts.map +1 -1
  28. package/dist/services/publishCost/watchPublishCost.d.ts +19 -2
  29. package/dist/services/publishCost/watchPublishCost.d.ts.map +1 -1
  30. package/dist/thirdweb.js +5 -5
  31. package/dist/{worker-BlNDHv1o.js → worker-4DXDWw6E.js} +2 -2
  32. package/dist/{worker-BlNDHv1o.js.map → worker-4DXDWw6E.js.map} +1 -1
  33. package/package.json +9 -9
  34. package/dist/chainConfig-CD-RgKkA.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## Unreleased
6
+
7
+ - `publishItem` (the executor behind `item.publish()`) holds the item until the publish settles, so an item the caller looked up without a hold doesn't unload mid-publish after the SDK's grace period. The publish steps that look an item up themselves take an explicit hold (`Item.find({ hold: true })`), since `find` no longer holds by default.
8
+ - `watchPublishCost` re-estimates after writes to the item's seed, version and property rows, through the SDK's change feed, where one runs (the browser). It compared the loaded property instances' values on every item update, so it missed edits made in another tab or to rows the loaded item hadn't read. In Node, which has no change feed, it still compares the loaded values. The new `watchRows` option replaces how rows are watched.
9
+ - A publish restored from its saved record releases the Item it loads to create attestations once the step finishes or fails, on the multiPublish path too (the direct-EAS path already did). The item stayed held, so it was never unloaded. The lookup that waits for that item now runs one `Item.find` at a time; overlapping lookups each took a hold and only one was returned.
10
+ - `usePublishCostEstimate` keeps showing the last estimate (as `isStale`) when it gets a new Item instance for the same `seedLocalId` and `publishMode`, until the new watcher's first estimate arrives. It showed `null` in between. `watchPublishCost` takes the estimate to start from as `previousEstimate`.
11
+ - `watchPublishCost` retries a failed first estimate once after 5 s (`firstEstimateRetryMs`, 0 turns it off) and stays `isEstimating` until the retry settles. A failed first estimate left `estimate` null until the item changed or `refresh()` was called.
12
+
5
13
  ## 0.7.9 (2026-10-22)
6
14
 
7
15
  - `ensureEasSchemasForItem` registers the schemas of every seed the publish attests from the SDK's `getPublishGraph`, each definition once. It walked each related item's subtree again for every item that referred to it.