Skip to content
Merged
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
3 changes: 1 addition & 2 deletions conformance/runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
"build": "echo 'no build step'"
},
"dependencies": {
"ajv": "^8.17.1"
"ajv": "^8.20.0"
},
"devDependencies": {
"ts-standard": "^12.0.0",
"typescript": "^6.0.3"
}
}
2 changes: 1 addition & 1 deletion conformance/runner/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@bsv/sdk": "workspace:^",
"@jest/globals": "^30.4.1",
"jest": "^30.4.2",
"ts-jest": "^29.4.11",
"ts-jest": "^29.4.12",
"typescript": "^6.0.3"
}
}
30 changes: 15 additions & 15 deletions docs-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@
"validate": "node scripts/validate-frontmatter.mjs && node scripts/check-links.mjs"
},
"dependencies": {
"@mdx-js/react": "^3.1.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-router-dom": "^6.28.0"
"@mdx-js/react": "^3.1.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-router-dom": "^6.30.4"
},
"devDependencies": {
"@mdx-js/rollup": "^3.1.0",
"@shikijs/rehype": "^4.2.0",
"@mdx-js/rollup": "^3.1.1",
"@shikijs/rehype": "^4.3.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.2",
"ajv": "^8.17.0",
"@vitejs/plugin-react": "^6.0.4",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"gray-matter": "^4.0.3",
"mermaid": "^11.0.0",
"pagefind": "^1.1.0",
"rehype-autolink-headings": "^7.0.0",
"mermaid": "^11.16.0",
"pagefind": "^1.5.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-mdx-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-mdx-frontmatter": "^5.2.0",
"typescript": "^6.0.3",
"vite": "^8.0.16",
"vite-react-ssg": "^0.9.0"
"vite": "^8.1.5",
"vite-react-ssg": "^0.9.2"
}
}
995 changes: 1 addition & 994 deletions docs-site/public/assets/asyncapi/authsocket/index.html

Large diffs are not rendered by default.

472 changes: 1 addition & 471 deletions docs-site/public/assets/asyncapi/brc29/index.html

Large diffs are not rendered by default.

903 changes: 1 addition & 902 deletions docs-site/public/assets/asyncapi/brc31/index.html

Large diffs are not rendered by default.

773 changes: 1 addition & 772 deletions docs-site/public/assets/asyncapi/gasp/index.html

Large diffs are not rendered by default.

20 changes: 13 additions & 7 deletions docs-site/src/components/CodeBlock.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { lazy, Suspense, useState, type ReactNode } from 'react'
import { isValidElement, lazy, Suspense, useState, type ReactNode } from 'react'
import '../styles/code.css'

const Mermaid = lazy(() => import('./Mermaid'))
Expand All @@ -8,15 +8,21 @@ interface Props {
[key: string]: unknown
}

function textContent(node: ReactNode): string {
if (node === null || node === undefined || typeof node === 'boolean') return ''
if (typeof node === 'string' || typeof node === 'number') return String(node)
if (Array.isArray(node)) return node.map(textContent).join('')
if (isValidElement<{ children?: ReactNode }>(node)) return textContent(node.props.children)
return ''
}

export default function CodeBlock({ children, ...rest }: Readonly<Props>) {
const [copied, setCopied] = useState(false)

const codeEl =
typeof children === 'object' && children !== null && 'props' in (children as object)
? (children as { props: { children?: string; className?: string } }).props
: null

const rawCode = codeEl?.children ?? ''
const codeEl = isValidElement<{ children?: ReactNode; className?: string }>(children)
? children.props
: undefined
const rawCode = textContent(codeEl?.children ?? children)
// Shiki strips language-xxx from <code> but we inject data-language on <pre> via transformer
const lang = (rest['data-language'] as string | undefined)
?? codeEl?.className?.replace('language-', '')
Expand Down
7 changes: 4 additions & 3 deletions docs/about/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,12 @@ pnpm test --coverage
# Check linting
pnpm lint

# Fix linting issues
pnpm lint --fix
# Fix linting issues in a package
pnpm --filter @bsv/sdk exec oxlint --fix src
```

Uses **ts-standard** for consistent code style.
Uses **Oxlint** for fast, consistent TypeScript checks. Errors fail CI; warnings
remain visible while the inherited warning backlog is reduced.

### Build Packages

Expand Down
13 changes: 9 additions & 4 deletions docs/about/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ Features may be deprecated before removal:

## Dependencies

ts-stack pins dependencies to minor versions:
ts-stack declares compatible public semver ranges and keeps internal workspace
links canonical:

```json
{
Expand All @@ -132,9 +133,13 @@ ts-stack pins dependencies to minor versions:
}
```

This allows:
- Patch updates automatically (bug fixes)
- Requires manual update for minor/major (new features/breaking changes)
This allows compatible minor and patch updates while reserving major upgrades
for explicit migrations. Runtime, development, and optional references to other
workspace packages use `workspace:^`; published peer dependencies use a broad
public range such as `^2`.

See [Dependency and Release Policy](../reference/dependency-policy.md) for the
audit gate, supply-chain controls, residual advisory policy, and release flow.

## Publishing

Expand Down
6 changes: 3 additions & 3 deletions docs/packages/helpers/amountinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-amountinator
title: "@bsv/amountinator"
kind: package
domain: helpers
version: "2.0.1"
version: "2.1.1"
source_repo: "bsv-blockchain/amountinator"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/amountinator"
repo: "https://github.com/bsv-blockchain/amountinator"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/helpers/did-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-did-client
title: "@bsv/did-client"
kind: package
domain: helpers
version: "1.1.2"
version: "1.2.1"
source_repo: "bsv-blockchain/did-client"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/did-client"
repo: "https://github.com/bsv-blockchain/did-client"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/helpers/did.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-did
title: "@bsv/did"
kind: package
domain: helpers
version: "0.1.0"
version: "0.2.1"
source_repo: "bsv-blockchain/ts-stack"
source_commit: "unknown"
last_updated: "2026-05-07"
last_verified: "2026-05-07"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/did"
repo: "https://github.com/bsv-blockchain/ts-stack/tree/main/packages/helpers/did"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/helpers/fund-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-fund-wallet
title: "@bsv/fund-wallet"
kind: package
domain: helpers
version: "1.3.1"
version: "1.4.1"
source_repo: "bsv-blockchain/fund-wallet"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/fund-wallet"
repo: "https://github.com/bsv-blockchain/fund-wallet"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/helpers/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-simple
title: "@bsv/simple"
kind: package
domain: helpers
version: "0.3.0"
version: "0.4.1"
source_repo: "bsv-blockchain/simple"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/simple"
repo: "https://github.com/bsv-blockchain/simple"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/helpers/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-templates
title: "@bsv/templates"
kind: package
domain: helpers
version: "1.4.0"
version: "1.9.1"
source_repo: "bsv-blockchain/templates"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/templates"
repo: "https://github.com/bsv-blockchain/templates"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/helpers/wallet-helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-wallet-helper
title: "@bsv/wallet-helper"
kind: package
domain: helpers
version: "0.0.6"
version: "0.1.1"
source_repo: "bsv-blockchain/wallet-helper"
source_commit: "unknown"
last_updated: "2026-04-30"
last_verified: "2026-04-30"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/wallet-helper"
repo: "https://github.com/bsv-blockchain/wallet-helper"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/messaging/authsocket-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-authsocket-client
title: "@bsv/authsocket-client"
kind: package
domain: messaging
version: "2.0.2"
version: "2.1.1"
source_repo: "bsv-blockchain/authsocket-client"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/authsocket-client"
repo: "https://github.com/bsv-blockchain/authsocket-client"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/messaging/authsocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-authsocket
title: "@bsv/authsocket"
kind: package
domain: messaging
version: "2.0.1"
version: "2.1.1"
source_repo: "bsv-blockchain/authsocket"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/authsocket"
repo: "https://github.com/bsv-blockchain/authsocket"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/messaging/message-box-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-message-box-client
title: "@bsv/message-box-client"
kind: package
domain: messaging
version: "2.1.1"
version: "2.2.2"
source_repo: "bsv-blockchain/message-box-client"
source_commit: "unknown"
last_updated: "2026-04-30"
last_verified: "2026-04-30"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/message-box-client"
repo: "https://github.com/bsv-blockchain/message-box-client"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/messaging/paymail.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-paymail
title: "@bsv/paymail"
kind: package
domain: messaging
version: "2.3.0"
version: "2.4.1"
source_repo: "bsv-blockchain/paymail"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/paymail"
repo: "https://github.com/bsv-blockchain/paymail"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/middleware/402-pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-402-pay
title: "@bsv/402-pay"
kind: package
domain: middleware
version: "0.1.3"
version: "0.2.1"
source_repo: "bsv-blockchain/402-pay"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/402-pay"
repo: "https://github.com/bsv-blockchain/402-pay"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/middleware/auth-express-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-auth-express-middleware
title: "@bsv/auth-express-middleware"
kind: package
domain: middleware
version: "2.0.5"
version: "2.1.2"
source_repo: "bsv-blockchain/auth-express-middleware"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/auth-express-middleware"
repo: "https://github.com/bsv-blockchain/auth-express-middleware"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/middleware/payment-express-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-payment-express-middleware
title: "@bsv/payment-express-middleware"
kind: package
domain: middleware
version: "2.0.2"
version: "2.1.1"
source_repo: "bsv-blockchain/payment-express-middleware"
source_commit: "unknown"
last_updated: "2026-04-30"
last_verified: "2026-04-30"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/payment-express-middleware"
repo: "https://github.com/bsv-blockchain/payment-express-middleware"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/network/teranode-listener.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ title: "@bsv/teranode-listener"
kind: package
domain: network
npm: "@bsv/teranode-listener"
version: "1.0.3"
last_updated: "2026-04-29"
last_verified: "2026-04-29"
version: "1.1.1"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
status: stable
tags: ["network", "broadcast", "teranode", "p2p", "libp2p"]
---
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/overlays/gasp.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: pkg-gasp
title: "@bsv/gasp"
kind: package
domain: overlays
version: "1.2.2"
version: "1.3.1"
source_repo: "bsv-blockchain/gasp"
source_commit: "unknown"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
review_cadence_days: 30
npm: "https://www.npmjs.com/package/@bsv/gasp"
repo: "https://github.com/bsv-blockchain/gasp"
Expand Down
6 changes: 3 additions & 3 deletions docs/packages/overlays/overlay-discovery-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ title: "@bsv/overlay-discovery-services"
kind: package
domain: overlays
npm: "@bsv/overlay-discovery-services"
version: "1.0.0"
last_updated: "2026-04-28"
last_verified: "2026-04-28"
version: "2.1.1"
last_updated: "2026-07-24"
last_verified: "2026-07-24"
status: stable
tags: ["overlay", "discovery"]
---
Expand Down
Loading
Loading