Files
aitbc/packages/js/aitbc-sdk/package.json
aitbc 928aa5ebcd
Some checks failed
Package Tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk]) (push) Has been cancelled
Package Tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core]) (push) Has been cancelled
Package Tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto]) (push) Has been cancelled
Package Tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk]) (push) Has been cancelled
Package Tests / test-javascript-packages (map[name:aitbc-sdk-js path:packages/js/aitbc-sdk]) (push) Has been cancelled
Package Tests / test-javascript-packages (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:zk-circuits path:apps/zk-circuits]) (push) Has been cancelled
Smart Contract Tests / lint-solidity (push) Has been cancelled
JavaScript SDK Tests / test-js-sdk (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
security: fix critical vulnerabilities in JavaScript packages
- Update JS SDK vitest from 1.6.0 to 4.1.2 (fixes esbuild vulnerability)
- Update Solidity contracts solidity-coverage from 0.8.17 to 0.8.4
- Apply npm audit fix --force to resolve breaking changes
- Reduced total vulnerabilities from 48 to 29
- JS SDK now has 0 vulnerabilities (previously 4 moderate)
- Solidity contracts reduced from 41 to 29 vulnerabilities
- Remaining 29 are mostly legacy ethers v5 dependencies in Hardhat ecosystem

Security improvements:
- Fixed esbuild development server vulnerability
- Fixed serialize-javascript RCE and DoS vulnerabilities
- Updated lodash and other vulnerable dependencies
- Python dependencies remain secure (0 vulnerabilities)
2026-03-31 16:41:42 +02:00

69 lines
1.6 KiB
JSON

{
"name": "@aitbc/aitbc-sdk",
"version": "0.1.0",
"description": "AITBC JavaScript/TypeScript SDK for coordinator services, blockchain, and marketplace",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write src/**/*.ts",
"prepublishOnly": "npm run build && npm test"
},
"dependencies": {
"cross-fetch": "^4.0.0"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.57.0",
"prettier": "^3.2.0",
"typescript": "^5.4.5",
"vitest": "^4.1.2"
},
"keywords": [
"aitbc",
"sdk",
"ai-compute",
"blockchain",
"gpu-marketplace",
"zk-proofs",
"receipts",
"marketplace",
"coordinator",
"typescript"
],
"author": {
"name": "AITBC Team",
"email": "team@aitbc.dev",
"url": "https://aitbc.bubuit.net"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/oib/AITBC.git",
"directory": "packages/js/aitbc-sdk"
},
"bugs": {
"url": "https://github.com/oib/AITBC/issues"
},
"homepage": "https://aitbc.bubuit.net/docs/",
"engines": {
"node": ">=24.14.0"
},
"publishConfig": {
"access": "public"
}
}