@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.
- package/CHANGELOG.md +9 -1
- package/README.md +1 -1
- package/dist/{chainConfig-B8U89YJb.js → chainConfig-nYXoVL1s.js} +1283 -1284
- package/dist/chainConfig-nYXoVL1s.js.map +1 -0
- package/dist/{collectBatchUids-CnIe9jUB.js → collectBatchUids-qRc2q61Q.js} +1 -2
- package/dist/collectBatchUids-qRc2q61Q.js.map +1 -0
- package/dist/config.d.ts +0 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/{ensureAutomationSessionKey-B19eVd1T.js → ensureAutomationSessionKey-BaaHU2Wb.js} +27 -27
- package/dist/{ensureAutomationSessionKey-B19eVd1T.js.map → ensureAutomationSessionKey-BaaHU2Wb.js.map} +1 -1
- package/dist/{ensureModularPublishBootstrap-COEV4BGz.js → ensureModularPublishBootstrap-NzYQ1MfY.js} +9 -9
- package/dist/{ensureModularPublishBootstrap-COEV4BGz.js.map → ensureModularPublishBootstrap-NzYQ1MfY.js.map} +1 -1
- package/dist/{ensureSmartWalletThenPublish-DhWyUjt0.js → ensureSmartWalletThenPublish-CpuDoo5O.js} +16 -16
- package/dist/{ensureSmartWalletThenPublish-DhWyUjt0.js.map → ensureSmartWalletThenPublish-CpuDoo5O.js.map} +1 -1
- package/dist/helpers/adapters/eip1193.d.ts +1 -3
- package/dist/helpers/adapters/eip1193.d.ts.map +1 -1
- package/dist/helpers/assertStorageBoundToIdentity.d.ts.map +1 -1
- package/dist/helpers/constants.d.ts +0 -13
- package/dist/helpers/constants.d.ts.map +1 -1
- package/dist/helpers/enrollPublishAutomation.d.ts +5 -1
- package/dist/helpers/enrollPublishAutomation.d.ts.map +1 -1
- package/dist/helpers/publishWalletRegistry.d.ts +1 -5
- package/dist/helpers/publishWalletRegistry.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +239 -239
- package/dist/index.js.map +1 -1
- package/dist/managedAccountAdmin-BeSXTCeH.js +26 -0
- package/dist/{managedAccountAdmin-xZbC3bQ5.js.map → managedAccountAdmin-BeSXTCeH.js.map} +1 -1
- package/dist/{publishAuthorization-CpmPRbpm.js → publishAuthorization-CVl5ZK5B.js} +37 -34
- package/dist/publishAuthorization-CVl5ZK5B.js.map +1 -0
- package/dist/publishWalletRegistry-BaQe9rIR.js.map +1 -1
- package/dist/react/PublishProvider.thirdweb.d.ts +0 -1
- package/dist/react/PublishProvider.thirdweb.d.ts.map +1 -1
- package/dist/{resolveRevokeAccount-D08n9UTy.js → resolveRevokeAccount-DRrUY9FR.js} +12 -12
- package/dist/{resolveRevokeAccount-D08n9UTy.js.map → resolveRevokeAccount-DRrUY9FR.js.map} +1 -1
- package/dist/services/domainOwnership/index.d.ts.map +1 -1
- package/dist/services/domainOwnership/public.d.ts +1 -1
- package/dist/services/domainOwnership/public.d.ts.map +1 -1
- package/dist/services/publish/actors/index.d.ts +1 -1
- package/dist/services/publish/actors/index.d.ts.map +1 -1
- package/dist/services/publish/actors/seedUidHelpers.d.ts +0 -39
- package/dist/services/publish/actors/seedUidHelpers.d.ts.map +1 -1
- package/dist/services/publish/actors/utils.d.ts +0 -1
- package/dist/services/publish/actors/utils.d.ts.map +1 -1
- package/dist/services/publish/index.d.ts +4 -6
- package/dist/services/publish/index.d.ts.map +1 -1
- package/dist/services/publishAuthorization/index.d.ts +1 -1
- package/dist/services/publishAuthorization/index.d.ts.map +1 -1
- package/dist/services/publishCost/index.d.ts +2 -2
- package/dist/services/publishCost/index.d.ts.map +1 -1
- package/dist/services/publishedBy/collectBatchUids.d.ts +0 -2
- package/dist/services/publishedBy/collectBatchUids.d.ts.map +1 -1
- package/dist/services/publishedBy/index.d.ts +1 -3
- package/dist/services/publishedBy/index.d.ts.map +1 -1
- package/dist/services/publishedBy/public.d.ts +1 -1
- package/dist/services/publishedBy/public.d.ts.map +1 -1
- package/dist/thirdweb.js +129 -128
- package/dist/thirdweb.js.map +1 -1
- package/dist/{worker-4DXDWw6E.js → worker-D1czx7Yg.js} +2 -2
- package/dist/{worker-4DXDWw6E.js.map → worker-D1czx7Yg.js.map} +1 -1
- package/package.json +7 -9
- package/dist/chainConfig-B8U89YJb.js.map +0 -1
- package/dist/collectBatchUids-CnIe9jUB.js.map +0 -1
- package/dist/managedAccountAdmin-xZbC3bQ5.js +0 -26
- package/dist/publishAuthorization-CpmPRbpm.js.map +0 -1
- package/dist/services/publish/seeds.d.ts +0 -2
- package/dist/services/publish/seeds.d.ts.map +0 -1
- package/dist/services/shared.d.ts +0 -7
- 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
|
|
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
|
|
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
|
})
|