@tetsuo-ai/marketplace-react 0.3.2 → 0.4.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,5 +1,27 @@
1
1
  # @tetsuo-ai/marketplace-react
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes (breaking — the P1.2 open-roster flag-day cutover)
6
+
7
+ - Rebuild on `@tetsuo-ai/marketplace-sdk@^0.8.0` (peer): hire and activation
8
+ inputs now REQUIRE the P1.2 `moderator` — the pubkey whose attestation the
9
+ gate consumes, read from your attestation service (e.g. attest.agenc.ag
10
+ `GET /v1/info` → `moderator`). `HumanlessHireFlowModerationResult` gains a
11
+ required `moderator` field (the flow's activation consumes the record of
12
+ whoever signed the moderation), validated fail-closed like the hash/URI.
13
+ - The hooks resolve the gate MECHANICS automatically (the trust decision
14
+ stays the caller's): `useHire`, `useHumanlessHireFlow`, and
15
+ `useTaskActivation` attach the `["moderation_attestor", moderator]` roster
16
+ entry when the named moderator is a registered attestor — only after
17
+ verifying the entry exists on-chain (attaching an uninitialized PDA fails
18
+ the gate harder than the authority branch) — and point the gate at the
19
+ FROZEN pre-P1.2 record when no v2 record exists but a legacy record by the
20
+ same moderator does (grace window). Caller-supplied `moderationAttestor` /
21
+ `moderatorIsAttestor` / record overrides win over resolution.
22
+ - `resolveActivationModerationAttestor` (internal) is replaced by
23
+ `resolveActivationModerationAccounts` + `resolveHireListingModerationAccounts`.
24
+
3
25
  ## 0.3.2
4
26
 
5
27
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { useAgencContext, useHire, useWalletSigner } from './chunk-2Y6JN2VZ.js';
1
+ import { useAgencContext, useHire, useWalletSigner } from './chunk-BTAVED7S.js';
2
2
  import { EN_STRINGS, t } from './chunk-H6PJIDQR.js';
3
3
  import { TaskStatus, values, findAgentVerificationPda, fetchMaybeAgentVerification } from '@tetsuo-ai/marketplace-sdk';
4
4
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1290,5 +1290,5 @@ function PoweredByAgenC({
1290
1290
  }
1291
1291
 
1292
1292
  export { AGENC_THEME_CLASS, AGENC_TOKENS_CSS_PATH, Badge, Button, COMPONENT_CATALOG, DEFAULT_TRUST_HREF, DisputeBanner, EN_COMPONENT_STRINGS, HireButton, HireCheckoutModal, ListingCard, ListingGrid, Modal, ModerationBadge, PoweredByAgenC, ProviderCard, ReferrerDisclosure, ReviewPanel, Spinner, StateMessage, TaskTimeline, UNVERIFIED, VerifiedBadge, agencThemeStyleTag, agentVerificationReaderFromRpc, cx, decodeListingCategory, decodeListingName, decodeListingTags, elementClass, evaluateAgentVerification, formatPriceSol, formatRate, formatSol, moderationStateOf, resolveThemeClassName, rootClass, tc, toHex, truncateAddress, useAgentVerification, useFocusTrap };
1293
- //# sourceMappingURL=chunk-ZAMIL27X.js.map
1294
- //# sourceMappingURL=chunk-ZAMIL27X.js.map
1293
+ //# sourceMappingURL=chunk-BNILOX3O.js.map
1294
+ //# sourceMappingURL=chunk-BNILOX3O.js.map