@6529-collections/stream-sdk 0.0.0-stage → 0.1.0-bootstrap.0

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 (148) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/LICENSE +201 -0
  3. package/NOTICE +4 -0
  4. package/README.md +413 -2
  5. package/dist/actions/accounts.d.ts +58 -0
  6. package/dist/actions/accounts.js +73 -0
  7. package/dist/actions/content.d.ts +22 -0
  8. package/dist/actions/content.js +45 -0
  9. package/dist/actions/curated.d.ts +177 -0
  10. package/dist/actions/curated.js +279 -0
  11. package/dist/actions/editions.d.ts +100 -0
  12. package/dist/actions/editions.js +161 -0
  13. package/dist/actions/independent.d.ts +149 -0
  14. package/dist/actions/independent.js +274 -0
  15. package/dist/actions/money.d.ts +117 -0
  16. package/dist/actions/money.js +148 -0
  17. package/dist/actions/record.d.ts +144 -0
  18. package/dist/actions/record.js +229 -0
  19. package/dist/actions/sale.d.ts +82 -0
  20. package/dist/actions/sale.js +113 -0
  21. package/dist/actions/shared.d.ts +40 -0
  22. package/dist/actions/shared.js +70 -0
  23. package/dist/actions/vault.d.ts +58 -0
  24. package/dist/actions/vault.js +94 -0
  25. package/dist/constants.d.ts +130 -0
  26. package/dist/constants.js +65 -0
  27. package/dist/display.d.ts +31 -0
  28. package/dist/display.js +28 -0
  29. package/dist/encoding.d.ts +110 -0
  30. package/dist/encoding.js +138 -0
  31. package/dist/errors.d.ts +76 -0
  32. package/dist/errors.js +66 -0
  33. package/dist/files/fetch.d.ts +85 -0
  34. package/dist/files/fetch.js +208 -0
  35. package/dist/files/verify.d.ts +36 -0
  36. package/dist/files/verify.js +125 -0
  37. package/dist/generated/abis/AccessManager.d.ts +1125 -0
  38. package/dist/generated/abis/AccessManager.js +1471 -0
  39. package/dist/generated/abis/Accounts.d.ts +1568 -0
  40. package/dist/generated/abis/Accounts.js +2049 -0
  41. package/dist/generated/abis/ClaimRouter.d.ts +343 -0
  42. package/dist/generated/abis/ClaimRouter.js +452 -0
  43. package/dist/generated/abis/ConsolidationAdapter.d.ts +97 -0
  44. package/dist/generated/abis/ConsolidationAdapter.js +133 -0
  45. package/dist/generated/abis/ContentStore.d.ts +812 -0
  46. package/dist/generated/abis/ContentStore.js +1073 -0
  47. package/dist/generated/abis/EconomicsResolver.d.ts +586 -0
  48. package/dist/generated/abis/EconomicsResolver.js +769 -0
  49. package/dist/generated/abis/Eip712CurationVerifier.d.ts +304 -0
  50. package/dist/generated/abis/Eip712CurationVerifier.js +406 -0
  51. package/dist/generated/abis/EnglishAuction.d.ts +1435 -0
  52. package/dist/generated/abis/EnglishAuction.js +1865 -0
  53. package/dist/generated/abis/GovernedVault.d.ts +468 -0
  54. package/dist/generated/abis/GovernedVault.js +617 -0
  55. package/dist/generated/abis/IndependentEditionAuction.d.ts +2373 -0
  56. package/dist/generated/abis/IndependentEditionAuction.js +3076 -0
  57. package/dist/generated/abis/IndependentStream6529.d.ts +1408 -0
  58. package/dist/generated/abis/IndependentStream6529.js +1834 -0
  59. package/dist/generated/abis/IndependentStreamDeployer.d.ts +141 -0
  60. package/dist/generated/abis/IndependentStreamDeployer.js +188 -0
  61. package/dist/generated/abis/IndependentStreamEditions6529.d.ts +963 -0
  62. package/dist/generated/abis/IndependentStreamEditions6529.js +1253 -0
  63. package/dist/generated/abis/IndependentStreamRegistry.d.ts +1351 -0
  64. package/dist/generated/abis/IndependentStreamRegistry.js +1755 -0
  65. package/dist/generated/abis/PackageRegistry.d.ts +1205 -0
  66. package/dist/generated/abis/PackageRegistry.js +1573 -0
  67. package/dist/generated/abis/RevenueEscrow.d.ts +626 -0
  68. package/dist/generated/abis/RevenueEscrow.js +820 -0
  69. package/dist/generated/abis/SaleStarter.d.ts +48 -0
  70. package/dist/generated/abis/SaleStarter.js +67 -0
  71. package/dist/generated/abis/SepoliaOpenGate.d.ts +317 -0
  72. package/dist/generated/abis/SepoliaOpenGate.js +419 -0
  73. package/dist/generated/abis/SplitLedger.d.ts +1097 -0
  74. package/dist/generated/abis/SplitLedger.js +1438 -0
  75. package/dist/generated/abis/StatementLog.d.ts +958 -0
  76. package/dist/generated/abis/StatementLog.js +1248 -0
  77. package/dist/generated/abis/Stream6529.d.ts +1490 -0
  78. package/dist/generated/abis/Stream6529.js +1941 -0
  79. package/dist/generated/abis/StreamDirectory6529.d.ts +355 -0
  80. package/dist/generated/abis/StreamDirectory6529.js +468 -0
  81. package/dist/generated/abis/StreamEditions6529.d.ts +1240 -0
  82. package/dist/generated/abis/StreamEditions6529.js +1614 -0
  83. package/dist/generated/abis/StreamTerms.d.ts +312 -0
  84. package/dist/generated/abis/StreamTerms.js +409 -0
  85. package/dist/generated/abis/StreamWorkFacts6529.d.ts +810 -0
  86. package/dist/generated/abis/StreamWorkFacts6529.js +1049 -0
  87. package/dist/generated/abis/UniformEditionAuction.d.ts +2372 -0
  88. package/dist/generated/abis/UniformEditionAuction.js +3074 -0
  89. package/dist/generated/abis/WorkDelivery.d.ts +605 -0
  90. package/dist/generated/abis/WorkDelivery.js +786 -0
  91. package/dist/generated/abis/WorkRules.d.ts +1154 -0
  92. package/dist/generated/abis/WorkRules.js +1501 -0
  93. package/dist/generated/abis/index.d.ts +28 -0
  94. package/dist/generated/abis/index.js +31 -0
  95. package/dist/generated/instances.d.ts +7 -0
  96. package/dist/generated/instances.js +9 -0
  97. package/dist/generated/sepoliaR10.d.ts +1391 -0
  98. package/dist/generated/sepoliaR10.js +1545 -0
  99. package/dist/hashing/content.d.ts +42 -0
  100. package/dist/hashing/content.js +54 -0
  101. package/dist/hashing/ids.d.ts +67 -0
  102. package/dist/hashing/ids.js +73 -0
  103. package/dist/hashing/items.d.ts +30 -0
  104. package/dist/hashing/items.js +44 -0
  105. package/dist/hashing/packages.d.ts +35 -0
  106. package/dist/hashing/packages.js +76 -0
  107. package/dist/hashing/vault.d.ts +17 -0
  108. package/dist/hashing/vault.js +37 -0
  109. package/dist/hashing/workState.d.ts +31 -0
  110. package/dist/hashing/workState.js +37 -0
  111. package/dist/index.d.ts +44 -0
  112. package/dist/index.js +47 -0
  113. package/dist/instance.d.ts +236 -0
  114. package/dist/instance.js +99 -0
  115. package/dist/items.d.ts +85 -0
  116. package/dist/items.js +144 -0
  117. package/dist/reads/accounts.d.ts +86 -0
  118. package/dist/reads/accounts.js +121 -0
  119. package/dist/reads/chain.d.ts +54 -0
  120. package/dist/reads/chain.js +133 -0
  121. package/dist/reads/creation.d.ts +139 -0
  122. package/dist/reads/creation.js +256 -0
  123. package/dist/reads/editionSale.d.ts +120 -0
  124. package/dist/reads/editionSale.js +182 -0
  125. package/dist/reads/metadata.d.ts +195 -0
  126. package/dist/reads/metadata.js +191 -0
  127. package/dist/reads/money.d.ts +51 -0
  128. package/dist/reads/money.js +68 -0
  129. package/dist/reads/network.d.ts +137 -0
  130. package/dist/reads/network.js +157 -0
  131. package/dist/reads/sale.d.ts +94 -0
  132. package/dist/reads/sale.js +133 -0
  133. package/dist/reads/vault.d.ts +47 -0
  134. package/dist/reads/vault.js +75 -0
  135. package/dist/reads/work.d.ts +293 -0
  136. package/dist/reads/work.js +338 -0
  137. package/dist/reads/workPage.d.ts +197 -0
  138. package/dist/reads/workPage.js +169 -0
  139. package/dist/signing/messages.d.ts +679 -0
  140. package/dist/signing/messages.js +397 -0
  141. package/dist/testing.d.ts +17 -0
  142. package/dist/testing.js +18 -0
  143. package/dist/types.d.ts +167 -0
  144. package/dist/types.js +14 -0
  145. package/docs/publishing.md +54 -0
  146. package/docs/reference.md +335 -0
  147. package/docs/using-from-a-site.md +175 -0
  148. package/package.json +93 -4
@@ -0,0 +1,175 @@
1
+ # Using the SDK from a site
2
+
3
+ For someone building pages on this library: a work page, a create flow, a bidding flow. The
4
+ function-by-function reference is [`reference.md`](reference.md); this page is the shape of
5
+ the main read, the rules for showing files, and what a site must do itself.
6
+
7
+ ## Clients
8
+
9
+ Every function takes a viem client and an instance (`sepoliaR10`).
10
+
11
+ - **Reads** take any client. Use one with an explicit RPC and `batch: { multicall: true }`, so
12
+ the reads of one page go out as a few requests.
13
+ - **Actions** take `{ public, wallet }`. `wallet` must have an account. The library checks
14
+ the wallet's chain before every signature and transaction and refuses a wrong one
15
+ (`WrongChainError`); it never asks the wallet to switch. Switching is the site's job.
16
+ - Errors the library throws are `StreamSdkError` with a stable `code` (`StreamErrorCode`). A
17
+ contract's own refusal comes through as viem's error; `isContractRevert(error, "Name")`
18
+ tells which.
19
+ - **The RPC provider must keep old logs.** `readWorkPage` and the other reads that scan events
20
+ need logs back to `instance.startBlock`. A provider that has pruned them makes those reads
21
+ throw `HistoryUnavailableError` (`code: "HISTORY_UNAVAILABLE"`): show "the data provider
22
+ cannot serve this work's history", not "work not found". See "The RPC provider you need" in
23
+ the README.
24
+
25
+ ## The work page: `readWorkPage`
26
+
27
+ One call returns what a page about one work shows. Every part is checked against the hashes
28
+ the token contract stores, as your RPC reports them (see "What verified means" in the README).
29
+
30
+ ```ts
31
+ const page = await readWorkPage(client, sepoliaR10, { tokenId }, { fetchFiles: "primary" });
32
+ ```
33
+
34
+ | Field | What it holds | Notes for display |
35
+ | --- | --- | --- |
36
+ | `work` | Item hash, artist ID and identity, collection, serial, kind, owner, `firstSale`, royalty, record flags, license, media list | `firstSale` is `"none"`, `"sold"`, `"unsold"` or `"rescued"`. `owner` is null for a burned token. `artist` holds addresses and profile IDs, not a name |
37
+ | `item` | The item the work was minted from, or null if it could not be found | When present it hashes to `work.itemHash` |
38
+ | `parties` | Who is credited, the lead artist first | From `item` |
39
+ | `files[]` | Each file: ID, role, SHA-256, size, type, `onChain`, `locators`, `check`, `bytes`, `display` | `bytes` only when `check.status === "verified"`. Show them as `display` says (below) |
40
+ | `record` | `fileId`, `json`, `parsed` (name, description, artists, year, medium, dimensions, attributes), `check`, `finalized` | The text is the artist's own: escape it. `parsed` is null unless the record verified |
41
+ | `metadata` | `tokenURI`, parsed: what marketplaces and wallets show | Not verified. Use it to compare, not as the page's source. `recordStatus` set means the renderer could not use the record |
42
+ | `license` | `spdxId`, `textFileId`, `key`, `locked`, `canChange`, `atMint` | Use `canChange` for "can this still change": it is false for CC0 and for a locked license |
43
+ | `royalty` | `receiver`, `rate` (of 100,000), `percent`, `locked` | |
44
+ | `royaltyVault` | The second vault royalties are paid to, and the seller vault's part waiting there | `collectRoyalties` moves that part on; anyone may |
45
+ | `split` | The seller vault, and per payee: `kind`, `artistId`, `account`, share, `paidTo`, `releasableBy`, `releasable`, `released` | Below, "Payees" |
46
+ | `sale`, `saleHistory` | The 1/1 auction now, and its bids and settlement | `sale.bid` is 0 and `bidder` null when nobody holds a bid. `minimumBid` is null when the sale takes no bids |
47
+ | `editionSale`, `edition` | An edition master's edition sale, and the edition (`minted`, `sealedMaximum`, `cap`) | Null for an original. Use `editionSale.biddingOpen`, not the clock. Show three separate numbers: copies minted, the sealed maximum (null until sealed) and the creator's original cap. The sealed maximum is a ceiling, not a count: do not write "sealed at N minted" |
48
+ | `checks` | What was checked | Below |
49
+ | `filesFetched` | `{ verified, total }`, the record included | |
50
+ | `sources` | For each part, where it came from: `kind: "contract"` (a contract, its address, the functions or events read) or `kind: "transaction"` (decoded from a transaction's input: its `transactionHash` and the contract it called) | `contractAt(instance, address)` or `instance.contracts[name]` gives the Solidity source URL. The item is the part that can come from a transaction: link the transaction |
51
+
52
+ ### `checks`
53
+
54
+ Every field is `true`, `false` or `null`.
55
+
56
+ - `true`: checked, and it held.
57
+ - `false`: checked, and it FAILED. Do not present that part as fact; say that it did not verify.
58
+ - `null`: not checked, because the data was not available or was not fetched. Do not show a
59
+ "verified" mark for it.
60
+
61
+ | Check | Meaning |
62
+ | --- | --- |
63
+ | `itemMatchesToken` | The item found hashes to the item hash the token stores |
64
+ | `contentMatchesPrimaryFile` | The item's content hash is the primary file's SHA-256 |
65
+ | `filesMatchItem` | The files the record lists are the media list the item commits to |
66
+ | `splitMatchesMint` | The seller vault derived from the item's payees is the one the mint recorded |
67
+ | `filesVerified` | Every listed file and the record were fetched and verified. Null when some were not fetched: with the default `fetchFiles: "primary"` and a work of several files it stays null |
68
+
69
+ ### Payees
70
+
71
+ A payee is named in one of two ways, and `kind` says which:
72
+
73
+ - `"artist"`: by an artist ID. It names no address: `account` is null (the item holds the zero
74
+ address there, and showing a profile for that address is a bug). Show the artist by
75
+ `artistId`, and `paidTo` as the address being paid: the account's payout address, which the
76
+ artist can change, or null while the account does not exist.
77
+ - `"address"`: by one fixed address, in `account` and `paidTo` alike.
78
+
79
+ Show the "take out" button when `canRelease(payee, connectedWallet)` is true: for an artist
80
+ payee that is only the wallet that equals `paidTo` (the artist's other wallets need
81
+ `signReleaseAuthorization` and `releaseSigned`); for an address payee any connected wallet
82
+ can send it and the money goes to `paidTo`. To call `releaseFromVault`, pass
83
+ `split.payees.map((payee) => payee.listed)` as the payee list.
84
+
85
+ ### Options
86
+
87
+ - `fetchFiles`: `"primary"` (default), `"all"` or `"none"`. A list page wants `"none"` or
88
+ `readWork`; a work page wants `"primary"` or `"all"`.
89
+ - `fetchRecord`: default true.
90
+ - `holder`: include this wallet's edition balance.
91
+ - `gateways`, `maxBytes`, `timeoutMs`, `fetch`: passed to the file fetch. The default gateways
92
+ are public services that see who fetches.
93
+ - `fromBlock`, `blockWindow`: for the event scans.
94
+
95
+ The shape only gains fields from here; a change to an existing field will be announced in
96
+ [`CHANGELOG.md`](../CHANGELOG.md).
97
+
98
+ ## Showing a file
99
+
100
+ "Verified" means the bytes are the ones the work commits to. It does not mean they are safe
101
+ to put in your page: the content store accepts any type, and SVG, HTML and JavaScript can run
102
+ code. Each file carries `display` (`displayAdvice(mimeType)`):
103
+
104
+ | `display.kind` | How to show it | Never |
105
+ | --- | --- | --- |
106
+ | `image` | `<img>` with a blob URL or data URL made from `bytes` | |
107
+ | `svg` | `<img>` only. In an `<img>` an SVG's scripts do not run and it cannot load other resources | Inline it, set it as `innerHTML`, use `<object>`/`<embed>`/`<iframe>` with your origin, or open it as a document from your own origin |
108
+ | `document` | `<iframe sandbox="allow-scripts">` (the value of `display.iframeSandbox`) with a blob URL or `srcdoc` | Add `allow-same-origin`, serve it from your own origin, or put it in your DOM |
109
+ | `media` | `<audio>` or `<video>` with a blob URL | |
110
+ | `text` | As text (`textContent`), in a `<pre>` if you like | As HTML |
111
+ | `download` | A download link | Render it |
112
+
113
+ Two more rules:
114
+
115
+ - Set the blob's type from `file.mimeType`, which the manifest declares and the file ID
116
+ commits to. The store limits it to lowercase letters, digits and `+-._/`.
117
+ - An image URL inside `metadata.json` or inside a record can point anywhere. Loading it tells
118
+ that server who is looking. Prefer the verified `files[]`.
119
+
120
+ All text from the chain is untrusted: record fields, collection names, statement URIs, token
121
+ metadata. Escape it, and consider removing control and bidirectional-override characters from
122
+ names before listing them.
123
+
124
+ ## Before a wallet signs
125
+
126
+ The library computes every hash that goes into a signature locally and takes deadlines from
127
+ the chain's clock (refusing when that clock is more than a day from the computer's). A site
128
+ should still show the signer what the opaque hash stands for:
129
+
130
+ | Signature | Show the signer |
131
+ | --- | --- |
132
+ | `acceptPackage` | Every item of the package they are a party of: files, parties, payees and shares, license, edition terms. Pass those items in `items`: each is checked against the registry's rules first |
133
+ | `signMove` / `startCuratedSale` | The one item, and that anyone holding the signature can start its sale once until the deadline |
134
+ | `listIndependentContract` | The contract, and the network's share (`readListingPlan(...).feeShare`); pass that number as `expectedFeeShare` |
135
+ | `signIndependentConsent` | The item and the royalty rate the artist approved |
136
+ | `signRelicenseConsent`, `signRoyaltyRateConsent`, `signRenounce` | The work's current state (`readWorkState`) and the change. Every party signs the same deadline: pass the first signer's `deadline` to the others |
137
+ | `stageIdentityChange` | All four fields of the identity after the change (`readAccount` gives the current ones) |
138
+ | `signReleaseAuthorization` | The vault, the recipient and the amount (`"all"` must be chosen explicitly) |
139
+
140
+ ## What changed since the first version of `readWorkPage`
141
+
142
+ If your adapter was written against the first version:
143
+
144
+ - `checks.*` are `boolean | null` (they were `boolean`); `checks.filesMatchItem` and
145
+ `filesFetched` are new.
146
+ - `work.firstSale` is `"none" | "sold" | "unsold" | "rescued"` (was `"unbid"`, `"frozenOut"`).
147
+ - `license.canChange` is new; use it instead of `locked`.
148
+ - New top-level `royaltyVault`, `metadata`, `edition`; new `record.parsed`; `files[].display`;
149
+ `split.payees[].payoutAddress` and `releasableBy`; `edition.cap`.
150
+ - `sale.bid` is 0 when nobody holds a bid.
151
+ - `split.payees[].account` is null for a payee named by artist ID (it was the zero address);
152
+ `kind`, `paidTo` (the same value as `payoutAddress`) and `listed` are new, and so is
153
+ `canRelease(payee, viewer)`. `sources.*` have a `kind`, and `sources.item` is
154
+ `kind: "transaction"` with a `transactionHash` when the item was decoded from the start
155
+ transaction; its `contract` is now the contract that transaction called.
156
+ - `edition.sealedMaximum` is new. A sealed edition's `maxSupply` is its final maximum, not
157
+ the number of copies minted; earlier text here said otherwise.
158
+ - Elsewhere: `bid` is `placeBid`; `createCollection` is `createCollectionThroughGate`;
159
+ `testProfile`, `send` and `sign` are in `@6529-collections/stream-sdk/testing`;
160
+ `listIndependentContract` needs `expectedFeeShare`; `settleEditionSale` returns
161
+ `{ settled, voided, transactions }`; `stageIdentityChange` takes the whole `next` identity;
162
+ `signReleaseAuthorization` needs `amount`; the hash functions take `instance.protocol` first.
163
+
164
+ ## What the site must do itself
165
+
166
+ - Choose and trust an RPC. The library does not verify it.
167
+ - Switch the wallet's network.
168
+ - Names: the chain holds profile IDs and addresses. Names come from wherever the site keeps
169
+ profiles.
170
+ - Lists at scale: `readWorks` and the history reads scan events from the instance's start on
171
+ every call. That suits a testnet; a busy site wants an indexer and can use these reads to
172
+ check it.
173
+ - Register consolidations: they are made in the 6529 delegation contract
174
+ (`instance.delegation`), not in these contracts. The library reads them (`readIsWallet`,
175
+ `readIsConsolidated`).
package/package.json CHANGED
@@ -1,6 +1,95 @@
1
1
  {
2
2
  "name": "@6529-collections/stream-sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0-bootstrap.0",
4
+ "description": "Reference TypeScript library for 6529 Stream: read a work, verify it, and use the contracts. Pre-audit, test networks only.",
5
+ "license": "Apache-2.0",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/6529-Collections/6529-stream-sdk.git"
11
+ },
12
+ "engines": {
13
+ "node": ">=22.13.0"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE",
19
+ "NOTICE",
20
+ "CHANGELOG.md",
21
+ "docs"
22
+ ],
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "import": "./dist/index.js",
27
+ "default": "./dist/index.js"
28
+ },
29
+ "./abis": {
30
+ "types": "./dist/generated/abis/index.d.ts",
31
+ "import": "./dist/generated/abis/index.js",
32
+ "default": "./dist/generated/abis/index.js"
33
+ },
34
+ "./abis/*": {
35
+ "types": "./dist/generated/abis/*.d.ts",
36
+ "import": "./dist/generated/abis/*.js",
37
+ "default": "./dist/generated/abis/*.js"
38
+ },
39
+ "./testing": {
40
+ "types": "./dist/testing.d.ts",
41
+ "import": "./dist/testing.js",
42
+ "default": "./dist/testing.js"
43
+ },
44
+ "./package.json": "./package.json"
45
+ },
46
+ "scripts": {
47
+ "prepare": "npm run build",
48
+ "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
49
+ "build": "npm run clean && tsc -p tsconfig.build.json",
50
+ "typecheck": "tsc -p tsconfig.json --noEmit",
51
+ "lint": "eslint .",
52
+ "test": "vitest run",
53
+ "test:live": "vitest run --config vitest.live.config.ts",
54
+ "example:read-work": "tsx examples/read-work.ts",
55
+ "example:work-page": "tsx examples/work-page.ts",
56
+ "example:network": "tsx examples/network.ts",
57
+ "example:wallet": "tsx examples/wallet.ts",
58
+ "generate": "node scripts/generate.mjs",
59
+ "vectors": "node scripts/make-vectors.mjs",
60
+ "reference": "node scripts/reference.mjs",
61
+ "test:fork": "vitest run --config vitest.fork.config.ts",
62
+ "size": "node scripts/size.mjs",
63
+ "pack:test": "bash scripts/pack-test.sh"
64
+ },
65
+ "peerDependencies": {
66
+ "viem": "^2.21.0"
67
+ },
68
+ "devDependencies": {
69
+ "@eslint/js": "^10.0.0",
70
+ "@openzeppelin/merkle-tree": "^1.0.8",
71
+ "@types/node": "^24.0.0",
72
+ "esbuild": "0.28.2",
73
+ "eslint": "^10.0.0",
74
+ "tsx": "^4.20.0",
75
+ "typescript": "~6.0.3",
76
+ "typescript-eslint": "^8.74.0",
77
+ "viem": "^2.58.0",
78
+ "vitest": "^5.0.0"
79
+ },
80
+ "keywords": [
81
+ "6529",
82
+ "nft",
83
+ "viem",
84
+ "ethereum"
85
+ ],
86
+ "homepage": "https://github.com/6529-Collections/6529-stream-sdk#readme",
87
+ "bugs": {
88
+ "url": "https://github.com/6529-Collections/6529-stream-sdk/issues"
89
+ },
90
+ "types": "./dist/index.d.ts",
91
+ "publishConfig": {
92
+ "access": "public",
93
+ "registry": "https://registry.npmjs.org/"
94
+ }
95
+ }