@zoralabs/coins-sdk 0.4.3 → 0.4.6
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 +23 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @zoralabs/coins-sdk
|
|
2
2
|
|
|
3
|
+
## 0.4.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [625684d2]
|
|
8
|
+
- Updated dependencies [50134ebc]
|
|
9
|
+
- @zoralabs/protocol-deployments@0.7.5
|
|
10
|
+
|
|
11
|
+
## 0.4.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [78dffbdc]
|
|
16
|
+
- @zoralabs/protocol-deployments@0.7.4
|
|
17
|
+
|
|
18
|
+
## 0.4.4
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [67d27f1d]
|
|
23
|
+
- Updated dependencies [27f588b2]
|
|
24
|
+
- @zoralabs/protocol-deployments@0.7.3
|
|
25
|
+
|
|
3
26
|
## 0.4.3
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -61,14 +84,12 @@
|
|
|
61
84
|
- 4819056e: Creator coins can only be created via the Zora app. This SDK allows you to create content coins paired with existing creator coins.
|
|
62
85
|
|
|
63
86
|
Create content flow uses server-generated calldata via the SDK API.
|
|
64
|
-
|
|
65
87
|
- **Server-generated calldata**: `createCoinCall` now requests calldata from the SDK API and returns an array of transaction parameters `{ to, data, value }[]` instead of a Viem `SimulateContractParameters` object.
|
|
66
88
|
- **Direct transaction sending**: `createCoin` constructs and sends the transaction using `walletClient.sendTransaction` with manual gas estimation and an option to skip validation.
|
|
67
89
|
- **Sanity checks**: Ensures the call targets the expected factory for the specified `chainId` and that no ETH value is sent with this SDK version.
|
|
68
90
|
- **Smart accounts support**: Compatible with smart accounts thanks to server-generated calldata.
|
|
69
91
|
|
|
70
92
|
API changes (breaking changes):
|
|
71
|
-
|
|
72
93
|
- **Args shape updated**
|
|
73
94
|
- Removed: `initialPurchase`, and `currency: DeployCurrency`.
|
|
74
95
|
- Renamed: `owners` to `additionalOwners` - adds additional owners to the coin, `payoutRecipient` to `payoutRecipientOverride` overrides the creator as the payout recipient.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoralabs/coins-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"repository": "https://github.com/ourzora/zora-protocol",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@hey-api/client-fetch": "^0.8.3",
|
|
26
|
-
"@zoralabs/protocol-deployments": "^0.7.
|
|
26
|
+
"@zoralabs/protocol-deployments": "^0.7.5"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"abitype": "^1.0.8",
|