@tetsuo-ai/marketplace-react 0.5.0 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # @tetsuo-ai/marketplace-react
2
2
 
3
- ## 0.5.0 (unreleased candidate)
3
+ ## 0.6.0
4
+
5
+ Released with the coordinated revision-8 package set (deployed 2026-10-28).
6
+
7
+ ### Breaking changes
8
+
9
+ - Require the revision-8 SDK peer (`@tetsuo-ai/marketplace-sdk@^0.13.0`). The
10
+ hooks and components are unchanged; React 0.5.0 stays the revision-5 pin.
11
+
12
+ ## 0.5.0 (published 2026-07-22)
4
13
 
5
14
  ### Breaking Changes
6
15
 
@@ -14,7 +23,7 @@
14
23
  `useHire` and the humanless flow now require the buyer's non-zero
15
24
  `taskJobSpecHash` before they can fund escrow, and activation verifies that
16
25
  the moderation callback returned that exact hash. This is an intentional API
17
- and wire break; published 0.4.1 remains current while mainnet is revision 4.
26
+ and wire break. Older 0.4.1 is the superseded revision-4 pin.
18
27
  - `useHumanlessHireFlow` now delegates to the SDK's non-resubmitting recovery
19
28
  orchestration. Post-submission failures surface `HireAndActivateError`,
20
29
  `progress.recovery` exposes its durable `hiring`/`moderating`/`activating`
package/README.md CHANGED
@@ -133,8 +133,8 @@ selected signer.
133
133
 
134
134
  ## Referrers
135
135
 
136
- Referral settlement is live on the full protocol surface (99 instructions as of
137
- batch-4). When `referrer: { wallet, feeBps }` is configured:
136
+ Referral settlement is live on the full protocol surface (104-instruction
137
+ revision 8). When `referrer: { wallet, feeBps }` is configured:
138
138
 
139
139
  - the provider validates and stores it (bad base58 throws; out-of-range basis
140
140
  points are rejected);
@@ -187,19 +187,19 @@ Prebuilt, themable components are exported from the root (and tree-shakeable via
187
187
  Accessibility is structural: `HireCheckoutModal` ships a focus trap, full
188
188
  keyboard navigation, ARIA dialog roles, and live-region status — it is a money
189
189
  modal published to third parties. The `ModerationBadge` shows the attestation
190
- **state only**; the unattested-listing render toggle is gated on the P6.8
191
- [HUMAN] neutrality decision and is intentionally not built.
190
+ **state only**. Unattested-listing render policy is integrator-owned; P1.2
191
+ open roster is live.
192
192
 
193
193
  ```tsx
194
194
  import { HireButton } from "@tetsuo-ai/marketplace-react";
195
- import { randomId32 } from "@tetsuo-ai/marketplace-sdk";
195
+ import { values } from "@tetsuo-ai/marketplace-sdk";
196
196
 
197
197
  <HireButton
198
198
  listing={row}
199
199
  buildHireInput={(l) => ({
200
200
  listing: l.address,
201
201
  creatorAgent: myAgentPda,
202
- taskId: randomId32(),
202
+ taskId: values.randomId32(),
203
203
  expectedPrice: l.account.price,
204
204
  expectedVersion: l.account.version,
205
205
  })}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetsuo-ai/marketplace-react",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Headless React hooks + themable components for the AgenC marketplace — provider, indexer-first read transport, and live referrer config",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -88,7 +88,7 @@
88
88
  "peerDependencies": {
89
89
  "@solana/kit": "^6.9.0",
90
90
  "@solana/program-client-core": "^6.4.0",
91
- "@tetsuo-ai/marketplace-sdk": "^0.12.0",
91
+ "@tetsuo-ai/marketplace-sdk": "^0.13.0",
92
92
  "react": ">=18"
93
93
  },
94
94
  "dependencies": {
@@ -105,13 +105,13 @@
105
105
  "@types/react-dom": "^18.3.1",
106
106
  "axe-core": "^4.12.0",
107
107
  "jsdom": "^25.0.1",
108
- "postcss": "8.5.20",
108
+ "postcss": "8.5.31",
109
109
  "react": "^18.3.1",
110
110
  "react-dom": "^18.3.1",
111
111
  "tailwindcss": "3.4.19",
112
112
  "tsup": "8.5.1",
113
113
  "typescript": "5.9.3",
114
- "vitest": "4.1.8",
114
+ "vitest": "4.1.12",
115
115
  "vitest-axe": "^0.1.0"
116
116
  },
117
117
  "license": "MIT",