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 707b0a0
Browse filesBrowse the repository at this point in the historyBrowse files
committed
Release v2.9.1
Origin-SHA: 5f657f94ac77da0ecbcc5efdf264d0ba3cca707d
### Patch Changes
- c5aada3: `events list` no longer accepts a chain filter. `GET /api/v2/events` has no `chain` parameter and returns events from every chain whatever is sent, so the flag never filtered anything. `opensea events list --chain <chain>` and `opensea --chain <chain> events list` now exit with an error that points to `events by-account <address> --chain <chain>` and `events by-nft <chain> <contract> <token-id>`, which do filter by chain. The programmatic `EventsAPI.list` stops sending `chain`, and its `chain` option is deprecated.
Correction to 2.9.0: its notes list `events list` among the commands whose `--chain` filter was restored. That filter never applied on this endpoint; only `collections list` and `events by-account` filter by chain.
- f5676f0: `opensea tokens holders` now describes the distribution it returns: total holders, the share of eligible supply held by the top 250, and a health score and label.
- Updated dependencies [6ffe0c9]
- Updated dependencies [e7882a8]
- Updated dependencies [a1e4356]
- Updated dependencies [f5676f0]
- @opensea/api-types@0.14.2
- @opensea/sdk@12.10.2
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: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ pnpm run format
24
24
1.**Never hand-roll API request/response types**. Import from `@opensea/api-types` via `src/types/api.ts`. Run `pnpm --filter @opensea/api-types run update-spec && pnpm --filter @opensea/api-types run build` before adding endpoints.
25
25
2.**API path check**. `pnpm check-api-paths` (from the repo root) fails if source code references an `/api/v2/...` URL not in `packages/api-types/opensea-api.json`.
26
26
3.**CLI commands are thin**. Parse args, call `OpenSeaClient`, format output with `formatOutput()` (or `outputGet()` from `src/output.ts` for plain GET commands, which also handles TOON). Keep business logic in the client.
27
-
4.**One file per domain in `src/commands/`**. Register new commands in`src/commands/index.ts` and wire in `src/cli.ts`.
27
+
4.**One file per domain in `src/commands/`**. Export new commands from`src/commands/index.ts` and register them with `program.addCommand()`in `src/program.ts` (`createProgram()`).
28
28
5.**SDK classes in `src/sdk.ts`**. Add domain classes as `readonly` properties on `OpenSeaCLI` for programmatic consumers.
29
29
6.**Auth session invariants**. Persisted tokens require access token, refresh token, wallet address, ISO expiration, scopes, and `oauth`/`siwe` method. Normalize only `0x`-prefixed EVM addresses to lowercase; preserve Solana base58 case.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
# @opensea/cli
2
2
3
+
## 2.9.1
4
+
5
+
### Patch Changes
6
+
7
+
- c5aada3: `events list` no longer accepts a chain filter. `GET /api/v2/events` has no `chain` parameter and returns events from every chain whatever is sent, so the flag never filtered anything. `opensea events list --chain <chain>` and `opensea --chain <chain> events list` now exit with an error that points to `events by-account <address> --chain <chain>` and `events by-nft <chain> <contract> <token-id>`, which do filter by chain. The programmatic `EventsAPI.list` stops sending `chain`, and its `chain` option is deprecated.
8
+
9
+
Correction to 2.9.0: its notes list `events list` among the commands whose `--chain` filter was restored. That filter never applied on this endpoint; only `collections list` and `events by-account` filter by chain.
10
+
11
+
- f5676f0: `opensea tokens holders` now describes the distribution it returns: total holders, the share of eligible supply held by the top 250, and a health score and label.
"error: events list cannot filter by chain, because the events endpoint has no chain filter. Use 'opensea events by-account <address> --chain <chain>' or 'opensea events by-nft <chain> <contract> <token-id>' instead.",
Copy file name to clipboardExpand all lines: src/commands/tokens.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -266,7 +266,7 @@ export function tokensCommand(
266
266
cmd
267
267
.command("holders")
268
268
.description(
269
-
"Get paginated holders for a token (with aggregate distributionhealth)",
269
+
"Get paginated holders for a token, with its distribution: total holders, the share of eligible supply held by the top 250, and a health score and label",
0 commit comments