@seedprotocol/publish 0.7.10 → 0.7.11-next.1396.g883ef47

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 (72) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/README.md +1 -1
  3. package/dist/{chainConfig-B8U89YJb.js → chainConfig-nYXoVL1s.js} +1283 -1284
  4. package/dist/chainConfig-nYXoVL1s.js.map +1 -0
  5. package/dist/{collectBatchUids-CnIe9jUB.js → collectBatchUids-qRc2q61Q.js} +1 -2
  6. package/dist/collectBatchUids-qRc2q61Q.js.map +1 -0
  7. package/dist/config.d.ts +0 -2
  8. package/dist/config.d.ts.map +1 -1
  9. package/dist/{ensureAutomationSessionKey-B19eVd1T.js → ensureAutomationSessionKey-BaaHU2Wb.js} +27 -27
  10. package/dist/{ensureAutomationSessionKey-B19eVd1T.js.map → ensureAutomationSessionKey-BaaHU2Wb.js.map} +1 -1
  11. package/dist/{ensureModularPublishBootstrap-COEV4BGz.js → ensureModularPublishBootstrap-NzYQ1MfY.js} +9 -9
  12. package/dist/{ensureModularPublishBootstrap-COEV4BGz.js.map → ensureModularPublishBootstrap-NzYQ1MfY.js.map} +1 -1
  13. package/dist/{ensureSmartWalletThenPublish-DhWyUjt0.js → ensureSmartWalletThenPublish-CpuDoo5O.js} +16 -16
  14. package/dist/{ensureSmartWalletThenPublish-DhWyUjt0.js.map → ensureSmartWalletThenPublish-CpuDoo5O.js.map} +1 -1
  15. package/dist/helpers/adapters/eip1193.d.ts +1 -3
  16. package/dist/helpers/adapters/eip1193.d.ts.map +1 -1
  17. package/dist/helpers/assertStorageBoundToIdentity.d.ts.map +1 -1
  18. package/dist/helpers/constants.d.ts +0 -13
  19. package/dist/helpers/constants.d.ts.map +1 -1
  20. package/dist/helpers/enrollPublishAutomation.d.ts +5 -1
  21. package/dist/helpers/enrollPublishAutomation.d.ts.map +1 -1
  22. package/dist/helpers/publishWalletRegistry.d.ts +1 -5
  23. package/dist/helpers/publishWalletRegistry.d.ts.map +1 -1
  24. package/dist/hooks/index.d.ts +1 -1
  25. package/dist/hooks/index.d.ts.map +1 -1
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +239 -239
  29. package/dist/index.js.map +1 -1
  30. package/dist/managedAccountAdmin-BeSXTCeH.js +26 -0
  31. package/dist/{managedAccountAdmin-xZbC3bQ5.js.map → managedAccountAdmin-BeSXTCeH.js.map} +1 -1
  32. package/dist/{publishAuthorization-CpmPRbpm.js → publishAuthorization-CVl5ZK5B.js} +37 -34
  33. package/dist/publishAuthorization-CVl5ZK5B.js.map +1 -0
  34. package/dist/publishWalletRegistry-BaQe9rIR.js.map +1 -1
  35. package/dist/react/PublishProvider.thirdweb.d.ts +0 -1
  36. package/dist/react/PublishProvider.thirdweb.d.ts.map +1 -1
  37. package/dist/{resolveRevokeAccount-D08n9UTy.js → resolveRevokeAccount-DRrUY9FR.js} +12 -12
  38. package/dist/{resolveRevokeAccount-D08n9UTy.js.map → resolveRevokeAccount-DRrUY9FR.js.map} +1 -1
  39. package/dist/services/domainOwnership/index.d.ts.map +1 -1
  40. package/dist/services/domainOwnership/public.d.ts +1 -1
  41. package/dist/services/domainOwnership/public.d.ts.map +1 -1
  42. package/dist/services/publish/actors/index.d.ts +1 -1
  43. package/dist/services/publish/actors/index.d.ts.map +1 -1
  44. package/dist/services/publish/actors/seedUidHelpers.d.ts +0 -39
  45. package/dist/services/publish/actors/seedUidHelpers.d.ts.map +1 -1
  46. package/dist/services/publish/actors/utils.d.ts +0 -1
  47. package/dist/services/publish/actors/utils.d.ts.map +1 -1
  48. package/dist/services/publish/index.d.ts +4 -6
  49. package/dist/services/publish/index.d.ts.map +1 -1
  50. package/dist/services/publishAuthorization/index.d.ts +1 -1
  51. package/dist/services/publishAuthorization/index.d.ts.map +1 -1
  52. package/dist/services/publishCost/index.d.ts +2 -2
  53. package/dist/services/publishCost/index.d.ts.map +1 -1
  54. package/dist/services/publishedBy/collectBatchUids.d.ts +0 -2
  55. package/dist/services/publishedBy/collectBatchUids.d.ts.map +1 -1
  56. package/dist/services/publishedBy/index.d.ts +1 -3
  57. package/dist/services/publishedBy/index.d.ts.map +1 -1
  58. package/dist/services/publishedBy/public.d.ts +1 -1
  59. package/dist/services/publishedBy/public.d.ts.map +1 -1
  60. package/dist/thirdweb.js +129 -128
  61. package/dist/thirdweb.js.map +1 -1
  62. package/dist/{worker-4DXDWw6E.js → worker-D1czx7Yg.js} +2 -2
  63. package/dist/{worker-4DXDWw6E.js.map → worker-D1czx7Yg.js.map} +1 -1
  64. package/package.json +7 -9
  65. package/dist/chainConfig-B8U89YJb.js.map +0 -1
  66. package/dist/collectBatchUids-CnIe9jUB.js.map +0 -1
  67. package/dist/managedAccountAdmin-xZbC3bQ5.js +0 -26
  68. package/dist/publishAuthorization-CpmPRbpm.js.map +0 -1
  69. package/dist/services/publish/seeds.d.ts +0 -2
  70. package/dist/services/publish/seeds.d.ts.map +0 -1
  71. package/dist/services/shared.d.ts +0 -7
  72. package/dist/services/shared.d.ts.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
+ - **Breaking:** `configurePublish` (an alias of `initPublish`) and `SEED_PROTOCOL_CONTRACT_ADDRESS_OP_SEPOLIA` (the deprecated name of `MULTI_PUBLISH_ABI_REFERENCE_ADDRESS_OP_SEPOLIA`) are removed.
8
+ - `assessPublishAuthorizationLive` reports a revoked grant as `'revoked'`; it returned `'valid'`. It and `assertStorageBoundToIdentity` now see the grant's EAS `expirationTime`, so a grant past it is `'expired'` and no longer binds a data item owner.
9
+ - `enrollPublishAutomation` defaults `expiresAt` to 365 days from now and gives the session key and the PublishAuthorization the same value. Before, a call without `expiresAt` added a session key with no expiry.
10
+ - `attestPublishAuthorization` throws when `wallet` isn't the `identity` account.
11
+ - `attestPublishAuthorization`, `attestPublishedBy` and `attestDomainOwnership` check their inputs before registering or naming a schema, so a bad call sends no transactions.
12
+
5
13
  ## 0.7.10 (2026-10-24)
6
14
 
7
15
  - `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.
@@ -35,7 +43,7 @@ All notable changes to this project will be documented in this file.
35
43
  ### Breaking
36
44
 
37
45
  - `getPublishUploadData(item, options)` takes the options second, as the SDK's does.
38
- - **Publish only uploads data items.** The L1 path (an Arweave transaction the upload API reimbursed from its own wallet, then confirmed and uploaded in chunks) is removed, so the upload server can drop its reimbursement route. Files go to `${uploadApiBaseUrl}/api/upload/arweave/batch` as signed data items, or to Turbo with `payment: { storage: 'user' }`.
46
+ - **Publish only uploads data items.** The L1 path (an Arweave transaction the upload API reimbursed from its own wallet, then confirmed and uploaded in chunks) is removed. Files go to `${uploadApiBaseUrl}/api/upload/arweave/batch` as signed data items, or to Turbo with `payment: { storage: 'user' }`.
39
47
  - `useArweaveBundler` is deprecated. `true` changes nothing; `false` makes `initPublish` throw `PublishPaymentConfigError`. Apps that left it unset now upload data items and need `signDataItems` or a `dataItemSigner` (at `createPublish` or in the config).
40
48
  - Removed: the `signArweaveTransactions` and `arweaveJwk` options (config and `createPublish`), the `SerializedPublishUpload` and `ArweaveTransactionInfoResult` types, and the context fields `reimbursementTransactionId`, `reimbursementConfirmed`, `requestResponse`, `transactionKeys`, `uploaderState` and `currentTransactionIndex`.
41
49
  - `resolvePublishPayment(...).storage.path` and a cost estimate's `arweave.path` are always `'bundler'`. `chargedUploadBytes(work, uploadTo)` drops its `path` argument; `combinePublishCostEstimate` still accepts `arweavePath: 'bundler'`.
package/README.md CHANGED
@@ -233,7 +233,7 @@ const twin = seedTwinConfig(twinJson)
233
233
 
234
234
  initPublish({
235
235
  ...twin.publish, // chain 31337, rpcUrl, addresses, executor, thirdweb: { bundlerUrl, sponsorGas: false, modularWalletMode: 'EOA' }
236
- uploadApiBaseUrl: 'http://localhost:3000', // your seed-protocol-server
236
+ uploadApiBaseUrl: 'http://localhost:3000', // your local upload API
237
237
  thirdwebClientId, // login stays hosted; allow the local origin
238
238
  useModularExecutor: true,
239
239
  })