You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a2eabfc
Browse filesBrowse the repository at this point in the historyBrowse files
committed
Release v2.11.2
Origin-SHA: 6e70c083664cd32ba233423dda3c02071b7fdffb
### Patch Changes
- e83546e: Docs: the README search examples use `opensea search <query> --types collection` and `client.search.query(...)`, the syntax the CLI and SDK accept.
- 6b30bd0: `opensea drops deploy` validates `--drop-type` and `--token-type` against the values the API accepts before sending a request, and `--send` refuses a contract-creation deploy (`erc721_standard`, which has no `to` address) with a clear message instead of sending it.
- Updated dependencies [e83546e]
- Updated dependencies [e83546e]
- Updated dependencies [86b3bcd]
- Updated dependencies [6b30bd0]
- @opensea/api-types@0.16.0
- @opensea/sdk@12.11.3
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,18 @@
1
1
# @opensea/cli
2
2
3
+
## 2.11.2
4
+
5
+
### Patch Changes
6
+
7
+
- e83546e: Docs: the README search examples use `opensea search <query> --types collection` and `client.search.query(...)`, the syntax the CLI and SDK accept.
8
+
- 6b30bd0: `opensea drops deploy` validates `--drop-type` and `--token-type` against the values the API accepts before sending a request, and `--send` refuses a contract-creation deploy (`erc721_standard`, which has no `to` address) with a clear message instead of sending it.
Copy file name to clipboardExpand all lines: src/sdk.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -606,7 +606,13 @@ export class DropsAPI {
606
606
`Wallet ${address} is not the deploy sender ${sender}. The deploy was built for ${sender}; send it from that wallet, or request a new deploy with the wallet's address as sender.`,
607
607
)
608
608
}
609
-
returnsendDropTransaction(evmWallet,tx,callbacks)
609
+
const{ to }=tx
610
+
if(to===null){
611
+
thrownewError(
612
+
"This deploy is a contract-creation transaction with no `to` address, which the wallet adapters cannot send yet. Run without --send and broadcast it with no `to` from your own wallet, or deploy with token_type erc721_clone.",
613
+
)
614
+
}
615
+
returnsendDropTransaction(evmWallet,{ ...tx, to },callbacks)
0 commit comments