🤖 I have created a release *beep* *boop* --- ## [0.3.8](https://github.com/a2aproject/a2a-js/compare/v0.3.7...v0.3.8) (2026-01-15) ### ⚠BREAKING CHANGES * use ProtoJSON for REST transport ([#292](https://github.com/a2aproject/a2a-js/issues/292)) ### Features * use case-insensitive transport protocol name comparison in ClientFactory ([5246067](5246067f5f)) ### Bug Fixes * add typesVersions to support legacy module resolution ([#288](https://github.com/a2aproject/a2a-js/issues/288)) ([6499e29](6499e290f6)) * use ProtoJSON for REST transport ([#292](https://github.com/a2aproject/a2a-js/issues/292)) ([d2efc4c](d2efc4cf34)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
102 lines
2.7 KiB
JSON
102 lines
2.7 KiB
JSON
{
|
|
"name": "@a2a-js/sdk",
|
|
"version": "0.3.8",
|
|
"description": "Server & Client SDK for Agent2Agent protocol",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/a2aproject/a2a-js.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"type": "module",
|
|
"typesVersions": {
|
|
"*": {
|
|
"server": [
|
|
"./dist/server/index.d.ts"
|
|
],
|
|
"server/express": [
|
|
"./dist/server/express/index.d.ts"
|
|
],
|
|
"client": [
|
|
"./dist/client/index.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./server": {
|
|
"types": "./dist/server/index.d.ts",
|
|
"import": "./dist/server/index.js",
|
|
"require": "./dist/server/index.cjs"
|
|
},
|
|
"./server/express": {
|
|
"types": "./dist/server/express/index.d.ts",
|
|
"import": "./dist/server/express/index.js",
|
|
"require": "./dist/server/express/index.cjs"
|
|
},
|
|
"./client": {
|
|
"types": "./dist/client/index.d.ts",
|
|
"import": "./dist/client/index.js",
|
|
"require": "./dist/client/index.cjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"!dist/**/*.map",
|
|
"README.md"
|
|
],
|
|
"devDependencies": {
|
|
"@cloudflare/vitest-pool-workers": "^0.10.15",
|
|
"@eslint/js": "^9.39.1",
|
|
"@types/express": "^5.0.3",
|
|
"@types/node": "^22.13.14",
|
|
"@types/supertest": "^6.0.3",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"esbuild": "^0.27.0",
|
|
"eslint": "^9.39.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"express": "^5.1.0",
|
|
"gts": "^6.0.2",
|
|
"json-schema-to-typescript": "^15.0.4",
|
|
"prettier": "^3.6.2",
|
|
"supertest": "^7.1.4",
|
|
"tsup": "^8.5.0",
|
|
"tsx": "^4.19.3",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.46.4",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"scripts": {
|
|
"clean": "gts clean",
|
|
"build": "tsup",
|
|
"test": "vitest run",
|
|
"test:edge": "vitest run --config vitest.edge.config.ts",
|
|
"lint": "tsc --noEmit && npx eslint .",
|
|
"format:readme": "prettier --write ./README.md",
|
|
"lint:fix": "npx eslint . --fix",
|
|
"coverage": "vitest run --coverage",
|
|
"generate": "curl https://raw.githubusercontent.com/google-a2a/A2A/refs/heads/main/specification/json/a2a.json > spec.json && node scripts/generateTypes.js && rm spec.json",
|
|
"test-build": "esbuild ./dist/client/index.js ./dist/server/index.js ./dist/index.js --bundle --platform=neutral --outdir=dist/tmp-checks --outbase=./dist"
|
|
},
|
|
"dependencies": {
|
|
"uuid": "^11.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"express": "^4.21.2 || ^5.1.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"express": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|