Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions packages/ack-id/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,11 @@ isControllerClaim(credential.credentialSubject)

```ts
// Zod v4 schema

// Valibot schema
import { controllerClaimSchema } from "@agentcommercekit/ack-id/schemas/valibot"
import { controllerClaimSchema } from "@agentcommercekit/ack-id/schemas/zod/v4"
// Zod v3 schema
import { controllerClaimSchema } from "@agentcommercekit/ack-id/schemas/zod/v3"
import { controllerClaimSchema } from "@agentcommercekit/ack-id/schemas/zod/v4"
// Valibot schema
import { controllerClaimSchema } from "@agentcommercekit/ack-id/schemas/valibot"
```

## A2A Support
Expand Down
7 changes: 3 additions & 4 deletions packages/ack-pay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,11 @@ isPaymentReceiptClaim(credential.credentialSubject)

```ts
// Zod v4 schema

// Valibot schema
import { paymentRequestSchema } from "@agentcommercekit/ack-pay/schemas/valibot"
import { paymentRequestSchema } from "@agentcommercekit/ack-pay/schemas/zod/v4"
// Zod v3 schema
import { paymentRequestSchema } from "@agentcommercekit/ack-pay/schemas/zod/v3"
import { paymentRequestSchema } from "@agentcommercekit/ack-pay/schemas/zod/v4"
// Valibot schema
import { paymentRequestSchema } from "@agentcommercekit/ack-pay/schemas/valibot"
```

## Agent Commerce Kit Version
Expand Down
7 changes: 3 additions & 4 deletions packages/caip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,21 +132,20 @@ const nftToken: Caip19AssetId =

```ts
// Zod v4 schemas

// Valibot schemas
import {
caip2ChainIdSchema,
caip10AccountIdSchema,
} from "@agentcommercekit/caip/schemas/valibot"
} from "@agentcommercekit/caip/schemas/zod/v4"
// Zod v3 schemas
import {
caip2ChainIdSchema,
caip10AccountIdSchema,
} from "@agentcommercekit/caip/schemas/zod/v3"
// Valibot schemas
import {
caip2ChainIdSchema,
caip10AccountIdSchema,
} from "@agentcommercekit/caip/schemas/zod/v4"
} from "@agentcommercekit/caip/schemas/valibot"
```

## Resources
Expand Down
7 changes: 3 additions & 4 deletions packages/did/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,11 @@ const { did, didDocument } = createDidWebDocumentFromKeypair({

```ts
// Zod v4 schemas

// Valibot schemas
import { didUriSchema } from "@agentcommercekit/did/schemas/valibot"
import { didUriSchema } from "@agentcommercekit/did/schemas/zod/v4"
// Zod v3 schemas
import { didUriSchema } from "@agentcommercekit/did/schemas/zod/v3"
import { didUriSchema } from "@agentcommercekit/did/schemas/zod/v4"
// Valibot schemas
import { didUriSchema } from "@agentcommercekit/did/schemas/valibot"
```

## License (MIT)
Expand Down
7 changes: 3 additions & 4 deletions packages/jwt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,11 @@ The package provides schemas for validating JWT strings with Zod and Valibot:

```ts
// Zod v4

// Valibot
import { jwtStringSchema } from "@agentcommercekit/jwt/schemas/valibot"
import { jwtStringSchema } from "@agentcommercekit/jwt/schemas/zod/v4"
// Zod v3
import { jwtStringSchema } from "@agentcommercekit/jwt/schemas/zod/v3"
import { jwtStringSchema } from "@agentcommercekit/jwt/schemas/zod/v4"
// Valibot
import { jwtStringSchema } from "@agentcommercekit/jwt/schemas/valibot"
```

## API
Expand Down
7 changes: 3 additions & 4 deletions packages/vc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,11 @@ const revoked = await isRevoked(credential)

```ts
// Zod v4 schemas

// Valibot schemas
import { credentialSchema } from "@agentcommercekit/vc/schemas/valibot"
import { credentialSchema } from "@agentcommercekit/vc/schemas/zod/v4"
// Zod v3 schemas
import { credentialSchema } from "@agentcommercekit/vc/schemas/zod/v3"
import { credentialSchema } from "@agentcommercekit/vc/schemas/zod/v4"
// Valibot schemas
import { credentialSchema } from "@agentcommercekit/vc/schemas/valibot"
```

## License (MIT)
Expand Down