@seedprotocol/publish 0.4.18 → 0.4.20
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/README.md +6 -0
- package/dist/config.d.ts +24 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/helpers/arweave.d.ts +3 -2
- package/dist/helpers/arweave.d.ts.map +1 -1
- package/dist/helpers/arweave.test.d.ts +2 -0
- package/dist/helpers/arweave.test.d.ts.map +1 -0
- package/dist/helpers/ensureManagedAccountReady.test.d.ts +2 -0
- package/dist/helpers/ensureManagedAccountReady.test.d.ts.map +1 -0
- package/dist/hooks/useArweaveL1Finalize.d.ts +23 -0
- package/dist/hooks/useArweaveL1Finalize.d.ts.map +1 -0
- package/dist/hooks/useItemPublishStatus.d.ts +8 -0
- package/dist/hooks/useItemPublishStatus.d.ts.map +1 -1
- package/dist/index-BfABV7U1.js +4840 -0
- package/dist/index-BfABV7U1.js.map +1 -0
- package/dist/index-DhVUuOO3.js +4824 -0
- package/dist/index-DhVUuOO3.js.map +1 -0
- package/dist/index-P7oBN4Yu.js +4785 -0
- package/dist/index-P7oBN4Yu.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +110 -4734
- package/dist/index.js.map +1 -1
- package/dist/services/PublishManager/actions/createPublish.d.ts.map +1 -1
- package/dist/services/arweaveL1Finalize/enqueue.d.ts +7 -0
- package/dist/services/arweaveL1Finalize/enqueue.d.ts.map +1 -0
- package/dist/services/arweaveL1Finalize/worker.d.ts +3 -0
- package/dist/services/arweaveL1Finalize/worker.d.ts.map +1 -0
- package/dist/services/publish/actors/createArweaveDataItems.d.ts.map +1 -1
- package/dist/services/publish/actors/createArweaveTransactions.d.ts.map +1 -1
- package/dist/services/publish/actors/createAttestations.d.ts.map +1 -1
- package/dist/services/publish/actors/createAttestationsDirectToEas.d.ts.map +1 -1
- package/dist/services/publish/helpers/getPublishUploadData.d.ts +8 -2
- package/dist/services/publish/helpers/getPublishUploadData.d.ts.map +1 -1
- package/dist/services/upload/uploadMachine.d.ts +1 -1
- package/dist/types.d.ts +10 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/worker-BxY09Tmw.js +73 -0
- package/dist/worker-BxY09Tmw.js.map +1 -0
- package/dist/worker-Ce8qDQKc.js +73 -0
- package/dist/worker-Ce8qDQKc.js.map +1 -0
- package/dist/worker-F-UKvyIU.js +73 -0
- package/dist/worker-F-UKvyIU.js.map +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -110,6 +110,12 @@ PublishManager.createPublish(item, address, account, {
|
|
|
110
110
|
|
|
111
111
|
You can also provide `signDataItems` or `dataItemSigner` in the PublishProvider config as a fallback when the signer is available at startup.
|
|
112
112
|
|
|
113
|
+
### Arweave upload tags
|
|
114
|
+
|
|
115
|
+
Add optional tags (e.g. `App-Name`) on **`PublishProvider` / `initPublish` config** as **`arweaveUploadTags`**, and/or per publish via **`createPublish` options**. Resolved order: **`[...configTags, ...perPublishTags]`**, appended after `Content-SHA-256` / `Content-Type` on each upload.
|
|
116
|
+
|
|
117
|
+
When implementing **`signDataItems`**, use **`upload.tags`** as the tag list for each DataItem. Avoid rebuilding tags from `contentHash` / `contentType` only, or you will drop configured tags.
|
|
118
|
+
|
|
113
119
|
## Development
|
|
114
120
|
|
|
115
121
|
```bash
|
package/dist/config.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type TransactionTag } from '@seedprotocol/sdk';
|
|
1
2
|
import { ethers } from 'ethers';
|
|
2
3
|
/** Serialized upload item for Arweave signing (input to callback or used internally with JWK) */
|
|
3
4
|
export interface SerializedPublishUpload {
|
|
@@ -30,6 +31,11 @@ export interface PublishConfig {
|
|
|
30
31
|
* Defaults to {@link uploadApiBaseUrl} (e.g. set `ARWEAVE_UPLOAD_API_BASE_URL` as `uploadApiBaseUrl`).
|
|
31
32
|
*/
|
|
32
33
|
arweaveUploadVerificationBaseUrl?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Arweave gateway GraphQL URL for resolving L1 bundle tx ids after bundler upload.
|
|
36
|
+
* Defaults to {@link DEFAULT_ARWEAVE_GRAPHQL_URL}.
|
|
37
|
+
*/
|
|
38
|
+
arweaveGraphqlUrl?: string;
|
|
33
39
|
/**
|
|
34
40
|
* Use integer indices instead of string localId/publishLocalId for multiPublish (gas-efficient).
|
|
35
41
|
* Set to true when using the new contract that expects uint256 localIdIndex/publishLocalIdIndex.
|
|
@@ -69,6 +75,12 @@ export interface PublishConfig {
|
|
|
69
75
|
* Uses uploadApiBaseUrl for the bundler endpoint. Not yet validated for production.
|
|
70
76
|
*/
|
|
71
77
|
useArweaveBundler?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Tags appended to every Arweave upload after Content-SHA-256 / Content-Type (e.g. App-Name).
|
|
80
|
+
* Merged at publish time with {@link CreatePublishOptions.arweaveUploadTags} as
|
|
81
|
+
* `[...config, ...options]`.
|
|
82
|
+
*/
|
|
83
|
+
arweaveUploadTags?: TransactionTag[];
|
|
72
84
|
/**
|
|
73
85
|
* Optional fallback: Sign Arweave upload transactions (non-bundler path). Prefer passing at createPublish time.
|
|
74
86
|
*/
|
|
@@ -89,6 +101,7 @@ export interface PublishConfig {
|
|
|
89
101
|
dataItemSigner?: ethers.Wallet | import('thirdweb/wallets').Account;
|
|
90
102
|
/**
|
|
91
103
|
* Optional fallback: Sign DataItems when useArweaveBundler is true. Prefer passing at createPublish time.
|
|
104
|
+
* Each upload includes `tags` (content + configured {@link arweaveUploadTags}); forward them into the DataItem.
|
|
92
105
|
*/
|
|
93
106
|
signDataItems?: (uploads: import('./services/publish/helpers/getPublishUploadData').PublishUploadData[]) => Promise<ArweaveDataItemInfoResult[]>;
|
|
94
107
|
}
|
|
@@ -96,7 +109,10 @@ export interface PublishConfig {
|
|
|
96
109
|
export interface CreatePublishOptions {
|
|
97
110
|
/** `patch` (default): pending properties only. `new_version`: new Version attestation + all properties. */
|
|
98
111
|
publishMode?: import('./types').PublishMode;
|
|
99
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Required when useArweaveBundler: sign DataItems (wallet flow).
|
|
114
|
+
* Use each upload's `tags` when building the signed DataItem.
|
|
115
|
+
*/
|
|
100
116
|
signDataItems?: (uploads: import('./services/publish/helpers/getPublishUploadData').PublishUploadData[]) => Promise<ArweaveDataItemInfoResult[]>;
|
|
101
117
|
/** Required when useArweaveBundler: signer for DataItems (backend/script flow) */
|
|
102
118
|
dataItemSigner?: ethers.Wallet | import('thirdweb/wallets').Account;
|
|
@@ -110,6 +126,11 @@ export interface CreatePublishOptions {
|
|
|
110
126
|
d?: string;
|
|
111
127
|
[key: string]: unknown;
|
|
112
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* Extra tags for this publish only, appended after {@link PublishConfig.arweaveUploadTags}.
|
|
131
|
+
* Resolved order: `[...initPublishTags, ...theseTags]`.
|
|
132
|
+
*/
|
|
133
|
+
arweaveUploadTags?: TransactionTag[];
|
|
113
134
|
}
|
|
114
135
|
/**
|
|
115
136
|
* Internal: Set config ref. Called by PublishProvider on mount or initPublish.
|
|
@@ -132,6 +153,8 @@ export interface ResolvedPublishConfig extends PublishConfig {
|
|
|
132
153
|
uploadApiBaseUrl: string;
|
|
133
154
|
/** Resolved verification origin (defaults to uploadApiBaseUrl). */
|
|
134
155
|
arweaveUploadVerificationBaseUrl: string;
|
|
156
|
+
/** Resolved GraphQL endpoint for L1 tx resolution (defaults to DEFAULT_ARWEAVE_GRAPHQL_URL). */
|
|
157
|
+
arweaveGraphqlUrl: string;
|
|
135
158
|
easContractAddress: string;
|
|
136
159
|
useIntegerLocalIds: boolean;
|
|
137
160
|
useDirectEas: boolean;
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"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AAU,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IACtF;;;OAGG;IACH,iBAAiB,CAAC,EAAE,cAAc,EAAE,CAAA;CACrC;AAKD;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,IAAI,CAE1D;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,aAAa,GAAG,IAAI,CAEnD;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI,CAmBlD;AAED,kEAAkE;AAClE,eAAO,MAAM,gBAAgB,oBAAc,CAAA;AAE3C,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,6BAA6B,EAAE,MAAM,CAAA;IACrC,gBAAgB,EAAE,MAAM,CAAA;IACxB,mEAAmE;IACnE,gCAAgC,EAAE,MAAM,CAAA;IACxC,gGAAgG;IAChG,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,YAAY,EAAE,OAAO,CAAA;IACrB,wBAAwB,EAAE,MAAM,CAAA;IAChC,kBAAkB,EAAE,OAAO,CAAA;IAC3B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,mCAAmC;IACnC,wBAAwB,EAAE,OAAO,CAAA;CAClC;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,qBAAqB,CAwBxD"}
|
|
@@ -4,6 +4,7 @@ interface Tag {
|
|
|
4
4
|
name: string;
|
|
5
5
|
value: string;
|
|
6
6
|
}
|
|
7
|
+
export declare function buildPublishAnchorBytes(walletAddress: string, timestampMs: number, uniqueness: bigint): Uint8Array;
|
|
7
8
|
/**
|
|
8
9
|
* Type guard: true if signer is ethers.Wallet (has privateKey). Thirdweb Account does not.
|
|
9
10
|
*/
|
|
@@ -21,7 +22,7 @@ export declare const writeUint64LE: (value: number) => Uint8Array;
|
|
|
21
22
|
/**
|
|
22
23
|
* Create a signed ANS-104 DataItem. Uses deep-hash for the message to sign (per arbundles/Irys).
|
|
23
24
|
*/
|
|
24
|
-
export declare const createSignedDataItem: (data: Uint8Array, signer: ethers.Wallet, tags: Tag[]) => Promise<{
|
|
25
|
+
export declare const createSignedDataItem: (data: Uint8Array, signer: ethers.Wallet, tags: Tag[], rawAnchor?: Uint8Array) => Promise<{
|
|
25
26
|
id: string;
|
|
26
27
|
raw: Uint8Array;
|
|
27
28
|
}>;
|
|
@@ -29,7 +30,7 @@ export declare const createSignedDataItem: (data: Uint8Array, signer: ethers.Wal
|
|
|
29
30
|
* Create a signed ANS-104 DataItem using a Thirdweb Account (EOA, ManagedAccount, Modular Account).
|
|
30
31
|
* Uses deep-hash for the message to sign (per arbundles/Irys).
|
|
31
32
|
*/
|
|
32
|
-
export declare const createSignedDataItemWithAccount: (data: Uint8Array, account: Account, tags: Tag[]) => Promise<{
|
|
33
|
+
export declare const createSignedDataItemWithAccount: (data: Uint8Array, account: Account, tags: Tag[], rawAnchor?: Uint8Array) => Promise<{
|
|
33
34
|
id: string;
|
|
34
35
|
raw: Uint8Array;
|
|
35
36
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arweave.d.ts","sourceRoot":"","sources":["../../src/helpers/arweave.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAsB/C,UAAU,GAAG;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;
|
|
1
|
+
{"version":3,"file":"arweave.d.ts","sourceRoot":"","sources":["../../src/helpers/arweave.ts"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{"version":3,"file":"arweave.test.d.ts","sourceRoot":"","sources":["../../src/helpers/arweave.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensureManagedAccountReady.test.d.ts","sourceRoot":"","sources":["../../src/helpers/ensureManagedAccountReady.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type ArweaveL1FinalizeJobRow = {
|
|
2
|
+
id: number;
|
|
3
|
+
seedLocalId: string;
|
|
4
|
+
dataItemId: string;
|
|
5
|
+
l1TransactionId: string | null;
|
|
6
|
+
bundleId: string | null;
|
|
7
|
+
phase: string;
|
|
8
|
+
statusJson: string | null;
|
|
9
|
+
errorMessage: string | null;
|
|
10
|
+
versionLocalId: string | null;
|
|
11
|
+
itemPropertyName: string | null;
|
|
12
|
+
updatedAt: number | null;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Live L1 finalization jobs for a seed (bundler path). Empty when not using bundler or no jobs.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useArweaveL1Finalize(seedLocalId: string | undefined): {
|
|
18
|
+
hasPendingL1: boolean;
|
|
19
|
+
pendingCount: number;
|
|
20
|
+
confirmedCount: number;
|
|
21
|
+
jobs: ArweaveL1FinalizeJobRow[];
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=useArweaveL1Finalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useArweaveL1Finalize.d.ts","sourceRoot":"","sources":["../../src/hooks/useArweaveL1Finalize.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB,CAAA;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS;;;;;EA0BnE"}
|
|
@@ -19,5 +19,13 @@ export declare function useItemPublishStatus(seedLocalId: string | undefined): {
|
|
|
19
19
|
publishProcess: import("xstate").ActorRef<any, any, import("xstate").EventObject> | null;
|
|
20
20
|
isActive: boolean;
|
|
21
21
|
publishValue: string | undefined;
|
|
22
|
+
arweaveL1Pending: boolean;
|
|
23
|
+
arweaveL1Jobs: import("./useArweaveL1Finalize").ArweaveL1FinalizeJobRow[];
|
|
24
|
+
arweaveL1Summary: {
|
|
25
|
+
hasPendingL1: boolean;
|
|
26
|
+
pendingCount: number;
|
|
27
|
+
confirmedCount: number;
|
|
28
|
+
jobs: import("./useArweaveL1Finalize").ArweaveL1FinalizeJobRow[];
|
|
29
|
+
};
|
|
22
30
|
};
|
|
23
31
|
//# sourceMappingURL=useItemPublishStatus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useItemPublishStatus.d.ts","sourceRoot":"","sources":["../../src/hooks/useItemPublishStatus.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useItemPublishStatus.d.ts","sourceRoot":"","sources":["../../src/hooks/useItemPublishStatus.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,CAAA;AAEzF,MAAM,WAAW,oBAAoB;IACnC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,oBAAoB,CAAA;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS;;;;;;;;;;;;;EA4BnE"}
|