@seedprotocol/publish 0.7.9-next.1306.g4ff6582 → 0.7.10-next.1344.g3828e8a

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 +26 -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
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## Unreleased
6
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
+
13
+ ## 0.7.9 (2026-10-22)
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.
8
16
  - Recording passes each request's `versionLocalId` to `updateVersionUid` and each attestation's `_attestedValue` to `applyPropertyAttestationUidsFromPublish`, so both update the rows the payload was built from.
9
17
  - The data-item steps and `itemNeedsArweaveUpload` read uploads from rows: a publish restored from its saved record no longer loads the item first.
@@ -21,6 +29,24 @@ All notable changes to this project will be documented in this file.
21
29
  - A publish saved mid-way through the L1 path (`creatingArweaveTransactions`, `sendingReimbursementRequest`, `pollingForConfirmation`, `uploadingData` or their `Phase2` states) is marked interrupted on restore instead of resuming; publish the item again.
22
30
  - The L1-finalize worker no longer restores data item ids that publish 0.7.4 and earlier overwrote with L1 ids. Databases that old are recreated by `@seedprotocol/sdk` (minimum upgrade-from version 0.7.7).
23
31
 
32
+ ### Commits
33
+
34
+ #### Breaking
35
+
36
+ - sdk: recreate databases older than 0.7.7, drop the legacy repairs (8bebbd1c)
37
+ - upload only data items, remove the L1 reimbursement path (51301c01)
38
+
39
+ #### Fixes
40
+
41
+ - sdk: record a publish uid on the row whose value was attested (6c43bdb4)
42
+
43
+ #### Other
44
+
45
+ - sdk: build publish from rows with one graph walk (T11) (9e67b723)
46
+ - eas, sdk: one EAS model-schema lookup and one model_uids rule (02e732aa)
47
+ - revoke retracted properties after attesting; unpublish revokes the seed first (62759057)
48
+ - Unload items the publish actors reload, and ensureEasSchemas' related items (deacc79f)
49
+
24
50
  ## 0.7.7 (2026-10-18)
25
51
 
26
52
  ### Commits